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/index.js CHANGED
@@ -1503,7 +1503,7 @@ var ConferenceRubricList = function ConferenceRubricList() {
1503
1503
  }))));
1504
1504
  };
1505
1505
 
1506
- 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"};
1506
+ 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"};
1507
1507
 
1508
1508
  var ToggleInput = function ToggleInput(_ref) {
1509
1509
  var value = _ref.value,
@@ -30172,7 +30172,7 @@ var INITIAL_STUDENT_SKILL_QUESTION = {
30172
30172
  var DEFAULT_START_DATE$1 = moment().subtract(2, 'months').startOf("day").valueOf();
30173
30173
  var DEFAULT_END_DATE$1 = moment().endOf("day").valueOf();
30174
30174
 
30175
- var HEADER_DESKTOP_HEIGHT = 57;
30175
+ var HEADER_DESKTOP_HEIGHT = 68;
30176
30176
  var HEADER_MOBILE_HEIGHT = 55;
30177
30177
  var NOTIFICATION_HEIGHT = 36;
30178
30178
  var NEW_NOTIFICATION = "NEW_NOTIFICATION";
@@ -31475,6 +31475,11 @@ var getAnswerChart = function getAnswerChart(surveyId, params) {
31475
31475
  params: params
31476
31476
  });
31477
31477
  };
31478
+ var deleteSelectedSurveyApi = function deleteSelectedSurveyApi(ids) {
31479
+ return marioCore.api["delete"](SURVEY_API + "/delete-selected-survey", {
31480
+ data: ids
31481
+ });
31482
+ };
31478
31483
 
