mario-teacher-student-client 2.1.134-admin → 2.1.136-admin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/containers/ConductSurvey/hooks/useConductSurvey.d.ts +1 -1
- package/dist/containers/ConductSurvey/styles/makeStyles.d.ts +1 -1
- package/dist/containers/Surveys/hook/useListSurveyDetail.d.ts +4 -4
- package/dist/containers/Surveys/hook/useStudentSurvey.d.ts +1 -1
- package/dist/containers/Surveys/styles/makeStyles.d.ts +2 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -25,6 +25,6 @@ declare const useConductSurvey: () => {
|
|
|
25
25
|
setQuestionIBLearner: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
26
26
|
isSchedule: boolean;
|
|
27
27
|
isDone: boolean;
|
|
28
|
-
currentPage:
|
|
28
|
+
currentPage: import("react").ReactText;
|
|
29
29
|
};
|
|
30
30
|
export default useConductSurvey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => Record<"
|
|
1
|
+
export declare const useStyles: (props?: any) => Record<"body" | "title" | "tabs" | "tabLabel" | "tabLabelActive" | "tabLabelActiveWhite", string>;
|
|
@@ -10,11 +10,11 @@ declare const useListSurveyDetail: ({ type }: SURVEY_STUDENT_PROPS) => {
|
|
|
10
10
|
handleSort: (e: string) => void;
|
|
11
11
|
handleChangePage: (_event: unknown, newPage: number) => void;
|
|
12
12
|
handleChangeRowsPerPage: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
13
|
-
dayLeftCellBgColor: (dayLeft: number) => "" | "bg-red" | "bg-
|
|
13
|
+
dayLeftCellBgColor: (dayLeft: number) => "" | "bg-red" | "bg-green" | "bg-yellow";
|
|
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 | "Scheduled" | "No Response yet"
|
|
17
|
-
sessionBackground: (point: number | null) => "bg-red" | "bg-
|
|
18
|
-
flagCellBgColor: (flag: number) => "" | "bg-red" | "bg-
|
|
16
|
+
handleShowSession: (status: string, schedule: string, isDone: boolean) => false | "Completed" | "Scheduled" | "No Response yet";
|
|
17
|
+
sessionBackground: (point: number | null) => "bg-red" | "bg-green" | "bg-yellow";
|
|
18
|
+
flagCellBgColor: (flag: number) => "" | "bg-red" | "bg-green" | "bg-yellow";
|
|
19
19
|
};
|
|
20
20
|
export default useListSurveyDetail;
|
|
@@ -5,7 +5,7 @@ declare const useStudentSurvey: ({ type }: SURVEY_STUDENT_PROPS) => {
|
|
|
5
5
|
filters: FILTER_SURVEY;
|
|
6
6
|
inputSearch: import("react").MutableRefObject<any>;
|
|
7
7
|
handleChangeInputSearch: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
-
dayLeftCellBgColor: (dayLeft: number) => "" | "bg-red" | "bg-
|
|
8
|
+
dayLeftCellBgColor: (dayLeft: number) => "" | "bg-red" | "bg-green" | "bg-yellow";
|
|
9
9
|
newSurvey: NEW_SURVEY | undefined;
|
|
10
10
|
getNewSurveyData: () => Promise<void>;
|
|
11
11
|
handleSort: (e: string) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => Record<"
|
|
2
|
-
export declare const useStyleModelCreate: (props?: any) => Record<"
|
|
1
|
+
export declare const useStyles: (props?: any) => Record<"body" | "title" | "tabs" | "tabLabel" | "tabLabelActive", string>;
|
|
2
|
+
export declare const useStyleModelCreate: (props?: any) => Record<"label" | "root" | "completed" | "instructions", string>;
|
|
3
3
|
export declare const useStylesDataGrid: (props?: any) => Record<"root", string>;
|
package/dist/index.js
CHANGED
|
@@ -4910,6 +4910,7 @@ var ConfirmDeleteSessionConference = function ConfirmDeleteSessionConference(_re
|
|
|
4910
4910
|
handleCloseModalConfirmDelete = _ref.handleCloseModalConfirmDelete,
|
|
4911
4911
|
handleDelete = _ref.handleDelete,
|
|
4912
4912
|
selectedId = _ref.selectedId;
|
|
4913
|
+
console.log("run");
|
|
4913
4914
|
return React__default.createElement(core.Dialog, {
|
|
4914
4915
|
open: open,
|
|
4915
4916
|
onClose: handleCloseModalConfirmDelete
|
|
@@ -4918,7 +4919,7 @@ var ConfirmDeleteSessionConference = function ConfirmDeleteSessionConference(_re
|
|
|
4918
4919
|
fontSize: "18px",
|
|
4919
4920
|
fontWeight: 700
|
|
4920
4921
|
}
|
|
4921
|
-
}, isStudentStarted ? "Student
|
|
4922
|
+
}, isStudentStarted ? "Student has started this " + (isConference ? "conference" : "1-to-1") + ". Are you sure to delete ?" : "Student has not started this " + (isConference ? "conference" : "1-to-1") + ". Are you sure to delete ?")), React__default.createElement(core.DialogActions, {
|
|
4922
4923
|
style: {
|
|
4923
4924
|
padding: "20px"
|
|
4924
4925
|
}
|