mario-education 2.4.564-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.
- package/dist/components/layouts/hooks/useHeaderSideBar.d.ts +1 -1
- package/dist/index.css +12 -36
- package/dist/index.js +47 -123
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +48 -124
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -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" | "
|
|
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:
|
|
4768
|
-
border-
|
|
4769
|
-
background: #FFFFFF;
|
|
4770
|
-
color: #242424;
|
|
4767
|
+
padding: 10px 75px;
|
|
4768
|
+
border-top: 1px solid #DFE0DF;
|
|
4771
4769
|
cursor: pointer;
|
|
4772
|
-
font-size:
|
|
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
|
-
|
|
4781
|
-
|
|
4782
|
-
padding: 6px 18px;
|
|
4783
|
-
background: #FFFFFF; }
|
|
4776
|
+
background: #336DDA;
|
|
4777
|
+
color: #ffff; }
|
|
4784
4778
|
|
|
4785
4779
|
._dOVso {
|
|
4786
|
-
background: #
|
|
4787
|
-
color: #
|
|
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:
|
|
4794
|
-
line-height:
|
|
4795
|
-
font-size:
|
|
4796
|
-
|
|
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","
|
|
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
|
|
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
|
|
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$
|
|
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$
|
|
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"],
|
|
@@ -53958,7 +53959,7 @@ var ConductSurveyModel = function ConductSurveyModel(_ref) {
|
|
|
53958
53959
|
}, React__default.createElement(core$1.Grid, {
|
|
53959
53960
|
className: "" + styles$9["header-conduct"]
|
|
53960
53961
|
}, React__default.createElement("img", {
|
|
53961
|
-
src: marioCore.getFileUrl((student === null || student === void 0 ? void 0 : student.avatar) || "") || DEFAULT_USER_AVATAR
|
|
53962
|
+
src: marioCore.getFileUrl((student === null || student === void 0 ? void 0 : student.avatar) || "") || DEFAULT_USER_AVATAR,
|
|
53962
53963
|
alt: student === null || student === void 0 ? void 0 : student.studentName,
|
|
53963
53964
|
className: "" + styles$9["avatar_user"]
|
|
53964
53965
|
}), React__default.createElement(core$1.Grid, {
|
|
@@ -54060,7 +54061,7 @@ var ResponseQuestionModel = function ResponseQuestionModel(_ref) {
|
|
|
54060
54061
|
hidden: !!isHiddenContact,
|
|
54061
54062
|
className: "" + styles$9["student-detail"]
|
|
54062
54063
|
}, React__default.createElement("img", {
|
|
54063
|
-
src: marioCore.getFileUrl(r.studentAvatar || "") || DEFAULT_USER_AVATAR
|
|
54064
|
+
src: marioCore.getFileUrl(r.studentAvatar || "") || DEFAULT_USER_AVATAR,
|
|
54064
54065
|
alt: r.studentName,
|
|
54065
54066
|
className: "" + styles$9["avatar_user"]
|
|
54066
54067
|
}), React__default.createElement(core$1.Grid, null, React__default.createElement(core$1.Typography, {
|
|
@@ -54461,7 +54462,7 @@ var BarChartQuestionAnswers = function BarChartQuestionAnswers(_ref) {
|
|
|
54461
54462
|
}, t('number_of_answers')));
|
|
54462
54463
|
};
|
|
54463
54464
|
|
|
54464
|
-
var DEFAULT_USER_AVATAR$
|
|
54465
|
+
var DEFAULT_USER_AVATAR$2 = marioCore.getStaticFileUrl("/images/image-default.png");
|
|
54465
54466
|
|
|
54466
54467
|
var AnswerQuestionInput = function AnswerQuestionInput(_ref) {
|
|
54467
54468
|
var handleClickCollapse = _ref.handleClickCollapse,
|
|
@@ -54543,7 +54544,7 @@ var AnswerQuestionInput = function AnswerQuestionInput(_ref) {
|
|
|
54543
54544
|
}, React__default.createElement("div", {
|
|
54544
54545
|
className: styles$9["answer-head"]
|
|
54545
54546
|
}, React__default.createElement("img", {
|
|
54546
|
-
src: "" + (item.profileImageFileName != null ? marioCore.getFileUrl(item.profileImageFileName) : DEFAULT_USER_AVATAR$
|
|
54547
|
+
src: "" + (item.profileImageFileName != null ? marioCore.getFileUrl(item.profileImageFileName) : DEFAULT_USER_AVATAR$2),
|
|
54547
54548
|
alt: "",
|
|
54548
54549
|
style: {
|
|
54549
54550
|
width: '24px',
|
|
@@ -55318,7 +55319,7 @@ var StudentFlagList = function StudentFlagList(_ref) {
|
|
|
55318
55319
|
align: "left",
|
|
55319
55320
|
className: "" + styles$9["row_name"]
|
|
55320
55321
|
}, React__default.createElement("img", {
|
|
55321
|
-
src: !row.avatar ? DEFAULT_USER_AVATAR
|
|
55322
|
+
src: !row.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.avatar),
|
|
55322
55323
|
alt: "",
|
|
55323
55324
|
className: "" + styles$9["avatar_user"]
|
|
55324
55325
|
}), row === null || row === void 0 ? void 0 : row.studentName), React__default.createElement(core$1.TableCell, {
|
|
@@ -55361,7 +55362,7 @@ var StudentFlagList = function StudentFlagList(_ref) {
|
|
|
55361
55362
|
color: "disabled"
|
|
55362
55363
|
}),
|
|
55363
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"),
|
|
55364
|
-
avatar: !e.avatar ? DEFAULT_USER_AVATAR
|
|
55365
|
+
avatar: !e.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(e.avatar)
|
|
55365
55366
|
});
|
|
55366
55367
|
})), !!listSurveyStudent && listSurveyStudent.items.length > 0 && React__default.createElement(core$1.TablePagination, {
|
|
55367
55368
|
rowsPerPageOptions: [5, 10, 25],
|
|
@@ -68597,7 +68598,7 @@ var TableSelectStudent = function TableSelectStudent(_ref) {
|
|
|
68597
68598
|
return React__default.createElement("div", {
|
|
68598
68599
|
className: "" + styles$9["row_name"]
|
|
68599
68600
|
}, React__default.createElement("img", {
|
|
68600
|
-
src: !params.row.avatar ? DEFAULT_USER_AVATAR
|
|
68601
|
+
src: !params.row.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(params.row.avatar),
|
|
68601
68602
|
alt: "",
|
|
68602
68603
|
className: "" + styles$9["avatar_user"]
|
|
68603
68604
|
}), params.row.fullName);
|
|
@@ -70025,7 +70026,7 @@ var TableSelectStaff = function TableSelectStaff(_ref) {
|
|
|
70025
70026
|
return React__default.createElement("div", {
|
|
70026
70027
|
className: "" + styles$9["row_name"]
|
|
70027
70028
|
}, React__default.createElement("img", {
|
|
70028
|
-
src: !params.row.avatar ? DEFAULT_USER_AVATAR
|
|
70029
|
+
src: !params.row.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(params.row.avatar),
|
|
70029
70030
|
alt: "",
|
|
70030
70031
|
className: "" + styles$9["avatar_user"]
|
|
70031
70032
|
}), params.row.fullName);
|
|
@@ -72422,7 +72423,7 @@ var getConvertMinuteToHour$1 = function getConvertMinuteToHour(time, usingText)
|
|
|
72422
72423
|
var timeSecond = time * 60;
|
|
72423
72424
|
var hours = Math.floor(timeSecond / 3600);
|
|
72424
72425
|
var minutes = Math.floor(timeSecond % 3600 / 60);
|
|
72425
|
-
var remainingSeconds =
|
|
72426
|
+
var remainingSeconds = timeSecond % 60;
|
|
72426
72427
|
var formattedHours = String(hours).padStart(2, '0');
|
|
72427
72428
|
var formattedMinutes = String(minutes).padStart(2, '0');
|
|
72428
72429
|
var formattedSeconds = String(remainingSeconds).padStart(2, '0');
|
|
@@ -73743,7 +73744,7 @@ var SimpleDialog$1 = function SimpleDialog(_ref) {
|
|
|
73743
73744
|
}, "spacing")));
|
|
73744
73745
|
};
|
|
73745
73746
|
|
|
73746
|
-
var DEFAULT_USER_AVATAR$
|
|
73747
|
+
var DEFAULT_USER_AVATAR$3 = "/images/image-default.png";
|
|
73747
73748
|
|
|
73748
73749
|
var StudentWellnessCheckInItem = function StudentWellnessCheckInItem(_ref) {
|
|
73749
73750
|
var endTime = _ref.endTime,
|
|
@@ -73776,7 +73777,7 @@ var StudentWellnessCheckInItem = function StudentWellnessCheckInItem(_ref) {
|
|
|
73776
73777
|
className: "d-flex w-100"
|
|
73777
73778
|
}, React__default.createElement(core$1.Avatar, {
|
|
73778
73779
|
alt: name === null || name === void 0 ? void 0 : name.toUpperCase(),
|
|
73779
|
-
src: marioCore.getFileUrl(avatar) || DEFAULT_USER_AVATAR$
|
|
73780
|
+
src: marioCore.getFileUrl(avatar) || DEFAULT_USER_AVATAR$3
|
|
73780
73781
|
}), React__default.createElement("div", {
|
|
73781
73782
|
className: "ml-2 ml-sm-3 d-flex flex-column justify-content-center"
|
|
73782
73783
|
}, React__default.createElement("div", {
|
|
@@ -75697,8 +75698,7 @@ var useHeaderSideBar = function useHeaderSideBar(_navigations) {
|
|
|
75697
75698
|
icon: React__default.createElement(TrackChangesIcon, null)
|
|
75698
75699
|
}];
|
|
75699
75700
|
var renderNotificationBadge = React.useCallback(function () {
|
|
75700
|
-
if (!unreadNoti) return React__default.createElement(
|
|
75701
|
-
src: "/images/bell-icon.png",
|
|
75701
|
+
if (!unreadNoti) return React__default.createElement(NotificationsIcon, {
|
|
75702
75702
|
onClick: function onClick() {
|
|
75703
75703
|
return openNotification();
|
|
75704
75704
|
}
|
|
@@ -75709,9 +75709,7 @@ var useHeaderSideBar = function useHeaderSideBar(_navigations) {
|
|
|
75709
75709
|
onClick: function onClick() {
|
|
75710
75710
|
return openNotification();
|
|
75711
75711
|
}
|
|
75712
|
-
}, React__default.createElement(
|
|
75713
|
-
src: "/images/bell-icon.png"
|
|
75714
|
-
}));
|
|
75712
|
+
}, React__default.createElement(NotificationsIcon, null));
|
|
75715
75713
|
}, [unreadNoti, JSON.stringify(roles)]);
|
|
75716
75714
|
|
|
75717
75715
|
var renderNavigationItem = function renderNavigationItem(navigation, isSubItem) {
|
|
@@ -75862,23 +75860,24 @@ var useStyles$l = styles$h.makeStyles(function (theme) {
|
|
|
75862
75860
|
flexGrow: 1
|
|
75863
75861
|
},
|
|
75864
75862
|
menuItem: {
|
|
75865
|
-
padding:
|
|
75863
|
+
padding: 0,
|
|
75866
75864
|
"& > button > span > span": {
|
|
75867
75865
|
marginLeft: "0.2rem !important"
|
|
75868
75866
|
}
|
|
75869
75867
|
},
|
|
75870
|
-
menuText: {
|
|
75871
|
-
fontSize: "16px"
|
|
75872
|
-
},
|
|
75873
75868
|
menuButton: (_menuButton = {
|
|
75874
75869
|
marginRight: theme.spacing(2)
|
|
75875
75870
|
}, _menuButton["@media(max-width: 768px)"] = {
|
|
75876
75871
|
marginRight: 0
|
|
75877
75872
|
}, _menuButton),
|
|
75878
75873
|
title: (_title = {
|
|
75879
|
-
flexGrow: 0.
|
|
75874
|
+
flexGrow: 0.2,
|
|
75880
75875
|
"& img": {
|
|
75881
|
-
height: "
|
|
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"
|
|
75882
75881
|
},
|
|
75883
75882
|
"& img:hover": {
|
|
75884
75883
|
boxShadow: "0px 0px 24px 0px rgba(0, 0, 0, 0.36)"
|
|
@@ -75886,29 +75885,17 @@ var useStyles$l = styles$h.makeStyles(function (theme) {
|
|
|
75886
75885
|
}, _title['@media(min-width: 1440px)'] = {
|
|
75887
75886
|
flexGrow: 0.1
|
|
75888
75887
|
}, _title),
|
|
75889
|
-
avatar: {
|
|
75890
|
-
width: "44px",
|
|
75891
|
-
height: "44px",
|
|
75892
|
-
cursor: "pointer",
|
|
75893
|
-
borderRadius: "50px"
|
|
75894
|
-
},
|
|
75895
75888
|
listItem: (_listItem = {}, _listItem["@media(max-width: 768px)"] = {
|
|
75896
75889
|
padding: 0
|
|
75897
75890
|
}, _listItem),
|
|
75898
75891
|
header: {
|
|
75899
75892
|
zIndex: 1000,
|
|
75900
|
-
background: "#336DDA"
|
|
75901
|
-
borderRadius: "0 0 12px 12px",
|
|
75902
|
-
width: "calc(100vw - 32px)",
|
|
75903
|
-
margin: "0 16px"
|
|
75893
|
+
background: "#336DDA"
|
|
75904
75894
|
},
|
|
75905
75895
|
dropdown: {
|
|
75906
75896
|
zIndex: "1410 !important",
|
|
75907
75897
|
top: "40px !important"
|
|
75908
75898
|
},
|
|
75909
|
-
menuIcon: {
|
|
75910
|
-
marginRight: "8px"
|
|
75911
|
-
},
|
|
75912
75899
|
sectionDesktop: {
|
|
75913
75900
|
display: "flex"
|
|
75914
75901
|
},
|
|
@@ -76033,7 +76020,7 @@ var useStyles$l = styles$h.makeStyles(function (theme) {
|
|
|
76033
76020
|
easing: theme.transitions.easing.sharp,
|
|
76034
76021
|
duration: theme.transitions.duration.leavingScreen
|
|
76035
76022
|
}),
|
|
76036
|
-
marginTop:
|
|
76023
|
+
marginTop: 60,
|
|
76037
76024
|
maxHeight: 'calc(100vh - 120px)',
|
|
76038
76025
|
minHeight: 'calc(100vh - 120px)',
|
|
76039
76026
|
paddingTop: '0 !important',
|
|
@@ -76163,9 +76150,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
76163
76150
|
color: "inherit",
|
|
76164
76151
|
"aria-label": "menu",
|
|
76165
76152
|
onClick: toggleSideBar
|
|
76166
|
-
}, isOpenSideBar && screenWidth < 1280 ? React__default.createElement(TimesIcon, null) : React__default.createElement(
|
|
76167
|
-
src: "/images/burger-menu-icon.png"
|
|
76168
|
-
})), React__default.createElement(Typography, {
|
|
76153
|
+
}, isOpenSideBar && screenWidth < 1280 ? React__default.createElement(TimesIcon, null) : React__default.createElement(MenuIcon, null)), React__default.createElement(Typography, {
|
|
76169
76154
|
variant: "h6",
|
|
76170
76155
|
className: classes.title
|
|
76171
76156
|
}, React__default.createElement(reactRouterDom.Link, {
|
|
@@ -76175,8 +76160,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
76175
76160
|
alt: ""
|
|
76176
76161
|
}))), screenWidth > 600 && React__default.createElement("span", {
|
|
76177
76162
|
style: {
|
|
76178
|
-
fontSize: "
|
|
76179
|
-
opacity: 0.8
|
|
76163
|
+
fontSize: "1.1rem"
|
|
76180
76164
|
}
|
|
76181
76165
|
}, t('hi'), ", ", user === null || user === void 0 ? void 0 : user.firstName, " \uD83D\uDC4B"), React__default.createElement("div", {
|
|
76182
76166
|
className: classes.grow
|
|
@@ -76193,25 +76177,15 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
76193
76177
|
}, "A"), React__default.createElement("span", {
|
|
76194
76178
|
className: classes.fontBodySmall
|
|
76195
76179
|
}, "A")), React__default.createElement(IconButton, {
|
|
76196
|
-
"aria-label": "
|
|
76180
|
+
"aria-label": "show 17 new notifications",
|
|
76197
76181
|
color: "inherit",
|
|
76198
|
-
onClick:
|
|
76199
|
-
|
|
76200
|
-
|
|
76201
|
-
}, React__default.createElement("img", {
|
|
76202
|
-
src: "/images/policy-icon.png"
|
|
76203
|
-
})), !isReadOnly && React__default.createElement(IconButton, {
|
|
76182
|
+
onClick: handleMenu
|
|
76183
|
+
}, React__default.createElement(icons.AccountCircle, null)), !isReadOnly && React__default.createElement(IconButton, {
|
|
76184
|
+
edge: "end",
|
|
76204
76185
|
"aria-label": "account of current user",
|
|
76205
76186
|
"aria-haspopup": "true",
|
|
76206
76187
|
color: "inherit"
|
|
76207
|
-
}, renderNotificationBadge()), React__default.createElement(
|
|
76208
|
-
"aria-label": "show 17 new notifications",
|
|
76209
|
-
color: "inherit",
|
|
76210
|
-
onClick: handleMenu
|
|
76211
|
-
}, React__default.createElement("img", {
|
|
76212
|
-
className: classes.avatar,
|
|
76213
|
-
src: !!(user !== null && user !== void 0 && user.profileImageFileName) ? marioCore.getFileUrl(user.profileImageFileName) : DEFAULT_USER_AVATAR
|
|
76214
|
-
}))), React__default.createElement(core$1.Menu, {
|
|
76188
|
+
}, renderNotificationBadge())), React__default.createElement(core$1.Menu, {
|
|
76215
76189
|
id: "menu-font",
|
|
76216
76190
|
className: classes.dropdown,
|
|
76217
76191
|
anchorEl: anchorFontEl,
|
|
@@ -76259,46 +76233,19 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
76259
76233
|
horizontal: "right"
|
|
76260
76234
|
},
|
|
76261
76235
|
open: open,
|
|
76262
|
-
onClose: handleClose
|
|
76263
|
-
PaperProps: {
|
|
76264
|
-
style: {
|
|
76265
|
-
borderRadius: 16,
|
|
76266
|
-
padding: "20px 0"
|
|
76267
|
-
}
|
|
76268
|
-
}
|
|
76236
|
+
onClose: handleClose
|
|
76269
76237
|
}, screenWidth < 600 && React__default.createElement(core$1.MenuItem, {
|
|
76270
76238
|
className: classes.menuItem
|
|
76271
76239
|
}, React__default.createElement(LanguageDropdown, null)), !isReadOnly && React__default.createElement(core$1.MenuItem, {
|
|
76272
|
-
className: classes.menuItem,
|
|
76273
76240
|
onClick: openProfile
|
|
76274
|
-
}, React__default.createElement(
|
|
76275
|
-
className: classes.menuIcon,
|
|
76276
|
-
src: "/images/profile-icon.png"
|
|
76277
|
-
}), React__default.createElement(Typography, {
|
|
76278
|
-
className: classes.menuText
|
|
76279
|
-
}, 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, {
|
|
76280
|
-
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, {
|
|
76281
76242
|
onClick: function onClick() {
|
|
76282
76243
|
onToggleModel === null || onToggleModel === void 0 ? void 0 : onToggleModel();
|
|
76283
76244
|
handleClose();
|
|
76284
76245
|
}
|
|
76285
|
-
}, React__default.createElement(
|
|
76286
|
-
className: classes.menuIcon,
|
|
76287
|
-
src: "/images/role-change-icon.png"
|
|
76288
|
-
}), React__default.createElement(Typography, {
|
|
76289
|
-
className: classes.menuText
|
|
76290
|
-
}, t("role_change"))), React__default.createElement(core$1.MenuItem, {
|
|
76291
|
-
style: {
|
|
76292
|
-
borderTop: "1px solid #e9e9e9"
|
|
76293
|
-
},
|
|
76294
|
-
className: classes.menuItem,
|
|
76246
|
+
}, t('role_change')), React__default.createElement(core$1.MenuItem, {
|
|
76295
76247
|
onClick: signOut
|
|
76296
|
-
}, React__default.createElement("
|
|
76297
|
-
className: classes.menuIcon,
|
|
76298
|
-
src: "/images/sign-out-icon.png"
|
|
76299
|
-
}), React__default.createElement(Typography, {
|
|
76300
|
-
className: classes.menuText
|
|
76301
|
-
}, 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", {
|
|
76302
76249
|
className: classes.positionBox
|
|
76303
76250
|
}, React__default.createElement(core$1.Drawer, {
|
|
76304
76251
|
id: "menu-sidebar",
|
|
@@ -76326,17 +76273,6 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
76326
76273
|
}, children));
|
|
76327
76274
|
};
|
|
76328
76275
|
|
|
76329
|
-
var useStyles$m = core$1.makeStyles(function () {
|
|
76330
|
-
return {
|
|
76331
|
-
paper: {
|
|
76332
|
-
borderRadius: 24,
|
|
76333
|
-
position: "absolute",
|
|
76334
|
-
top: "10%",
|
|
76335
|
-
padding: "40px 48px"
|
|
76336
|
-
}
|
|
76337
|
-
};
|
|
76338
|
-
});
|
|
76339
|
-
|
|
76340
76276
|
var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
76341
76277
|
var _handleUserRole;
|
|
76342
76278
|
|
|
@@ -76348,7 +76284,6 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
|
76348
76284
|
t = _useTranslation.t;
|
|
76349
76285
|
|
|
76350
76286
|
var history = reactRouterDom.useHistory();
|
|
76351
|
-
var classes = useStyles$m();
|
|
76352
76287
|
var pathname = window.location.pathname;
|
|
76353
76288
|
var user = reactRedux.useSelector(function (state) {
|
|
76354
76289
|
return state.common.user;
|
|
@@ -76380,21 +76315,10 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
|
76380
76315
|
onClose: function onClose() {
|
|
76381
76316
|
return onToggleModel();
|
|
76382
76317
|
},
|
|
76383
|
-
className: "" + style$2["model-switch-roles"]
|
|
76384
|
-
|
|
76385
|
-
paper: classes.paper
|
|
76386
|
-
}
|
|
76387
|
-
}, React__default.createElement("button", {
|
|
76388
|
-
type: "button",
|
|
76389
|
-
className: style$2["btn-close"],
|
|
76390
|
-
onClick: function onClick() {
|
|
76391
|
-
return onToggleModel();
|
|
76392
|
-
}
|
|
76393
|
-
}, 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, {
|
|
76394
76320
|
className: "" + style$2["title"]
|
|
76395
|
-
}, t('continue_as')), React__default.createElement("div", {
|
|
76396
|
-
className: "" + style$2["select-user-role"]
|
|
76397
|
-
}, (_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) {
|
|
76398
76322
|
return React__default.createElement("p", {
|
|
76399
76323
|
key: r,
|
|
76400
76324
|
className: style$2["item-select-role"] + " " + style$2[roles.includes("Teacher") && roles.includes("Assistant") && r === "Teacher/Assistant" || roles.includes(r) ? "item-role-active" : ""],
|
|
@@ -76407,7 +76331,7 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
|
76407
76331
|
|
|
76408
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_"};
|
|
76409
76333
|
|
|
76410
|
-
var useStyles$
|
|
76334
|
+
var useStyles$m = core$1.makeStyles(function () {
|
|
76411
76335
|
var _root, _fullWidth;
|
|
76412
76336
|
|
|
76413
76337
|
return {
|
|
@@ -76440,7 +76364,7 @@ var Footer = function Footer(_ref) {
|
|
|
76440
76364
|
return (_state$common2 = state.common) === null || _state$common2 === void 0 ? void 0 : _state$common2.user;
|
|
76441
76365
|
});
|
|
76442
76366
|
var isStudent = currentUser.roles.includes("Student");
|
|
76443
|
-
var classes = useStyles$
|
|
76367
|
+
var classes = useStyles$m();
|
|
76444
76368
|
return React__default.createElement(core$1.Grid, {
|
|
76445
76369
|
className: styles$e["privacy-policy"] + " " + (isOpenSideBar && !isNotification ? classes.root : classes.fullWidth)
|
|
76446
76370
|
}, React__default.createElement(core$1.Grid, {
|
|
@@ -78133,7 +78057,7 @@ var SubSurveyQuestions = function SubSurveyQuestions(_ref) {
|
|
|
78133
78057
|
}));
|
|
78134
78058
|
};
|
|
78135
78059
|
|
|
78136
|
-
var useStyles$
|
|
78060
|
+
var useStyles$n = core$1.makeStyles(function () {
|
|
78137
78061
|
return core$1.createStyles({
|
|
78138
78062
|
fullWidth: {
|
|
78139
78063
|
width: "100%"
|
|
@@ -78161,7 +78085,7 @@ var SurveyAnswerList = function SurveyAnswerList(_ref) {
|
|
|
78161
78085
|
var _useTranslation = marioCore.useTranslation(),
|
|
78162
78086
|
t = _useTranslation.t;
|
|
78163
78087
|
|
|
78164
|
-
var classes = useStyles$
|
|
78088
|
+
var classes = useStyles$n();
|
|
78165
78089
|
var isEmotional = type === marioCore.QUESTION_TYPES.EMOTIONAL;
|
|
78166
78090
|
var isSingleChoice = type === marioCore.QUESTION_TYPES.SINGLE_CHOICE;
|
|
78167
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);
|