mario-education 2.4.550-feedback → 2.4.552-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/containers/Dashboard/components/StudentsMissingConversationModal.d.ts +8 -0
- package/dist/containers/Dashboard/configs/types.d.ts +8 -0
- package/dist/index.css +81 -59
- package/dist/index.js +229 -137
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +229 -137
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23262,7 +23262,7 @@ var CompareTeacher = function CompareTeacher() {
|
|
|
23262
23262
|
}, "No compare result."))));
|
|
23263
23263
|
};
|
|
23264
23264
|
|
|
23265
|
-
var styles$3 = {"filter-item":"_32TM-","explain":"_-8lmJ","explain-icon":"_2ZHvU","explain-text":"_PTVjQ","total-item":"_2kRyg","total-item-content":"_-EKiL","total-item-name":"_RabZu","total-item-value":"_2Bh6z","total-item-icon":"_Kxxoa","plp-header":"_3FKbY","plp-export":"_2Rmvt","plp-description":"_q_78K","list-total":"_15pWB","header-top":"_1PbDb","plp-title":"_EF9Ni","select-filter-top":"_24r59","grade-filter":"_3ZZRK","filter-box":"_2uNCh","save-filter":"_1fBLq","save-filter-title":"_1v_85","clear-filter":"_A96q_","clear-filter-content":"_2TJ1f","clear-filter-icon":"_2Ksxe","clear-filter-text":"_1D9YP","accordion":"_NBFI6","expanded-summary":"_266ea","expanded-title":"_2jL7M","expanded-detail":"_2_pC0","oveview-style":"_3mdIT","plp-filter-desktop":"_os0Bj","plp-filter-mobile":"_Vxehn","point-custom":"_2zeAK","plp-content":"_6QVFh","content-container":"_1exPI","content-navigation":"_2ShRy","nav-item":"_PXExR","nav-item-active":"_Xd-9c","nav-label":"_1UJUc","plp-container":"_1lWup","font-large":"_18ARM","font-small":"_2kv1o","red-background":"_1oSdv","green-background":"_iUJT1","privacy-policy":"_25Mhu","privacy-policy-left":"_2V8Pl","all-rights-reserved":"_16E-8","policy-link":"_3hmLV","privacy-policy-right":"_2mKQc","product-link":"_25r8U","table-container":"_raezM","table-head":"_2Gj6m","table-body-container":"_1x2US","table-body-container-scroll":"_238s2","table-head-scroll":"_16lDF","header-cell":"_2WuKV","table-row":"_16qjD","body-cell":"_2_KKp","body-answer":"_2Jtqw","table-body-scroll":"_3xniY","table-body":"_1HFLW","table-row-scroll":"_14HY5","avatar_user":"_1Sw6O","block-filter-question":"_1d2ZE","block-summarize-question":"_395Pr","pagination-summarize-table":"_YMne9","row-hover":"_3J7C5","block-question-answer":"_2RZEV","question-filter-block":"_18fpy","question-answer-container":"_1JjuE","block-title":"_1dfGl","block-title-question":"_37aVK","block-description":"_ArRHx","total-text":"_20vTM","total-value":"_umXMa","view-response-action":"_30pJu","action-text":"_3s4U4","btn-filter":"_tM8vA","color-filter":"_exllb","block-filter-component":"_2YUAl","date-picker":"_cVDVQ","select-filter-component":"_39Gt9","box-select":"_TqPkz","radio-btn":"_-L7BF","box-select-label":"_2xZTd","input-filter":"_WLhZo","hidden":"_2rxeP","description-chart":"_3Elxj","box-model-student-skill":"_2eAFg","full-width":"_2SpJr","column-reverse":"_3nv_q","description-chart-distribution-stress":"_2eP2W","generate-chart":"_Kk1Wo","icon-safety-and-stress":"_1MfBz","header-chart-generate":"_16nm1","header-chart-description":"_xs23N","data-overall-readline-value-yes":"_1cOCL","box-strategy":"_HVODX","strategy-bar-chart":"_2uPuM","top-5-block":"_3RCFX","pie-chart":"_2lkzz","name-chart":"_1aqXn","block-header-chart":"_1EomJ","title-chart":"_159Yg","item-checkbox":"_2WPKK","check-box":"_3k0Ti","item-detail":"_35LD0","question":"_1jukR","avr-question":"_3RlcF","volatility":"_2RmeI","arr":"_3sWGw","arrow-up":"_3w1NA","arrow":"_2UNKB","percent-text":"_1AkBW","arrow-down":"_f9Fok","percent-text-down":"_3QwVA","month-text":"_1RBUl","label-chart":"_olqoa","listItem":"_gPTHp","item":"_3sozO","column-chart-percent":"_2lYPp","bubble-chart-custom":"_3Ubd5","legend-wrap":"_3dGQD","partition-chart":"_24ppS","partition-chart-item":"_1HSTq","partition-chart-item-2":"_1SlI7","partition-chart-item-1":"_3Xkaf","space-chart":"_2vcmA","plp-box-chart":"_2Rg4z","box-chart-container":"_28wXo","header-chart-container":"_1jNuU","box-chart-pressure":"_3Of39","distribution-chart":"_2U5TS","model-skill-student":"_1J-a-","warning-icon":"_tQ8uR","check-icon":"_1bHwC","skill-student":"_UMQL7","detail":"_29ekT","link":"_3P0Lx","conversation-list-card":"_3qqfp","card-item":"_37g7J","card-item-header":"_3A45J","card-item-title":"_1DhvL","card-item-content":"_39CQ_","card-item-score":"_2Ch9s","rating-scale":"_142hC","graph-trend":"_2jy_I","graph-label":"_QlFKC","kpi-module":"_1m0Wf","label-options":"_MI2zT","option-item":"_2uno9","selected":"_3Y_7u","no-selected":"_1lTVD","trend-question-list":"_3v6ph","trend-question-item":"_2YTNk","trend-item-header":"_FE4kq","trend-item-title":"_lDjiD","trend-item-icon":"_32Iou","trend-item-icon-large":"_3Mibh","plp-export__btn":"_3AQu7","form-checkbox":"_3yOgq","checkbox-content":"_5oHml","btn-export":"_1hqkv","print-chart":"_3nqLt","title-modal":"_329ZY","static-metric":"_1zeRq","static-metric__container":"_2oHC-","metric-modal":"_386KH","metric-modal__title":"_eloq3","metric-modal__body--header":"_2C4LY","grade":"_2F3RL","not-grade":"_K54rJ","metric-modal__body--content":"_1mp5K","item__data":"_3MSCO","item__grade":"_xcA-0","item__not-grade":"_2lTju","item__student-information":"_2YGJ1"};
|
|
23265
|
+
var styles$3 = {"filter-item":"_32TM-","explain":"_-8lmJ","explain-icon":"_2ZHvU","explain-text":"_PTVjQ","total-item":"_2kRyg","total-item-content":"_-EKiL","total-item-name":"_RabZu","total-item-value":"_2Bh6z","total-item-icon":"_Kxxoa","plp-header":"_3FKbY","plp-export":"_2Rmvt","plp-description":"_q_78K","list-total":"_15pWB","header-top":"_1PbDb","plp-title":"_EF9Ni","select-filter-top":"_24r59","grade-filter":"_3ZZRK","filter-box":"_2uNCh","save-filter":"_1fBLq","save-filter-title":"_1v_85","clear-filter":"_A96q_","clear-filter-content":"_2TJ1f","clear-filter-icon":"_2Ksxe","clear-filter-text":"_1D9YP","accordion":"_NBFI6","expanded-summary":"_266ea","expanded-title":"_2jL7M","expanded-detail":"_2_pC0","oveview-style":"_3mdIT","plp-filter-desktop":"_os0Bj","plp-filter-mobile":"_Vxehn","point-custom":"_2zeAK","plp-content":"_6QVFh","content-container":"_1exPI","content-navigation":"_2ShRy","nav-item":"_PXExR","nav-item-active":"_Xd-9c","nav-label":"_1UJUc","plp-container":"_1lWup","font-large":"_18ARM","font-small":"_2kv1o","red-background":"_1oSdv","green-background":"_iUJT1","privacy-policy":"_25Mhu","privacy-policy-left":"_2V8Pl","all-rights-reserved":"_16E-8","policy-link":"_3hmLV","privacy-policy-right":"_2mKQc","product-link":"_25r8U","table-container":"_raezM","table-head":"_2Gj6m","table-body-container":"_1x2US","table-body-container-scroll":"_238s2","table-head-scroll":"_16lDF","header-cell":"_2WuKV","table-row":"_16qjD","body-cell":"_2_KKp","body-answer":"_2Jtqw","table-body-scroll":"_3xniY","table-body":"_1HFLW","table-row-scroll":"_14HY5","avatar_user":"_1Sw6O","block-filter-question":"_1d2ZE","block-summarize-question":"_395Pr","pagination-summarize-table":"_YMne9","row-hover":"_3J7C5","block-question-answer":"_2RZEV","question-filter-block":"_18fpy","question-answer-container":"_1JjuE","block-title":"_1dfGl","block-title-question":"_37aVK","block-description":"_ArRHx","total-text":"_20vTM","total-value":"_umXMa","view-response-action":"_30pJu","action-text":"_3s4U4","btn-filter":"_tM8vA","color-filter":"_exllb","block-filter-component":"_2YUAl","date-picker":"_cVDVQ","select-filter-component":"_39Gt9","box-select":"_TqPkz","radio-btn":"_-L7BF","box-select-label":"_2xZTd","input-filter":"_WLhZo","hidden":"_2rxeP","description-chart":"_3Elxj","box-model-student-skill":"_2eAFg","full-width":"_2SpJr","column-reverse":"_3nv_q","description-chart-distribution-stress":"_2eP2W","generate-chart":"_Kk1Wo","icon-safety-and-stress":"_1MfBz","header-chart-generate":"_16nm1","header-chart-description":"_xs23N","data-overall-readline-value-yes":"_1cOCL","box-strategy":"_HVODX","strategy-bar-chart":"_2uPuM","top-5-block":"_3RCFX","pie-chart":"_2lkzz","name-chart":"_1aqXn","block-header-chart":"_1EomJ","title-chart":"_159Yg","item-checkbox":"_2WPKK","check-box":"_3k0Ti","item-detail":"_35LD0","question":"_1jukR","avr-question":"_3RlcF","volatility":"_2RmeI","arr":"_3sWGw","arrow-up":"_3w1NA","arrow":"_2UNKB","percent-text":"_1AkBW","arrow-down":"_f9Fok","percent-text-down":"_3QwVA","month-text":"_1RBUl","label-chart":"_olqoa","listItem":"_gPTHp","item":"_3sozO","column-chart-percent":"_2lYPp","bubble-chart-custom":"_3Ubd5","legend-wrap":"_3dGQD","partition-chart":"_24ppS","partition-chart-item":"_1HSTq","partition-chart-item-2":"_1SlI7","partition-chart-item-1":"_3Xkaf","space-chart":"_2vcmA","plp-box-chart":"_2Rg4z","box-chart-container":"_28wXo","header-chart-container":"_1jNuU","box-chart-pressure":"_3Of39","distribution-chart":"_2U5TS","model-skill-student":"_1J-a-","warning-icon":"_tQ8uR","check-icon":"_1bHwC","skill-student":"_UMQL7","detail":"_29ekT","link":"_3P0Lx","conversation-list-card":"_3qqfp","card-item":"_37g7J","card-item-header":"_3A45J","card-item-title":"_1DhvL","card-item-content":"_39CQ_","card-item-score":"_2Ch9s","card-item-score__kpi":"_12pup","card-item-score__student":"_3G1lN","card-item-score__view-list":"_2xaBy","rating-scale":"_142hC","graph-trend":"_2jy_I","graph-label":"_QlFKC","kpi-module":"_1m0Wf","label-options":"_MI2zT","option-item":"_2uno9","selected":"_3Y_7u","no-selected":"_1lTVD","trend-question-list":"_3v6ph","trend-question-item":"_2YTNk","trend-item-header":"_FE4kq","trend-item-title":"_lDjiD","trend-item-icon":"_32Iou","trend-item-icon-large":"_3Mibh","plp-export__btn":"_3AQu7","form-checkbox":"_3yOgq","checkbox-content":"_5oHml","btn-export":"_1hqkv","print-chart":"_3nqLt","title-modal":"_329ZY","static-metric":"_1zeRq","static-metric__container":"_2oHC-","metric-modal":"_386KH","metric-modal__title":"_eloq3","metric-modal__title-missed-conversation":"_35Gjq","metric-modal__body--header":"_2C4LY","grade":"_2F3RL","not-grade":"_K54rJ","metric-modal__body--content":"_1mp5K","item__data":"_3MSCO","item__grade":"_xcA-0","item__not-grade":"_2lTju","item__student-information":"_2YGJ1"};
|
|
23266
23266
|
|
|
23267
23267
|
var REPORT_URL = marioCore.BASE_URL + "/api/report";
|
|
23268
23268
|
var BAND_SCORE = marioCore.BASE_URL + "/api/bandScore";
|
|
@@ -23276,7 +23276,9 @@ var getSummarizeReport = function getSummarizeReport(filter) {
|
|
|
23276
23276
|
};
|
|
23277
23277
|
var getAllTotalTime = function getAllTotalTime(filter) {
|
|
23278
23278
|
return marioCore.api.get(REPORT_URL + "/dashboard-total-student", {
|
|
23279
|
-
params: filter
|
|
23279
|
+
params: _extends({}, filter, {
|
|
23280
|
+
roles: ["Admin"]
|
|
23281
|
+
})
|
|
23280
23282
|
});
|
|
23281
23283
|
};
|
|
23282
23284
|
var getReadinessToLearning = function getReadinessToLearning(filter) {
|
|
@@ -23394,12 +23396,16 @@ var checkHasSummarizeQuestionApi = function checkHasSummarizeQuestionApi() {
|
|
|
23394
23396
|
};
|
|
23395
23397
|
var getVeryLowMetric = function getVeryLowMetric(filter) {
|
|
23396
23398
|
return marioCore.api.get(REPORT_URL + "/very-low-metric", {
|
|
23397
|
-
params: filter
|
|
23399
|
+
params: _extends({}, filter, {
|
|
23400
|
+
roles: ["Admin"]
|
|
23401
|
+
})
|
|
23398
23402
|
});
|
|
23399
23403
|
};
|
|
23400
23404
|
var getConversationGoal = function getConversationGoal(filter) {
|
|
23401
23405
|
return marioCore.api.get(REPORT_URL + "/conversation-kpi", {
|
|
23402
|
-
params: filter
|
|
23406
|
+
params: _extends({}, filter, {
|
|
23407
|
+
roles: ["Admin"]
|
|
23408
|
+
})
|
|
23403
23409
|
});
|
|
23404
23410
|
};
|
|
23405
23411
|
|
|
@@ -29294,7 +29300,8 @@ var initConversationKpi = {
|
|
|
29294
29300
|
conversationTarget: 0,
|
|
29295
29301
|
conversationTeacherAvg: 0,
|
|
29296
29302
|
avgStudentReview: 0,
|
|
29297
|
-
sessionReviewSkipped: 0
|
|
29303
|
+
sessionReviewSkipped: 0,
|
|
29304
|
+
missedReviewStudents: []
|
|
29298
29305
|
};
|
|
29299
29306
|
|
|
29300
29307
|
var gradeOptions = function gradeOptions(grades, studentUserId) {
|
|
@@ -30583,7 +30590,7 @@ var useDashboard = function useDashboard() {
|
|
|
30583
30590
|
})) || [];
|
|
30584
30591
|
var newSeriesOneToOne = convertToSeriesColumnChartAndPercent(questions, data === null || data === void 0 ? void 0 : data.overviewQuestionChoice);
|
|
30585
30592
|
var oneToOneWeeklySeries = convertToSeriesColumnChartAndPercent(questions, data === null || data === void 0 ? void 0 : data.questionChoiceWeeklyResults);
|
|
30586
|
-
var timeOfData = optionDate === "Monthly" ? data.overviewQuestionChoice : data.questionChoiceWeeklyResults;
|
|
30593
|
+
var timeOfData = optionDate === "Monthly" && filter.optionDate !== 'Today' && filter.optionDate !== 'Week' ? data.overviewQuestionChoice : data.questionChoiceWeeklyResults;
|
|
30587
30594
|
var dayOfWeeks = timeOfData.map(function (r) {
|
|
30588
30595
|
return marioCore.utcToLocalTime(r.startDate, "DD-MM-yyyy") + " - " + marioCore.utcToLocalTime(r.endDate, "DD-MM-yyyy");
|
|
30589
30596
|
});
|
|
@@ -32750,11 +32757,164 @@ var LinearProgress = function LinearProgress(props) {
|
|
|
32750
32757
|
}, React__default.createElement(core$1.Typography, {
|
|
32751
32758
|
variant: "body2",
|
|
32752
32759
|
color: "textSecondary"
|
|
32753
|
-
}, Math.round(props.value) + "%"))));
|
|
32760
|
+
}, (Math.round(props.value) || 0) + "%"))));
|
|
32761
|
+
};
|
|
32762
|
+
|
|
32763
|
+
var styles$5 = {"dialog-body":"_32WAl","dialog-body--full":"_34LGL","dialog-body__close-icon":"_294gr","dialog-body__content":"_DKokt","dialog-body__content--scroll-body":"_2FOVK","dialog-body__spacing":"_1ztjY"};
|
|
32764
|
+
|
|
32765
|
+
var SimpleDialog = function SimpleDialog(_ref) {
|
|
32766
|
+
var open = _ref.open,
|
|
32767
|
+
fullScreen = _ref.fullScreen,
|
|
32768
|
+
maxWidth = _ref.maxWidth,
|
|
32769
|
+
onClose = _ref.onClose,
|
|
32770
|
+
children = _ref.children,
|
|
32771
|
+
scroll = _ref.scroll,
|
|
32772
|
+
_ref$contentClassName = _ref.contentClassName,
|
|
32773
|
+
contentClassName = _ref$contentClassName === void 0 ? "" : _ref$contentClassName,
|
|
32774
|
+
_ref$bodyClass = _ref.bodyClass,
|
|
32775
|
+
bodyClass = _ref$bodyClass === void 0 ? "" : _ref$bodyClass;
|
|
32776
|
+
|
|
32777
|
+
var handleClose = function handleClose(_, reason) {
|
|
32778
|
+
if (reason && reason == "backdropClick") return;
|
|
32779
|
+
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
32780
|
+
};
|
|
32781
|
+
|
|
32782
|
+
var CustomDialog = core$1.withStyles(function (theme) {
|
|
32783
|
+
var _MuiDialogPaper;
|
|
32784
|
+
|
|
32785
|
+
return {
|
|
32786
|
+
root: {
|
|
32787
|
+
"& .MuiDialog-paper": (_MuiDialogPaper = {
|
|
32788
|
+
boxShadow: "none!important",
|
|
32789
|
+
backgroundColor: "transparent!important",
|
|
32790
|
+
overflow: "visible!important",
|
|
32791
|
+
width: "100%",
|
|
32792
|
+
height: "100%",
|
|
32793
|
+
padding: "32px",
|
|
32794
|
+
margin: "0!important"
|
|
32795
|
+
}, _MuiDialogPaper[theme.breakpoints.down("md")] = {
|
|
32796
|
+
maxWidth: "unset"
|
|
32797
|
+
}, _MuiDialogPaper[theme.breakpoints.down("xs")] = {
|
|
32798
|
+
padding: "0"
|
|
32799
|
+
}, _MuiDialogPaper),
|
|
32800
|
+
"& .MuiBackdrop-root": {
|
|
32801
|
+
backgroundColor: "#242424A3!important"
|
|
32802
|
+
}
|
|
32803
|
+
}
|
|
32804
|
+
};
|
|
32805
|
+
})(core$1.Dialog);
|
|
32806
|
+
return React__default.createElement(CustomDialog, {
|
|
32807
|
+
fullScreen: fullScreen,
|
|
32808
|
+
open: !!open,
|
|
32809
|
+
maxWidth: maxWidth,
|
|
32810
|
+
scroll: scroll
|
|
32811
|
+
}, React__default.createElement("div", {
|
|
32812
|
+
className: styles$5["dialog-body"] + " " + (fullScreen ? "" + styles$5["dialog-body--full"] : "") + " " + styles$5[bodyClass]
|
|
32813
|
+
}, React__default.createElement("span", {
|
|
32814
|
+
className: "" + styles$5["dialog-body__close-icon"],
|
|
32815
|
+
onClick: handleClose
|
|
32816
|
+
}, React__default.createElement("svg", {
|
|
32817
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32818
|
+
width: "56",
|
|
32819
|
+
height: "56",
|
|
32820
|
+
viewBox: "0 0 56 56",
|
|
32821
|
+
fill: "none"
|
|
32822
|
+
}, React__default.createElement("path", {
|
|
32823
|
+
d: "M49 7L28 28M28 28L49 49M28 28L7 7M28 28L7 49",
|
|
32824
|
+
stroke: "#D3D3D3",
|
|
32825
|
+
strokeWidth: "2",
|
|
32826
|
+
strokeLinecap: "round",
|
|
32827
|
+
strokeLinejoin: "round"
|
|
32828
|
+
}))), React__default.createElement("div", {
|
|
32829
|
+
className: "w-100 " + styles$5["dialog-body__content"] + " " + (scroll === "body" && styles$5["dialog-body__content--scroll-body"]) + " " + contentClassName
|
|
32830
|
+
}, children), scroll === "body" && React__default.createElement("div", {
|
|
32831
|
+
className: "w-100 " + styles$5["dialog-body__spacing"]
|
|
32832
|
+
}, "spacing")));
|
|
32833
|
+
};
|
|
32834
|
+
|
|
32835
|
+
var DEFAULT_USER_AVATAR$1 = marioCore.getStaticFileUrl("/images/image-default.png");
|
|
32836
|
+
|
|
32837
|
+
var StudentsMissingConversationModal = function StudentsMissingConversationModal(_ref) {
|
|
32838
|
+
var students = _ref.students,
|
|
32839
|
+
openPopoverListStudent = _ref.openPopoverListStudent,
|
|
32840
|
+
handleCloseListStudentModal = _ref.handleCloseListStudentModal;
|
|
32841
|
+
|
|
32842
|
+
var _useTranslation = marioCore.useTranslation(),
|
|
32843
|
+
t = _useTranslation.t;
|
|
32844
|
+
|
|
32845
|
+
return React__default.createElement(SimpleDialog, {
|
|
32846
|
+
open: openPopoverListStudent,
|
|
32847
|
+
onClose: handleCloseListStudentModal,
|
|
32848
|
+
scroll: "body",
|
|
32849
|
+
maxWidth: "md"
|
|
32850
|
+
}, React__default.createElement("div", {
|
|
32851
|
+
className: styles$3["metric-modal"]
|
|
32852
|
+
}, React__default.createElement("div", {
|
|
32853
|
+
className: styles$3["metric-modal__title-missed-conversation"]
|
|
32854
|
+
}, "Students Missing a Conversation (", students === null || students === void 0 ? void 0 : students.length, ")"), React__default.createElement("div", {
|
|
32855
|
+
className: styles$3["metric-modal__body"]
|
|
32856
|
+
}, React__default.createElement("div", {
|
|
32857
|
+
className: styles$3["metric-modal__body--header"]
|
|
32858
|
+
}, React__default.createElement("div", {
|
|
32859
|
+
className: styles$3["item"] + " " + styles$3["not-grade"]
|
|
32860
|
+
}, t("student")), React__default.createElement("div", {
|
|
32861
|
+
className: styles$3["item"] + " " + styles$3["grade"],
|
|
32862
|
+
style: {
|
|
32863
|
+
maxWidth: "20%"
|
|
32864
|
+
}
|
|
32865
|
+
}, t("grade")), React__default.createElement("div", {
|
|
32866
|
+
className: styles$3["item"] + " " + styles$3["not-grade"],
|
|
32867
|
+
style: {
|
|
32868
|
+
maxWidth: "unset"
|
|
32869
|
+
}
|
|
32870
|
+
}, t("conversation_date"))), React__default.createElement("div", {
|
|
32871
|
+
className: styles$3["metric-modal__body--content"]
|
|
32872
|
+
}, (students === null || students === void 0 ? void 0 : students.length) && students.map(function (res) {
|
|
32873
|
+
return React__default.createElement("div", {
|
|
32874
|
+
className: styles$3["item"],
|
|
32875
|
+
key: res === null || res === void 0 ? void 0 : res.studentId
|
|
32876
|
+
}, React__default.createElement("div", {
|
|
32877
|
+
className: styles$3["item__data"] + " " + styles$3["item__not-grade"] + " " + styles$3["item__student-information"]
|
|
32878
|
+
}, React__default.createElement("img", {
|
|
32879
|
+
src: !!(res !== null && res !== void 0 && res.studentProfileImage) ? marioCore.getFileUrl(res === null || res === void 0 ? void 0 : res.studentProfileImage) : DEFAULT_USER_AVATAR$1,
|
|
32880
|
+
alt: res === null || res === void 0 ? void 0 : res.studentName
|
|
32881
|
+
}), res === null || res === void 0 ? void 0 : res.studentName), React__default.createElement("div", {
|
|
32882
|
+
className: styles$3["item__data"] + " " + styles$3["item__grade"],
|
|
32883
|
+
style: {
|
|
32884
|
+
maxWidth: "20%"
|
|
32885
|
+
}
|
|
32886
|
+
}, res === null || res === void 0 ? void 0 : res.grade), React__default.createElement("div", {
|
|
32887
|
+
className: styles$3["item__data"] + " " + styles$3["item__not-grade"],
|
|
32888
|
+
style: {
|
|
32889
|
+
maxWidth: "unset"
|
|
32890
|
+
}
|
|
32891
|
+
}, moment((res === null || res === void 0 ? void 0 : res.conversationDate) || '').format("DD MMMM YYYY hh:mm A")));
|
|
32892
|
+
})))));
|
|
32893
|
+
};
|
|
32894
|
+
|
|
32895
|
+
var ArrowRightIcon = function ArrowRightIcon() {
|
|
32896
|
+
return React__default.createElement("svg", {
|
|
32897
|
+
width: "16",
|
|
32898
|
+
height: "16",
|
|
32899
|
+
viewBox: "0 0 16 16",
|
|
32900
|
+
fill: "none",
|
|
32901
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
32902
|
+
}, React__default.createElement("path", {
|
|
32903
|
+
d: "M8.75036 3C8.55112 3 8.36007 3.07928 8.21936 3.22034C8.0783 3.36105 7.99902 3.5521 7.99902 3.75134C7.99902 3.95058 8.0783 4.14163 8.21936 4.28234L11.4397 7.50146H2.75C2.33579 7.50146 2 7.83725 2 8.25146C2 8.66568 2.33579 9.00146 2.75 9.00146H11.4395L8.21936 12.2203C7.9261 12.5136 7.9261 12.9891 8.21936 13.2823C8.51263 13.5756 8.9881 13.5756 9.28136 13.2823L13.7814 8.78234C13.9224 8.64163 14.0017 8.45058 14.0017 8.25134C14.0017 8.0521 13.9224 7.86105 13.7814 7.72034L9.28136 3.22034C9.14066 3.07928 8.9496 3 8.75036 3Z",
|
|
32904
|
+
fill: "#316CD9"
|
|
32905
|
+
}));
|
|
32754
32906
|
};
|
|
32755
32907
|
|
|
32756
32908
|
var ConversationTab = function ConversationTab(_ref) {
|
|
32757
32909
|
var conversationKpi = _ref.conversationKpi;
|
|
32910
|
+
|
|
32911
|
+
var _useTranslation = marioCore.useTranslation(),
|
|
32912
|
+
t = _useTranslation.t;
|
|
32913
|
+
|
|
32914
|
+
var _useState = React.useState(false),
|
|
32915
|
+
openPopoverListStudent = _useState[0],
|
|
32916
|
+
setOpenPopoverListStudent = _useState[1];
|
|
32917
|
+
|
|
32758
32918
|
return React__default.createElement(core$1.Grid, null, React__default.createElement(core$1.Grid, {
|
|
32759
32919
|
className: "" + styles$3["explain"]
|
|
32760
32920
|
}, React__default.createElement("img", {
|
|
@@ -32803,14 +32963,30 @@ var ConversationTab = function ConversationTab(_ref) {
|
|
|
32803
32963
|
className: "" + styles$3["card-item-header"]
|
|
32804
32964
|
}, React__default.createElement(core$1.Typography, {
|
|
32805
32965
|
className: "" + styles$3["card-item-title"]
|
|
32806
|
-
}, "Students Missing a Conversation"), React__default.createElement("img", {
|
|
32966
|
+
}, "Students Missing ", React__default.createElement("br", null), "a Conversation"), React__default.createElement("img", {
|
|
32807
32967
|
src: "/images/conversation-icon.png",
|
|
32808
32968
|
alt: ""
|
|
32809
32969
|
})), React__default.createElement(core$1.Grid, {
|
|
32810
32970
|
className: "" + styles$3["card-item-content"]
|
|
32811
|
-
}, React__default.createElement(
|
|
32971
|
+
}, React__default.createElement("div", {
|
|
32812
32972
|
className: "" + styles$3["card-item-score"]
|
|
32813
|
-
},
|
|
32973
|
+
}, React__default.createElement("span", {
|
|
32974
|
+
className: "" + styles$3["card-item-score__kpi"]
|
|
32975
|
+
}, conversationKpi.sessionReviewSkipped), React__default.createElement("span", {
|
|
32976
|
+
className: "" + styles$3["card-item-score__student"]
|
|
32977
|
+
}, t('students')), conversationKpi.sessionReviewSkipped && React__default.createElement("button", {
|
|
32978
|
+
type: "button",
|
|
32979
|
+
className: "" + styles$3["card-item-score__view-list"],
|
|
32980
|
+
onClick: function onClick() {
|
|
32981
|
+
return setOpenPopoverListStudent(true);
|
|
32982
|
+
}
|
|
32983
|
+
}, "View list", React__default.createElement(ArrowRightIcon, null)))))), React__default.createElement(StudentsMissingConversationModal, {
|
|
32984
|
+
students: conversationKpi.missedReviewStudents,
|
|
32985
|
+
openPopoverListStudent: openPopoverListStudent,
|
|
32986
|
+
handleCloseListStudentModal: function handleCloseListStudentModal() {
|
|
32987
|
+
return setOpenPopoverListStudent(false);
|
|
32988
|
+
}
|
|
32989
|
+
}));
|
|
32814
32990
|
};
|
|
32815
32991
|
|
|
32816
32992
|
function propsAreEqual(prevProps, nextProps) {
|
|
@@ -33228,7 +33404,7 @@ var StudentPressureChart = function StudentPressureChart(_ref) {
|
|
|
33228
33404
|
}))));
|
|
33229
33405
|
};
|
|
33230
33406
|
|
|
33231
|
-
var styles$
|
|
33407
|
+
var styles$6 = {"custom-tooltip":"_1yt_V","custom-tooltip-month":"_3UnI4","tooltip-data-cursor":"_3S_FK","tooltip-data-box":"_FKEZ-","tooltip-data":"_1ox-X","name":"_AN3eb","data":"_Xj6P5","block-chart-area":"_8nqzn","block-label-y":"_1IhpE","label":"_1YQdh","size-100":"_1HEKQ","block-header-chart":"_2OwHM","title-chart":"_3oICp","bubble-chart-custom":"_QPg8i","x-axis-custom-wrap":"_2XBw4","axis-content":"_3en3j","legend-wrap":"_14MkS","item":"_3kZDO","mark-custom":"_1lM1u","label-legend-custom":"_TyhSD","mark-legend":"_PGUiW","label-chart":"_2xLjx","list-percent":"_3zbVY","percent-survey":"_yGLuY","percent-item":"_LtRXC","chart-custom":"_2roz6","chart-buddle":"_Et4cA","question-legend-custom":"_2i7G9","question":"_2QzvW"};
|
|
33232
33408
|
|
|
33233
33409
|
var AreaChart = function AreaChart(_ref) {
|
|
33234
33410
|
var series = _ref.series,
|
|
@@ -33249,25 +33425,25 @@ var AreaChart = function AreaChart(_ref) {
|
|
|
33249
33425
|
w = _ref2.w;
|
|
33250
33426
|
var colorsItem = w.config.colors;
|
|
33251
33427
|
var seriesItem = w.config.series;
|
|
33252
|
-
return "<div class=" + styles$
|
|
33428
|
+
return "<div class=" + styles$6["custom-tooltip"] + "> \n <p class=" + styles$6["custom-tooltip-month"] + "> " + dayOfWeek[dataPointIndex] + " </p>\n " + seriesItem.map(function (r, index) {
|
|
33253
33429
|
var _ref3, _r$data$dataPointInde;
|
|
33254
33430
|
|
|
33255
|
-
return "<div class=" + styles$
|
|
33431
|
+
return "<div class=" + styles$6["tooltip-data-box"] + ">\n <div class=" + styles$6["tooltip-data-cursor"] + " style=\"background: " + colorsItem[index] + "\"></div>\n <div class=" + styles$6["tooltip-data"] + ">\n <p class=" + styles$6["name"] + ">" + r.name + ":</p>\n <p class=" + styles$6["data"] + ">" + (!isCountSeries ? ((_ref3 = min == -100 ? (((_r$data$dataPointInde = r.data[dataPointIndex]) != null ? _r$data$dataPointInde : 0) - 50) * 2 : r.data[dataPointIndex]) === null || _ref3 === void 0 ? void 0 : _ref3.toFixed(2)) + "%" : r.data[dataPointIndex]) + "</p>\n </div>\n </div>";
|
|
33256
33432
|
}) + "\n </div>";
|
|
33257
33433
|
}
|
|
33258
33434
|
};
|
|
33259
33435
|
return React__default.createElement("div", {
|
|
33260
|
-
className: "" + styles$
|
|
33436
|
+
className: "" + styles$6["block-chart-area"]
|
|
33261
33437
|
}, React__default.createElement("div", {
|
|
33262
33438
|
hidden: min != -100,
|
|
33263
|
-
className: "" + styles$
|
|
33439
|
+
className: "" + styles$6["block-label-y"]
|
|
33264
33440
|
}, labelYChart$1.map(function (r) {
|
|
33265
33441
|
return React__default.createElement("p", {
|
|
33266
33442
|
key: r,
|
|
33267
|
-
className: "" + styles$
|
|
33443
|
+
className: "" + styles$6["label"]
|
|
33268
33444
|
}, r, "%");
|
|
33269
33445
|
})), React__default.createElement("div", {
|
|
33270
|
-
className: "" + styles$
|
|
33446
|
+
className: "" + styles$6["chart"],
|
|
33271
33447
|
style: {
|
|
33272
33448
|
flex: 1
|
|
33273
33449
|
}
|
|
@@ -33290,7 +33466,8 @@ var OverallDonutChart = function OverallDonutChart(_ref) {
|
|
|
33290
33466
|
width = _ref$width === void 0 ? "100%" : _ref$width,
|
|
33291
33467
|
_ref$height = _ref.height,
|
|
33292
33468
|
height = _ref$height === void 0 ? 250 : _ref$height,
|
|
33293
|
-
hasTooltip = _ref.hasTooltip
|
|
33469
|
+
_ref$hasTooltip = _ref.hasTooltip,
|
|
33470
|
+
hasTooltip = _ref$hasTooltip === void 0 ? true : _ref$hasTooltip;
|
|
33294
33471
|
return React__default.createElement(Chart, {
|
|
33295
33472
|
options: overallDonutCHartOptions$1(label, colors, isCountSeries, textColors, hasTooltip),
|
|
33296
33473
|
series: series.reverse(),
|
|
@@ -33300,79 +33477,7 @@ var OverallDonutChart = function OverallDonutChart(_ref) {
|
|
|
33300
33477
|
});
|
|
33301
33478
|
};
|
|
33302
33479
|
|
|
33303
|
-
var styles$
|
|
33304
|
-
|
|
33305
|
-
var styles$7 = {"dialog-body":"_32WAl","dialog-body--full":"_34LGL","dialog-body__close-icon":"_294gr","dialog-body__content":"_DKokt","dialog-body__content--scroll-body":"_2FOVK","dialog-body__spacing":"_1ztjY"};
|
|
33306
|
-
|
|
33307
|
-
var SimpleDialog = function SimpleDialog(_ref) {
|
|
33308
|
-
var open = _ref.open,
|
|
33309
|
-
fullScreen = _ref.fullScreen,
|
|
33310
|
-
maxWidth = _ref.maxWidth,
|
|
33311
|
-
onClose = _ref.onClose,
|
|
33312
|
-
children = _ref.children,
|
|
33313
|
-
scroll = _ref.scroll,
|
|
33314
|
-
_ref$contentClassName = _ref.contentClassName,
|
|
33315
|
-
contentClassName = _ref$contentClassName === void 0 ? "" : _ref$contentClassName,
|
|
33316
|
-
_ref$bodyClass = _ref.bodyClass,
|
|
33317
|
-
bodyClass = _ref$bodyClass === void 0 ? "" : _ref$bodyClass;
|
|
33318
|
-
|
|
33319
|
-
var handleClose = function handleClose(_, reason) {
|
|
33320
|
-
if (reason && reason == "backdropClick") return;
|
|
33321
|
-
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
33322
|
-
};
|
|
33323
|
-
|
|
33324
|
-
var CustomDialog = core$1.withStyles(function (theme) {
|
|
33325
|
-
var _MuiDialogPaper;
|
|
33326
|
-
|
|
33327
|
-
return {
|
|
33328
|
-
root: {
|
|
33329
|
-
"& .MuiDialog-paper": (_MuiDialogPaper = {
|
|
33330
|
-
boxShadow: "none!important",
|
|
33331
|
-
backgroundColor: "transparent!important",
|
|
33332
|
-
overflow: "visible!important",
|
|
33333
|
-
width: "100%",
|
|
33334
|
-
height: "100%",
|
|
33335
|
-
padding: "32px",
|
|
33336
|
-
margin: "0!important"
|
|
33337
|
-
}, _MuiDialogPaper[theme.breakpoints.down("md")] = {
|
|
33338
|
-
maxWidth: "unset"
|
|
33339
|
-
}, _MuiDialogPaper[theme.breakpoints.down("xs")] = {
|
|
33340
|
-
padding: "0"
|
|
33341
|
-
}, _MuiDialogPaper),
|
|
33342
|
-
"& .MuiBackdrop-root": {
|
|
33343
|
-
backgroundColor: "#242424A3!important"
|
|
33344
|
-
}
|
|
33345
|
-
}
|
|
33346
|
-
};
|
|
33347
|
-
})(core$1.Dialog);
|
|
33348
|
-
return React__default.createElement(CustomDialog, {
|
|
33349
|
-
fullScreen: fullScreen,
|
|
33350
|
-
open: !!open,
|
|
33351
|
-
maxWidth: maxWidth,
|
|
33352
|
-
scroll: scroll
|
|
33353
|
-
}, React__default.createElement("div", {
|
|
33354
|
-
className: styles$7["dialog-body"] + " " + (fullScreen ? "" + styles$7["dialog-body--full"] : "") + " " + styles$7[bodyClass]
|
|
33355
|
-
}, React__default.createElement("span", {
|
|
33356
|
-
className: "" + styles$7["dialog-body__close-icon"],
|
|
33357
|
-
onClick: handleClose
|
|
33358
|
-
}, React__default.createElement("svg", {
|
|
33359
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
33360
|
-
width: "56",
|
|
33361
|
-
height: "56",
|
|
33362
|
-
viewBox: "0 0 56 56",
|
|
33363
|
-
fill: "none"
|
|
33364
|
-
}, React__default.createElement("path", {
|
|
33365
|
-
d: "M49 7L28 28M28 28L49 49M28 28L7 7M28 28L7 49",
|
|
33366
|
-
stroke: "#D3D3D3",
|
|
33367
|
-
strokeWidth: "2",
|
|
33368
|
-
strokeLinecap: "round",
|
|
33369
|
-
strokeLinejoin: "round"
|
|
33370
|
-
}))), React__default.createElement("div", {
|
|
33371
|
-
className: "w-100 " + styles$7["dialog-body__content"] + " " + (scroll === "body" && styles$7["dialog-body__content--scroll-body"]) + " " + contentClassName
|
|
33372
|
-
}, children), scroll === "body" && React__default.createElement("div", {
|
|
33373
|
-
className: "w-100 " + styles$7["dialog-body__spacing"]
|
|
33374
|
-
}, "spacing")));
|
|
33375
|
-
};
|
|
33480
|
+
var styles$7 = {"chart-background":"_3wKSu","size-100":"_26C42","m-0":"_pza75","ml-10":"_Pcej4","no-data-chart-print":"_2Rd60","bubble-chart-custom":"_3CK5W","chart-buddle":"_w9CvQ","block-chart-area":"_1Ko9r","block-label-y":"_3wJ3F","label":"_3BjSc","question-legend-custom":"_3bKeC","question":"_3Pd7c","custom-tooltip":"_vlsOO","custom-tooltip-month":"_po_2G","tooltip-data-cursor":"_7U5df","tooltip-data-box":"_26skL","tooltip-data":"_2RLdk","name":"_3RocN","data":"_2zsYn","box-strategy":"_1cNwq","font-large":"_rI50Y","block-header-chart":"_36Gyl","title-chart":"_24pyp","description-chart":"_1rcx5","name-chart":"_1bwG9","font-small":"_1Ji_i","image-no-data":"_kC_5Q","generate-chart":"_5atZl","header-chart-generate":"_3QSKL","expand-icon":"_1dZ1r","header-chart":"_164Y4","x-axis-custom-wrap":"_1lL5F","axis-content":"_R1C1e","legend-wrap":"_1RWyx","item":"_1lBMF","mark-custom":"_3KCuM","label-legend-custom":"_36wmK","mark-legend":"_GC9BL","label-chart":"_3yEBy","list-percent":"_zlIg6","percent-survey":"_2BoUX","percent-item":"_12_F3","chart-custom":"_1XMee","column-chart-percent":"_2jdT-","custom-marker":"_1Ztyk","item-legend":"_3ECsn","point-custom":"_3Wjr6","percent":"_svod1","skill-box":"_33ks4","box-model-student-skill":"_2EIvN","print-chart":"_15bz8","listItem":"_TdAj1","item-checkbox":"_5_Uls","check-box":"_aUuB4","item-detail":"_2_lAf","avr-question":"_1-kzV","volatility":"_-bmDr","arr":"_3-gIC","arrow-up":"_1HKfy","arrow":"_3nO4U","percent-text":"_1RPTH","arrow-down":"_2HkRA","percent-text-down":"_KiAgH","month-text":"_1MUud","gr-date-time":"_3eHMa","date-time-start":"_1d-bS","text":"_33yl7","date-time-end":"_8bi7p","block-header-name":"_Bnln6","header-more":"_uPt1A","filter-date":"_3Y2Du","bubble-ready-to-learn":"_3DTmc","model-skill-student":"_PN3ag","warning-icon":"_jxNMY","check-icon":"_2zsuw","skill-student":"_2mvls","detail":"_2zYnB","link":"_UrRPj","red-background":"_RDCV5","green-background":"_3t5Gh","model-student-session":"_2Mvsq","model-header":"_2SzJL","model-title":"_1_pvv","model-close-icon":"_1-Tsy","model-select-student":"_35hKr","model-student-item":"_2yRrn","student-detail":"_2oJ-y","student-name":"_1cObv","tag":"_3IWMX","time":"_3mu64","box-action":"_1dsEM","btn-view":"_3fvcT","student-chip-box":"_F3YO8","mh-500":"_3OOfn","top-5-block":"_1qkNB","print-pdf-h":"_qn8Nf"};
|
|
33376
33481
|
|
|
33377
33482
|
var formatSortDate = function formatSortDate(date) {
|
|
33378
33483
|
return !!date ? marioCore.utcToLocalTime(date, "Do MMM yyyy - hh:mm A").toString() : "";
|
|
@@ -33467,16 +33572,16 @@ var DialogBody = function DialogBody(_ref2) {
|
|
|
33467
33572
|
}) || [];
|
|
33468
33573
|
}, [sortedResponseStudents, studentSession]);
|
|
33469
33574
|
return React__default.createElement(core$1.Grid, {
|
|
33470
|
-
className: "" + styles$
|
|
33575
|
+
className: "" + styles$7["model-student-session"]
|
|
33471
33576
|
}, React__default.createElement(core$1.Grid, {
|
|
33472
|
-
className: "" + styles$
|
|
33577
|
+
className: "" + styles$7["model-header"]
|
|
33473
33578
|
}, React__default.createElement(core$1.Typography, {
|
|
33474
|
-
className: "" + styles$
|
|
33579
|
+
className: "" + styles$7["model-title"]
|
|
33475
33580
|
}, title)), React__default.createElement(lab.Autocomplete, {
|
|
33476
33581
|
id: "combo-box-demo",
|
|
33477
33582
|
fullWidth: true,
|
|
33478
33583
|
value: studentSession,
|
|
33479
|
-
className: "" + styles$
|
|
33584
|
+
className: "" + styles$7["model-select-student"],
|
|
33480
33585
|
options: responseStudent,
|
|
33481
33586
|
getOptionLabel: function getOptionLabel(option) {
|
|
33482
33587
|
return option.studentName;
|
|
@@ -33494,13 +33599,13 @@ var DialogBody = function DialogBody(_ref2) {
|
|
|
33494
33599
|
var _r$sessionResults, _r$sessionResults$fin, _r$sessionResults2, _r$sessionResults2$fi;
|
|
33495
33600
|
|
|
33496
33601
|
return React__default.createElement("div", {
|
|
33497
|
-
className: styles$
|
|
33602
|
+
className: styles$7["model-student-item"] + " d-flex"
|
|
33498
33603
|
}, React__default.createElement("div", {
|
|
33499
33604
|
className: "mr-2 d-flex align-items-start"
|
|
33500
33605
|
}, React__default.createElement(core$1.Avatar, {
|
|
33501
33606
|
src: marioCore.getFileUrl(r.studentAvatar) || DEFAULT_USER_AVATAR
|
|
33502
33607
|
})), React__default.createElement("div", {
|
|
33503
|
-
className: styles$
|
|
33608
|
+
className: styles$7["student-detail"] + " flex-grow-1"
|
|
33504
33609
|
}, React__default.createElement(core$1.Grid, {
|
|
33505
33610
|
container: true
|
|
33506
33611
|
}, React__default.createElement(core$1.Grid, {
|
|
@@ -33512,19 +33617,19 @@ var DialogBody = function DialogBody(_ref2) {
|
|
|
33512
33617
|
}, React__default.createElement("div", {
|
|
33513
33618
|
className: "flex-grow-1 pr-2"
|
|
33514
33619
|
}, React__default.createElement(core$1.Grid, {
|
|
33515
|
-
className: "" + styles$
|
|
33620
|
+
className: "" + styles$7["detail"]
|
|
33516
33621
|
}, React__default.createElement(core$1.Typography, {
|
|
33517
|
-
className: "" + styles$
|
|
33622
|
+
className: "" + styles$7["student-name"]
|
|
33518
33623
|
}, r.studentName), React__default.createElement("div", null, React__default.createElement(core$1.Typography, {
|
|
33519
|
-
className: styles$
|
|
33624
|
+
className: styles$7["tag"] + " text-nowrap"
|
|
33520
33625
|
}, tagName))), !!(r !== null && r !== void 0 && (_r$sessionResults = r.sessionResults) !== null && _r$sessionResults !== void 0 && (_r$sessionResults$fin = _r$sessionResults.find(function (i) {
|
|
33521
33626
|
return !i.isTeacherResult;
|
|
33522
33627
|
})) !== null && _r$sessionResults$fin !== void 0 && _r$sessionResults$fin.startTime) && React__default.createElement("div", {
|
|
33523
33628
|
className: "d-flex flex-wrap"
|
|
33524
33629
|
}, React__default.createElement(core$1.Typography, {
|
|
33525
|
-
className: styles$
|
|
33630
|
+
className: styles$7["time"] + " mr-1"
|
|
33526
33631
|
}, (r.isSessionCheckIn ? t('last_check_in') : t('last_1_1')) + ": "), React__default.createElement("b", {
|
|
33527
|
-
className: "" + styles$
|
|
33632
|
+
className: "" + styles$7["time"]
|
|
33528
33633
|
}, formatSortDate((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) {
|
|
33529
33634
|
return !i.isTeacherResult;
|
|
33530
33635
|
})) === null || _r$sessionResults2$fi === void 0 ? void 0 : _r$sessionResults2$fi.startTime) || "")))), !isHiddenAvg && React__default.createElement("div", {
|
|
@@ -33536,7 +33641,7 @@ var DialogBody = function DialogBody(_ref2) {
|
|
|
33536
33641
|
})))), React__default.createElement(core$1.Grid, {
|
|
33537
33642
|
xs: 12,
|
|
33538
33643
|
sm: 4,
|
|
33539
|
-
className: styles$
|
|
33644
|
+
className: styles$7["box-action"] + " d-flex align-items-center justify-content-start justify-content-sm-end"
|
|
33540
33645
|
}, React__default.createElement(core$1.Button, {
|
|
33541
33646
|
onClick: function onClick() {
|
|
33542
33647
|
var _r$sessionResults$fin2;
|
|
@@ -33545,7 +33650,7 @@ var DialogBody = function DialogBody(_ref2) {
|
|
|
33545
33650
|
return !i.isTeacherResult;
|
|
33546
33651
|
})) === null || _r$sessionResults$fin2 === void 0 ? void 0 : _r$sessionResults$fin2.id) || 0);
|
|
33547
33652
|
},
|
|
33548
|
-
className: "" + styles$
|
|
33653
|
+
className: "" + styles$7["btn-view"]
|
|
33549
33654
|
}, t("view_results"))))));
|
|
33550
33655
|
}));
|
|
33551
33656
|
};
|
|
@@ -34317,7 +34422,7 @@ var GeneratePlpChart = function GeneratePlpChart(_ref) {
|
|
|
34317
34422
|
}), typeChart == "donut" && React__default.createElement(React.Fragment, null, React__default.createElement(OverallDonutChart, {
|
|
34318
34423
|
isCountSeries: !!avgContent,
|
|
34319
34424
|
series: seriesDonut,
|
|
34320
|
-
colors: colors,
|
|
34425
|
+
colors: name === overallReadinessToLearnName ? colors.reverse() : colors,
|
|
34321
34426
|
textColors: textColors,
|
|
34322
34427
|
label: labels,
|
|
34323
34428
|
width: width,
|
|
@@ -34685,7 +34790,7 @@ var ReadinessToLearnTab = function ReadinessToLearnTab(_ref) {
|
|
|
34685
34790
|
}, React__default.createElement(core$1.Grid, {
|
|
34686
34791
|
className: styles$3["partition-chart-item"] + " " + styles$3["partition-chart-item-1"]
|
|
34687
34792
|
}, React__default.createElement(GeneratePlpChart$1, {
|
|
34688
|
-
colors: ["#
|
|
34793
|
+
colors: ["#D9EEE4", "#FAF0F0"],
|
|
34689
34794
|
name: overallReadinessToLearnName,
|
|
34690
34795
|
typeChart: "donut",
|
|
34691
34796
|
months: [],
|
|
@@ -52591,38 +52696,38 @@ var BubbleChartCustom$2 = function BubbleChartCustom(_ref) {
|
|
|
52591
52696
|
return removeHTMLTags(r.questionText);
|
|
52592
52697
|
}) || [];
|
|
52593
52698
|
return React__default.createElement("div", {
|
|
52594
|
-
className: "" + styles$
|
|
52699
|
+
className: "" + styles$6["size-100"]
|
|
52595
52700
|
}, !print && React__default.createElement("div", {
|
|
52596
|
-
className: "" + styles$
|
|
52701
|
+
className: "" + styles$6["block-header-chart"]
|
|
52597
52702
|
}, React__default.createElement("p", {
|
|
52598
|
-
className: styles$
|
|
52703
|
+
className: styles$6["title-chart"] + " " + styles$6["ml-10"]
|
|
52599
52704
|
}, t("student_distribution"))), React__default.createElement("div", {
|
|
52600
|
-
className: "" + styles$
|
|
52705
|
+
className: "" + styles$6["bubble-chart-custom"]
|
|
52601
52706
|
}, React__default.createElement("div", {
|
|
52602
|
-
className: styles$
|
|
52707
|
+
className: styles$6["chart-custom"]
|
|
52603
52708
|
}, React__default.createElement("div", {
|
|
52604
|
-
className: styles$
|
|
52709
|
+
className: styles$6["list-percent"] + " " + (disableSeriesName && styles$6["percent-survey"])
|
|
52605
52710
|
}, PERCENT$1.map(function (i, index) {
|
|
52606
52711
|
return React__default.createElement("div", {
|
|
52607
|
-
className: "" + styles$
|
|
52712
|
+
className: "" + styles$6["percent-item"],
|
|
52608
52713
|
key: index
|
|
52609
52714
|
}, i, "%");
|
|
52610
52715
|
})), React__default.createElement("div", {
|
|
52611
|
-
className: styles$
|
|
52716
|
+
className: styles$6["legend-wrap"]
|
|
52612
52717
|
}, !disableSeriesName && seriesName.map(function (i, index) {
|
|
52613
52718
|
return React__default.createElement("div", {
|
|
52614
|
-
className: "" + styles$
|
|
52719
|
+
className: "" + styles$6["item"],
|
|
52615
52720
|
key: index
|
|
52616
52721
|
}, React__default.createElement("div", {
|
|
52617
|
-
className: "" + styles$
|
|
52722
|
+
className: "" + styles$6["mark-custom"],
|
|
52618
52723
|
style: {
|
|
52619
52724
|
backgroundColor: COLOR_CHART_BUBBLE$1[index]
|
|
52620
52725
|
}
|
|
52621
52726
|
}), React__default.createElement("label", {
|
|
52622
|
-
className: "" + styles$
|
|
52727
|
+
className: "" + styles$6["label-legend-custom"]
|
|
52623
52728
|
}, t(i.toLocaleLowerCase())));
|
|
52624
52729
|
})), React__default.createElement("div", {
|
|
52625
|
-
className: styles$
|
|
52730
|
+
className: styles$6["chart-buddle"]
|
|
52626
52731
|
}, React__default.createElement("div", {
|
|
52627
52732
|
ref: chartRef,
|
|
52628
52733
|
id: "chart_survey_bubble_custom"
|
|
@@ -52633,10 +52738,10 @@ var BubbleChartCustom$2 = function BubbleChartCustom(_ref) {
|
|
|
52633
52738
|
width: "100%",
|
|
52634
52739
|
height: 250
|
|
52635
52740
|
})))), React__default.createElement("div", {
|
|
52636
|
-
className: "" + styles$
|
|
52741
|
+
className: "" + styles$6["question-legend-custom"]
|
|
52637
52742
|
}, indexActive && questions.map(function (r, index) {
|
|
52638
52743
|
return React__default.createElement("p", {
|
|
52639
|
-
className: "" + styles$
|
|
52744
|
+
className: "" + styles$6["question"]
|
|
52640
52745
|
}, index + 1 + ". " + r);
|
|
52641
52746
|
}))));
|
|
52642
52747
|
};
|
|
@@ -53169,7 +53274,7 @@ var BarChartQuestionAnswers = function BarChartQuestionAnswers(_ref) {
|
|
|
53169
53274
|
}, t('number_of_answers')));
|
|
53170
53275
|
};
|
|
53171
53276
|
|
|
53172
|
-
var DEFAULT_USER_AVATAR$
|
|
53277
|
+
var DEFAULT_USER_AVATAR$2 = marioCore.getStaticFileUrl("/images/image-default.png");
|
|
53173
53278
|
|
|
53174
53279
|
var AnswerQuestionInput = function AnswerQuestionInput(_ref) {
|
|
53175
53280
|
var handleClickCollapse = _ref.handleClickCollapse,
|
|
@@ -53251,7 +53356,7 @@ var AnswerQuestionInput = function AnswerQuestionInput(_ref) {
|
|
|
53251
53356
|
}, React__default.createElement("div", {
|
|
53252
53357
|
className: styles$9["answer-head"]
|
|
53253
53358
|
}, React__default.createElement("img", {
|
|
53254
|
-
src: "" + (item.profileImageFileName != null ? marioCore.getFileUrl(item.profileImageFileName) : DEFAULT_USER_AVATAR$
|
|
53359
|
+
src: "" + (item.profileImageFileName != null ? marioCore.getFileUrl(item.profileImageFileName) : DEFAULT_USER_AVATAR$2),
|
|
53255
53360
|
alt: "",
|
|
53256
53361
|
style: {
|
|
53257
53362
|
width: '24px',
|
|
@@ -72461,7 +72566,7 @@ var SimpleDialog$1 = function SimpleDialog(_ref) {
|
|
|
72461
72566
|
}, "spacing")));
|
|
72462
72567
|
};
|
|
72463
72568
|
|
|
72464
|
-
var DEFAULT_USER_AVATAR$
|
|
72569
|
+
var DEFAULT_USER_AVATAR$3 = "/images/image-default.png";
|
|
72465
72570
|
|
|
72466
72571
|
var StudentWellnessCheckInItem = function StudentWellnessCheckInItem(_ref) {
|
|
72467
72572
|
var endTime = _ref.endTime,
|
|
@@ -72494,7 +72599,7 @@ var StudentWellnessCheckInItem = function StudentWellnessCheckInItem(_ref) {
|
|
|
72494
72599
|
className: "d-flex w-100"
|
|
72495
72600
|
}, React__default.createElement(core$1.Avatar, {
|
|
72496
72601
|
alt: name === null || name === void 0 ? void 0 : name.toUpperCase(),
|
|
72497
|
-
src: marioCore.getFileUrl(avatar) || DEFAULT_USER_AVATAR$
|
|
72602
|
+
src: marioCore.getFileUrl(avatar) || DEFAULT_USER_AVATAR$3
|
|
72498
72603
|
}), React__default.createElement("div", {
|
|
72499
72604
|
className: "ml-2 ml-sm-3 d-flex flex-column justify-content-center"
|
|
72500
72605
|
}, React__default.createElement("div", {
|
|
@@ -77641,19 +77746,6 @@ var MarioAi = function MarioAi() {
|
|
|
77641
77746
|
|
|
77642
77747
|
var styles$f = {"ai-mario-container":"_1hAN-","ai-mario":"_U4585","ai-mario-header":"_3H3TX","title-welcome":"_2wizn","title-help-question":"_1uejP","card-data-container":"_wXhYW","card":"_3F1f0","content":"_cB_eW","title":"_30saB","description-card":"_6m3YS","icon":"_gG2mp","go-icon":"_1tJEn","list-prompts":"_1O09T","header":"_1lK2v","see-all":"_1Qk2i","text":"_3qcYP","list-item":"_2DkM3","item":"_1FFC5","background":"_rGovp","left":"_1X7t2","right":"_1w2YZ","opacity-footer":"_4kmno","dot-color":"_6K7Pz","dot-color__top":"_3mOqe","dot-color__bottom":"_1LVOo","ai-mario-chat":"_2eGy1","ai-mario-chat__header":"_1_oTD","go-back":"_u-oqg","chat-title":"_PBH_Y","switch-theme":"_31WqA","item___light-btn":"_3Zheb","item___dark-btn":"_7T1lB","ai-mario-chat__header___dark":"__lhBc","ai-mario-chat__content":"_2h1fv","content-container":"_3kxy-","chat-box":"_3gjP5","chat-box__content":"_2x_-F","name":"_2bqyW","message":"_1N1T3","option":"_31bf9","option__item":"_7cV8X","loader":"_2YD7M","loader__dot":"_23N4j","dot":"_3St_4","time":"_CjCyy","chat-box__user":"_ZC3ml","chat-box__user-container":"_2oBqf","ai-mario-chat__content___dark":"_1r1Jl","action-wrapper":"_2o38p","action-item":"_1IcP8","bracketed-input":"_206DV","bracketed-input-block":"_1A9xm","icon-input":"_1Lwom"};
|
|
77643
77748
|
|
|
77644
|
-
var ArrowRightIcon = function ArrowRightIcon() {
|
|
77645
|
-
return React__default.createElement("svg", {
|
|
77646
|
-
width: "16",
|
|
77647
|
-
height: "16",
|
|
77648
|
-
viewBox: "0 0 16 16",
|
|
77649
|
-
fill: "none",
|
|
77650
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
77651
|
-
}, React__default.createElement("path", {
|
|
77652
|
-
d: "M8.75036 3C8.55112 3 8.36007 3.07928 8.21936 3.22034C8.0783 3.36105 7.99902 3.5521 7.99902 3.75134C7.99902 3.95058 8.0783 4.14163 8.21936 4.28234L11.4397 7.50146H2.75C2.33579 7.50146 2 7.83725 2 8.25146C2 8.66568 2.33579 9.00146 2.75 9.00146H11.4395L8.21936 12.2203C7.9261 12.5136 7.9261 12.9891 8.21936 13.2823C8.51263 13.5756 8.9881 13.5756 9.28136 13.2823L13.7814 8.78234C13.9224 8.64163 14.0017 8.45058 14.0017 8.25134C14.0017 8.0521 13.9224 7.86105 13.7814 7.72034L9.28136 3.22034C9.14066 3.07928 8.9496 3 8.75036 3Z",
|
|
77653
|
-
fill: "#316CD9"
|
|
77654
|
-
}));
|
|
77655
|
-
};
|
|
77656
|
-
|
|
77657
77749
|
var CardHeader = function CardHeader(_ref) {
|
|
77658
77750
|
var id = _ref.id,
|
|
77659
77751
|
name = _ref.name,
|