mario-teacher-student-client 2.0.4 → 2.0.5
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/Card/CardItem.d.ts +0 -13
- package/dist/components/Card/CardSwitch.d.ts +0 -9
- package/dist/components/Input/InputComponent.d.ts +0 -8
- package/dist/containers/AboutMyLearning/components/AboutMyLearning.d.ts +0 -3
- package/dist/containers/AboutMyLearning/components/AboutMyLearningList.d.ts +0 -3
- package/dist/containers/AboutMyLearning/constants/type.d.ts +0 -7
- package/dist/containers/AboutMyLearning/hook/useAboutMyLearning.d.ts +0 -11
- package/dist/containers/Accommodation/components/Accomondation.d.ts +0 -3
- package/dist/containers/Accommodation/components/AccomondationList.d.ts +0 -3
- package/dist/containers/Accommodation/constants/type.d.ts +0 -6
- package/dist/containers/Accommodation/hook/useAccommodation.d.ts +0 -10
- package/dist/containers/ConductOneToOne/components/SimpleDialog.d.ts +3 -0
- package/dist/containers/ConductOneToOne/hooks/useCountDown.d.ts +0 -0
- package/dist/containers/ConferenceRubric/components/SimpleDialog.d.ts +3 -0
- package/dist/containers/LearningPlan/views/LearningPlan.d.ts +0 -3
- package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +3 -3
- package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useTopLearningStrategies.d.ts +0 -4
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/TopLearningStrategies.d.ts +0 -1
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/TopLearningStrategiesChart.d.ts +0 -3
- package/dist/containers/PersonalLearningPlan/PersonalInterests/apiClient/personalInterestApi.d.ts +0 -6
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +0 -36
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterrest.d.ts +0 -3
- package/dist/containers/PersonalLearningPlan/PersonalInterests/services/personalInterestsService.d.ts +0 -6
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/PersonalLearningGoal.d.ts +0 -3
- package/dist/containers/StrengthsAndChallenges/components/dialogs/CreateEditDialog.d.ts +0 -3
- package/dist/containers/StrengthsAndChallenges/hook/useStrengthsChallenges.d.ts +0 -8
- package/dist/containers/StrengthsAndChallenges/views/DetailStrengthsAndChallenges.d.ts +0 -3
- package/dist/containers/StrengthsAndChallenges/views/SummaryStrengthsAndChallenges.d.ts +0 -3
- package/dist/containers/ThingTeachersCanHelp/components/ThingTeachersCanHelp.d.ts +0 -3
- package/dist/containers/ThingTeachersCanHelp/components/ThingTeachersCanHelpList.d.ts +0 -3
- package/dist/containers/ThingTeachersCanHelp/constants/type.d.ts +0 -5
- package/dist/containers/ThingTeachersCanHelp/hook/useThingTeachersCanHelp.d.ts +0 -11
- package/dist/index.js +104 -74
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +104 -74
- package/dist/index.modern.js.map +1 -1
- package/dist/services/AboutMyLearning.d.ts +0 -7
- package/dist/services/PersonalLearningPlan.d.ts +0 -6
- package/dist/services/StrengthsChallenges.d.ts +0 -4
- package/dist/services/ThingTeachersCanHelp.d.ts +0 -7
- package/package.json +1 -1
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface Props {
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
status?: string;
|
|
6
|
-
id?: number;
|
|
7
|
-
handleDelete: Function;
|
|
8
|
-
handleEdit: Function;
|
|
9
|
-
note?: boolean;
|
|
10
|
-
contentWidth?: number;
|
|
11
|
-
}
|
|
12
|
-
declare const CardItem: ({ title, description, status, id, handleDelete, handleEdit, note, contentWidth }: Props) => JSX.Element;
|
|
13
|
-
export default CardItem;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const useAboutMyLearning: () => {
|
|
2
|
-
create: (data: any) => Promise<void>;
|
|
3
|
-
update: (id: number, data: any) => Promise<void>;
|
|
4
|
-
getById: (id: number) => Promise<void>;
|
|
5
|
-
deleteById: (id: number) => Promise<void>;
|
|
6
|
-
updateAllow: (data: any) => Promise<void>;
|
|
7
|
-
listData: any;
|
|
8
|
-
getOneData: any;
|
|
9
|
-
isAllowedEdit: boolean;
|
|
10
|
-
};
|
|
11
|
-
export default useAboutMyLearning;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare const useAccommodation: () => {
|
|
2
|
-
create: (data: any) => Promise<void>;
|
|
3
|
-
update: (id: number, data: any) => Promise<void>;
|
|
4
|
-
getById: (id: number, data: any) => Promise<void>;
|
|
5
|
-
deleteById: (id: number) => Promise<void>;
|
|
6
|
-
updateAllow: (data: any) => Promise<void>;
|
|
7
|
-
accommodationData: any;
|
|
8
|
-
isAllowedEdit: boolean;
|
|
9
|
-
};
|
|
10
|
-
export default useAccommodation;
|
|
File without changes
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: React.MemoExoticComponent<(props: any) => JSX.Element>;
|
|
3
|
+
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTopLearningStrategiesApi: (studentId: any) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/containers/PersonalLearningPlan/PersonalInterests/apiClient/personalInterestApi.d.ts
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const createDataPersonalInterestApi: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
-
export declare const uploadFilePersonalInterestApi: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
-
export declare const getDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
-
export declare const editDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
-
export declare const updateDataPersonalInterestApi: (id: number, body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
-
export declare const deleteDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
declare const usePersonalInterest: () => {
|
|
2
|
-
upDateData: () => Promise<void>;
|
|
3
|
-
editData: (id: number) => Promise<void>;
|
|
4
|
-
sendDataCreate: () => Promise<void>;
|
|
5
|
-
deleteDataItem: () => Promise<void>;
|
|
6
|
-
handleClose: () => void;
|
|
7
|
-
handleCloseEdit: () => void;
|
|
8
|
-
handUpload: (e: any) => void;
|
|
9
|
-
handleCloseDelete: () => void;
|
|
10
|
-
dataList: any;
|
|
11
|
-
handUploadEdit: (e: any) => void;
|
|
12
|
-
openModal: boolean;
|
|
13
|
-
openModalDelete: boolean;
|
|
14
|
-
openModalEdit: boolean;
|
|
15
|
-
targetImage: any;
|
|
16
|
-
fileUploadEdit: string;
|
|
17
|
-
fileAvatarEdit: string;
|
|
18
|
-
deleteData: (id: number) => void;
|
|
19
|
-
handOpenModal: () => void;
|
|
20
|
-
handCloseModalEdit: () => void;
|
|
21
|
-
handCloseModalDelete: () => void;
|
|
22
|
-
value: string;
|
|
23
|
-
fileAvatar: string;
|
|
24
|
-
valueAddActivity: string;
|
|
25
|
-
onChangeSetData: (e: any) => void;
|
|
26
|
-
onChangeSetDataNote: (e: any) => void;
|
|
27
|
-
dataEdit: {
|
|
28
|
-
id: string;
|
|
29
|
-
Title: string;
|
|
30
|
-
Note: string;
|
|
31
|
-
studentId: string;
|
|
32
|
-
};
|
|
33
|
-
onChangeSetDataEdit: (e: any) => void;
|
|
34
|
-
onChangeSetDataEditNote: (e: any) => void;
|
|
35
|
-
};
|
|
36
|
-
export default usePersonalInterest;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const createDataPersonalInterest: (dispatch: any, data: any) => Promise<void>;
|
|
2
|
-
export declare const getDataPersonalInterest: (dispatch: any, id: number) => Promise<any>;
|
|
3
|
-
export declare const upDateDataPersonalInterest: (dispatch: any, idupdate: number, dataUpload: any) => Promise<void>;
|
|
4
|
-
export declare const deleteataPersonalInterest: (dispatch: any, iddelete: number) => Promise<void>;
|
|
5
|
-
export declare const uploadFilePersonalInterest: (dispatch: any, file: string) => Promise<any>;
|
|
6
|
-
export declare const editDataPersonalInterest: (dispatch: any, id: number) => Promise<any>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare const useStrengthsChallenges: () => {
|
|
2
|
-
strengthsChallengesData: any;
|
|
3
|
-
getStrengthChallenge: (studentId: any) => Promise<void>;
|
|
4
|
-
postStrengthChallenge: (formData: any) => Promise<void>;
|
|
5
|
-
putStrengthChallenge: (id: any, formData: any) => Promise<void>;
|
|
6
|
-
deleteStrengthChallenge: (id: any) => Promise<void>;
|
|
7
|
-
};
|
|
8
|
-
export default useStrengthsChallenges;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const useThingTeachersCanHelp: () => {
|
|
2
|
-
create: (data: any) => Promise<void>;
|
|
3
|
-
update: (id: number, data: any) => Promise<void>;
|
|
4
|
-
getById: (id: number) => Promise<void>;
|
|
5
|
-
deleteById: (id: number) => Promise<void>;
|
|
6
|
-
updateAllow: (data: any) => Promise<void>;
|
|
7
|
-
listData: any;
|
|
8
|
-
getOneData: any;
|
|
9
|
-
isAllowedEdit: boolean;
|
|
10
|
-
};
|
|
11
|
-
export default useThingTeachersCanHelp;
|
package/dist/index.js
CHANGED
|
@@ -153,7 +153,7 @@ var getUnreadNotification = function getUnreadNotification() {
|
|
|
153
153
|
|
|
154
154
|
var NOTIFICATION_CHANNEL = "NOTIFICATION_CHANNEL";
|
|
155
155
|
var NEW_NOTIFICATION = "NEW_NOTIFICATION";
|
|
156
|
-
var drawerWidth =
|
|
156
|
+
var drawerWidth = 280;
|
|
157
157
|
var headerHeightDesktop = 64;
|
|
158
158
|
var headerHeightMobile = 55;
|
|
159
159
|
var headerHeightScroll = 0;
|
|
@@ -5301,7 +5301,10 @@ var HeaderComponent = function HeaderComponent(_ref) {
|
|
|
5301
5301
|
}, React__default.createElement(BiArrowBack, {
|
|
5302
5302
|
className: styles["header-icon"]
|
|
5303
5303
|
}), " ", text)), isShowButtonPageHeader && screenWidth > 600 && React__default.createElement("div", {
|
|
5304
|
-
className: "styles[\"header-right\"]"
|
|
5304
|
+
className: "styles[\"header-right\"]",
|
|
5305
|
+
style: {
|
|
5306
|
+
marginRight: "50px"
|
|
5307
|
+
}
|
|
5305
5308
|
}, React__default.createElement(core.Button, {
|
|
5306
5309
|
variant: "contained",
|
|
5307
5310
|
className: isShowButtonBackGround ? styles["btn-conduct-session"] : styles["btn-conduct-session-disabled"],
|
|
@@ -8157,6 +8160,7 @@ var DialogNodes = function DialogNodes(props) {
|
|
|
8157
8160
|
className: "" + stylesOto["footer-note-form"],
|
|
8158
8161
|
value: inputValue,
|
|
8159
8162
|
onChange: handleChange,
|
|
8163
|
+
maxRows: 6,
|
|
8160
8164
|
style: {
|
|
8161
8165
|
border: "none"
|
|
8162
8166
|
},
|
|
@@ -8196,6 +8200,55 @@ var DialogNodes = function DialogNodes(props) {
|
|
|
8196
8200
|
}))))));
|
|
8197
8201
|
};
|
|
8198
8202
|
|
|
8203
|
+
function areEqual(prevProps, nextProps) {
|
|
8204
|
+
if (prevProps.checkOpenModal == nextProps.checkOpenModal) return false;
|
|
8205
|
+
return true;
|
|
8206
|
+
}
|
|
8207
|
+
|
|
8208
|
+
var DialogNodes$1 = React__default.memo(DialogNodes, areEqual);
|
|
8209
|
+
|
|
8210
|
+
var SimpleDialog$2 = function SimpleDialog(props) {
|
|
8211
|
+
var onClose = props.onClose,
|
|
8212
|
+
selectedValue = props.selectedValue,
|
|
8213
|
+
open = props.open,
|
|
8214
|
+
checkOpenModal = props.checkOpenModal,
|
|
8215
|
+
listLearningStrategoryCategory = props.listLearningStrategoryCategory,
|
|
8216
|
+
currentSessionTypeId = props.currentSessionTypeId;
|
|
8217
|
+
|
|
8218
|
+
var handleClose = function handleClose() {
|
|
8219
|
+
if (localStorage.getItem("activeTab") != null) {
|
|
8220
|
+
localStorage.removeItem("activeTab");
|
|
8221
|
+
}
|
|
8222
|
+
|
|
8223
|
+
onClose(selectedValue);
|
|
8224
|
+
};
|
|
8225
|
+
|
|
8226
|
+
return React__default.createElement(core.Dialog, {
|
|
8227
|
+
onClose: handleClose,
|
|
8228
|
+
open: open,
|
|
8229
|
+
fullWidth: true,
|
|
8230
|
+
maxWidth: "sm",
|
|
8231
|
+
style: {
|
|
8232
|
+
maxHeight: "90%",
|
|
8233
|
+
marginTop: "80px"
|
|
8234
|
+
}
|
|
8235
|
+
}, React__default.createElement(DialogNodes$1, {
|
|
8236
|
+
handleClose: handleClose,
|
|
8237
|
+
sessionId: props.sessionId,
|
|
8238
|
+
sessionResultId: props.sessionResultId,
|
|
8239
|
+
checkOpenModal: checkOpenModal,
|
|
8240
|
+
listLearningStrategoryCategory: listLearningStrategoryCategory,
|
|
8241
|
+
currentSessionTypeId: currentSessionTypeId
|
|
8242
|
+
}));
|
|
8243
|
+
};
|
|
8244
|
+
|
|
8245
|
+
function areEqual$1(prevProps, nextProps) {
|
|
8246
|
+
if (prevProps.checkOpenModal == nextProps.checkOpenModal) return false;
|
|
8247
|
+
return true;
|
|
8248
|
+
}
|
|
8249
|
+
|
|
8250
|
+
var SimpleDialog$3 = React__default.memo(SimpleDialog$2, areEqual$1);
|
|
8251
|
+
|
|
8199
8252
|
function NodeDraggable(props) {
|
|
8200
8253
|
var _useState = React.useState({
|
|
8201
8254
|
xAxis: 0,
|
|
@@ -8272,41 +8325,6 @@ var ConductIndex = function ConductIndex() {
|
|
|
8272
8325
|
setOpen(false);
|
|
8273
8326
|
};
|
|
8274
8327
|
|
|
8275
|
-
var SimpleDialog = function SimpleDialog(props) {
|
|
8276
|
-
var onClose = props.onClose,
|
|
8277
|
-
selectedValue = props.selectedValue,
|
|
8278
|
-
open = props.open,
|
|
8279
|
-
checkOpenModal = props.checkOpenModal,
|
|
8280
|
-
listLearningStrategoryCategory = props.listLearningStrategoryCategory,
|
|
8281
|
-
currentSessionTypeId = props.currentSessionTypeId;
|
|
8282
|
-
|
|
8283
|
-
var handleClose = function handleClose() {
|
|
8284
|
-
if (localStorage.getItem("activeTab") != null) {
|
|
8285
|
-
localStorage.removeItem("activeTab");
|
|
8286
|
-
}
|
|
8287
|
-
|
|
8288
|
-
onClose(selectedValue);
|
|
8289
|
-
};
|
|
8290
|
-
|
|
8291
|
-
return React__default.createElement(core.Dialog, {
|
|
8292
|
-
onClose: handleClose,
|
|
8293
|
-
open: open,
|
|
8294
|
-
fullWidth: true,
|
|
8295
|
-
maxWidth: "sm",
|
|
8296
|
-
style: {
|
|
8297
|
-
maxHeight: "90%",
|
|
8298
|
-
marginTop: "80px"
|
|
8299
|
-
}
|
|
8300
|
-
}, React__default.createElement(DialogNodes, {
|
|
8301
|
-
handleClose: handleClose,
|
|
8302
|
-
sessionId: sessionId,
|
|
8303
|
-
sessionResultId: sessionResultId,
|
|
8304
|
-
checkOpenModal: checkOpenModal,
|
|
8305
|
-
listLearningStrategoryCategory: listLearningStrategoryCategory,
|
|
8306
|
-
currentSessionTypeId: currentSessionTypeId
|
|
8307
|
-
}));
|
|
8308
|
-
};
|
|
8309
|
-
|
|
8310
8328
|
var history = reactRouterDom.useHistory();
|
|
8311
8329
|
var questionRatings = listQuestionStudents.filter(function (item) {
|
|
8312
8330
|
return item.type == QuestionType.Rating && !!item.isBeforeSession;
|
|
@@ -8562,13 +8580,15 @@ var ConductIndex = function ConductIndex() {
|
|
|
8562
8580
|
}
|
|
8563
8581
|
}, React__default.createElement(NodeDraggable, {
|
|
8564
8582
|
handleClickOpen: handleClickOpen
|
|
8565
|
-
})), React__default.createElement(SimpleDialog, {
|
|
8583
|
+
})), React__default.createElement(SimpleDialog$3, {
|
|
8566
8584
|
selectedValue: "",
|
|
8567
8585
|
open: open,
|
|
8568
8586
|
onClose: handleClose,
|
|
8569
8587
|
checkOpenModal: checkOpenModal,
|
|
8570
8588
|
listLearningStrategoryCategory: listLearningStrategoryCategory,
|
|
8571
|
-
currentSessionTypeId: sessionTypeCategoryId
|
|
8589
|
+
currentSessionTypeId: sessionTypeCategoryId,
|
|
8590
|
+
sessionId: sessionId,
|
|
8591
|
+
sessionResultId: sessionResultId
|
|
8572
8592
|
}), React__default.createElement(core.Dialog, {
|
|
8573
8593
|
open: openModalSession,
|
|
8574
8594
|
onClose: handleModalSessionClose,
|
|
@@ -17355,6 +17375,44 @@ var useConferenceRubric = function useConferenceRubric() {
|
|
|
17355
17375
|
};
|
|
17356
17376
|
};
|
|
17357
17377
|
|
|
17378
|
+
var SimpleDialog$4 = function SimpleDialog(props) {
|
|
17379
|
+
var onClose = props.onClose,
|
|
17380
|
+
selectedValue = props.selectedValue,
|
|
17381
|
+
open = props.open,
|
|
17382
|
+
checkOpenModal = props.checkOpenModal,
|
|
17383
|
+
conferenceId = props.conferenceId,
|
|
17384
|
+
isTeacher = props.isTeacher,
|
|
17385
|
+
conferenceResult = props.conferenceResult;
|
|
17386
|
+
|
|
17387
|
+
var handleClose = function handleClose() {
|
|
17388
|
+
if (localStorage.getItem("activeTab") != null) {
|
|
17389
|
+
localStorage.removeItem("activeTab");
|
|
17390
|
+
}
|
|
17391
|
+
|
|
17392
|
+
onClose(selectedValue);
|
|
17393
|
+
};
|
|
17394
|
+
|
|
17395
|
+
return React__default.createElement(core.Dialog, {
|
|
17396
|
+
onClose: handleClose,
|
|
17397
|
+
open: open,
|
|
17398
|
+
fullWidth: true,
|
|
17399
|
+
maxWidth: "sm"
|
|
17400
|
+
}, React__default.createElement(DialogNodes$1, {
|
|
17401
|
+
handleClose: handleClose,
|
|
17402
|
+
sessionId: conferenceId,
|
|
17403
|
+
sessionResultId: isTeacher ? conferenceResult.teacherResultId : conferenceResult.studentResultId,
|
|
17404
|
+
checkOpenModal: checkOpenModal,
|
|
17405
|
+
isPageConference: true
|
|
17406
|
+
}));
|
|
17407
|
+
};
|
|
17408
|
+
|
|
17409
|
+
function areEqual$2(prevProps, nextProps) {
|
|
17410
|
+
if (prevProps.checkOpenModal == nextProps.checkOpenModal) return false;
|
|
17411
|
+
return true;
|
|
17412
|
+
}
|
|
17413
|
+
|
|
17414
|
+
var SimpleDialog$5 = React__default.memo(SimpleDialog$4, areEqual$2);
|
|
17415
|
+
|
|
17358
17416
|
var QuestionType$1;
|
|
17359
17417
|
|
|
17360
17418
|
(function (QuestionType) {
|
|
@@ -17512,38 +17570,6 @@ var ConferenceRubric = function ConferenceRubric() {
|
|
|
17512
17570
|
document.title = "Start conference";
|
|
17513
17571
|
!!foundId && getPartnerProfileSelector(foundId);
|
|
17514
17572
|
}, [foundId]);
|
|
17515
|
-
|
|
17516
|
-
var SimpleDialog = function SimpleDialog(props) {
|
|
17517
|
-
var onClose = props.onClose,
|
|
17518
|
-
selectedValue = props.selectedValue,
|
|
17519
|
-
open = props.open,
|
|
17520
|
-
checkOpenModal = props.checkOpenModal,
|
|
17521
|
-
conferenceId = props.conferenceId,
|
|
17522
|
-
isTeacher = props.isTeacher,
|
|
17523
|
-
conferenceResult = props.conferenceResult;
|
|
17524
|
-
|
|
17525
|
-
var handleClose = function handleClose() {
|
|
17526
|
-
if (localStorage.getItem("activeTab") != null) {
|
|
17527
|
-
localStorage.removeItem("activeTab");
|
|
17528
|
-
}
|
|
17529
|
-
|
|
17530
|
-
onClose(selectedValue);
|
|
17531
|
-
};
|
|
17532
|
-
|
|
17533
|
-
return React__default.createElement(core.Dialog, {
|
|
17534
|
-
onClose: handleClose,
|
|
17535
|
-
open: open,
|
|
17536
|
-
fullWidth: true,
|
|
17537
|
-
maxWidth: "sm"
|
|
17538
|
-
}, React__default.createElement(DialogNodes, {
|
|
17539
|
-
handleClose: handleClose,
|
|
17540
|
-
sessionId: conferenceId,
|
|
17541
|
-
sessionResultId: isTeacher ? conferenceResult.teacherResultId : conferenceResult.studentResultId,
|
|
17542
|
-
checkOpenModal: checkOpenModal,
|
|
17543
|
-
isPageConference: true
|
|
17544
|
-
}));
|
|
17545
|
-
};
|
|
17546
|
-
|
|
17547
17573
|
return React__default.createElement("div", {
|
|
17548
17574
|
className: styles$7["block-conference"]
|
|
17549
17575
|
}, React__default.createElement(HeaderComponent, {
|
|
@@ -17666,7 +17692,7 @@ var ConferenceRubric = function ConferenceRubric() {
|
|
|
17666
17692
|
}
|
|
17667
17693
|
}, React__default.createElement(NodeDraggable, {
|
|
17668
17694
|
handleClickOpen: handleClickOpen
|
|
17669
|
-
})), React__default.createElement(ScrollToTopBtn, null), React__default.createElement(SimpleDialog, {
|
|
17695
|
+
})), React__default.createElement(ScrollToTopBtn, null), React__default.createElement(SimpleDialog$5, {
|
|
17670
17696
|
selectedValue: "",
|
|
17671
17697
|
open: open,
|
|
17672
17698
|
onClose: handleClose,
|
|
@@ -21904,6 +21930,10 @@ function NotificationsPage() {
|
|
|
21904
21930
|
var updateSetting = React.useCallback(function () {
|
|
21905
21931
|
return updateSettingPage(dataSetting);
|
|
21906
21932
|
}, [dataSetting]);
|
|
21933
|
+
var roles = reactRedux.useSelector(function (state) {
|
|
21934
|
+
return state.common.user;
|
|
21935
|
+
}).roles;
|
|
21936
|
+
console.log(roles.includes('Teacher'));
|
|
21907
21937
|
return React__default.createElement("div", {
|
|
21908
21938
|
id: "setting-page",
|
|
21909
21939
|
className: classes.paddindNotificationsPage
|
|
@@ -21945,7 +21975,7 @@ function NotificationsPage() {
|
|
|
21945
21975
|
}
|
|
21946
21976
|
}, React__default.createElement("p", {
|
|
21947
21977
|
className: classes.textNotifications
|
|
21948
|
-
}, "Send notification when a student quick start a session/conference"), React__default.createElement(core.Switch, {
|
|
21978
|
+
}, "Send notification when a", roles.includes('Teacher') ? "student" : "teacher", " quick start a session/conference"), React__default.createElement(core.Switch, {
|
|
21949
21979
|
color: "primary",
|
|
21950
21980
|
name: "IsReceiveNotificationBookedSession",
|
|
21951
21981
|
onChange: onChangeDataSettingPage,
|
|
@@ -21961,7 +21991,7 @@ function NotificationsPage() {
|
|
|
21961
21991
|
}
|
|
21962
21992
|
}, React__default.createElement("p", {
|
|
21963
21993
|
className: classes.textNotifications
|
|
21964
|
-
}, "Send notification when a student books a session/conference"), React__default.createElement(core.Switch, {
|
|
21994
|
+
}, "Send notification when a", roles.includes('Teacher') ? "student" : "teacher", " books a session/conference"), React__default.createElement(core.Switch, {
|
|
21965
21995
|
color: "primary",
|
|
21966
21996
|
name: "IsReceiveNotificationPrebookedSession",
|
|
21967
21997
|
onChange: onChangeDataSettingPage,
|