31479
31484
  var TeacherSelector$1 = function TeacherSelector(_ref) {
31480
31485
  var isShowDropDownIcon = _ref.isShowDropDownIcon,
@@ -35562,6 +35567,7 @@ var BarChart = function BarChart(_ref) {
35562
35567
  if (dataPointIndex != undefined && dataPointIndex !== (currentTooltip === null || currentTooltip === void 0 ? void 0 : currentTooltip.dataPointIndex) && !(currentTooltip !== null && currentTooltip !== void 0 && currentTooltip.isSelect)) {
35563
35568
  if (dataPointIndex != -1) {
35564
35569
  showTooltipAtIndex(dataPointIndex);
35570
+ selectedBarRef.current = dataPointIndex;
35565
35571
  barEls.forEach(function (bar, i) {
35566
35572
  if (i === dataPointIndex) {
35567
35573
  bar.setAttribute("fill", "#316CD9");
@@ -35666,6 +35672,29 @@ var BarChart = function BarChart(_ref) {
35666
35672
  React.useEffect(function () {
35667
35673
  tooltipDataRef.current = tooltipData;
35668
35674
  }, [tooltipData]);
35675
+ React.useEffect(function () {
35676
+ var handleClickOutside = function handleClickOutside(e) {
35677
+ if (open) return;
35678
+ var chartEl = document.querySelector("#apexchartsmy-bar-chart");
35679
+ if (!chartEl) return;
35680
+
35681
+ if (!chartEl.contains(e.target)) {
35682
+ var barEls = chartEl.querySelectorAll(".apexcharts-bar-series path");
35683
+ var selectedIndex = selectedBarRef.current;
35684
+
35685
+ if (selectedIndex !== null && barEls[selectedIndex]) {
35686
+ barEls[selectedIndex].setAttribute("fill", "#C4D4F3");
35687
+ selectedBarRef.current = null;
35688
+ setTooltipData(null);
35689
+ }
35690
+ }
35691
+ };
35692
+
35693
+ document.addEventListener("click", handleClickOutside);
35694
+ return function () {
35695
+ document.removeEventListener("click", handleClickOutside);
35696
+ };
35697
+ }, [open]);
35669
35698
  return React__default.createElement("div", null, React__default.createElement("div", {
35670
35699
  ref: chartWrapperRef,
35671
35700
  style: {
@@ -51089,7 +51118,15 @@ var useListSurvey = function useListSurvey(pageSize) {
51089
51118
  dataStudents = _useState10[0],
51090
51119
  setDataStudents = _useState10[1];
51091
51120
 
51092
- var _useState11 = React.useState({
51121
+ var _useState11 = React.useState([]),
51122
+ selectedIds = _useState11[0],
51123
+ setSelectedIds = _useState11[1];
51124
+
51125
+ var _useState12 = React.useState(false),
51126
+ openSelectedModal = _useState12[0],
51127
+ setOpenSelectedModal = _useState12[1];
51128
+
51129
+ var _useState13 = React.useState({
51093
51130
  isAdmin: true,
51094
51131
  currentPage: 1,
51095
51132
  pageSize: pageSize ? pageSize : 10,
@@ -51106,8 +51143,8 @@ var useListSurvey = function useListSurvey(pageSize) {
51106
51143
  optionDate: "",
51107
51144
  studentId: 0
51108
51145
  }),
51109
- filters = _useState11[0],
51110
- setFilters = _useState11[1];
51146
+ filters = _useState13[0],
51147
+ setFilters = _useState13[1];
51111
51148
 
51112
51149
  var _useSurveyExportCsv = useSurveyExportCsv(),
51113
51150
  exportSurveys = _useSurveyExportCsv.exportSurveys,
@@ -51564,6 +51601,87 @@ var useListSurvey = function useListSurvey(pageSize) {
51564
51601
 
51565
51602
  var openPopover = Boolean(anchorEl);
51566
51603
  var popoverId = openPopover ? 'simple-popover' : undefined;
51604
+
51605
+ var handleToggleSelect = function handleToggleSelect(id) {
51606
+ setSelectedIds(function (prev) {
51607
+ return prev.includes(id) ? prev.filter(function (x) {
51608
+ return x !== id;
51609
+ }) : [].concat(prev, [id]);
51610
+ });
51611
+ };
51612
+
51613
+ var handleSelectAll = function handleSelectAll(checked) {
51614
+ if (checked) {
51615
+ var _listSurvey$items$map, _listSurvey$items2;
51616
+
51617
+ 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) {
51618
+ return i.id;
51619
+ })) != null ? _listSurvey$items$map : [];
51620
+ setSelectedIds(function (prev) {
51621
+ return Array.from(new Set([].concat(prev, currentPageIds)));
51622
+ });
51623
+ } else {
51624
+ var _listSurvey$items$map2, _listSurvey$items3;
51625
+
51626
+ 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) {
51627
+ return i.id;
51628
+ })) != null ? _listSurvey$items$map2 : [];
51629
+
51630
+ setSelectedIds(function (prev) {
51631
+ return prev.filter(function (id) {
51632
+ return !_currentPageIds.includes(id);
51633
+ });
51634
+ });
51635
+ }
51636
+ };
51637
+
51638
+ var handleOpenModalDelete = function handleOpenModalDelete() {
51639
+ setOpenSelectedModal(true);
51640
+ };
51641
+
51642
+ var handleCloseModalDelete = function handleCloseModalDelete() {
51643
+ setOpenSelectedModal(false);
51644
+ };
51645
+
51646
+ var handleDeleteSelected = function handleDeleteSelected() {
51647
+ try {
51648
+ var _temp23 = function _temp23() {
51649
+ setOpenSelectedModal(false);
51650
+ dispatch(marioCore.setLoading(false));
51651
+ };
51652
+
51653
+ dispatch(marioCore.setLoading(true));
51654
+
51655
+ var _temp24 = _catch(function () {
51656
+ return Promise.resolve(deleteSelectedSurveyApi(selectedIds)).then(function () {
51657
+ var _filters$grade4;
51658
+
51659
+ return Promise.resolve(getAllSurvey(_extends({}, filters, {
51660
+ grade: (_filters$grade4 = filters.grade) !== null && _filters$grade4 !== void 0 && _filters$grade4.includes('All') ? [] : filters.grade
51661
+ }))).then(function (res) {
51662
+ setListSurvey(res.data);
51663
+ dispatch(marioCore.setAlert({
51664
+ type: "success",
51665
+ message: selectedIds.length + " surveys deleted successfully!"
51666
+ }));
51667
+ setSelectedIds([]);
51668
+ });
51669
+ });
51670
+ }, function (error) {
51671
+ var _error$response2, _error$response2$data;
51672
+
51673
+ dispatch(marioCore.setAlert({
51674
+ type: "danger",
51675
+ 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
51676
+ }));
51677
+ });
51678
+
51679
+ return Promise.resolve(_temp24 && _temp24.then ? _temp24.then(_temp23) : _temp23(_temp24));
51680
+ } catch (e) {
51681
+ return Promise.reject(e);
51682
+ }
51683
+ };
51684
+
51567
51685
  return {
51568
51686
  itemSelected: itemSelected,
51569
51687
  itemSelectedStudentId: itemSelectedStudentId,
@@ -51614,7 +51732,14 @@ var useListSurvey = function useListSurvey(pageSize) {
51614
51732
  dataStudents: dataStudents,
51615
51733
  handleChangeStudent: handleChangeStudent,
51616
51734
  onEditSurvey: onEditSurvey,
51617
- handlePublishSurvey: handlePublishSurvey
51735
+ handlePublishSurvey: handlePublishSurvey,
51736
+ selectedIds: selectedIds,
51737
+ handleToggleSelect: handleToggleSelect,
51738
+ handleSelectAll: handleSelectAll,
51739
+ handleDeleteSelected: handleDeleteSelected,
51740
+ handleOpenModalDelete: handleOpenModalDelete,
51741
+ openSelectedModal: openSelectedModal,
51742
+ handleCloseModalDelete: handleCloseModalDelete
51618
51743
  };
51619
51744
  };
51620
51745
 
@@ -51755,7 +51880,10 @@ var CustomFilterComponent = function CustomFilterComponent(_ref) {
51755
51880
  onChangeGrade = _ref.onChangeGrade,
51756
51881
  onChangeOptionDate = _ref.onChangeOptionDate,
51757
51882
  _renderOption = _ref.renderOption,
51758
- isSelectMulti = _ref.isSelectMulti;
51883
+ isSelectMulti = _ref.isSelectMulti,
51884
+ handleOpenModalDelete = _ref.handleOpenModalDelete,
51885
+ _ref$selectedIds = _ref.selectedIds,
51886
+ selectedIds = _ref$selectedIds === void 0 ? [] : _ref$selectedIds;
51759
51887
 
51760
51888
  var _useTranslation = marioCore.useTranslation(),
51761
51889
  t = _useTranslation.t;
@@ -52036,6 +52164,8 @@ var CustomFilterComponent = function CustomFilterComponent(_ref) {
52036
52164
  }), React__default.createElement("div", {
52037
52165
  className: "" + styles["btn-favorite-text"]
52038
52166
  }, t(toggleContentCustom))))), React__default.createElement(core$1.Grid, {
52167
+ className: "" + styles["block-right-container"]
52168
+ }, React__default.createElement(core$1.Grid, {
52039
52169
  className: "" + styles["block-right"]
52040
52170
  }, !!isShowSelectRight && React__default.createElement(Autocomplete, {
52041
52171
  fullWidth: true,
@@ -52101,7 +52231,14 @@ var CustomFilterComponent = function CustomFilterComponent(_ref) {
52101
52231
  flexBasis: "content"
52102
52232
  },
52103
52233
  onClick: handleDownloadCsv
52104
- }, t("download.csv")))));
52234
+ }, t("download.csv"))), handleOpenModalDelete && React__default.createElement("button", {
52235
+ type: "button",
52236
+ className: styles['delete-bulk'],
52237
+ onClick: function onClick() {
52238
+ return handleOpenModalDelete();
52239
+ },
52240
+ disabled: !selectedIds.length
52241
+ }, t('delete_bulk') + " " + (selectedIds.length > 0 ? "(" + selectedIds.length + ")" : ''), " ", React__default.createElement(fa.FaTrashAlt, null)))));
52105
52242
  };
