mario-teacher-student-client 2.2.612-feedback → 2.2.613-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/Charts/RadialBarChartSVG.d.ts +7 -0
- package/dist/components/Dialog/ModelCongratulationsMissionAccomplished.d.ts +7 -0
- package/dist/containers/ClassLinkLogin/apiClients/index.d.ts +1 -0
- package/dist/containers/ClassLinkLogin/hooks/useClassLinkLogin.d.ts +2 -0
- package/dist/containers/ClassLinkLogin/views/ClassLinkLogin.d.ts +3 -0
- package/dist/containers/ConductOneToOne/components/ModelConfirmBackPage.d.ts +2 -0
- package/dist/containers/ConductOneToOne/components/RouterPrompt.d.ts +3 -0
- package/dist/containers/ConferenceRubric/styles/styles.d.ts +1 -0
- package/dist/containers/Home/hooks/useWeeklyQuest.d.ts +8 -0
- package/dist/containers/MyConversation/components/BookSession.d.ts +3 -0
- package/dist/containers/MyConversation/components/GoogleCalendar.d.ts +22 -0
- package/dist/containers/MyConversation/components/Loading.d.ts +3 -0
- package/dist/containers/MyConversation/components/ScheduleMobile.d.ts +10 -0
- package/dist/containers/MyConversation/components/SessionDetail.d.ts +3 -0
- package/dist/containers/MyConversation/components/SliderRange.d.ts +2 -0
- package/dist/containers/MyConversation/components/UiCompletedOneToOne.d.ts +3 -0
- package/dist/containers/MyConversation/components/dialog/DialogRecurrence.d.ts +15 -0
- package/dist/containers/MyConversation/components/dialog/DialogRequestOneToOne.d.ts +17 -0
- package/dist/containers/MyConversation/components/dialog/SelectQuestionNodes.d.ts +9 -0
- package/dist/containers/MyConversation/hooks/useAsync.d.ts +7 -0
- package/dist/containers/MyConversation/hooks/useAudioRecorder.d.ts +7 -0
- package/dist/containers/MyConversation/hooks/useChangeRoteQuestion.d.ts +5 -0
- package/dist/containers/MyConversation/hooks/useDetailSession.d.ts +10 -0
- package/dist/containers/MyConversation/hooks/useNoteSession.d.ts +15 -0
- package/dist/containers/MyOneToOne/components/Conversation.d.ts +3 -0
- package/dist/containers/MyOneToOne/hooks/useConversation.d.ts +35 -0
- package/dist/containers/PLP/components/SummarizeQuestion.d.ts +3 -0
- package/dist/containers/Surveys/components/Intervention.d.ts +4 -0
- package/dist/containers/Surveys/components/InterventionQuestion.d.ts +4 -0
- package/dist/containers/UserProfile/apiClient/profileService.d.ts +2 -0
- package/dist/containers/UserProfile/constants/constants.d.ts +6 -0
- package/dist/containers/UserProfile/constants/types.d.ts +34 -0
- package/dist/containers/UserProfile/hook/useStudentProfile.d.ts +10 -0
- package/dist/containers/UserProfile/views/StudentProfile.d.ts +3 -0
- package/package.json +2 -2
- package/dist/components/Tabs/TabCheckInAndOneToOne.d.ts +0 -5
- package/dist/components/icons/sessions/ArrowLeftIcon.d.ts +0 -5
- package/dist/components/icons/sessions/ArrowRightIcon.d.ts +0 -5
- package/dist/components/icons/sessions/BackgroundSessionImage.d.ts +0 -3
- package/dist/components/icons/sessions/BuggerMenuIcon.d.ts +0 -5
- package/dist/components/icons/sessions/CalendarIcon.d.ts +0 -6
- package/dist/components/icons/sessions/DataOneToOneIcon.d.ts +0 -6
- package/dist/components/icons/sessions/DecreaseIcon.d.ts +0 -5
- package/dist/components/icons/sessions/DeleteIcon.d.ts +0 -6
- package/dist/components/icons/sessions/DoneCheckInIcon.d.ts +0 -5
- package/dist/components/icons/sessions/DoneOneToOneIcon.d.ts +0 -5
- package/dist/components/icons/sessions/DownIcon.d.ts +0 -5
- package/dist/components/icons/sessions/EditIcon.d.ts +0 -5
- package/dist/components/icons/sessions/GradeIcon.d.ts +0 -6
- package/dist/components/icons/sessions/IncreaseIcon.d.ts +0 -5
- package/dist/components/icons/sessions/UpIcon.d.ts +0 -5
- package/dist/components/selector/SortBySelector.d.ts +0 -8
- package/dist/components/selector/TopicSelector.d.ts +0 -8
- package/dist/components/selector/hooks/useSortBySelector.d.ts +0 -20
- package/dist/components/selector/hooks/useTopicSelector.d.ts +0 -17
- package/dist/containers/ConductOneToOne/components/CheckinInformation.d.ts +0 -19
- package/dist/containers/ConductOneToOne/components/ProcessItem.d.ts +0 -10
- package/dist/containers/ConductOneToOne/views/CheckInProgress.d.ts +0 -3
- package/dist/containers/MyOneToOne/components/AnswerSession.d.ts +0 -4
- package/dist/containers/MyOneToOne/components/CheckInCompleted.d.ts +0 -3
- package/dist/containers/MyOneToOne/components/CompletedSessionItem.d.ts +0 -4
- package/dist/containers/MyOneToOne/constants/constants.d.ts +0 -8
- package/dist/containers/MyOneToOne/hooks/useCheckInAndOneToOne.d.ts +0 -13
- package/dist/containers/MyOneToOne/views/CheckInAndOneToOne.d.ts +0 -3
- /package/dist/components/Dialog/{GuideCheckIn.d.ts → GuideCheckin.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const apiGetAccessToken: (query: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useCollapseStyles: (props?: any) => Record<"svg" | "polygon" | "root" | "container" | "paper", string>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IWeeklyQuest, SourceWeeklyQuests } from "../../../types/types";
|
|
2
|
+
declare const useWeeklyQuest: () => {
|
|
3
|
+
weeklyQuests: IWeeklyQuest[];
|
|
4
|
+
handleGetLinkQuest: (source: SourceWeeklyQuests) => string | undefined;
|
|
5
|
+
handleGetStepStatus: (quests: IWeeklyQuest[]) => boolean[];
|
|
6
|
+
handleCompleteTheQuest: (src: string) => void;
|
|
7
|
+
};
|
|
8
|
+
export default useWeeklyQuest;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
3
|
+
export interface GoogleCalendarEvent {
|
|
4
|
+
description: string;
|
|
5
|
+
endDate: string;
|
|
6
|
+
id: string;
|
|
7
|
+
startDate: string;
|
|
8
|
+
status: string;
|
|
9
|
+
summary: string;
|
|
10
|
+
location: string;
|
|
11
|
+
sessionId: number;
|
|
12
|
+
summaryStudent?: string;
|
|
13
|
+
summaryTeacher?: string;
|
|
14
|
+
}
|
|
15
|
+
interface Props {
|
|
16
|
+
studentUserId: string;
|
|
17
|
+
date: MaterialUiPickersDate;
|
|
18
|
+
teacherUserId?: string;
|
|
19
|
+
isSession: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const GoogleCalendar: FC<Props>;
|
|
22
|
+
export default GoogleCalendar;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
3
|
+
interface Props {
|
|
4
|
+
studentUserId: string;
|
|
5
|
+
date: MaterialUiPickersDate;
|
|
6
|
+
teacherUserId?: string;
|
|
7
|
+
isStudentSchedule: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const ScheduleMobile: FC<Props>;
|
|
10
|
+
export default ScheduleMobile;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
handleClose: Function;
|
|
4
|
+
open: boolean;
|
|
5
|
+
applyValue: Function;
|
|
6
|
+
selectedDate?: any;
|
|
7
|
+
dataSession?: any;
|
|
8
|
+
}
|
|
9
|
+
export declare enum EndType {
|
|
10
|
+
Never = "Never",
|
|
11
|
+
On = "On",
|
|
12
|
+
After = "After"
|
|
13
|
+
}
|
|
14
|
+
declare const Recurrence: ({ open, handleClose, applyValue, dataSession }: Props) => JSX.Element;
|
|
15
|
+
export default Recurrence;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
studentId?: number;
|
|
4
|
+
isTeacherStart?: string;
|
|
5
|
+
setIsTeacherStart?: Function;
|
|
6
|
+
setStudentId?: Function;
|
|
7
|
+
onClickStartQuestion?: Function;
|
|
8
|
+
handleClose?: any;
|
|
9
|
+
updateSchedule?: Function;
|
|
10
|
+
surveyId?: number;
|
|
11
|
+
isSession?: boolean;
|
|
12
|
+
teacherEmailStart?: string;
|
|
13
|
+
setTeacherEmailStart?: Function;
|
|
14
|
+
isHiddenForLater?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const DialogRequestOneToOne: ({ setStudentId, onClickStartQuestion, handleClose, studentId, updateSchedule, surveyId, isTeacherStart, setIsTeacherStart, teacherEmailStart, setTeacherEmailStart, isHiddenForLater }: Props) => JSX.Element;
|
|
17
|
+
export default DialogRequestOneToOne;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface ISelectQuestionNodesProps {
|
|
3
|
+
setIsShowQuestionList: Function;
|
|
4
|
+
setInputValue: Function;
|
|
5
|
+
listLearningStrategoryCategory?: any;
|
|
6
|
+
currentSessionTypeId?: any;
|
|
7
|
+
}
|
|
8
|
+
declare const SelectQuestionNodes: (props: ISelectQuestionNodesProps) => JSX.Element;
|
|
9
|
+
export default SelectQuestionNodes;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const useChangeRoteQuestion: () => {
|
|
2
|
+
changeRouteQuestion: (studentId: number, isTeacherStartSession?: string | undefined, teacherEmailStart?: string | undefined) => Promise<void>;
|
|
3
|
+
updateSchedule: (surveyId: number, studentId: number) => Promise<void>;
|
|
4
|
+
};
|
|
5
|
+
export default useChangeRoteQuestion;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const useDetailSession: () => {
|
|
2
|
+
getDataLearningCategories: () => Promise<void>;
|
|
3
|
+
dataLearningCategories: any;
|
|
4
|
+
deleteSession: () => Promise<void>;
|
|
5
|
+
getOneSession: () => Promise<void>;
|
|
6
|
+
dataSession: any;
|
|
7
|
+
sessionId: string;
|
|
8
|
+
update: (data: any, studentFullName: string) => Promise<void>;
|
|
9
|
+
};
|
|
10
|
+
export default useDetailSession;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const useNoteSession: () => {
|
|
2
|
+
teacherNoteData: any;
|
|
3
|
+
studentNoteData: any;
|
|
4
|
+
privateNoteData: any;
|
|
5
|
+
changRouteQuestion: (studentId: number) => Promise<void>;
|
|
6
|
+
getAllNoteSession: (sessionId: any) => Promise<void>;
|
|
7
|
+
createSessionSingleNote: (note: any, sessionResultId: any, sessionId: any) => Promise<void>;
|
|
8
|
+
deleteNote: (noteId: any, sessionId: any) => Promise<void>;
|
|
9
|
+
updatePrivateNote: (privateNote: any, sessionId: any) => Promise<void>;
|
|
10
|
+
createConferenceSingleNote: (note: any, conferenceAnswerId: any, conferenceId: any) => Promise<void>;
|
|
11
|
+
getAllNoteConference: (sessionId: any) => Promise<void>;
|
|
12
|
+
updateConferenceRubricPrivateNote: (privateNote: any, conferenceId: any) => Promise<void>;
|
|
13
|
+
deleteNoteConference: (noteId: any, sessionId: any) => Promise<void>;
|
|
14
|
+
};
|
|
15
|
+
export default useNoteSession;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FILTER_SESSION } from "../constants/types";
|
|
3
|
+
declare const useConversation: () => {
|
|
4
|
+
isSessionStarted: boolean;
|
|
5
|
+
handleDeleteSession: (sessionId: number) => Promise<void>;
|
|
6
|
+
handleOpenModalConfirmDelete: (itemId: number, isSessionCheckIn?: boolean | undefined) => Promise<void>;
|
|
7
|
+
handleCloseModalConfirmDelete: () => void;
|
|
8
|
+
selectedSessionId: number;
|
|
9
|
+
openModalConfirmDelete: boolean;
|
|
10
|
+
sessionData: any;
|
|
11
|
+
teacherNoteData: any;
|
|
12
|
+
studentNoteData: any;
|
|
13
|
+
privateNoteData: any;
|
|
14
|
+
bookSession: (data: any) => Promise<void>;
|
|
15
|
+
setFilters: import("react").Dispatch<import("react").SetStateAction<FILTER_SESSION>>;
|
|
16
|
+
changeFilters: (updatedFilters: any) => void;
|
|
17
|
+
filters: FILTER_SESSION;
|
|
18
|
+
changRouteQuestion: (studentId: number, isTeacherStartSession?: string | undefined, teacherEmailStart?: string | undefined) => Promise<void>;
|
|
19
|
+
getAllNoteSession: (sessionId: any) => Promise<void>;
|
|
20
|
+
createSessionSingleNote: (note: any, sessionResultId: any, sessionId: any) => Promise<void>;
|
|
21
|
+
deleteNote: (noteId: any, sessionId: any) => Promise<void>;
|
|
22
|
+
updatePrivateNote: (privateNote: any, sessionId: any) => Promise<void>;
|
|
23
|
+
nextSession: any;
|
|
24
|
+
createConferenceSingleNote: (note: any, conferenceAnswerId: any, conferenceId: any) => Promise<void>;
|
|
25
|
+
getAllNoteConference: (sessionId: any) => Promise<void>;
|
|
26
|
+
updateConferenceRubricPrivateNote: (privateNote: any, conferenceId: any) => Promise<void>;
|
|
27
|
+
deleteNoteConference: (noteId: any, sessionId: any) => Promise<void>;
|
|
28
|
+
studentNameReq: string | null;
|
|
29
|
+
classFontSize: string;
|
|
30
|
+
useStyles: (props?: any) => Record<"fontCustom" | "select", string>;
|
|
31
|
+
isSessionCheckIn: boolean;
|
|
32
|
+
doingTheQuestLink: string | null;
|
|
33
|
+
pathname: string;
|
|
34
|
+
};
|
|
35
|
+
export default useConversation;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IStudentProfile } from "./types";
|
|
2
|
+
export declare const mtssOptions: string[];
|
|
3
|
+
export declare const MAX_SIZE = 20097152;
|
|
4
|
+
export declare const gradeLevels: string[];
|
|
5
|
+
export declare const genders: string[];
|
|
6
|
+
export declare const initialProfile: IStudentProfile;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface IDesignation {
|
|
2
|
+
name: string;
|
|
3
|
+
id: number;
|
|
4
|
+
}
|
|
5
|
+
export interface IStudentProfile {
|
|
6
|
+
firstNameParent1: string;
|
|
7
|
+
lastNameParent1: string;
|
|
8
|
+
roleParent1: string;
|
|
9
|
+
phoneNumberParent1: string;
|
|
10
|
+
emailParent1: string;
|
|
11
|
+
isSaved1: boolean;
|
|
12
|
+
secondary: string;
|
|
13
|
+
firstNameParent2: string;
|
|
14
|
+
lastNameParent2: string;
|
|
15
|
+
roleParent2: string;
|
|
16
|
+
phoneNumberParent2: string;
|
|
17
|
+
emailParent2: string;
|
|
18
|
+
isSaved2: boolean;
|
|
19
|
+
third: string;
|
|
20
|
+
designationId?: number;
|
|
21
|
+
address: string;
|
|
22
|
+
email: string;
|
|
23
|
+
lastName: string;
|
|
24
|
+
firstName: string;
|
|
25
|
+
note?: string;
|
|
26
|
+
healthNote?: string;
|
|
27
|
+
mtss?: string;
|
|
28
|
+
gradeLevel?: string;
|
|
29
|
+
calendarId?: string;
|
|
30
|
+
phoneNumber?: number;
|
|
31
|
+
dateOfBirth?: string;
|
|
32
|
+
legalGender?: string;
|
|
33
|
+
studentProfileImage?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IStudentProfile } from "../constants/types";
|
|
3
|
+
declare const useStudentProfile: () => {
|
|
4
|
+
isGender: boolean;
|
|
5
|
+
studentProfile: IStudentProfile;
|
|
6
|
+
setStudentProfile: import("react").Dispatch<import("react").SetStateAction<IStudentProfile>>;
|
|
7
|
+
handleImgChange: (e: any) => void;
|
|
8
|
+
imagePreviewUrl: any;
|
|
9
|
+
};
|
|
10
|
+
export default useStudentProfile;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mario-teacher-student-client",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.613-feedback",
|
|
4
4
|
"description": "Made with create-react-library",
|
|
5
5
|
"author": "brss",
|
|
6
6
|
"license": "MIT",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"fullcalendar": "^5.10.1",
|
|
91
91
|
"jspdf": "^2.5.0",
|
|
92
92
|
"lodash": "^4.17.21",
|
|
93
|
-
"mario-core": "2.9.
|
|
93
|
+
"mario-core": "2.9.392-feedback",
|
|
94
94
|
"material-ui": "^0.20.2",
|
|
95
95
|
"moment": "^2.29.1",
|
|
96
96
|
"node-sass": "^5.0.0",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SIMPLE_DIALOG } from "../../containers/MyOneToOne/constants/types";
|
|
3
|
-
export declare const SimpleDialog: (props: SIMPLE_DIALOG) => JSX.Element;
|
|
4
|
-
declare const TabCheckInAndOneToOne: (props: any) => JSX.Element;
|
|
5
|
-
export default TabCheckInAndOneToOne;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ISortBySelector {
|
|
3
|
-
label: string;
|
|
4
|
-
value: string;
|
|
5
|
-
}
|
|
6
|
-
declare type Props = {
|
|
7
|
-
value: string;
|
|
8
|
-
onChange: (val: string) => void;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare const useSortBySelector: (props: Props) => {
|
|
12
|
-
defaultValue: ISortBySelector | undefined;
|
|
13
|
-
isOpen: boolean | undefined;
|
|
14
|
-
options: ISortBySelector[];
|
|
15
|
-
ref: import("react").RefObject<HTMLDivElement>;
|
|
16
|
-
setOpen: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
|
|
17
|
-
handleChangeValue: (val: ISortBySelector) => void;
|
|
18
|
-
handleToggleOpen: () => void;
|
|
19
|
-
};
|
|
20
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare type Props = {
|
|
3
|
-
value: string;
|
|
4
|
-
onChange: (val: string) => void;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare const splitKey = "-!#~#!%%-";
|
|
8
|
-
export declare const useTopicSelector: (props: Props) => {
|
|
9
|
-
defaultValue: any;
|
|
10
|
-
isOpen: boolean | undefined;
|
|
11
|
-
options: any[];
|
|
12
|
-
ref: import("react").RefObject<HTMLDivElement>;
|
|
13
|
-
setOpen: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
|
|
14
|
-
handleChangeValue: (val: any) => void;
|
|
15
|
-
handleToggleOpen: () => void;
|
|
16
|
-
};
|
|
17
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface IProps {
|
|
3
|
-
name: string;
|
|
4
|
-
startTime: any;
|
|
5
|
-
grade: string | number;
|
|
6
|
-
sessionId: string;
|
|
7
|
-
sessionResultId: number;
|
|
8
|
-
second: number;
|
|
9
|
-
informationUser: any;
|
|
10
|
-
openScaffolding: boolean;
|
|
11
|
-
onOpenScaffolding: any;
|
|
12
|
-
onCloseScaffolding: any;
|
|
13
|
-
isUserChangeSession: boolean;
|
|
14
|
-
isConversation: boolean;
|
|
15
|
-
studentUserId: number;
|
|
16
|
-
classFontSize: string;
|
|
17
|
-
}
|
|
18
|
-
declare const CheckInInformation: FC<IProps>;
|
|
19
|
-
export default CheckInInformation;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const checkInDateByTime: {
|
|
2
|
-
label: string;
|
|
3
|
-
startTime: number;
|
|
4
|
-
endTime: number;
|
|
5
|
-
}[];
|
|
6
|
-
export declare const getQuestionAnswer: (value: number, texts: string[]) => string;
|
|
7
|
-
export declare const getColorAnswer: (value: number) => string;
|
|
8
|
-
export declare const darkenColor: (rgbaString: string) => string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const useCheckInAndOneToOne: () => {
|
|
3
|
-
tabs: {
|
|
4
|
-
path: string;
|
|
5
|
-
title: string;
|
|
6
|
-
component: () => JSX.Element;
|
|
7
|
-
}[];
|
|
8
|
-
pathname: string;
|
|
9
|
-
history: import("history").History<unknown>;
|
|
10
|
-
params: URLSearchParams;
|
|
11
|
-
toggle: (path: any) => void;
|
|
12
|
-
};
|
|
13
|
-
export default useCheckInAndOneToOne;
|
|
File without changes
|