mario-education 2.4.575-feedback → 2.4.577-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/Table/TableCells.d.ts +5 -1
- package/dist/components/layouts/constants/constants.d.ts +1 -1
- package/dist/components/selector/CustomFilterComponent.d.ts +3 -1
- package/dist/containers/SurveyDashboard/apiClient/surveyService.d.ts +1 -0
- package/dist/containers/SurveyDashboard/components/ConfirmDeleteSelectedModal.d.ts +9 -0
- package/dist/containers/SurveyDashboard/hooks/useListSurvey.d.ts +7 -0
- package/dist/index.css +15213 -15103
- package/dist/index.js +251 -30
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +251 -30
- package/dist/index.modern.js.map +1 -1
- package/package.json +110 -110
- package/dist/components/Loading/LoadLanguage.d.ts +0 -3
package/dist/index.modern.js
CHANGED
|
@@ -1501,7 +1501,7 @@ var ConferenceRubricList = function ConferenceRubricList() {
|
|
|
1501
1501
|
}))));
|
|
1502
1502
|
};
|
|
1503
1503
|
|
|
1504
|
-
var styles = {"test":"_3ybTi","body-question-right":"_1H0W8","body-question":"_b-AXV","badge-icon":"_1fgfO","input-color-picker":"_2YR4l","question-list-session-template":"_114IY","delete-column-question-list-sesstion-template":"_qE7J0","conference-rubric-skill-column":"_2BV3o","conference-rubric-additional-row":"_1P4F2","conference-rubric-row-test":"_1SRmg","emotional-response":"_ZDINp","star-rating":"_Kzkzd","list-teacher-compare":"_Q0sF1","teacher-item":"_gu_yD","teacher-item-selected":"_33tYy","btn-filter":"_2VZin","color-filter":"_2M0vR","block-filter-component":"_1d6uY","tooltip-answer":"_26Dpb","input-filter":"_1cx7c","select-filter-component":"_1XSIo","hidden":"_3o8gR","box-select":"_3ru37","radio-btn":"_1tQvL","box-select-label":"_3VNX5","date-picker":"_I8kqz","filter-box-learning":"_3xuSa","search-box-learning":"_15ep6","template-left":"_1WxAe","template-box-left":"_3_Ed7","template-box":"_3uUiv","active":"_3sodH","template-header-top":"_Az5Kt","template-header-body":"_1Jrg_","form-question-text":"_1Y5i2","tox-notifications-container":"_ejcrg","custom-header":"_2xKIv","custom-header-right":"_aiooI","custom-header-title":"_1HVg5","custom-header-large-title":"_2W1Yg","custom-header-button":"_2Woz2","custom-button-content":"_b2B7P","disable-button":"_2FxZU","grey-background":"_vYzeJ","border-none":"_23ppV","status-default":"_3LaqR","block-btn-header":"_2u4hp","custom-preview-button":"_1iLFp","total-card-box":"_3xXbV","total-card-box-0":"_g_4b-","total-card-box--hover":"_1MUz_","total-card-title":"_15UYs","total-card-value":"_ZkA4P","total-card-box__content":"_2_XfM","time-Date":"_1F31y","time-Hours-Minute":"_3RwI5","box-filter":"_37Lm-","block-total":"_1M33n","filter-select":"_3g7uY","box-filter-left":"_2p59U","filter-item":"_1dh4B","filter-select-list":"_1SJi8","box-filter-right":"_3QFAQ","search-input-icon":"_uctPq","inputInput":"_3Zg5b","btn-favorite-text":"_1wT59","block-right":"_2zDaG","download-btn":"_1z_ef","box-show-filter-mobile":"_3FOMn","icon-show-all-filter":"_1xIXl","filter-item-collapse":"_2A1DF","space-item":"_1YwgI","table-cell":"_3M-67","table-cell--pointer":"_1ejqJ","arrow-icon":"_irUXz","header-left":"_Hacp0","header-icon":"_2_COy","header-right":"_ClCRS","btn-conduct-session":"_Bj2dA","btn-conduct-checkIn":"_36_5e","btn-conduct-session-disabled":"_3khUJ","send-icon":"_1JXJr","question-block":"_2FuVl","question-text":"_rScEi","question-slider":"_3M4zG","question-block-mobile":"_1YNCv","question-today":"_cFymD","input-survey":"_1T9Fy","font-description":"_HrltY","font-question":"_OaGRJ","font-question--all-bold":"_13HHM","answer--never":"_1QUbk","answer--rarely":"_3hLyh","answer--sometimes":"_3JlEj","answer--often":"_3tMCy","answer--almost-always":"_2MH-2","answer--all-the-time":"_1bbNe","box-title-question":"_fxQxk","tooltip-question":"_1QOF8","icon-info":"_pshKx","icon-warning":"_2NAZC","pointer":"_1MFti","talk-conduct":"_2hTrw","box-talk":"_2hYiu","box-p":"_1O96o","slider-avatar":"_2q9fR","box-slider":"_1ymYy","icon-text":"_RykFp","icon-left":"_3sqFO","margin-right":"_3oNcf","slider-text":"_3uC79","up-color-background":"_3Zg01","down-color-background":"_1UGuk","chip-slider":"_2Ng4N","up-color-icon":"_1cbf_","up-color":"_2n5kU","down-color-icon":"_2jAhL","down-color":"_QujPQ","rotate":"_3MLtR","value":"_3r9SC","compare-avr":"_3mFKa","content":"_2jwZj","percent":"_300a_","arrow":"_35l6Q","block-button":"_t-JRi","emotion-list":"_2Bp8v","emotion-item":"_2lIqc","emotion-active":"_2n2uB","label-single-choice":"_2pts6","radio-choice":"_ffUTh","pointer-page-result":"_29a5o","btn-choice":"_2PymV","yes-active":"_nvsDm","no-active":"_1ceeg","checkbox-control":"_EdwGx","answer-text":"_1gPxU","block-card-name":"_3HBIv","block-card-title":"_3zHtB","block-card-btn":"_1vH5y","block-card-btn-title":"_1VPBS","block-card-btn-icon":"_2HZ2W","header-component":"_29Wmk","btn-start":"_1ysA0","timer-start":"_Mg6qB","btn-timer":"_3fcdK","timer-text":"_3i-J4","timer-session":"_2Jv8D","play-icon-pause":"_5_zm5","play-icon":"_dOX4f","header-student":"_2ZYZ6","btn-duplicate-survey":"_3fJxX","btn-conduct-icon":"_1-BB2","total-card-box-3":"_w-iFN","total-card-box-4":"_1F6ea","box-select-session":"_3O8RG","btn-session":"_3jG8_","header-right-student":"_20rLn","full-width":"_1vrLT","total-card-box-5":"_30kwe","custom-input":"_3m2ZU","browserdata":"_3AR-2","box-component-search":"_3gbz0","search-icon":"_G7wNn","search-item":"_R8oRS","no-data":"_3Qo6X"};
|
|
1504
|
+
var styles = {"test":"_3ybTi","body-question-right":"_1H0W8","body-question":"_b-AXV","badge-icon":"_1fgfO","input-color-picker":"_2YR4l","question-list-session-template":"_114IY","delete-column-question-list-sesstion-template":"_qE7J0","conference-rubric-skill-column":"_2BV3o","conference-rubric-additional-row":"_1P4F2","conference-rubric-row-test":"_1SRmg","emotional-response":"_ZDINp","star-rating":"_Kzkzd","list-teacher-compare":"_Q0sF1","teacher-item":"_gu_yD","teacher-item-selected":"_33tYy","btn-filter":"_2VZin","color-filter":"_2M0vR","block-filter-component":"_1d6uY","tooltip-answer":"_26Dpb","input-filter":"_1cx7c","select-filter-component":"_1XSIo","hidden":"_3o8gR","box-select":"_3ru37","radio-btn":"_1tQvL","box-select-label":"_3VNX5","date-picker":"_I8kqz","filter-box-learning":"_3xuSa","search-box-learning":"_15ep6","template-left":"_1WxAe","template-box-left":"_3_Ed7","template-box":"_3uUiv","active":"_3sodH","template-header-top":"_Az5Kt","template-header-body":"_1Jrg_","form-question-text":"_1Y5i2","tox-notifications-container":"_ejcrg","custom-header":"_2xKIv","custom-header-right":"_aiooI","custom-header-title":"_1HVg5","custom-header-large-title":"_2W1Yg","custom-header-button":"_2Woz2","custom-button-content":"_b2B7P","disable-button":"_2FxZU","grey-background":"_vYzeJ","border-none":"_23ppV","status-default":"_3LaqR","block-btn-header":"_2u4hp","custom-preview-button":"_1iLFp","total-card-box":"_3xXbV","total-card-box-0":"_g_4b-","total-card-box--hover":"_1MUz_","total-card-title":"_15UYs","total-card-value":"_ZkA4P","total-card-box__content":"_2_XfM","time-Date":"_1F31y","time-Hours-Minute":"_3RwI5","box-filter":"_37Lm-","block-total":"_1M33n","filter-select":"_3g7uY","box-filter-left":"_2p59U","filter-item":"_1dh4B","filter-select-list":"_1SJi8","box-filter-right":"_3QFAQ","search-input-icon":"_uctPq","inputInput":"_3Zg5b","btn-favorite-text":"_1wT59","block-right":"_2zDaG","block-right-container":"_1vl0q","delete-bulk":"_3BKxE","download-btn":"_1z_ef","box-show-filter-mobile":"_3FOMn","icon-show-all-filter":"_1xIXl","filter-item-collapse":"_2A1DF","space-item":"_1YwgI","table-cell":"_3M-67","table-cell--pointer":"_1ejqJ","arrow-icon":"_irUXz","header-left":"_Hacp0","header-icon":"_2_COy","header-right":"_ClCRS","btn-conduct-session":"_Bj2dA","btn-conduct-checkIn":"_36_5e","btn-conduct-session-disabled":"_3khUJ","send-icon":"_1JXJr","question-block":"_2FuVl","question-text":"_rScEi","question-slider":"_3M4zG","question-block-mobile":"_1YNCv","question-today":"_cFymD","input-survey":"_1T9Fy","font-description":"_HrltY","font-question":"_OaGRJ","font-question--all-bold":"_13HHM","answer--never":"_1QUbk","answer--rarely":"_3hLyh","answer--sometimes":"_3JlEj","answer--often":"_3tMCy","answer--almost-always":"_2MH-2","answer--all-the-time":"_1bbNe","box-title-question":"_fxQxk","tooltip-question":"_1QOF8","icon-info":"_pshKx","icon-warning":"_2NAZC","pointer":"_1MFti","talk-conduct":"_2hTrw","box-talk":"_2hYiu","box-p":"_1O96o","slider-avatar":"_2q9fR","box-slider":"_1ymYy","icon-text":"_RykFp","icon-left":"_3sqFO","margin-right":"_3oNcf","slider-text":"_3uC79","up-color-background":"_3Zg01","down-color-background":"_1UGuk","chip-slider":"_2Ng4N","up-color-icon":"_1cbf_","up-color":"_2n5kU","down-color-icon":"_2jAhL","down-color":"_QujPQ","rotate":"_3MLtR","value":"_3r9SC","compare-avr":"_3mFKa","content":"_2jwZj","percent":"_300a_","arrow":"_35l6Q","block-button":"_t-JRi","emotion-list":"_2Bp8v","emotion-item":"_2lIqc","emotion-active":"_2n2uB","label-single-choice":"_2pts6","radio-choice":"_ffUTh","pointer-page-result":"_29a5o","btn-choice":"_2PymV","yes-active":"_nvsDm","no-active":"_1ceeg","checkbox-control":"_EdwGx","answer-text":"_1gPxU","block-card-name":"_3HBIv","block-card-title":"_3zHtB","block-card-btn":"_1vH5y","block-card-btn-title":"_1VPBS","block-card-btn-icon":"_2HZ2W","header-component":"_29Wmk","btn-start":"_1ysA0","timer-start":"_Mg6qB","btn-timer":"_3fcdK","timer-text":"_3i-J4","timer-session":"_2Jv8D","play-icon-pause":"_5_zm5","play-icon":"_dOX4f","header-student":"_2ZYZ6","btn-duplicate-survey":"_3fJxX","btn-conduct-icon":"_1-BB2","total-card-box-3":"_w-iFN","total-card-box-4":"_1F6ea","box-select-session":"_3O8RG","btn-session":"_3jG8_","header-right-student":"_20rLn","full-width":"_1vrLT","total-card-box-5":"_30kwe","custom-input":"_3m2ZU","browserdata":"_3AR-2","box-component-search":"_3gbz0","search-icon":"_G7wNn","search-item":"_R8oRS","no-data":"_3Qo6X"};
|
|
1505
1505
|
|
|
1506
1506
|
var ToggleInput = function ToggleInput(_ref) {
|
|
1507
1507
|
var value = _ref.value,
|
|
@@ -30171,7 +30171,7 @@ var INITIAL_STUDENT_SKILL_QUESTION = {
|
|
|
30171
30171
|
var DEFAULT_START_DATE$1 = moment().subtract(2, 'months').startOf("day").valueOf();
|
|
30172
30172
|
var DEFAULT_END_DATE$1 = moment().endOf("day").valueOf();
|
|
30173
30173
|
|
|
30174
|
-
var HEADER_DESKTOP_HEIGHT =
|
|
30174
|
+
var HEADER_DESKTOP_HEIGHT = 68;
|
|
30175
30175
|
var HEADER_MOBILE_HEIGHT = 55;
|
|
30176
30176
|
var NOTIFICATION_HEIGHT = 36;
|
|
30177
30177
|
var NEW_NOTIFICATION = "NEW_NOTIFICATION";
|
|
@@ -31474,6 +31474,11 @@ var getAnswerChart = function getAnswerChart(surveyId, params) {
|
|
|
31474
31474
|
params: params
|
|
31475
31475
|
});
|
|
31476
31476
|
};
|
|
31477
|
+
var deleteSelectedSurveyApi = function deleteSelectedSurveyApi(ids) {
|
|
31478
|
+
return api["delete"](SURVEY_API + "/delete-selected-survey", {
|
|
31479
|
+
data: ids
|
|
31480
|
+
});
|
|
31481
|
+
};
|
|
31477
31482
|
|
|
31478
31483
|
var TeacherSelector$1 = function TeacherSelector(_ref) {
|
|
31479
31484
|
var isShowDropDownIcon = _ref.isShowDropDownIcon,
|
|
@@ -35561,6 +35566,7 @@ var BarChart = function BarChart(_ref) {
|
|
|
35561
35566
|
if (dataPointIndex != undefined && dataPointIndex !== (currentTooltip === null || currentTooltip === void 0 ? void 0 : currentTooltip.dataPointIndex) && !(currentTooltip !== null && currentTooltip !== void 0 && currentTooltip.isSelect)) {
|
|
35562
35567
|
if (dataPointIndex != -1) {
|
|
35563
35568
|
showTooltipAtIndex(dataPointIndex);
|
|
35569
|
+
selectedBarRef.current = dataPointIndex;
|
|
35564
35570
|
barEls.forEach(function (bar, i) {
|
|
35565
35571
|
if (i === dataPointIndex) {
|
|
35566
35572
|
bar.setAttribute("fill", "#316CD9");
|
|
@@ -35665,6 +35671,29 @@ var BarChart = function BarChart(_ref) {
|
|
|
35665
35671
|
useEffect(function () {
|
|
35666
35672
|
tooltipDataRef.current = tooltipData;
|
|
35667
35673
|
}, [tooltipData]);
|
|
35674
|
+
useEffect(function () {
|
|
35675
|
+
var handleClickOutside = function handleClickOutside(e) {
|
|
35676
|
+
if (open) return;
|
|
35677
|
+
var chartEl = document.querySelector("#apexchartsmy-bar-chart");
|
|
35678
|
+
if (!chartEl) return;
|
|
35679
|
+
|
|
35680
|
+
if (!chartEl.contains(e.target)) {
|
|
35681
|
+
var barEls = chartEl.querySelectorAll(".apexcharts-bar-series path");
|
|
35682
|
+
var selectedIndex = selectedBarRef.current;
|
|
35683
|
+
|
|
35684
|
+
if (selectedIndex !== null && barEls[selectedIndex]) {
|
|
35685
|
+
barEls[selectedIndex].setAttribute("fill", "#C4D4F3");
|
|
35686
|
+
selectedBarRef.current = null;
|
|
35687
|
+
setTooltipData(null);
|
|
35688
|
+
}
|
|
35689
|
+
}
|
|
35690
|
+
};
|
|
35691
|
+
|
|
35692
|
+
document.addEventListener("click", handleClickOutside);
|
|
35693
|
+
return function () {
|
|
35694
|
+
document.removeEventListener("click", handleClickOutside);
|
|
35695
|
+
};
|
|
35696
|
+
}, [open]);
|
|
35668
35697
|
return React__default.createElement("div", null, React__default.createElement("div", {
|
|
35669
35698
|
ref: chartWrapperRef,
|
|
35670
35699
|
style: {
|
|
@@ -51088,7 +51117,15 @@ var useListSurvey = function useListSurvey(pageSize) {
|
|
|
51088
51117
|
dataStudents = _useState10[0],
|
|
51089
51118
|
setDataStudents = _useState10[1];
|
|
51090
51119
|
|
|
51091
|
-
var _useState11 = useState(
|
|
51120
|
+
var _useState11 = useState([]),
|
|
51121
|
+
selectedIds = _useState11[0],
|
|
51122
|
+
setSelectedIds = _useState11[1];
|
|
51123
|
+
|
|
51124
|
+
var _useState12 = useState(false),
|
|
51125
|
+
openSelectedModal = _useState12[0],
|
|
51126
|
+
setOpenSelectedModal = _useState12[1];
|
|
51127
|
+
|
|
51128
|
+
var _useState13 = useState({
|
|
51092
51129
|
isAdmin: true,
|
|
51093
51130
|
currentPage: 1,
|
|
51094
51131
|
pageSize: pageSize ? pageSize : 10,
|
|
@@ -51105,8 +51142,8 @@ var useListSurvey = function useListSurvey(pageSize) {
|
|
|
51105
51142
|
optionDate: "",
|
|
51106
51143
|
studentId: 0
|
|
51107
51144
|
}),
|
|
51108
|
-
filters =
|
|
51109
|
-
setFilters =
|
|
51145
|
+
filters = _useState13[0],
|
|
51146
|
+
setFilters = _useState13[1];
|
|
51110
51147
|
|
|
51111
51148
|
var _useSurveyExportCsv = useSurveyExportCsv(),
|
|
51112
51149
|
exportSurveys = _useSurveyExportCsv.exportSurveys,
|
|
@@ -51563,6 +51600,87 @@ var useListSurvey = function useListSurvey(pageSize) {
|
|
|
51563
51600
|
|
|
51564
51601
|
var openPopover = Boolean(anchorEl);
|
|
51565
51602
|
var popoverId = openPopover ? 'simple-popover' : undefined;
|
|
51603
|
+
|
|
51604
|
+
var handleToggleSelect = function handleToggleSelect(id) {
|
|
51605
|
+
setSelectedIds(function (prev) {
|
|
51606
|
+
return prev.includes(id) ? prev.filter(function (x) {
|
|
51607
|
+
return x !== id;
|
|
51608
|
+
}) : [].concat(prev, [id]);
|
|
51609
|
+
});
|
|
51610
|
+
};
|
|
51611
|
+
|
|
51612
|
+
var handleSelectAll = function handleSelectAll(checked) {
|
|
51613
|
+
if (checked) {
|
|
51614
|
+
var _listSurvey$items$map, _listSurvey$items2;
|
|
51615
|
+
|
|
51616
|
+
var currentPageIds = (_listSurvey$items$map = listSurvey === null || listSurvey === void 0 ? void 0 : (_listSurvey$items2 = listSurvey.items) === null || _listSurvey$items2 === void 0 ? void 0 : _listSurvey$items2.map(function (i) {
|
|
51617
|
+
return i.id;
|
|
51618
|
+
})) != null ? _listSurvey$items$map : [];
|
|
51619
|
+
setSelectedIds(function (prev) {
|
|
51620
|
+
return Array.from(new Set([].concat(prev, currentPageIds)));
|
|
51621
|
+
});
|
|
51622
|
+
} else {
|
|
51623
|
+
var _listSurvey$items$map2, _listSurvey$items3;
|
|
51624
|
+
|
|
51625
|
+
var _currentPageIds = (_listSurvey$items$map2 = listSurvey === null || listSurvey === void 0 ? void 0 : (_listSurvey$items3 = listSurvey.items) === null || _listSurvey$items3 === void 0 ? void 0 : _listSurvey$items3.map(function (i) {
|
|
51626
|
+
return i.id;
|
|
51627
|
+
})) != null ? _listSurvey$items$map2 : [];
|
|
51628
|
+
|
|
51629
|
+
setSelectedIds(function (prev) {
|
|
51630
|
+
return prev.filter(function (id) {
|
|
51631
|
+
return !_currentPageIds.includes(id);
|
|
51632
|
+
});
|
|
51633
|
+
});
|
|
51634
|
+
}
|
|
51635
|
+
};
|
|
51636
|
+
|
|
51637
|
+
var handleOpenModalDelete = function handleOpenModalDelete() {
|
|
51638
|
+
setOpenSelectedModal(true);
|
|
51639
|
+
};
|
|
51640
|
+
|
|
51641
|
+
var handleCloseModalDelete = function handleCloseModalDelete() {
|
|
51642
|
+
setOpenSelectedModal(false);
|
|
51643
|
+
};
|
|
51644
|
+
|
|
51645
|
+
var handleDeleteSelected = function handleDeleteSelected() {
|
|
51646
|
+
try {
|
|
51647
|
+
var _temp23 = function _temp23() {
|
|
51648
|
+
setOpenSelectedModal(false);
|
|
51649
|
+
dispatch(setLoading(false));
|
|
51650
|
+
};
|
|
51651
|
+
|
|
51652
|
+
dispatch(setLoading(true));
|
|
51653
|
+
|
|
51654
|
+
var _temp24 = _catch(function () {
|
|
51655
|
+
return Promise.resolve(deleteSelectedSurveyApi(selectedIds)).then(function () {
|
|
51656
|
+
var _filters$grade4;
|
|
51657
|
+
|
|
51658
|
+
return Promise.resolve(getAllSurvey(_extends({}, filters, {
|
|
51659
|
+
grade: (_filters$grade4 = filters.grade) !== null && _filters$grade4 !== void 0 && _filters$grade4.includes('All') ? [] : filters.grade
|
|
51660
|
+
}))).then(function (res) {
|
|
51661
|
+
setListSurvey(res.data);
|
|
51662
|
+
dispatch(setAlert({
|
|
51663
|
+
type: "success",
|
|
51664
|
+
message: selectedIds.length + " surveys deleted successfully!"
|
|
51665
|
+
}));
|
|
51666
|
+
setSelectedIds([]);
|
|
51667
|
+
});
|
|
51668
|
+
});
|
|
51669
|
+
}, function (error) {
|
|
51670
|
+
var _error$response2, _error$response2$data;
|
|
51671
|
+
|
|
51672
|
+
dispatch(setAlert({
|
|
51673
|
+
type: "danger",
|
|
51674
|
+
message: ((_error$response2 = error.response) === null || _error$response2 === void 0 ? void 0 : (_error$response2$data = _error$response2.data) === null || _error$response2$data === void 0 ? void 0 : _error$response2$data.title) || error.message
|
|
51675
|
+
}));
|
|
51676
|
+
});
|
|
51677
|
+
|
|
51678
|
+
return Promise.resolve(_temp24 && _temp24.then ? _temp24.then(_temp23) : _temp23(_temp24));
|
|
51679
|
+
} catch (e) {
|
|
51680
|
+
return Promise.reject(e);
|
|
51681
|
+
}
|
|
51682
|
+
};
|
|
51683
|
+
|
|
51566
51684
|
return {
|
|
51567
51685
|
itemSelected: itemSelected,
|
|
51568
51686
|
itemSelectedStudentId: itemSelectedStudentId,
|
|
@@ -51613,7 +51731,14 @@ var useListSurvey = function useListSurvey(pageSize) {
|
|
|
51613
51731
|
dataStudents: dataStudents,
|
|
51614
51732
|
handleChangeStudent: handleChangeStudent,
|
|
51615
51733
|
onEditSurvey: onEditSurvey,
|
|
51616
|
-
handlePublishSurvey: handlePublishSurvey
|
|
51734
|
+
handlePublishSurvey: handlePublishSurvey,
|
|
51735
|
+
selectedIds: selectedIds,
|
|
51736
|
+
handleToggleSelect: handleToggleSelect,
|
|
51737
|
+
handleSelectAll: handleSelectAll,
|
|
51738
|
+
handleDeleteSelected: handleDeleteSelected,
|
|
51739
|
+
handleOpenModalDelete: handleOpenModalDelete,
|
|
51740
|
+
openSelectedModal: openSelectedModal,
|
|
51741
|
+
handleCloseModalDelete: handleCloseModalDelete
|
|
51617
51742
|
};
|
|
51618
51743
|
};
|
|
51619
51744
|
|
|
@@ -51754,7 +51879,10 @@ var CustomFilterComponent = function CustomFilterComponent(_ref) {
|
|
|
51754
51879
|
onChangeGrade = _ref.onChangeGrade,
|
|
51755
51880
|
onChangeOptionDate = _ref.onChangeOptionDate,
|
|
51756
51881
|
_renderOption = _ref.renderOption,
|
|
51757
|
-
isSelectMulti = _ref.isSelectMulti
|
|
51882
|
+
isSelectMulti = _ref.isSelectMulti,
|
|
51883
|
+
handleOpenModalDelete = _ref.handleOpenModalDelete,
|
|
51884
|
+
_ref$selectedIds = _ref.selectedIds,
|
|
51885
|
+
selectedIds = _ref$selectedIds === void 0 ? [] : _ref$selectedIds;
|
|
51758
51886
|
|
|
51759
51887
|
var _useTranslation = useTranslation$1(),
|
|
51760
51888
|
t = _useTranslation.t;
|
|
@@ -52035,6 +52163,8 @@ var CustomFilterComponent = function CustomFilterComponent(_ref) {
|
|
|
52035
52163
|
}), React__default.createElement("div", {
|
|
52036
52164
|
className: "" + styles["btn-favorite-text"]
|
|
52037
52165
|
}, t(toggleContentCustom))))), React__default.createElement(Grid, {
|
|
52166
|
+
className: "" + styles["block-right-container"]
|
|
52167
|
+
}, React__default.createElement(Grid, {
|
|
52038
52168
|
className: "" + styles["block-right"]
|
|
52039
52169
|
}, !!isShowSelectRight && React__default.createElement(Autocomplete$1, {
|
|
52040
52170
|
fullWidth: true,
|
|
@@ -52100,7 +52230,14 @@ var CustomFilterComponent = function CustomFilterComponent(_ref) {
|
|
|
52100
52230
|
flexBasis: "content"
|
|
52101
52231
|
},
|
|
52102
52232
|
onClick: handleDownloadCsv
|
|
52103
|
-
}, t("download.csv")))
|
|
52233
|
+
}, t("download.csv"))), handleOpenModalDelete && React__default.createElement("button", {
|
|
52234
|
+
type: "button",
|
|
52235
|
+
className: styles['delete-bulk'],
|
|
52236
|
+
onClick: function onClick() {
|
|
52237
|
+
return handleOpenModalDelete();
|
|
52238
|
+
},
|
|
52239
|
+
disabled: !selectedIds.length
|
|
52240
|
+
}, t('delete_bulk') + " " + (selectedIds.length > 0 ? "(" + selectedIds.length + ")" : ''), " ", React__default.createElement(FaTrashAlt, null)))));
|
|
52104
52241
|
};
|
|
52105
52242
|
|
|
52106
52243
|
var ColorButton$1 = styled$1(Button$1)(function () {
|
|
@@ -52603,12 +52740,30 @@ var tableResponseSurvey = [{
|
|
|
52603
52740
|
var TableCells = function TableCells(_ref) {
|
|
52604
52741
|
var listTableCell = _ref.listTableCell,
|
|
52605
52742
|
filters = _ref.filters,
|
|
52606
|
-
handleSort = _ref.handleSort
|
|
52743
|
+
handleSort = _ref.handleSort,
|
|
52744
|
+
hasCheckbox = _ref.hasCheckbox,
|
|
52745
|
+
dataSelect = _ref.dataSelect,
|
|
52746
|
+
selectedIds = _ref.selectedIds,
|
|
52747
|
+
handleSelectAll = _ref.handleSelectAll;
|
|
52607
52748
|
|
|
52608
52749
|
var _useTranslation = useTranslation$1(),
|
|
52609
52750
|
t = _useTranslation.t;
|
|
52610
52751
|
|
|
52611
|
-
return React__default.createElement(TableRow, null,
|
|
52752
|
+
return React__default.createElement(TableRow, null, hasCheckbox && dataSelect && selectedIds && handleSelectAll && React__default.createElement(TableCell, {
|
|
52753
|
+
padding: "checkbox"
|
|
52754
|
+
}, React__default.createElement(Checkbox, {
|
|
52755
|
+
checked: (dataSelect === null || dataSelect === void 0 ? void 0 : dataSelect.length) > 0 && dataSelect.every(function (i) {
|
|
52756
|
+
return selectedIds.includes(i.id);
|
|
52757
|
+
}),
|
|
52758
|
+
indeterminate: dataSelect.some(function (i) {
|
|
52759
|
+
return selectedIds.includes(i.id);
|
|
52760
|
+
}) && !dataSelect.every(function (i) {
|
|
52761
|
+
return selectedIds.includes(i.id);
|
|
52762
|
+
}),
|
|
52763
|
+
onChange: function onChange(e) {
|
|
52764
|
+
return handleSelectAll(e.target.checked);
|
|
52765
|
+
}
|
|
52766
|
+
})), listTableCell.map(function (r) {
|
|
52612
52767
|
return React__default.createElement(TableCell, {
|
|
52613
52768
|
key: r.name,
|
|
52614
52769
|
align: r.align || "left",
|
|
@@ -52702,6 +52857,64 @@ var ModelLinkSurvey = function ModelLinkSurvey(_ref) {
|
|
|
52702
52857
|
}, React__default.createElement(FileCopyIcon, null)))));
|
|
52703
52858
|
};
|
|
52704
52859
|
|
|
52860
|
+
var styled = {"font-large":"_356Xx","table-border":"_3rVdM","Close":"_2Vs6W","Active":"_fISYg","row_name":"_2-4H1","bg-red":"_1G8nL","bg-green":"_ATqes","bg-yellow":"_U2Fov","row-status":"_2mAty","table-class-type":"_2KRfC","box-form-input":"_3bgU2","box-content":"_4h5aW","confirm_btn_title":"_3vU-q","content":"_2eddN","btn-favorite-text":"_3bpqI","description-template-left":"_3BhUP","name-template-left":"_2CA9Q","data-grid-content":"_697ao","select-right":"_1J-bu","content-confirm-model":"_2pqFa","input-title":"_1Dfbh","total-card-title":"_2-hXf","title-filter":"_36snY","form-input-title":"_1FINV","list-favorite":"_3EcML","title":"_2sFa5","title-block":"_18vbq","box-additional-title":"_NUXao","dialog-title":"_1oyCk","title-chart":"_2Yhd1","btn-send-survey":"_1xze5","btn-cancel":"_1bqU6","chip-email-default":"_2xKhD","chip-email-checked":"_ouqj6","title-content":"_2O3Tp","create-btn":"_3Cux8","general-chart-title":"_2Lxtl","action-wrapper":"_rEUU_","action-item":"_2n3hL","survey-detail":"_3vJ-g","header-survey-detail":"_Ri4lG","content-header":"_M7dFA","survey-title":"_2APad","responses-distribution":"_1I0XZ","description":"_1hw5e","list-check-question":"_1Ejsc","select-question":"_2t6cX","question":"_2cNmh","ratings-of-questions":"_3225G","show-result":"_3KDFH","chart-result-for-question":"_N5fxX","parameter":"_1NNB0","percent":"_-Fj2n","chart":"_1Qyn4","legend":"_1tBch","avr":"_2TsdE","legend-item":"_3YpJk","name":"_2W9F-","action":"_Ldh2m","header-conduct":"_1npo6","student-detail":"_1pKV2","student-name":"_1GBNs","survey-name":"_2qlBy","conduct-body":"_1dxHK","response-question":"_3IlYT","title-model":"_1UBEA","total-cards":"_38gNv","card":"_C2FoT","response-body":"_3XFlg","student":"_2fuBW","date":"_QH_aS","answer":"_3Rool","none-answer":"_l65o6","font-small":"_1mTdj","option-select":"_32CPv","icon-add-header":"_2tltH","sup-require":"_3IAjJ","span-title":"_2vOMh","checked-favorite":"_JL458","flag":"_1jRbU","filter-desktop":"_1ByZl","h-75":"_2bC49","filter-mobile":"_39EFp","d-flex":"_3ILHs","flex-between":"_1Dy7M","pointer":"_1G7Oj","ml-10":"_3pvOS","mt-20":"_3QSsx","select-type":"_1zeZ3","student-survey-questions":"_24uRc","student-survey-questions-title":"_52eJU","student-survey-questions-categories":"_evlgo","all-student-survey":"_2rp1M","question-student-survey":"_1mIVS","question-student-survey-number":"_1MHBI","question-student-survey-content":"_28Xa9","box-input-csv":"_HGXSI","icon":"_2jqP8","model-confirm-publish":"_1DLAE","box-email-content":"_3aA8I","input-mail-content":"_3HfSn","list-chip-email":"_2mJew","box-chip-email":"_2fwdD","table-desktop":"_3_y0a","table-container":"_DFKYF","data-grid":"_3EcnW","MuiDataGrid-columnSeparator":"_3P0hc","table-mobile":"_1iMfJ","block-list-survey":"_EuZ8_","box-filter":"_3utMA","block-total":"_qlUFF","list-card-right":"_Epdgt","filter-select":"_20eFs","box-filter-left":"_MtBqD","filter-item":"_1WJAo","box-filter-right":"_2VDGv","search-input-icon":"_1FexU","inputInput":"_2JzR2","external-item":"_2iP6U","action-view":"_6y3DH","time-Date":"_17nC2","time-Hours-Minute":"_1vEXB","table-row":"_1jd05","arrow-icon":"_3Urdb","table-cell":"_qPEQy","btn-function":"_2xh2d","btn-action-text":"_2KfG4","avatar_user":"_2mUU4","innerHtml":"_2fgAa","btn-open":"_fLtnC","date-schedule":"_1amhM","pending":"_38Q73","replied":"_2mi_L","actionneeded":"_3qg29","actionneed":"_3XKeC","noscheduled":"_salNB","scheduled":"_3vFP4","completed":"_FoXPx","notstartyet":"_3bhI6","flex-item":"_36RRe","mr-10":"_2A5LB","session":"_33gcZ","schedule-now":"_2BiiZ","block-filter":"_3qVjM","block-filter-right":"_1C7WS","create-survey-container":"_2_bhv","box-create-survey":"_1h2_-","box-list-favorite":"_2Np-n","check-box-btn":"_2KGDK","stepper":"_AHiUZ","step-label":"_6O2vy","dialog-select-template":"_Vb5G5","icon-btn":"_1aD3k","icon-remove":"_rxvBN","title-btn":"_3BDjW","title-box-model":"_3V3hO","box-content-select":"_1p5SM","title-content-select":"_1wY14","description-content-select":"_3AYvl","box-function":"_1yo2i","cancel_btn":"_2q0h5","confirm_btn":"_1wniK","confirm_btn_icon":"_3rnyp","remove_btn":"_3WkIH","remove_btn_title":"_14_xL","remove_btn_icon":"_3VptO","mid_btn":"_Psdg4","box-function-flex":"_2K1MV","box-collapse":"_2-Sse","box-collapse-top":"_miLBv","box-collapse-right":"_2xNTI","collapse-chip":"_13im8","collapse-left-title":"_aft4S","box-collapse-content-item":"_26SCl","block-review-detail":"_1d4Lf","block-content-review":"_12S3I","block-template-review":"_36gKq","block-template-left":"_lw5Ox","additional-box":"_3_5ab","header-item":"_1Q3h9","header-title":"_1WGNT","space-content":"_36P3O","table-title":"_1FCFx","table-status":"_L_uPM","box-header-select":"_1k-yH","header-select-name":"_32KLh","header-select-icon":"_28PLI","header-select-detail":"_ZI06k","list-question-select":"_2EaBh","new-survey":"_SLI97","box-survey":"_dVgqi","avt-user":"_2oBnh","infor":"_3HNaN","content-text":"_SIfgw","time":"_1Sje8","card-item-mobile":"_UEtvP","card-item-left":"_1IKvD","item-name":"_2vyTL","item-detail":"_1bzAB","item-date":"_vw-CP","item-date-content":"_3tsha","table-status-mobile":"_2yS_O","button-mobile":"_1WcRD","box-detail":"_2Mctt","btn-duplicate":"_3Gz-M","box-input":"_3VFOh","item-answer":"_1zSJi","box-favorite":"_2o2b0","overview-survey":"_2sVJR","chart-view-dashboard":"_1doPS","block-chart-wrapper":"_1lkE3","block-chart-title":"_9mzcE","block-chart-top":"_QLUQO","chart-left":"_2c6UE","chart-right":"_1Pmw_","block-header-chart":"_14hBc","column-chart-percent":"_1Ml_a","chart-background":"_2AO5K","custom-marker":"_21lNI","item-legend":"_3BpNG","mark-custom":"_tnwFd","label-legend-custom":"_2juK0","mark-legend":"_13l-r","label-chart":"_3KJlm","listItem":"_1sU--","item":"_397kU","item-checkbox":"_33URL","check-box":"_X-D1i","pie-chart":"_2-TOd","box-chart-title":"_Gijux","box-chart":"_3G2tI","legend-pie-custom":"_sm5jY","color-box":"_3LqNl","generate-flag":"_24iDw","flag-item":"_V8630","count":"_39_gg","red":"_1Qdq3","yellow":"_1ukSp","green":"_Aj1d4","select-filter-top":"_3vD8W","filter-box":"_2WhAK","accordion":"_QOqG1","expanded-summary":"_oa9O2","expanded-title":"_1gxS6","expanded-detail":"_1Uklu","oveview-style":"_DU0s_","item-container":"_17V8B","note-external":"_1Mvjg","icon-back-page":"_3ckSJ","dot":"_1vzYS","table-wrapper":"_z0mjD","pagination":"_kn_xp","dot-response":"_2Nrxx","dot-not-response":"_6GUzQ","middle":"_2gw2z","table-dropdown":"_13mck","table-header":"_nxpHH","tbody-table":"_34MIA","total-student-head":"_aYRpI","item-static":"_1oDeK","item-static-icon":"_1g_wu","item-static-icon-sent":"_R4ydA","item-static-content":"_3YQVJ","free-field-list-container":"_1CGJu","free-field-list":"_2ohw9","question-text":"_3pVqy","number-index":"_2AkUX","bottom-collapse":"_3-xGL","avr-comparison-container":"_UuSO2","avr-comparison-list":"_kQ5Pg","avr-comparison":"_3VMEs","avr-comparison-content":"_1hYtD","delete-survey-modal":"_2_xof","delete-survey-modal__title":"_2IYUC","delete-survey-modal__description":"_Dm6Kc","delete-survey-modal__group-btn":"_r9NMX","delete-survey-modal__action":"_92MjQ","delete-survey-modal__cancel":"_33vda","heartbeat":"_3fubD"};
|
|
52861
|
+
|
|
52862
|
+
var DoneCheckInIcon = function DoneCheckInIcon(_ref) {
|
|
52863
|
+
var _ref$color = _ref.color,
|
|
52864
|
+
color = _ref$color === void 0 ? '#0F9655' : _ref$color;
|
|
52865
|
+
return React__default.createElement("svg", {
|
|
52866
|
+
width: "24",
|
|
52867
|
+
height: "24",
|
|
52868
|
+
viewBox: "0 0 24 24",
|
|
52869
|
+
fill: "none",
|
|
52870
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
52871
|
+
}, React__default.createElement("path", {
|
|
52872
|
+
d: "M9.5501 18L3.8501 12.3L5.2751 10.875L9.5501 15.15L18.7251 5.97498L20.1501 7.39998L9.5501 18Z",
|
|
52873
|
+
fill: color
|
|
52874
|
+
}));
|
|
52875
|
+
};
|
|
52876
|
+
|
|
52877
|
+
var ConfirmDeleteSelectedModal = function ConfirmDeleteSelectedModal(_ref) {
|
|
52878
|
+
var isOpen = _ref.isOpen,
|
|
52879
|
+
onClose = _ref.onClose,
|
|
52880
|
+
handleDelete = _ref.handleDelete,
|
|
52881
|
+
selectedIds = _ref.selectedIds;
|
|
52882
|
+
|
|
52883
|
+
var _useTranslation = useTranslation$1(),
|
|
52884
|
+
t = _useTranslation.t;
|
|
52885
|
+
|
|
52886
|
+
return React__default.createElement(SimpleDialog, {
|
|
52887
|
+
open: isOpen,
|
|
52888
|
+
onClose: onClose,
|
|
52889
|
+
scroll: "body",
|
|
52890
|
+
maxWidth: "sm"
|
|
52891
|
+
}, React__default.createElement("div", {
|
|
52892
|
+
className: styled['delete-survey-modal']
|
|
52893
|
+
}, React__default.createElement("h2", {
|
|
52894
|
+
className: styled['delete-survey-modal__title']
|
|
52895
|
+
}, "Delete survey"), React__default.createElement("div", {
|
|
52896
|
+
className: styled['delete-survey-modal__description']
|
|
52897
|
+
}, "Are you sure to delete ", selectedIds.length, " survey(s)?"), React__default.createElement("div", {
|
|
52898
|
+
className: styled['delete-survey-modal__group-btn']
|
|
52899
|
+
}, React__default.createElement("button", {
|
|
52900
|
+
type: 'button',
|
|
52901
|
+
className: styled['delete-survey-modal__cancel'],
|
|
52902
|
+
onClick: function onClick() {
|
|
52903
|
+
onClose && onClose();
|
|
52904
|
+
}
|
|
52905
|
+
}, t('cancel')), React__default.createElement("button", {
|
|
52906
|
+
type: 'button',
|
|
52907
|
+
className: styled['delete-survey-modal__action'],
|
|
52908
|
+
onClick: function onClick() {
|
|
52909
|
+
return handleDelete();
|
|
52910
|
+
}
|
|
52911
|
+
}, React__default.createElement(DoneCheckInIcon, {
|
|
52912
|
+
color: '#fff'
|
|
52913
|
+
}), "yes, i'm sure!"))));
|
|
52914
|
+
};
|
|
52915
|
+
|
|
52916
|
+
var ConfirmDeleteSelectedModal$1 = memo(ConfirmDeleteSelectedModal);
|
|
52917
|
+
|
|
52705
52918
|
var PopoverCustom = styled$1(Popover)(function () {
|
|
52706
52919
|
return {
|
|
52707
52920
|
"& .MuiPopover-paper": {
|
|
@@ -52763,7 +52976,14 @@ var ListSurveys = function ListSurveys() {
|
|
|
52763
52976
|
dataStudents = _useListSurvey.dataStudents,
|
|
52764
52977
|
handleChangeStudent = _useListSurvey.handleChangeStudent,
|
|
52765
52978
|
onEditSurvey = _useListSurvey.onEditSurvey,
|
|
52766
|
-
handlePublishSurvey = _useListSurvey.handlePublishSurvey
|
|
52979
|
+
handlePublishSurvey = _useListSurvey.handlePublishSurvey,
|
|
52980
|
+
selectedIds = _useListSurvey.selectedIds,
|
|
52981
|
+
handleToggleSelect = _useListSurvey.handleToggleSelect,
|
|
52982
|
+
handleSelectAll = _useListSurvey.handleSelectAll,
|
|
52983
|
+
handleDeleteSelected = _useListSurvey.handleDeleteSelected,
|
|
52984
|
+
openSelectedModal = _useListSurvey.openSelectedModal,
|
|
52985
|
+
handleCloseModalDelete = _useListSurvey.handleCloseModalDelete,
|
|
52986
|
+
handleOpenModalDelete = _useListSurvey.handleOpenModalDelete;
|
|
52767
52987
|
|
|
52768
52988
|
var _useFontStyles = useFontStyles(),
|
|
52769
52989
|
classFontSize = _useFontStyles.classFontSize,
|
|
@@ -52817,7 +53037,9 @@ var ListSurveys = function ListSurveys() {
|
|
|
52817
53037
|
onChangeOptionDate: onChangeOptionDate,
|
|
52818
53038
|
isSelectMulti: true,
|
|
52819
53039
|
studentList: dataStudents,
|
|
52820
|
-
onSelectStudent: handleChangeStudent
|
|
53040
|
+
onSelectStudent: handleChangeStudent,
|
|
53041
|
+
handleOpenModalDelete: handleOpenModalDelete,
|
|
53042
|
+
selectedIds: selectedIds
|
|
52821
53043
|
})), React__default.createElement(Grid, {
|
|
52822
53044
|
className: "" + styles$a["filter-mobile"]
|
|
52823
53045
|
}, React__default.createElement(CustomFilterMobile, {
|
|
@@ -52854,11 +53076,22 @@ var ListSurveys = function ListSurveys() {
|
|
|
52854
53076
|
}, React__default.createElement(TableHead, null, React__default.createElement(TableCells, {
|
|
52855
53077
|
listTableCell: tableListSurvey,
|
|
52856
53078
|
filters: filters,
|
|
52857
|
-
handleSort: handleSort
|
|
53079
|
+
handleSort: handleSort,
|
|
53080
|
+
hasCheckbox: true,
|
|
53081
|
+
dataSelect: (listSurvey === null || listSurvey === void 0 ? void 0 : listSurvey.items) || [],
|
|
53082
|
+
selectedIds: selectedIds,
|
|
53083
|
+
handleSelectAll: handleSelectAll
|
|
52858
53084
|
})), React__default.createElement(TableBody, null, listSurvey === null || listSurvey === void 0 ? void 0 : (_listSurvey$items = listSurvey.items) === null || _listSurvey$items === void 0 ? void 0 : _listSurvey$items.map(function (e) {
|
|
52859
53085
|
return React__default.createElement(TableRow, {
|
|
52860
53086
|
key: e.id
|
|
52861
53087
|
}, React__default.createElement(TableCell, {
|
|
53088
|
+
padding: "checkbox"
|
|
53089
|
+
}, React__default.createElement(Checkbox, {
|
|
53090
|
+
checked: selectedIds.includes(e.id),
|
|
53091
|
+
onChange: function onChange() {
|
|
53092
|
+
return handleToggleSelect(e.id);
|
|
53093
|
+
}
|
|
53094
|
+
})), React__default.createElement(TableCell, {
|
|
52862
53095
|
component: "th",
|
|
52863
53096
|
scope: "row",
|
|
52864
53097
|
height: 80,
|
|
@@ -53034,6 +53267,11 @@ var ListSurveys = function ListSurveys() {
|
|
|
53034
53267
|
handleDelete: handleDeleteSurvey,
|
|
53035
53268
|
selectedId: (itemSelected === null || itemSelected === void 0 ? void 0 : itemSelected.id) || 0,
|
|
53036
53269
|
content: t('this_survey_was_sent_all_survey_links_that_were_sent_will_be_invalid_are_you_sure_to_delete_it')
|
|
53270
|
+
}), React__default.createElement(ConfirmDeleteSelectedModal$1, {
|
|
53271
|
+
handleDelete: handleDeleteSelected,
|
|
53272
|
+
isOpen: openSelectedModal,
|
|
53273
|
+
onClose: handleCloseModalDelete,
|
|
53274
|
+
selectedIds: selectedIds
|
|
53037
53275
|
}), React__default.createElement(ModelLinkSurvey, {
|
|
53038
53276
|
open: !!anonymousKey,
|
|
53039
53277
|
onClose: handleCloseModelLink,
|
|
@@ -54501,8 +54739,6 @@ var ResponseQuestionModel = function ResponseQuestionModel(_ref) {
|
|
|
54501
54739
|
}))));
|
|
54502
54740
|
};
|
|
54503
54741
|
|
|
54504
|
-
var styled = {"font-large":"_356Xx","table-border":"_3rVdM","Close":"_2Vs6W","Active":"_fISYg","row_name":"_2-4H1","bg-red":"_1G8nL","bg-green":"_ATqes","bg-yellow":"_U2Fov","row-status":"_2mAty","table-class-type":"_2KRfC","box-form-input":"_3bgU2","box-content":"_4h5aW","confirm_btn_title":"_3vU-q","content":"_2eddN","btn-favorite-text":"_3bpqI","description-template-left":"_3BhUP","name-template-left":"_2CA9Q","data-grid-content":"_697ao","select-right":"_1J-bu","content-confirm-model":"_2pqFa","input-title":"_1Dfbh","total-card-title":"_2-hXf","title-filter":"_36snY","form-input-title":"_1FINV","list-favorite":"_3EcML","title":"_2sFa5","title-block":"_18vbq","box-additional-title":"_NUXao","dialog-title":"_1oyCk","title-chart":"_2Yhd1","btn-send-survey":"_1xze5","btn-cancel":"_1bqU6","chip-email-default":"_2xKhD","chip-email-checked":"_ouqj6","title-content":"_2O3Tp","create-btn":"_3Cux8","general-chart-title":"_2Lxtl","action-wrapper":"_rEUU_","action-item":"_2n3hL","survey-detail":"_3vJ-g","header-survey-detail":"_Ri4lG","content-header":"_M7dFA","survey-title":"_2APad","responses-distribution":"_1I0XZ","description":"_1hw5e","list-check-question":"_1Ejsc","select-question":"_2t6cX","question":"_2cNmh","ratings-of-questions":"_3225G","show-result":"_3KDFH","chart-result-for-question":"_N5fxX","parameter":"_1NNB0","percent":"_-Fj2n","chart":"_1Qyn4","legend":"_1tBch","avr":"_2TsdE","legend-item":"_3YpJk","name":"_2W9F-","action":"_Ldh2m","header-conduct":"_1npo6","student-detail":"_1pKV2","student-name":"_1GBNs","survey-name":"_2qlBy","conduct-body":"_1dxHK","response-question":"_3IlYT","title-model":"_1UBEA","total-cards":"_38gNv","card":"_C2FoT","response-body":"_3XFlg","student":"_2fuBW","date":"_QH_aS","answer":"_3Rool","none-answer":"_l65o6","font-small":"_1mTdj","option-select":"_32CPv","icon-add-header":"_2tltH","sup-require":"_3IAjJ","span-title":"_2vOMh","checked-favorite":"_JL458","flag":"_1jRbU","filter-desktop":"_1ByZl","h-75":"_2bC49","filter-mobile":"_39EFp","d-flex":"_3ILHs","flex-between":"_1Dy7M","pointer":"_1G7Oj","ml-10":"_3pvOS","mt-20":"_3QSsx","select-type":"_1zeZ3","student-survey-questions":"_24uRc","student-survey-questions-title":"_52eJU","student-survey-questions-categories":"_evlgo","all-student-survey":"_2rp1M","question-student-survey":"_1mIVS","question-student-survey-number":"_1MHBI","question-student-survey-content":"_28Xa9","box-input-csv":"_HGXSI","icon":"_2jqP8","model-confirm-publish":"_1DLAE","box-email-content":"_3aA8I","input-mail-content":"_3HfSn","list-chip-email":"_2mJew","box-chip-email":"_2fwdD","table-desktop":"_3_y0a","table-container":"_DFKYF","data-grid":"_3EcnW","MuiDataGrid-columnSeparator":"_3P0hc","table-mobile":"_1iMfJ","block-list-survey":"_EuZ8_","box-filter":"_3utMA","block-total":"_qlUFF","list-card-right":"_Epdgt","filter-select":"_20eFs","box-filter-left":"_MtBqD","filter-item":"_1WJAo","box-filter-right":"_2VDGv","search-input-icon":"_1FexU","inputInput":"_2JzR2","external-item":"_2iP6U","action-view":"_6y3DH","time-Date":"_17nC2","time-Hours-Minute":"_1vEXB","table-row":"_1jd05","arrow-icon":"_3Urdb","table-cell":"_qPEQy","btn-function":"_2xh2d","btn-action-text":"_2KfG4","avatar_user":"_2mUU4","innerHtml":"_2fgAa","btn-open":"_fLtnC","date-schedule":"_1amhM","pending":"_38Q73","replied":"_2mi_L","actionneeded":"_3qg29","actionneed":"_3XKeC","noscheduled":"_salNB","scheduled":"_3vFP4","completed":"_FoXPx","notstartyet":"_3bhI6","flex-item":"_36RRe","mr-10":"_2A5LB","session":"_33gcZ","schedule-now":"_2BiiZ","block-filter":"_3qVjM","block-filter-right":"_1C7WS","create-survey-container":"_2_bhv","box-create-survey":"_1h2_-","box-list-favorite":"_2Np-n","check-box-btn":"_2KGDK","stepper":"_AHiUZ","step-label":"_6O2vy","dialog-select-template":"_Vb5G5","icon-btn":"_1aD3k","icon-remove":"_rxvBN","title-btn":"_3BDjW","title-box-model":"_3V3hO","box-content-select":"_1p5SM","title-content-select":"_1wY14","description-content-select":"_3AYvl","box-function":"_1yo2i","cancel_btn":"_2q0h5","confirm_btn":"_1wniK","confirm_btn_icon":"_3rnyp","remove_btn":"_3WkIH","remove_btn_title":"_14_xL","remove_btn_icon":"_3VptO","mid_btn":"_Psdg4","box-function-flex":"_2K1MV","box-collapse":"_2-Sse","box-collapse-top":"_miLBv","box-collapse-right":"_2xNTI","collapse-chip":"_13im8","collapse-left-title":"_aft4S","box-collapse-content-item":"_26SCl","block-review-detail":"_1d4Lf","block-content-review":"_12S3I","block-template-review":"_36gKq","block-template-left":"_lw5Ox","additional-box":"_3_5ab","header-item":"_1Q3h9","header-title":"_1WGNT","space-content":"_36P3O","table-title":"_1FCFx","table-status":"_L_uPM","box-header-select":"_1k-yH","header-select-name":"_32KLh","header-select-icon":"_28PLI","header-select-detail":"_ZI06k","list-question-select":"_2EaBh","new-survey":"_SLI97","box-survey":"_dVgqi","avt-user":"_2oBnh","infor":"_3HNaN","content-text":"_SIfgw","time":"_1Sje8","card-item-mobile":"_UEtvP","card-item-left":"_1IKvD","item-name":"_2vyTL","item-detail":"_1bzAB","item-date":"_vw-CP","item-date-content":"_3tsha","table-status-mobile":"_2yS_O","button-mobile":"_1WcRD","box-detail":"_2Mctt","btn-duplicate":"_3Gz-M","box-input":"_3VFOh","item-answer":"_1zSJi","box-favorite":"_2o2b0","overview-survey":"_2sVJR","chart-view-dashboard":"_1doPS","block-chart-wrapper":"_1lkE3","block-chart-title":"_9mzcE","block-chart-top":"_QLUQO","chart-left":"_2c6UE","chart-right":"_1Pmw_","block-header-chart":"_14hBc","column-chart-percent":"_1Ml_a","chart-background":"_2AO5K","custom-marker":"_21lNI","item-legend":"_3BpNG","mark-custom":"_tnwFd","label-legend-custom":"_2juK0","mark-legend":"_13l-r","label-chart":"_3KJlm","listItem":"_1sU--","item":"_397kU","item-checkbox":"_33URL","check-box":"_X-D1i","pie-chart":"_2-TOd","box-chart-title":"_Gijux","box-chart":"_3G2tI","legend-pie-custom":"_sm5jY","color-box":"_3LqNl","generate-flag":"_24iDw","flag-item":"_V8630","count":"_39_gg","red":"_1Qdq3","yellow":"_1ukSp","green":"_Aj1d4","select-filter-top":"_3vD8W","filter-box":"_2WhAK","accordion":"_QOqG1","expanded-summary":"_oa9O2","expanded-title":"_1gxS6","expanded-detail":"_1Uklu","oveview-style":"_DU0s_","item-container":"_17V8B","note-external":"_1Mvjg","icon-back-page":"_3ckSJ","dot":"_1vzYS","table-wrapper":"_z0mjD","pagination":"_kn_xp","dot-response":"_2Nrxx","dot-not-response":"_6GUzQ","middle":"_2gw2z","table-dropdown":"_13mck","table-header":"_nxpHH","tbody-table":"_34MIA","total-student-head":"_aYRpI","item-static":"_1oDeK","item-static-icon":"_1g_wu","item-static-icon-sent":"_R4ydA","item-static-content":"_3YQVJ","free-field-list-container":"_1CGJu","free-field-list":"_2ohw9","question-text":"_3pVqy","number-index":"_2AkUX","bottom-collapse":"_3-xGL","avr-comparison-container":"_UuSO2","avr-comparison-list":"_kQ5Pg","avr-comparison":"_3VMEs","avr-comparison-content":"_1hYtD"};
|
|
54505
|
-
|
|
54506
54742
|
var useListQuestionSurvey = function useListQuestionSurvey() {
|
|
54507
54743
|
var _useState = useState([]),
|
|
54508
54744
|
questionSurvey = _useState[0],
|
|
@@ -81262,21 +81498,6 @@ var schema$l = object({
|
|
|
81262
81498
|
email: string().email('Invalid email').trim().required("Email is required")
|
|
81263
81499
|
});
|
|
81264
81500
|
|
|
81265
|
-
var DoneCheckInIcon = function DoneCheckInIcon(_ref) {
|
|
81266
|
-
var _ref$color = _ref.color,
|
|
81267
|
-
color = _ref$color === void 0 ? '#0F9655' : _ref$color;
|
|
81268
|
-
return React__default.createElement("svg", {
|
|
81269
|
-
width: "24",
|
|
81270
|
-
height: "24",
|
|
81271
|
-
viewBox: "0 0 24 24",
|
|
81272
|
-
fill: "none",
|
|
81273
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
81274
|
-
}, React__default.createElement("path", {
|
|
81275
|
-
d: "M9.5501 18L3.8501 12.3L5.2751 10.875L9.5501 15.15L18.7251 5.97498L20.1501 7.39998L9.5501 18Z",
|
|
81276
|
-
fill: color
|
|
81277
|
-
}));
|
|
81278
|
-
};
|
|
81279
|
-
|
|
81280
81501
|
var Profile = function Profile(_ref) {
|
|
81281
81502
|
var dataProfile = _ref.dataProfile,
|
|
81282
81503
|
updateProfile = _ref.updateProfile,
|