52106
52243
 
52107
52244
  var ColorButton$1 = core$1.styled(core$1.Button)(function () {
@@ -52604,12 +52741,30 @@ var tableResponseSurvey = [{
52604
52741
  var TableCells = function TableCells(_ref) {
52605
52742
  var listTableCell = _ref.listTableCell,
52606
52743
  filters = _ref.filters,
52607
- handleSort = _ref.handleSort;
52744
+ handleSort = _ref.handleSort,
52745
+ hasCheckbox = _ref.hasCheckbox,
52746
+ dataSelect = _ref.dataSelect,
52747
+ selectedIds = _ref.selectedIds,
52748
+ handleSelectAll = _ref.handleSelectAll;
52608
52749
 
52609
52750
  var _useTranslation = marioCore.useTranslation(),
52610
52751
  t = _useTranslation.t;
52611
52752
 
52612
- return React__default.createElement(core$1.TableRow, null, listTableCell.map(function (r) {
52753
+ return React__default.createElement(core$1.TableRow, null, hasCheckbox && dataSelect && selectedIds && handleSelectAll && React__default.createElement(core$1.TableCell, {
52754
+ padding: "checkbox"
52755
+ }, React__default.createElement(core$1.Checkbox, {
52756
+ checked: (dataSelect === null || dataSelect === void 0 ? void 0 : dataSelect.length) > 0 && dataSelect.every(function (i) {
52757
+ return selectedIds.includes(i.id);
52758
+ }),
52759
+ indeterminate: dataSelect.some(function (i) {
52760
+ return selectedIds.includes(i.id);
52761
+ }) && !dataSelect.every(function (i) {
52762
+ return selectedIds.includes(i.id);
52763
+ }),
52764
+ onChange: function onChange(e) {
52765
+ return handleSelectAll(e.target.checked);
52766
+ }
52767
+ })), listTableCell.map(function (r) {
52613
52768
  return React__default.createElement(core$1.TableCell, {
52614
52769
  key: r.name,
52615
52770
  align: r.align || "left",
@@ -52703,6 +52858,64 @@ var ModelLinkSurvey = function ModelLinkSurvey(_ref) {
52703
52858
  }, React__default.createElement(FileCopyIcon, null)))));
52704
52859
  };
52705
52860
 
52861
+ 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"};
52862
+
52863
+ var DoneCheckInIcon = function DoneCheckInIcon(_ref) {
52864
+ var _ref$color = _ref.color,
52865
+ color = _ref$color === void 0 ? '#0F9655' : _ref$color;
52866
+ return React__default.createElement("svg", {
52867
+ width: "24",
52868
+ height: "24",
52869
+ viewBox: "0 0 24 24",
52870
+ fill: "none",
52871
+ xmlns: "http://www.w3.org/2000/svg"
52872
+ }, React__default.createElement("path", {
52873
+ d: "M9.5501 18L3.8501 12.3L5.2751 10.875L9.5501 15.15L18.7251 5.97498L20.1501 7.39998L9.5501 18Z",
52874
+ fill: color
52875
+ }));
52876
+ };
52877
+
52878
+ var ConfirmDeleteSelectedModal = function ConfirmDeleteSelectedModal(_ref) {
52879
+ var isOpen = _ref.isOpen,
52880
+ onClose = _ref.onClose,
52881
+ handleDelete = _ref.handleDelete,
52882
+ selectedIds = _ref.selectedIds;
52883
+
52884
+ var _useTranslation = marioCore.useTranslation(),
52885
+ t = _useTranslation.t;
52886
+
52887
+ return React__default.createElement(SimpleDialog, {
52888
+ open: isOpen,
52889
+ onClose: onClose,
52890
+ scroll: "body",
52891
+ maxWidth: "sm"
52892
+ }, React__default.createElement("div", {
52893
+ className: styled['delete-survey-modal']
52894
+ }, React__default.createElement("h2", {
52895
+ className: styled['delete-survey-modal__title']
52896
+ }, "Delete survey"), React__default.createElement("div", {
52897
+ className: styled['delete-survey-modal__description']
52898
+ }, "Are you sure to delete ", selectedIds.length, " survey(s)?"), React__default.createElement("div", {
52899
+ className: styled['delete-survey-modal__group-btn']
52900
+ }, React__default.createElement("button", {
52901
+ type: 'button',
52902
+ className: styled['delete-survey-modal__cancel'],
52903
+ onClick: function onClick() {
52904
+ onClose && onClose();
52905
+ }
52906
+ }, t('cancel')), React__default.createElement("button", {
52907
+ type: 'button',
52908
+ className: styled['delete-survey-modal__action'],
52909
+ onClick: function onClick() {
52910
+ return handleDelete();
52911
+ }
52912
+ }, React__default.createElement(DoneCheckInIcon, {
52913
+ color: '#fff'
52914
+ }), "yes, i'm sure!"))));
52915
+ };
52916
+
52917
+ var ConfirmDeleteSelectedModal$1 = React.memo(ConfirmDeleteSelectedModal);
52918
+
52706
52919
  var PopoverCustom = core$1.styled(core$1.Popover)(function () {
52707
52920
  return {
52708
52921
  "& .MuiPopover-paper": {
@@ -52764,7 +52977,14 @@ var ListSurveys = function ListSurveys() {
52764
52977
  dataStudents = _useListSurvey.dataStudents,
52765
52978
  handleChangeStudent = _useListSurvey.handleChangeStudent,
52766
52979
  onEditSurvey = _useListSurvey.onEditSurvey,
52767
- handlePublishSurvey = _useListSurvey.handlePublishSurvey;
52980
+ handlePublishSurvey = _useListSurvey.handlePublishSurvey,
52981
+ selectedIds = _useListSurvey.selectedIds,
52982
+ handleToggleSelect = _useListSurvey.handleToggleSelect,
52983
+ handleSelectAll = _useListSurvey.handleSelectAll,
52984
+ handleDeleteSelected = _useListSurvey.handleDeleteSelected,
52985
+ openSelectedModal = _useListSurvey.openSelectedModal,
52986
+ handleCloseModalDelete = _useListSurvey.handleCloseModalDelete,
52987
+ handleOpenModalDelete = _useListSurvey.handleOpenModalDelete;
52768
52988
 
52769
52989
  var _useFontStyles = useFontStyles(),
52770
52990
  classFontSize = _useFontStyles.classFontSize,
@@ -52818,7 +53038,9 @@ var ListSurveys = function ListSurveys() {
52818
53038
  onChangeOptionDate: onChangeOptionDate,
52819
53039
  isSelectMulti: true,
52820
53040
  studentList: dataStudents,
52821
- onSelectStudent: handleChangeStudent
53041
+ onSelectStudent: handleChangeStudent,
53042
+ handleOpenModalDelete: handleOpenModalDelete,
53043
+ selectedIds: selectedIds
52822
53044
  })), React__default.createElement(core$1.Grid, {
52823
53045
  className: "" + styles$a["filter-mobile"]
52824
53046
  }, React__default.createElement(CustomFilterMobile, {
@@ -52855,11 +53077,22 @@ var ListSurveys = function ListSurveys() {
52855
53077
  }, React__default.createElement(core$1.TableHead, null, React__default.createElement(TableCells, {
52856
53078
  listTableCell: tableListSurvey,
52857
53079
  filters: filters,
52858
- handleSort: handleSort
53080
+ handleSort: handleSort,
53081
+ hasCheckbox: true,
53082
+ dataSelect: (listSurvey === null || listSurvey === void 0 ? void 0 : listSurvey.items) || [],
53083
+ selectedIds: selectedIds,
53084
+ handleSelectAll: handleSelectAll
52859
53085
  })), React__default.createElement(core$1.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) {
52860
53086
  return React__default.createElement(core$1.TableRow, {
52861
53087
  key: e.id
52862
53088
  }, React__default.createElement(core$1.TableCell, {
53089
+ padding: "checkbox"
53090
+ }, React__default.createElement(core$1.Checkbox, {
53091
+ checked: selectedIds.includes(e.id),
53092
+ onChange: function onChange() {
53093
+ return handleToggleSelect(e.id);
53094
+ }
53095
+ })), React__default.createElement(core$1.TableCell, {
52863
53096
  component: "th",
52864
53097
  scope: "row",
52865
53098
  height: 80,
@@ -53035,6 +53268,11 @@ var ListSurveys = function ListSurveys() {
53035
53268
  handleDelete: handleDeleteSurvey,
53036
53269
  selectedId: (itemSelected === null || itemSelected === void 0 ? void 0 : itemSelected.id) || 0,
53037
53270
  content: t('this_survey_was_sent_all_survey_links_that_were_sent_will_be_invalid_are_you_sure_to_delete_it')
53271
+ }), React__default.createElement(ConfirmDeleteSelectedModal$1, {
53272
+ handleDelete: handleDeleteSelected,
53273
+ isOpen: openSelectedModal,
53274
+ onClose: handleCloseModalDelete,
53275
+ selectedIds: selectedIds
53038
53276
  }), React__default.createElement(ModelLinkSurvey, {
53039
53277
  open: !!anonymousKey,
53040
53278
  onClose: handleCloseModelLink,
@@ -54502,8 +54740,6 @@ var ResponseQuestionModel = function ResponseQuestionModel(_ref) {
54502
54740
  }))));
54503
54741
  };
54504
54742
 
54505
- 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"};
54506
-
54507
54743
  var useListQuestionSurvey = function useListQuestionSurvey() {
54508
54744
  var _useState = React.useState([]),
54509
54745
  questionSurvey = _useState[0],
@@ -81263,21 +81499,6 @@ var schema$l = yup.object({
81263
81499
  email: yup.string().email('Invalid email').trim().required("Email is required")
81264
81500
  });
81265
81501
 
81266
- var DoneCheckInIcon = function DoneCheckInIcon(_ref) {
81267
- var _ref$color = _ref.color,
81268
- color = _ref$color === void 0 ? '#0F9655' : _ref$color;
81269
- return React__default.createElement("svg", {
81270
- width: "24",
81271
- height: "24",
81272
- viewBox: "0 0 24 24",
81273
- fill: "none",
81274
- xmlns: "http://www.w3.org/2000/svg"
81275
- }, React__default.createElement("path", {
81276
- d: "M9.5501 18L3.8501 12.3L5.2751 10.875L9.5501 15.15L18.7251 5.97498L20.1501 7.39998L9.5501 18Z",
81277
- fill: color
81278
- }));
81279
- };
81280
-
81281
81502
  var Profile = function Profile(_ref) {
81282
81503
  var dataProfile = _ref.dataProfile,
81283
81504
  updateProfile = _ref.updateProfile,