mario-education 2.4.563-feedback → 2.4.564-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 +36 -12
- package/dist/index.js +133 -53
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +134 -54
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/constants.d.ts +1 -0
- 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" | "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>;
|
|
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>;
|
|
6
6
|
screenWidth: number;
|
|
7
7
|
isReadOnly: string | null;
|
|
8
8
|
notificationAlert: import("../constants/types").NOTIFICATION_ALERT | undefined;
|
package/dist/index.css
CHANGED
|
@@ -4764,30 +4764,54 @@ p._1YLGi {
|
|
|
4764
4764
|
color: #242424; }
|
|
4765
4765
|
|
|
4766
4766
|
._1KcY7 {
|
|
4767
|
-
padding:
|
|
4768
|
-
border-
|
|
4767
|
+
padding: 8px 20px;
|
|
4768
|
+
border-radius: 50px;
|
|
4769
|
+
background: #FFFFFF;
|
|
4770
|
+
color: #242424;
|
|
4769
4771
|
cursor: pointer;
|
|
4770
|
-
font-size:
|
|
4772
|
+
font-size: 14px;
|
|
4771
4773
|
text-align: center;
|
|
4772
4774
|
margin-bottom: 0;
|
|
4773
|
-
transition: background-color 0.5s ease-out;
|
|
4775
|
+
transition: background-color 0.5s ease-out;
|
|
4776
|
+
border: none;
|
|
4777
|
+
font-weight: 600; }
|
|
4774
4778
|
|
|
4775
4779
|
._1KcY7:hover {
|
|
4776
|
-
|
|
4777
|
-
|
|
4780
|
+
color: #316CD9;
|
|
4781
|
+
border: 2px solid #316CD9;
|
|
4782
|
+
padding: 6px 18px;
|
|
4783
|
+
background: #FFFFFF; }
|
|
4778
4784
|
|
|
4779
4785
|
._dOVso {
|
|
4780
|
-
background: #
|
|
4781
|
-
color: #
|
|
4786
|
+
background: #316CD9 !important;
|
|
4787
|
+
color: #FFFFFF !important; }
|
|
4782
4788
|
|
|
4783
4789
|
._3ZqxI > div {
|
|
4784
4790
|
border-radius: 7px; }
|
|
4785
4791
|
|
|
4786
4792
|
._3ZqxI ._g-p72 {
|
|
4787
|
-
font-weight:
|
|
4788
|
-
line-height:
|
|
4789
|
-
font-size:
|
|
4790
|
-
|
|
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; }
|
|
4791
4815
|
|
|
4792
4816
|
._2Nd8Z {
|
|
4793
4817
|
align-items: center; }
|
package/dist/index.js
CHANGED
|
@@ -87,8 +87,6 @@ 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'));
|
|
92
90
|
var HelpOutlineIcon = _interopDefault(require('@material-ui/icons/HelpOutline'));
|
|
93
91
|
var TrackChangesIcon = _interopDefault(require('@material-ui/icons/TrackChanges'));
|
|
94
92
|
var generativeAi = require('@google/generative-ai');
|
|
@@ -1393,6 +1391,7 @@ var FILTER_NAME;
|
|
|
1393
1391
|
FILTER_NAME["Search"] = "search";
|
|
1394
1392
|
})(FILTER_NAME || (FILTER_NAME = {}));
|
|
1395
1393
|
|
|
1394
|
+
var defaultDate = '0001-01-01T00:00:00';
|
|
1396
1395
|
var SMALL_FONT_DEFAULT = 12;
|
|
1397
1396
|
var LARGE_FONT_DEFAULT = 20;
|
|
1398
1397
|
var studentGrades = ["All Grades", "K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13"];
|
|
@@ -30167,6 +30166,7 @@ var defaultFontSize = 16;
|
|
|
30167
30166
|
var defaultFontSmall$1 = 12;
|
|
30168
30167
|
var defaultFontLarge$1 = 20;
|
|
30169
30168
|
var LOGO = "" + marioCore.getStaticFileUrl("/images/logo-white.png");
|
|
30169
|
+
var DEFAULT_USER_AVATAR = "/images/image-default.png";
|
|
30170
30170
|
var SMALL_FONT_DEFAULT$1 = 12;
|
|
30171
30171
|
var LARGE_FONT_DEFAULT$1 = 20;
|
|
30172
30172
|
var SESSION_START_TIME = "sessionStartTime";
|
|
@@ -31197,7 +31197,7 @@ var AutocompleteField = function AutocompleteField(_ref) {
|
|
|
31197
31197
|
}));
|
|
31198
31198
|
};
|
|
31199
31199
|
|
|
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","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"};
|
|
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
31201
|
|
|
31202
31202
|
var FilterDateRange = function FilterDateRange(_ref) {
|
|
31203
31203
|
var endDate = _ref.endDate,
|
|
@@ -32359,7 +32359,7 @@ var convertTime = function convertTime(time) {
|
|
|
32359
32359
|
};
|
|
32360
32360
|
var flagSurveyOptions = ["All", "Red", "Yellow", "Green"];
|
|
32361
32361
|
var DATE_MIN_VALUE = "0001-01-01T00:00:00";
|
|
32362
|
-
var DEFAULT_USER_AVATAR = "/images/image-default.png";
|
|
32362
|
+
var DEFAULT_USER_AVATAR$1 = "/images/image-default.png";
|
|
32363
32363
|
var ratingOfQuestionColors = ["#169490", "#316CD9", "#FFB04F", "#C44140", "#0F9655", "#73C8E5"];
|
|
32364
32364
|
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
32365
|
var FLAG_TYPES$1;
|
|
@@ -32611,7 +32611,7 @@ var LastAnswerTable = function LastAnswerTable(_ref) {
|
|
|
32611
32611
|
}, React__default.createElement(core$1.Grid, {
|
|
32612
32612
|
className: "d-flex align-items-center"
|
|
32613
32613
|
}, React__default.createElement("img", {
|
|
32614
|
-
src: !!r.studentProfileImage ? marioCore.getFileUrl(r.studentProfileImage) : DEFAULT_USER_AVATAR,
|
|
32614
|
+
src: !!r.studentProfileImage ? marioCore.getFileUrl(r.studentProfileImage) : DEFAULT_USER_AVATAR$1,
|
|
32615
32615
|
alt: "",
|
|
32616
32616
|
className: "" + styles$4["avatar_user"]
|
|
32617
32617
|
}), r.studentName))), React__default.createElement(core$1.TableCell, {
|
|
@@ -32838,7 +32838,7 @@ var SimpleDialog = function SimpleDialog(_ref) {
|
|
|
32838
32838
|
}, "spacing")));
|
|
32839
32839
|
};
|
|
32840
32840
|
|
|
32841
|
-
var DEFAULT_USER_AVATAR$
|
|
32841
|
+
var DEFAULT_USER_AVATAR$2 = marioCore.getStaticFileUrl("/images/image-default.png");
|
|
32842
32842
|
|
|
32843
32843
|
var StudentsMissingConversationModal = function StudentsMissingConversationModal(_ref) {
|
|
32844
32844
|
var students = _ref.students,
|
|
@@ -32882,7 +32882,7 @@ var StudentsMissingConversationModal = function StudentsMissingConversationModal
|
|
|
32882
32882
|
}, React__default.createElement("div", {
|
|
32883
32883
|
className: styles$3["item__data"] + " " + styles$3["item__not-grade"] + " " + styles$3["item__student-information"]
|
|
32884
32884
|
}, 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$
|
|
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
32886
|
alt: res === null || res === void 0 ? void 0 : res.studentName
|
|
32887
32887
|
}), res === null || res === void 0 ? void 0 : res.studentName), React__default.createElement("div", {
|
|
32888
32888
|
className: styles$3["item__data"] + " " + styles$3["item__grade"],
|
|
@@ -33604,6 +33604,13 @@ var DialogBody = function DialogBody(_ref2) {
|
|
|
33604
33604
|
}), studentFiltered.map(function (r) {
|
|
33605
33605
|
var _r$sessionResults, _r$sessionResults$fin, _r$sessionResults2, _r$sessionResults2$fi;
|
|
33606
33606
|
|
|
33607
|
+
var teacherStartTime = r === null || r === void 0 ? void 0 : (_r$sessionResults = r.sessionResults) === null || _r$sessionResults === void 0 ? void 0 : (_r$sessionResults$fin = _r$sessionResults.find(function (i) {
|
|
33608
|
+
return i.isTeacherResult;
|
|
33609
|
+
})) === null || _r$sessionResults$fin === void 0 ? void 0 : _r$sessionResults$fin.startTime;
|
|
33610
|
+
var studentStartTime = r === null || r === void 0 ? void 0 : (_r$sessionResults2 = r.sessionResults) === null || _r$sessionResults2 === void 0 ? void 0 : (_r$sessionResults2$fi = _r$sessionResults2.find(function (i) {
|
|
33611
|
+
return !i.isTeacherResult;
|
|
33612
|
+
})) === null || _r$sessionResults2$fi === void 0 ? void 0 : _r$sessionResults2$fi.startTime;
|
|
33613
|
+
var startTime = !!studentStartTime && studentStartTime != defaultDate ? studentStartTime : teacherStartTime;
|
|
33607
33614
|
return React__default.createElement("div", {
|
|
33608
33615
|
className: styles$7["model-student-item"] + " d-flex"
|
|
33609
33616
|
}, React__default.createElement("div", {
|
|
@@ -33628,17 +33635,13 @@ var DialogBody = function DialogBody(_ref2) {
|
|
|
33628
33635
|
className: "" + styles$7["student-name"]
|
|
33629
33636
|
}, r.studentName), React__default.createElement("div", null, React__default.createElement(core$1.Typography, {
|
|
33630
33637
|
className: styles$7["tag"] + " text-nowrap"
|
|
33631
|
-
}, tagName))), !!
|
|
33632
|
-
return !i.isTeacherResult;
|
|
33633
|
-
})) !== null && _r$sessionResults$fin !== void 0 && _r$sessionResults$fin.startTime) && React__default.createElement("div", {
|
|
33638
|
+
}, tagName))), !!startTime && React__default.createElement("div", {
|
|
33634
33639
|
className: "d-flex flex-wrap"
|
|
33635
33640
|
}, React__default.createElement(core$1.Typography, {
|
|
33636
33641
|
className: styles$7["time"] + " mr-1"
|
|
33637
33642
|
}, (r.isSessionCheckIn ? t('last_check_in') : t('last_1_1')) + ": "), React__default.createElement("b", {
|
|
33638
33643
|
className: "" + styles$7["time"]
|
|
33639
|
-
}, formatSortDate(
|
|
33640
|
-
return !i.isTeacherResult;
|
|
33641
|
-
})) === null || _r$sessionResults2$fi === void 0 ? void 0 : _r$sessionResults2$fi.startTime) || "")))), !isHiddenAvg && React__default.createElement("div", {
|
|
33644
|
+
}, formatSortDate(startTime || "")))), !isHiddenAvg && React__default.createElement("div", {
|
|
33642
33645
|
className: "d-flex align-items-center py-2"
|
|
33643
33646
|
}, React__default.createElement(ChipImage, {
|
|
33644
33647
|
className: "ml-0",
|
|
@@ -53955,7 +53958,7 @@ var ConductSurveyModel = function ConductSurveyModel(_ref) {
|
|
|
53955
53958
|
}, React__default.createElement(core$1.Grid, {
|
|
53956
53959
|
className: "" + styles$9["header-conduct"]
|
|
53957
53960
|
}, React__default.createElement("img", {
|
|
53958
|
-
src: marioCore.getFileUrl((student === null || student === void 0 ? void 0 : student.avatar) || "") || DEFAULT_USER_AVATAR,
|
|
53961
|
+
src: marioCore.getFileUrl((student === null || student === void 0 ? void 0 : student.avatar) || "") || DEFAULT_USER_AVATAR$1,
|
|
53959
53962
|
alt: student === null || student === void 0 ? void 0 : student.studentName,
|
|
53960
53963
|
className: "" + styles$9["avatar_user"]
|
|
53961
53964
|
}), React__default.createElement(core$1.Grid, {
|
|
@@ -54057,7 +54060,7 @@ var ResponseQuestionModel = function ResponseQuestionModel(_ref) {
|
|
|
54057
54060
|
hidden: !!isHiddenContact,
|
|
54058
54061
|
className: "" + styles$9["student-detail"]
|
|
54059
54062
|
}, React__default.createElement("img", {
|
|
54060
|
-
src: marioCore.getFileUrl(r.studentAvatar || "") || DEFAULT_USER_AVATAR,
|
|
54063
|
+
src: marioCore.getFileUrl(r.studentAvatar || "") || DEFAULT_USER_AVATAR$1,
|
|
54061
54064
|
alt: r.studentName,
|
|
54062
54065
|
className: "" + styles$9["avatar_user"]
|
|
54063
54066
|
}), React__default.createElement(core$1.Grid, null, React__default.createElement(core$1.Typography, {
|
|
@@ -54458,7 +54461,7 @@ var BarChartQuestionAnswers = function BarChartQuestionAnswers(_ref) {
|
|
|
54458
54461
|
}, t('number_of_answers')));
|
|
54459
54462
|
};
|
|
54460
54463
|
|
|
54461
|
-
var DEFAULT_USER_AVATAR$
|
|
54464
|
+
var DEFAULT_USER_AVATAR$3 = marioCore.getStaticFileUrl("/images/image-default.png");
|
|
54462
54465
|
|
|
54463
54466
|
var AnswerQuestionInput = function AnswerQuestionInput(_ref) {
|
|
54464
54467
|
var handleClickCollapse = _ref.handleClickCollapse,
|
|
@@ -54540,7 +54543,7 @@ var AnswerQuestionInput = function AnswerQuestionInput(_ref) {
|
|
|
54540
54543
|
}, React__default.createElement("div", {
|
|
54541
54544
|
className: styles$9["answer-head"]
|
|
54542
54545
|
}, React__default.createElement("img", {
|
|
54543
|
-
src: "" + (item.profileImageFileName != null ? marioCore.getFileUrl(item.profileImageFileName) : DEFAULT_USER_AVATAR$
|
|
54546
|
+
src: "" + (item.profileImageFileName != null ? marioCore.getFileUrl(item.profileImageFileName) : DEFAULT_USER_AVATAR$3),
|
|
54544
54547
|
alt: "",
|
|
54545
54548
|
style: {
|
|
54546
54549
|
width: '24px',
|
|
@@ -55315,7 +55318,7 @@ var StudentFlagList = function StudentFlagList(_ref) {
|
|
|
55315
55318
|
align: "left",
|
|
55316
55319
|
className: "" + styles$9["row_name"]
|
|
55317
55320
|
}, React__default.createElement("img", {
|
|
55318
|
-
src: !row.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.avatar),
|
|
55321
|
+
src: !row.avatar ? DEFAULT_USER_AVATAR$1 : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.avatar),
|
|
55319
55322
|
alt: "",
|
|
55320
55323
|
className: "" + styles$9["avatar_user"]
|
|
55321
55324
|
}), row === null || row === void 0 ? void 0 : row.studentName), React__default.createElement(core$1.TableCell, {
|
|
@@ -55358,7 +55361,7 @@ var StudentFlagList = function StudentFlagList(_ref) {
|
|
|
55358
55361
|
color: "disabled"
|
|
55359
55362
|
}),
|
|
55360
55363
|
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"),
|
|
55361
|
-
avatar: !e.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(e.avatar)
|
|
55364
|
+
avatar: !e.avatar ? DEFAULT_USER_AVATAR$1 : marioCore.getFileUrl(e.avatar)
|
|
55362
55365
|
});
|
|
55363
55366
|
})), !!listSurveyStudent && listSurveyStudent.items.length > 0 && React__default.createElement(core$1.TablePagination, {
|
|
55364
55367
|
rowsPerPageOptions: [5, 10, 25],
|
|
@@ -68594,7 +68597,7 @@ var TableSelectStudent = function TableSelectStudent(_ref) {
|
|
|
68594
68597
|
return React__default.createElement("div", {
|
|
68595
68598
|
className: "" + styles$9["row_name"]
|
|
68596
68599
|
}, React__default.createElement("img", {
|
|
68597
|
-
src: !params.row.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(params.row.avatar),
|
|
68600
|
+
src: !params.row.avatar ? DEFAULT_USER_AVATAR$1 : marioCore.getFileUrl(params.row.avatar),
|
|
68598
68601
|
alt: "",
|
|
68599
68602
|
className: "" + styles$9["avatar_user"]
|
|
68600
68603
|
}), params.row.fullName);
|
|
@@ -70022,7 +70025,7 @@ var TableSelectStaff = function TableSelectStaff(_ref) {
|
|
|
70022
70025
|
return React__default.createElement("div", {
|
|
70023
70026
|
className: "" + styles$9["row_name"]
|
|
70024
70027
|
}, React__default.createElement("img", {
|
|
70025
|
-
src: !params.row.avatar ? DEFAULT_USER_AVATAR : marioCore.getFileUrl(params.row.avatar),
|
|
70028
|
+
src: !params.row.avatar ? DEFAULT_USER_AVATAR$1 : marioCore.getFileUrl(params.row.avatar),
|
|
70026
70029
|
alt: "",
|
|
70027
70030
|
className: "" + styles$9["avatar_user"]
|
|
70028
70031
|
}), params.row.fullName);
|
|
@@ -72419,7 +72422,7 @@ var getConvertMinuteToHour$1 = function getConvertMinuteToHour(time, usingText)
|
|
|
72419
72422
|
var timeSecond = time * 60;
|
|
72420
72423
|
var hours = Math.floor(timeSecond / 3600);
|
|
72421
72424
|
var minutes = Math.floor(timeSecond % 3600 / 60);
|
|
72422
|
-
var remainingSeconds = timeSecond % 60;
|
|
72425
|
+
var remainingSeconds = Math.floor(timeSecond % 60);
|
|
72423
72426
|
var formattedHours = String(hours).padStart(2, '0');
|
|
72424
72427
|
var formattedMinutes = String(minutes).padStart(2, '0');
|
|
72425
72428
|
var formattedSeconds = String(remainingSeconds).padStart(2, '0');
|
|
@@ -73740,7 +73743,7 @@ var SimpleDialog$1 = function SimpleDialog(_ref) {
|
|
|
73740
73743
|
}, "spacing")));
|
|
73741
73744
|
};
|
|
73742
73745
|
|
|
73743
|
-
var DEFAULT_USER_AVATAR$
|
|
73746
|
+
var DEFAULT_USER_AVATAR$4 = "/images/image-default.png";
|
|
73744
73747
|
|
|
73745
73748
|
var StudentWellnessCheckInItem = function StudentWellnessCheckInItem(_ref) {
|
|
73746
73749
|
var endTime = _ref.endTime,
|
|
@@ -73773,7 +73776,7 @@ var StudentWellnessCheckInItem = function StudentWellnessCheckInItem(_ref) {
|
|
|
73773
73776
|
className: "d-flex w-100"
|
|
73774
73777
|
}, React__default.createElement(core$1.Avatar, {
|
|
73775
73778
|
alt: name === null || name === void 0 ? void 0 : name.toUpperCase(),
|
|
73776
|
-
src: marioCore.getFileUrl(avatar) || DEFAULT_USER_AVATAR$
|
|
73779
|
+
src: marioCore.getFileUrl(avatar) || DEFAULT_USER_AVATAR$4
|
|
73777
73780
|
}), React__default.createElement("div", {
|
|
73778
73781
|
className: "ml-2 ml-sm-3 d-flex flex-column justify-content-center"
|
|
73779
73782
|
}, React__default.createElement("div", {
|
|
@@ -75694,7 +75697,8 @@ var useHeaderSideBar = function useHeaderSideBar(_navigations) {
|
|
|
75694
75697
|
icon: React__default.createElement(TrackChangesIcon, null)
|
|
75695
75698
|
}];
|
|
75696
75699
|
var renderNotificationBadge = React.useCallback(function () {
|
|
75697
|
-
if (!unreadNoti) return React__default.createElement(
|
|
75700
|
+
if (!unreadNoti) return React__default.createElement("img", {
|
|
75701
|
+
src: "/images/bell-icon.png",
|
|
75698
75702
|
onClick: function onClick() {
|
|
75699
75703
|
return openNotification();
|
|
75700
75704
|
}
|
|
@@ -75705,7 +75709,9 @@ var useHeaderSideBar = function useHeaderSideBar(_navigations) {
|
|
|
75705
75709
|
onClick: function onClick() {
|
|
75706
75710
|
return openNotification();
|
|
75707
75711
|
}
|
|
75708
|
-
}, React__default.createElement(
|
|
75712
|
+
}, React__default.createElement("img", {
|
|
75713
|
+
src: "/images/bell-icon.png"
|
|
75714
|
+
}));
|
|
75709
75715
|
}, [unreadNoti, JSON.stringify(roles)]);
|
|
75710
75716
|
|
|
75711
75717
|
var renderNavigationItem = function renderNavigationItem(navigation, isSubItem) {
|
|
@@ -75856,24 +75862,23 @@ var useStyles$l = styles$h.makeStyles(function (theme) {
|
|
|
75856
75862
|
flexGrow: 1
|
|
75857
75863
|
},
|
|
75858
75864
|
menuItem: {
|
|
75859
|
-
padding:
|
|
75865
|
+
padding: "8px 24px",
|
|
75860
75866
|
"& > button > span > span": {
|
|
75861
75867
|
marginLeft: "0.2rem !important"
|
|
75862
75868
|
}
|
|
75863
75869
|
},
|
|
75870
|
+
menuText: {
|
|
75871
|
+
fontSize: "16px"
|
|
75872
|
+
},
|
|
75864
75873
|
menuButton: (_menuButton = {
|
|
75865
75874
|
marginRight: theme.spacing(2)
|
|
75866
75875
|
}, _menuButton["@media(max-width: 768px)"] = {
|
|
75867
75876
|
marginRight: 0
|
|
75868
75877
|
}, _menuButton),
|
|
75869
75878
|
title: (_title = {
|
|
75870
|
-
flexGrow: 0.
|
|
75879
|
+
flexGrow: 0.1,
|
|
75871
75880
|
"& img": {
|
|
75872
|
-
height: "
|
|
75873
|
-
borderRadius: "16px",
|
|
75874
|
-
boxShadow: "0px 0px 24px 0px rgba(0, 0, 0, 0.16)",
|
|
75875
|
-
padding: "5px 10px",
|
|
75876
|
-
border: "2px solid #FFFFFF"
|
|
75881
|
+
height: "40px"
|
|
75877
75882
|
},
|
|
75878
75883
|
"& img:hover": {
|
|
75879
75884
|
boxShadow: "0px 0px 24px 0px rgba(0, 0, 0, 0.36)"
|
|
@@ -75881,17 +75886,29 @@ var useStyles$l = styles$h.makeStyles(function (theme) {
|
|
|
75881
75886
|
}, _title['@media(min-width: 1440px)'] = {
|
|
75882
75887
|
flexGrow: 0.1
|
|
75883
75888
|
}, _title),
|
|
75889
|
+
avatar: {
|
|
75890
|
+
width: "44px",
|
|
75891
|
+
height: "44px",
|
|
75892
|
+
cursor: "pointer",
|
|
75893
|
+
borderRadius: "50px"
|
|
75894
|
+
},
|
|
75884
75895
|
listItem: (_listItem = {}, _listItem["@media(max-width: 768px)"] = {
|
|
75885
75896
|
padding: 0
|
|
75886
75897
|
}, _listItem),
|
|
75887
75898
|
header: {
|
|
75888
75899
|
zIndex: 1000,
|
|
75889
|
-
background: "#336DDA"
|
|
75900
|
+
background: "#336DDA",
|
|
75901
|
+
borderRadius: "0 0 12px 12px",
|
|
75902
|
+
width: "calc(100vw - 32px)",
|
|
75903
|
+
margin: "0 16px"
|
|
75890
75904
|
},
|
|
75891
75905
|
dropdown: {
|
|
75892
75906
|
zIndex: "1410 !important",
|
|
75893
75907
|
top: "40px !important"
|
|
75894
75908
|
},
|
|
75909
|
+
menuIcon: {
|
|
75910
|
+
marginRight: "8px"
|
|
75911
|
+
},
|
|
75895
75912
|
sectionDesktop: {
|
|
75896
75913
|
display: "flex"
|
|
75897
75914
|
},
|
|
@@ -76016,7 +76033,7 @@ var useStyles$l = styles$h.makeStyles(function (theme) {
|
|
|
76016
76033
|
easing: theme.transitions.easing.sharp,
|
|
76017
76034
|
duration: theme.transitions.duration.leavingScreen
|
|
76018
76035
|
}),
|
|
76019
|
-
marginTop:
|
|
76036
|
+
marginTop: 64,
|
|
76020
76037
|
maxHeight: 'calc(100vh - 120px)',
|
|
76021
76038
|
minHeight: 'calc(100vh - 120px)',
|
|
76022
76039
|
paddingTop: '0 !important',
|
|
@@ -76146,7 +76163,9 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
76146
76163
|
color: "inherit",
|
|
76147
76164
|
"aria-label": "menu",
|
|
76148
76165
|
onClick: toggleSideBar
|
|
76149
|
-
}, isOpenSideBar && screenWidth < 1280 ? React__default.createElement(TimesIcon, null) : React__default.createElement(
|
|
76166
|
+
}, isOpenSideBar && screenWidth < 1280 ? React__default.createElement(TimesIcon, null) : React__default.createElement("img", {
|
|
76167
|
+
src: "/images/burger-menu-icon.png"
|
|
76168
|
+
})), React__default.createElement(Typography, {
|
|
76150
76169
|
variant: "h6",
|
|
76151
76170
|
className: classes.title
|
|
76152
76171
|
}, React__default.createElement(reactRouterDom.Link, {
|
|
@@ -76156,7 +76175,8 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
76156
76175
|
alt: ""
|
|
76157
76176
|
}))), screenWidth > 600 && React__default.createElement("span", {
|
|
76158
76177
|
style: {
|
|
76159
|
-
fontSize: "
|
|
76178
|
+
fontSize: "16px",
|
|
76179
|
+
opacity: 0.8
|
|
76160
76180
|
}
|
|
76161
76181
|
}, t('hi'), ", ", user === null || user === void 0 ? void 0 : user.firstName, " \uD83D\uDC4B"), React__default.createElement("div", {
|
|
76162
76182
|
className: classes.grow
|
|
@@ -76173,15 +76193,25 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
76173
76193
|
}, "A"), React__default.createElement("span", {
|
|
76174
76194
|
className: classes.fontBodySmall
|
|
76175
76195
|
}, "A")), React__default.createElement(IconButton, {
|
|
76176
|
-
"aria-label": "
|
|
76196
|
+
"aria-label": "policy",
|
|
76177
76197
|
color: "inherit",
|
|
76178
|
-
onClick:
|
|
76179
|
-
|
|
76180
|
-
|
|
76198
|
+
onClick: function onClick() {
|
|
76199
|
+
return window.open("/privacy-policy");
|
|
76200
|
+
}
|
|
76201
|
+
}, React__default.createElement("img", {
|
|
76202
|
+
src: "/images/policy-icon.png"
|
|
76203
|
+
})), !isReadOnly && React__default.createElement(IconButton, {
|
|
76181
76204
|
"aria-label": "account of current user",
|
|
76182
76205
|
"aria-haspopup": "true",
|
|
76183
76206
|
color: "inherit"
|
|
76184
|
-
}, renderNotificationBadge())
|
|
76207
|
+
}, renderNotificationBadge()), React__default.createElement(IconButton, {
|
|
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, {
|
|
76185
76215
|
id: "menu-font",
|
|
76186
76216
|
className: classes.dropdown,
|
|
76187
76217
|
anchorEl: anchorFontEl,
|
|
@@ -76229,19 +76259,46 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
76229
76259
|
horizontal: "right"
|
|
76230
76260
|
},
|
|
76231
76261
|
open: open,
|
|
76232
|
-
onClose: handleClose
|
|
76262
|
+
onClose: handleClose,
|
|
76263
|
+
PaperProps: {
|
|
76264
|
+
style: {
|
|
76265
|
+
borderRadius: 16,
|
|
76266
|
+
padding: "20px 0"
|
|
76267
|
+
}
|
|
76268
|
+
}
|
|
76233
76269
|
}, screenWidth < 600 && React__default.createElement(core$1.MenuItem, {
|
|
76234
76270
|
className: classes.menuItem
|
|
76235
76271
|
}, React__default.createElement(LanguageDropdown, null)), !isReadOnly && React__default.createElement(core$1.MenuItem, {
|
|
76272
|
+
className: classes.menuItem,
|
|
76236
76273
|
onClick: openProfile
|
|
76237
|
-
},
|
|
76274
|
+
}, React__default.createElement("img", {
|
|
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,
|
|
76238
76281
|
onClick: function onClick() {
|
|
76239
76282
|
onToggleModel === null || onToggleModel === void 0 ? void 0 : onToggleModel();
|
|
76240
76283
|
handleClose();
|
|
76241
76284
|
}
|
|
76242
|
-
},
|
|
76285
|
+
}, React__default.createElement("img", {
|
|
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,
|
|
76243
76295
|
onClick: signOut
|
|
76244
|
-
},
|
|
76296
|
+
}, React__default.createElement("img", {
|
|
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", {
|
|
76245
76302
|
className: classes.positionBox
|
|
76246
76303
|
}, React__default.createElement(core$1.Drawer, {
|
|
76247
76304
|
id: "menu-sidebar",
|
|
@@ -76269,6 +76326,17 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
76269
76326
|
}, children));
|
|
76270
76327
|
};
|
|
76271
76328
|
|
|
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
|
+
|
|
76272
76340
|
var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
76273
76341
|
var _handleUserRole;
|
|
76274
76342
|
|
|
@@ -76280,6 +76348,7 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
|
76280
76348
|
t = _useTranslation.t;
|
|
76281
76349
|
|
|
76282
76350
|
var history = reactRouterDom.useHistory();
|
|
76351
|
+
var classes = useStyles$m();
|
|
76283
76352
|
var pathname = window.location.pathname;
|
|
76284
76353
|
var user = reactRedux.useSelector(function (state) {
|
|
76285
76354
|
return state.common.user;
|
|
@@ -76311,10 +76380,21 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
|
76311
76380
|
onClose: function onClose() {
|
|
76312
76381
|
return onToggleModel();
|
|
76313
76382
|
},
|
|
76314
|
-
className: "" + style$2["model-switch-roles"]
|
|
76315
|
-
|
|
76383
|
+
className: "" + style$2["model-switch-roles"],
|
|
76384
|
+
classes: {
|
|
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, {
|
|
76316
76394
|
className: "" + style$2["title"]
|
|
76317
|
-
}, t('continue_as')), React__default.createElement("div",
|
|
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) {
|
|
76318
76398
|
return React__default.createElement("p", {
|
|
76319
76399
|
key: r,
|
|
76320
76400
|
className: style$2["item-select-role"] + " " + style$2[roles.includes("Teacher") && roles.includes("Assistant") && r === "Teacher/Assistant" || roles.includes(r) ? "item-role-active" : ""],
|
|
@@ -76327,7 +76407,7 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
|
76327
76407
|
|
|
76328
76408
|
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_"};
|
|
76329
76409
|
|
|
76330
|
-
var useStyles$
|
|
76410
|
+
var useStyles$n = core$1.makeStyles(function () {
|
|
76331
76411
|
var _root, _fullWidth;
|
|
76332
76412
|
|
|
76333
76413
|
return {
|
|
@@ -76360,7 +76440,7 @@ var Footer = function Footer(_ref) {
|
|
|
76360
76440
|
return (_state$common2 = state.common) === null || _state$common2 === void 0 ? void 0 : _state$common2.user;
|
|
76361
76441
|
});
|
|
76362
76442
|
var isStudent = currentUser.roles.includes("Student");
|
|
76363
|
-
var classes = useStyles$
|
|
76443
|
+
var classes = useStyles$n();
|
|
76364
76444
|
return React__default.createElement(core$1.Grid, {
|
|
76365
76445
|
className: styles$e["privacy-policy"] + " " + (isOpenSideBar && !isNotification ? classes.root : classes.fullWidth)
|
|
76366
76446
|
}, React__default.createElement(core$1.Grid, {
|
|
@@ -78053,7 +78133,7 @@ var SubSurveyQuestions = function SubSurveyQuestions(_ref) {
|
|
|
78053
78133
|
}));
|
|
78054
78134
|
};
|
|
78055
78135
|
|
|
78056
|
-
var useStyles$
|
|
78136
|
+
var useStyles$o = core$1.makeStyles(function () {
|
|
78057
78137
|
return core$1.createStyles({
|
|
78058
78138
|
fullWidth: {
|
|
78059
78139
|
width: "100%"
|
|
@@ -78081,7 +78161,7 @@ var SurveyAnswerList = function SurveyAnswerList(_ref) {
|
|
|
78081
78161
|
var _useTranslation = marioCore.useTranslation(),
|
|
78082
78162
|
t = _useTranslation.t;
|
|
78083
78163
|
|
|
78084
|
-
var classes = useStyles$
|
|
78164
|
+
var classes = useStyles$o();
|
|
78085
78165
|
var isEmotional = type === marioCore.QUESTION_TYPES.EMOTIONAL;
|
|
78086
78166
|
var isSingleChoice = type === marioCore.QUESTION_TYPES.SINGLE_CHOICE;
|
|
78087
78167
|
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);
|