mario-teacher-student-client 2.1.99-beta → 2.2.1-beta
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/selector/CustomFilterComponent.d.ts +2 -1
- package/dist/containers/Surveys/constants/types.d.ts +3 -0
- package/dist/containers/Surveys/hook/useListSurveyDetail.d.ts +1 -0
- package/dist/index.css +4 -1
- package/dist/index.js +45 -20
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +45 -20
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ interface PROPS_FILTER {
|
|
|
11
11
|
inputSearch: any;
|
|
12
12
|
isShowSelectRight?: boolean;
|
|
13
13
|
handleChangeStatus?: Function;
|
|
14
|
+
placeholderSearch?: string;
|
|
14
15
|
}
|
|
15
|
-
declare const CustomFilterComponent: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, isShowSelectRight, handleChangeStatus }: PROPS_FILTER) => JSX.Element;
|
|
16
|
+
declare const CustomFilterComponent: ({ filters, handleChangeStartDate, handleChangeEndDate, handleChangeInputSearch, inputSearch, isShowSelectRight, handleChangeStatus, placeholderSearch }: PROPS_FILTER) => JSX.Element;
|
|
16
17
|
export default CustomFilterComponent;
|
|
@@ -209,8 +209,11 @@ export interface STUDENT_SURVEY_DETAIL {
|
|
|
209
209
|
timeSession: string;
|
|
210
210
|
studentName: string;
|
|
211
211
|
teacherName: string;
|
|
212
|
+
avatar: string;
|
|
213
|
+
profileImage: string;
|
|
212
214
|
status: string;
|
|
213
215
|
sendDate: string;
|
|
216
|
+
isDone: boolean;
|
|
214
217
|
isFavorite: boolean;
|
|
215
218
|
flag: number;
|
|
216
219
|
dayLeft: number;
|
|
@@ -13,5 +13,6 @@ declare const useListSurveyDetail: ({ type }: SURVEY_STUDENT_PROPS) => {
|
|
|
13
13
|
dayLeftCellBgColor: (dayLeft: number) => "" | "bg-red" | "bg-yellow" | "bg-green";
|
|
14
14
|
handleStartSurvey: (surveyId: number, studentId: number) => void;
|
|
15
15
|
goToBookSession: (studentId: number, surveyId: number) => void;
|
|
16
|
+
handleShowSession: (status: string, schedule: string, isDone: boolean) => false | "Completed" | "Not Required" | "No Response yet" | "Scheduled";
|
|
16
17
|
};
|
|
17
18
|
export default useListSurveyDetail;
|
package/dist/index.css
CHANGED
|
@@ -722,7 +722,7 @@ p._1YLGi {
|
|
|
722
722
|
background: #F6F4C6; }
|
|
723
723
|
|
|
724
724
|
._3oAH- {
|
|
725
|
-
color: #22543D;
|
|
725
|
+
color: #22543D !important;
|
|
726
726
|
background: #C6F6D5; }
|
|
727
727
|
|
|
728
728
|
._3XmhO {
|
|
@@ -14847,6 +14847,9 @@ h4._3lNz0 {
|
|
|
14847
14847
|
._3tbAL ._1Vgmy:hover {
|
|
14848
14848
|
background-color: #308252; }
|
|
14849
14849
|
|
|
14850
|
+
._3tbAL ._1m1n9 {
|
|
14851
|
+
color: rgba(0, 0, 0, 0.54); }
|
|
14852
|
+
|
|
14850
14853
|
._3tbAL ._oItGm {
|
|
14851
14854
|
display: flex;
|
|
14852
14855
|
justify-content: center;
|
package/dist/index.js
CHANGED
|
@@ -61669,7 +61669,7 @@ var CustomHeaderComponent = function CustomHeaderComponent(_ref) {
|
|
|
61669
61669
|
}, contentButton), !!iconButton && iconButton)));
|
|
61670
61670
|
};
|
|
61671
61671
|
|
|
61672
|
-
var styles$O = {"icon-add-header":"_3msvE","sup-require":"_3cLXA","span-title":"_2zJd0","checked-favorite":"_-DbRo","table-desktop":"_1F8xx","data-grid":"_3TDU4","MuiDataGrid-columnSeparator":"_3ig99","block-list-survey":"_U4jvh","box-filter":"_20SVW","block-total":"_2RcnX","filter-select":"_2WWzW","box-filter-left":"_MEKLd","filter-item":"_3KQ0G","btn-favorite-text":"_2HxpA","box-filter-right":"_wfMx1","search-input-icon":"_2pk-H","inputInput":"_TfkuE","table-border":"_OEcTC","time-Date":"_3N7z7","time-Hours-Minute":"_1jOw7","table-row":"_2jcL8","arrow-icon":"_10hwb","table-cell":"_3YpBx","btn-function":"__J0jK","avatar_user":"_2nLvF","data-grid-content":"_3sCAB","row_name":"_2fnqB","innerHtml":"_3r42i","table-class-type":"_3tbAL","btn-open":"_1Vgmy","row-status":"_oItGm","pending":"_3Yw4h","replied":"_1zClB","actionneeded":"_2K_LM","actionneed":"_1T4kH","bg-yellow":"_S8XOD","bg-green":"_3M-Iu","bg-red":"_1kk0-","noscheduled":"_Qmz2t","scheduled":"_HLo9e","completed":"_3U4Kw","schedule-now":"_w2de6","block-filter":"_3boYk","block-filter-right":"_Jb-VQ","title-filter":"_EkM6A","create-survey-container":"_13Als","box-create-survey":"_3ZeD0","box-form-input":"_2_Lbs","form-input-title":"_2eMwZ","check-box-btn":"_2SP5U","stepper":"_2dIQT","step-label":"_2fUwq","dialog-select-template":"_3N8Q3","icon-btn":"_1rTF7","icon-remove":"_2vYxh","title-btn":"_82x3C","title-box-model":"_3wglS","box-content-select":"_3nfCh","title-content-select":"_1mLDw","description-content-select":"_Hg1l5","box-function":"_3aIy7","cancel_btn":"_33pHa","confirm_btn":"_1Oqku","confirm_btn_title":"_lxY0i","confirm_btn_icon":"_2zK6C","box-function-flex":"_3MS9Q","box-collapse":"_82XGO","box-collapse-top":"_7DXq2","box-collapse-right":"_3ZAAk","collapse-chip":"_3vGgC","collapse-left-title":"_1a4Re","box-collapse-content-item":"_37Ftp","block-review-detail":"_1Lmrp","title-block":"_25k4D","block-content-review":"_2MyxF","box-content":"_2M2ub","title-content":"_2qWnj","block-template-review":"_26NEY","block-template-left":"_lrxw0","name-template-left":"_1ubim","select-right":"_3b0L0","description-template-left":"_1erRk","additional-box":"_3d0rZ","space-content":"_3rWo3","table-title":"_2v5b5","table-status":"_3Zgbw","Close":"_3_Z98","Active":"_1UqNT","box-header-select":"_1wJqN","header-select-name":"_Q-qNa","header-select-icon":"_3UAh4","list-question-select":"_AgPAZ","new-survey":"_3RD_x","title":"_21CPc","box-survey":"_1ikO6","avt-user":"_38Qdy","infor":"_2W6Cn","content-text":"_3fS-4","name":"_2V9ri","time":"_3LxCt"};
|
|
61672
|
+
var styles$O = {"icon-add-header":"_3msvE","sup-require":"_3cLXA","span-title":"_2zJd0","checked-favorite":"_-DbRo","table-desktop":"_1F8xx","data-grid":"_3TDU4","MuiDataGrid-columnSeparator":"_3ig99","block-list-survey":"_U4jvh","box-filter":"_20SVW","block-total":"_2RcnX","filter-select":"_2WWzW","box-filter-left":"_MEKLd","filter-item":"_3KQ0G","btn-favorite-text":"_2HxpA","box-filter-right":"_wfMx1","search-input-icon":"_2pk-H","inputInput":"_TfkuE","table-border":"_OEcTC","time-Date":"_3N7z7","time-Hours-Minute":"_1jOw7","table-row":"_2jcL8","arrow-icon":"_10hwb","table-cell":"_3YpBx","btn-function":"__J0jK","avatar_user":"_2nLvF","data-grid-content":"_3sCAB","row_name":"_2fnqB","innerHtml":"_3r42i","table-class-type":"_3tbAL","btn-open":"_1Vgmy","date-schedule":"_1m1n9","row-status":"_oItGm","pending":"_3Yw4h","replied":"_1zClB","actionneeded":"_2K_LM","actionneed":"_1T4kH","bg-yellow":"_S8XOD","bg-green":"_3M-Iu","bg-red":"_1kk0-","noscheduled":"_Qmz2t","scheduled":"_HLo9e","completed":"_3U4Kw","schedule-now":"_w2de6","block-filter":"_3boYk","block-filter-right":"_Jb-VQ","title-filter":"_EkM6A","create-survey-container":"_13Als","box-create-survey":"_3ZeD0","box-form-input":"_2_Lbs","form-input-title":"_2eMwZ","check-box-btn":"_2SP5U","stepper":"_2dIQT","step-label":"_2fUwq","dialog-select-template":"_3N8Q3","icon-btn":"_1rTF7","icon-remove":"_2vYxh","title-btn":"_82x3C","title-box-model":"_3wglS","box-content-select":"_3nfCh","title-content-select":"_1mLDw","description-content-select":"_Hg1l5","box-function":"_3aIy7","cancel_btn":"_33pHa","confirm_btn":"_1Oqku","confirm_btn_title":"_lxY0i","confirm_btn_icon":"_2zK6C","box-function-flex":"_3MS9Q","box-collapse":"_82XGO","box-collapse-top":"_7DXq2","box-collapse-right":"_3ZAAk","collapse-chip":"_3vGgC","collapse-left-title":"_1a4Re","box-collapse-content-item":"_37Ftp","block-review-detail":"_1Lmrp","title-block":"_25k4D","block-content-review":"_2MyxF","box-content":"_2M2ub","title-content":"_2qWnj","block-template-review":"_26NEY","block-template-left":"_lrxw0","name-template-left":"_1ubim","select-right":"_3b0L0","description-template-left":"_1erRk","additional-box":"_3d0rZ","space-content":"_3rWo3","table-title":"_2v5b5","table-status":"_3Zgbw","Close":"_3_Z98","Active":"_1UqNT","box-header-select":"_1wJqN","header-select-name":"_Q-qNa","header-select-icon":"_3UAh4","list-question-select":"_AgPAZ","new-survey":"_3RD_x","title":"_21CPc","box-survey":"_1ikO6","avt-user":"_38Qdy","infor":"_2W6Cn","content-text":"_3fS-4","name":"_2V9ri","time":"_3LxCt"};
|
|
61673
61673
|
|
|
61674
61674
|
var CardTotal = function CardTotal(_ref) {
|
|
61675
61675
|
var title = _ref.title,
|
|
@@ -62350,7 +62350,8 @@ var CustomFilterComponent = function CustomFilterComponent(_ref) {
|
|
|
62350
62350
|
handleChangeInputSearch = _ref.handleChangeInputSearch,
|
|
62351
62351
|
inputSearch = _ref.inputSearch,
|
|
62352
62352
|
isShowSelectRight = _ref.isShowSelectRight,
|
|
62353
|
-
handleChangeStatus = _ref.handleChangeStatus
|
|
62353
|
+
handleChangeStatus = _ref.handleChangeStatus,
|
|
62354
|
+
placeholderSearch = _ref.placeholderSearch;
|
|
62354
62355
|
return React__default.createElement(core.Grid, {
|
|
62355
62356
|
className: "" + styles["box-filter"]
|
|
62356
62357
|
}, React__default.createElement(core.Grid, {
|
|
@@ -62420,7 +62421,7 @@ var CustomFilterComponent = function CustomFilterComponent(_ref) {
|
|
|
62420
62421
|
}, React__default.createElement(core.Grid, {
|
|
62421
62422
|
className: "" + styles["search-input-icon"]
|
|
62422
62423
|
}, React__default.createElement(SearchIcon, null)), React__default.createElement(core.InputBase, {
|
|
62423
|
-
placeholder: "Search student",
|
|
62424
|
+
placeholder: !placeholderSearch ? "Search student" : placeholderSearch,
|
|
62424
62425
|
inputProps: {
|
|
62425
62426
|
"aria-label": "search"
|
|
62426
62427
|
},
|
|
@@ -62463,6 +62464,18 @@ var useListSurveyDetail = function useListSurveyDetail(_ref) {
|
|
|
62463
62464
|
});
|
|
62464
62465
|
};
|
|
62465
62466
|
|
|
62467
|
+
var handleShowSession = function handleShowSession(status, schedule, isDone) {
|
|
62468
|
+
if (status === "Completed") {
|
|
62469
|
+
return "Not Required";
|
|
62470
|
+
} else if (status === "Pending") {
|
|
62471
|
+
return "No Response yet";
|
|
62472
|
+
} else if (status === "ActionNeed" && !!schedule) {
|
|
62473
|
+
return !!isDone ? "Completed" : "Scheduled";
|
|
62474
|
+
} else {
|
|
62475
|
+
return false;
|
|
62476
|
+
}
|
|
62477
|
+
};
|
|
62478
|
+
|
|
62466
62479
|
var handleChangeInputSearch = function handleChangeInputSearch(e) {
|
|
62467
62480
|
var inputValue = e.target.value;
|
|
62468
62481
|
|
|
@@ -62556,7 +62569,8 @@ var useListSurveyDetail = function useListSurveyDetail(_ref) {
|
|
|
62556
62569
|
handleChangeRowsPerPage: handleChangeRowsPerPage,
|
|
62557
62570
|
dayLeftCellBgColor: dayLeftCellBgColor,
|
|
62558
62571
|
handleStartSurvey: handleStartSurvey,
|
|
62559
|
-
goToBookSession: goToBookSession
|
|
62572
|
+
goToBookSession: goToBookSession,
|
|
62573
|
+
handleShowSession: handleShowSession
|
|
62560
62574
|
};
|
|
62561
62575
|
};
|
|
62562
62576
|
|
|
@@ -62696,7 +62710,7 @@ var tablePendingSurvey = [{
|
|
|
62696
62710
|
name: "Day left",
|
|
62697
62711
|
tableWidth: 10,
|
|
62698
62712
|
sortName: "DayLeft",
|
|
62699
|
-
align: "
|
|
62713
|
+
align: "center"
|
|
62700
62714
|
}, {
|
|
62701
62715
|
name: "Favorite",
|
|
62702
62716
|
tableWidth: 10,
|
|
@@ -62753,7 +62767,7 @@ var tableActionNeedSurvey = [{
|
|
|
62753
62767
|
name: "Date",
|
|
62754
62768
|
tableWidth: 20,
|
|
62755
62769
|
sortName: "Date",
|
|
62756
|
-
align: "
|
|
62770
|
+
align: "left"
|
|
62757
62771
|
}, {
|
|
62758
62772
|
name: "Favorite",
|
|
62759
62773
|
tableWidth: 10,
|
|
@@ -62777,7 +62791,9 @@ var AllStudentSurvey = function AllStudentSurvey() {
|
|
|
62777
62791
|
handleSort = _useListSurveyDetail.handleSort,
|
|
62778
62792
|
handleChangePage = _useListSurveyDetail.handleChangePage,
|
|
62779
62793
|
handleChangeRowsPerPage = _useListSurveyDetail.handleChangeRowsPerPage,
|
|
62780
|
-
handleStartSurvey = _useListSurveyDetail.handleStartSurvey
|
|
62794
|
+
handleStartSurvey = _useListSurveyDetail.handleStartSurvey,
|
|
62795
|
+
handleShowSession = _useListSurveyDetail.handleShowSession,
|
|
62796
|
+
goToBookSession = _useListSurveyDetail.goToBookSession;
|
|
62781
62797
|
|
|
62782
62798
|
return React__default.createElement("div", null, React__default.createElement(core.Box, {
|
|
62783
62799
|
pl: 3,
|
|
@@ -62803,7 +62819,7 @@ var AllStudentSurvey = function AllStudentSurvey() {
|
|
|
62803
62819
|
align: "left",
|
|
62804
62820
|
className: "" + styles$O["row_name"]
|
|
62805
62821
|
}, React__default.createElement("img", {
|
|
62806
|
-
src: DEFAULT_USER_AVATAR$s,
|
|
62822
|
+
src: !row.avatar ? DEFAULT_USER_AVATAR$s : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.avatar),
|
|
62807
62823
|
alt: "",
|
|
62808
62824
|
className: "" + styles$O["avatar_user"]
|
|
62809
62825
|
}), row === null || row === void 0 ? void 0 : row.studentName), React__default.createElement(core.TableCell, {
|
|
@@ -62813,12 +62829,19 @@ var AllStudentSurvey = function AllStudentSurvey() {
|
|
|
62813
62829
|
className: "" + styles$O["table-class-type"]
|
|
62814
62830
|
}, React__default.createElement(core.Typography, {
|
|
62815
62831
|
className: styles$O["row-status"] + " " + styles$O[row === null || row === void 0 ? void 0 : (_row$status = row.status) === null || _row$status === void 0 ? void 0 : (_row$status$replace = _row$status.replace(/\s/g, "")) === null || _row$status$replace === void 0 ? void 0 : _row$status$replace.toLowerCase()]
|
|
62816
|
-
}, (row === null || row === void 0 ? void 0 : row.status) !== "ActionNeed" ? row === null || row === void 0 ? void 0 : row.status : "
|
|
62832
|
+
}, (row === null || row === void 0 ? void 0 : row.status) !== "ActionNeed" ? row === null || row === void 0 ? void 0 : row.status : "Action Need")), React__default.createElement(core.TableCell, {
|
|
62817
62833
|
component: "th",
|
|
62818
62834
|
scope: "row",
|
|
62819
62835
|
height: 80,
|
|
62820
62836
|
className: "" + styles$O["table-class-type"]
|
|
62821
|
-
}, row.
|
|
62837
|
+
}, handleShowSession(row.status, row.schedule, row.isDone) || React__default.createElement(core.Typography, {
|
|
62838
|
+
className: "" + styles$O["schedule-now"],
|
|
62839
|
+
onClick: function onClick() {
|
|
62840
|
+
return goToBookSession(row.studentId, row.id);
|
|
62841
|
+
}
|
|
62842
|
+
}, "Scheduled Now"), !!row.schedule && React__default.createElement(core.Typography, {
|
|
62843
|
+
className: "" + styles$O["date-schedule"]
|
|
62844
|
+
}, marioCore.utcToLocalTime(row.schedule, "Do MMM yyyy - hh:mm A").toString())), React__default.createElement(core.TableCell, {
|
|
62822
62845
|
align: "center",
|
|
62823
62846
|
component: "th",
|
|
62824
62847
|
scope: "row",
|
|
@@ -62886,7 +62909,7 @@ var PendingSurvey = function PendingSurvey() {
|
|
|
62886
62909
|
align: "left",
|
|
62887
62910
|
className: "" + styles$O["row_name"]
|
|
62888
62911
|
}, React__default.createElement("img", {
|
|
62889
|
-
src: DEFAULT_USER_AVATAR$t,
|
|
62912
|
+
src: !row.avatar ? DEFAULT_USER_AVATAR$t : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.avatar),
|
|
62890
62913
|
alt: "",
|
|
62891
62914
|
className: "" + styles$O["avatar_user"]
|
|
62892
62915
|
}), row === null || row === void 0 ? void 0 : row.studentName), React__default.createElement(core.TableCell, {
|
|
@@ -63006,7 +63029,7 @@ var RepliedSurvey = function RepliedSurvey() {
|
|
|
63006
63029
|
align: "left",
|
|
63007
63030
|
className: "" + styles$O["row_name"]
|
|
63008
63031
|
}, React__default.createElement("img", {
|
|
63009
|
-
src: DEFAULT_USER_AVATAR$u,
|
|
63032
|
+
src: !row.avatar ? DEFAULT_USER_AVATAR$u : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.avatar),
|
|
63010
63033
|
alt: "",
|
|
63011
63034
|
className: "" + styles$O["avatar_user"]
|
|
63012
63035
|
}), row === null || row === void 0 ? void 0 : row.studentName), React__default.createElement(core.TableCell, {
|
|
@@ -63103,7 +63126,7 @@ var ActionNeededSurvey = function ActionNeededSurvey() {
|
|
|
63103
63126
|
align: "left",
|
|
63104
63127
|
className: "" + styles$O["row_name"]
|
|
63105
63128
|
}, React__default.createElement("img", {
|
|
63106
|
-
src: DEFAULT_USER_AVATAR$v,
|
|
63129
|
+
src: !row.avatar ? DEFAULT_USER_AVATAR$v : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.avatar),
|
|
63107
63130
|
alt: "",
|
|
63108
63131
|
className: "" + styles$O["avatar_user"]
|
|
63109
63132
|
}), row === null || row === void 0 ? void 0 : row.studentName), React__default.createElement(core.TableCell, {
|
|
@@ -63830,7 +63853,7 @@ var TableSelectStudent = function TableSelectStudent(_ref) {
|
|
|
63830
63853
|
return React__default.createElement("div", {
|
|
63831
63854
|
className: "" + styles$O["row_name"]
|
|
63832
63855
|
}, React__default.createElement("img", {
|
|
63833
|
-
src: DEFAULT_USER_AVATAR$s,
|
|
63856
|
+
src: !params.row.avatar ? DEFAULT_USER_AVATAR$s : marioCore.getFileUrl(params.row.avatar),
|
|
63834
63857
|
alt: "",
|
|
63835
63858
|
className: "" + styles$O["avatar_user"]
|
|
63836
63859
|
}), params.row.studentName);
|
|
@@ -64709,7 +64732,7 @@ var PendingStudentSurvey = function PendingStudentSurvey() {
|
|
|
64709
64732
|
}, "New Survey"), React__default.createElement("div", {
|
|
64710
64733
|
className: "" + styles$O["box-survey"]
|
|
64711
64734
|
}, React__default.createElement("img", {
|
|
64712
|
-
src: newSurvey.profileImage,
|
|
64735
|
+
src: !newSurvey.profileImage ? DEFAULT_USER_AVATAR$w : marioCore.getFileUrl(newSurvey.profileImage),
|
|
64713
64736
|
alt: "",
|
|
64714
64737
|
className: "" + styles$O["avt-user"]
|
|
64715
64738
|
}), React__default.createElement("div", {
|
|
@@ -64743,7 +64766,7 @@ var PendingStudentSurvey = function PendingStudentSurvey() {
|
|
|
64743
64766
|
align: "left",
|
|
64744
64767
|
className: "" + styles$O["row_name"]
|
|
64745
64768
|
}, React__default.createElement("img", {
|
|
64746
|
-
src: DEFAULT_USER_AVATAR$w,
|
|
64769
|
+
src: !row.profileImage ? DEFAULT_USER_AVATAR$w : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.profileImage),
|
|
64747
64770
|
alt: "",
|
|
64748
64771
|
className: "" + styles$O["avatar_user"]
|
|
64749
64772
|
}), row.teacherName), React__default.createElement(core.TableCell, {
|
|
@@ -64815,7 +64838,8 @@ var CompletedStudentSurvey = function CompletedStudentSurvey() {
|
|
|
64815
64838
|
}, React__default.createElement(CustomFilterComponent, {
|
|
64816
64839
|
handleChangeInputSearch: handleChangeInputSearch,
|
|
64817
64840
|
filters: filters,
|
|
64818
|
-
inputSearch: inputSearch
|
|
64841
|
+
inputSearch: inputSearch,
|
|
64842
|
+
placeholderSearch: "Search survey"
|
|
64819
64843
|
})), React__default.createElement(core.TableContainer, null, React__default.createElement(core.Table, {
|
|
64820
64844
|
"aria-label": "simple table",
|
|
64821
64845
|
className: "" + styles$O["table-border"]
|
|
@@ -64831,7 +64855,7 @@ var CompletedStudentSurvey = function CompletedStudentSurvey() {
|
|
|
64831
64855
|
align: "left",
|
|
64832
64856
|
className: "" + styles$O["row_name"]
|
|
64833
64857
|
}, React__default.createElement("img", {
|
|
64834
|
-
src: DEFAULT_USER_AVATAR$x,
|
|
64858
|
+
src: !row.profileImage ? DEFAULT_USER_AVATAR$x : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.profileImage),
|
|
64835
64859
|
alt: "",
|
|
64836
64860
|
className: "" + styles$O["avatar_user"]
|
|
64837
64861
|
}), row.teacherName), React__default.createElement(core.TableCell, {
|
|
@@ -64905,7 +64929,8 @@ var MissedStudentSurvey = function MissedStudentSurvey() {
|
|
|
64905
64929
|
}, React__default.createElement(CustomFilterComponent, {
|
|
64906
64930
|
handleChangeInputSearch: handleChangeInputSearch,
|
|
64907
64931
|
filters: filters,
|
|
64908
|
-
inputSearch: inputSearch
|
|
64932
|
+
inputSearch: inputSearch,
|
|
64933
|
+
placeholderSearch: "Search survey"
|
|
64909
64934
|
})), React__default.createElement(core.TableContainer, null, React__default.createElement(core.Table, {
|
|
64910
64935
|
"aria-label": "simple table",
|
|
64911
64936
|
className: "" + styles$O["table-border"]
|
|
@@ -64921,7 +64946,7 @@ var MissedStudentSurvey = function MissedStudentSurvey() {
|
|
|
64921
64946
|
align: "left",
|
|
64922
64947
|
className: "" + styles$O["row_name"]
|
|
64923
64948
|
}, React__default.createElement("img", {
|
|
64924
|
-
src: DEFAULT_USER_AVATAR$y,
|
|
64949
|
+
src: !row.profileImage ? DEFAULT_USER_AVATAR$y : marioCore.getFileUrl(row === null || row === void 0 ? void 0 : row.profileImage),
|
|
64925
64950
|
alt: "",
|
|
64926
64951
|
className: "" + styles$O["avatar_user"]
|
|
64927
64952
|
}), row.teacherName), React__default.createElement(core.TableCell, {
|