mario-teacher-student-client 2.1.23 → 2.1.24-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/Button/NormalButton.d.ts +13 -0
- package/dist/components/Dialog/ModalAssistant.d.ts +10 -0
- package/dist/components/Header/HeaderComponent.d.ts +1 -0
- package/dist/components/Input/InputComponent.d.ts +3 -2
- package/dist/components/Input/TextFieldComponent.d.ts +2 -1
- package/dist/components/QuestionTypes/LearningStrategyComponent.d.ts +2 -0
- package/dist/components/QuestionTypes/LearningStrategyConference.d.ts +12 -0
- package/dist/components/QuestionTypes/QuestionComponent.d.ts +2 -0
- package/dist/components/QuestionTypes/SingleChoiceComponent.d.ts +2 -0
- package/dist/components/selector/AssistantSelector.d.ts +3 -0
- package/dist/components/selector/StudentMultiSelector.d.ts +3 -0
- package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +3 -1
- package/dist/containers/ActionPoint/components/DoneList/hooks/useDoneList.d.ts +1 -0
- package/dist/containers/ActionPoint/components/TodoList/hooks/useTodoList.d.ts +1 -0
- package/dist/containers/ActionPoint/constants/types.d.ts +0 -2
- package/dist/containers/ActivityCircle/hooks/useListDetailActivity.d.ts +5 -0
- package/dist/containers/ConductOneToOne/components/QuestionConduct.d.ts +1 -0
- package/dist/containers/ConductOneToOne/hooks/useConductOne.d.ts +3 -0
- package/dist/containers/ConductOneToOne/hooks/useCountDown.d.ts +1 -1
- package/dist/containers/ConferenceRubric/components/RubricTable.d.ts +1 -0
- package/dist/containers/ConferenceRubric/components/StartRubric.d.ts +4 -3
- package/dist/containers/ConferenceRubric/hooks/useAutoSaveConferenceRubric.d.ts +1 -2
- package/dist/containers/ConferenceRubric/hooks/useConferenceRubric.d.ts +3 -0
- package/dist/containers/ConferenceRubric/hooks/useCoutdownConference.d.ts +1 -1
- package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +2 -1
- package/dist/containers/MyOneToOne/components/GoogleCalendar.d.ts +2 -0
- package/dist/containers/MyStudent/components/ChartOverview.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChartOneToOne.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatConference.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatLearningProgress.d.ts +3 -3
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/TopLearningStrategiesChart.d.ts +1 -0
- package/dist/containers/MyStudent/hooks/useStudentList.d.ts +6 -0
- package/dist/containers/Note/enum/categories.d.ts +2 -1
- package/dist/containers/Note/type/note.d.ts +1 -0
- package/dist/containers/PLP/components/PlpPage.d.ts +3 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/apiClient/personalInterestApi.d.ts +1 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +5 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/services/personalInterestsService.d.ts +1 -0
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/usePersonalInterest.d.ts +1 -0
- package/dist/containers/PersonalLearningPlan/components/PieChart/PieChart.d.ts +6 -0
- package/dist/containers/PersonalLearningPlan/components/PieChart/ultis.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/MineNotesScreen.d.ts +2 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/PrivateNotesScreen.d.ts +1 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingAnswerTextarea.d.ts +5 -3
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingListingNotes.d.ts +2 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/ScaffoldingFloatTab.d.ts +2 -0
- package/dist/index.css +134 -26
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3547 -2090
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3508 -2052
- package/dist/index.modern.js.map +1 -1
- package/dist/services/Goals.d.ts +6 -6
- package/dist/services/MyStudent.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
color?: string;
|
|
4
|
+
label: string;
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
width?: string;
|
|
8
|
+
fontSize?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
height?: number;
|
|
11
|
+
}
|
|
12
|
+
declare const NormalButton: FC<IProps>;
|
|
13
|
+
export default NormalButton;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface IConfirmCancel {
|
|
3
|
+
title: string;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
confirmAndClose: () => void;
|
|
6
|
+
onChangeAssistant: Function;
|
|
7
|
+
handleConfirm: Function;
|
|
8
|
+
}
|
|
9
|
+
declare const ModalAssistant: FC<IConfirmCancel>;
|
|
10
|
+
export default ModalAssistant;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
interface Props {
|
|
3
3
|
customId?: string;
|
|
4
4
|
valueText: string;
|
|
5
|
-
onChange
|
|
5
|
+
onChange?: Function;
|
|
6
6
|
name?: string;
|
|
7
7
|
isAddIcon?: boolean;
|
|
8
8
|
handleAddItem?: Function;
|
|
@@ -11,6 +11,7 @@ interface Props {
|
|
|
11
11
|
isSending?: boolean;
|
|
12
12
|
handleSending?: Function;
|
|
13
13
|
canSubmit?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
14
15
|
}
|
|
15
|
-
declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending, canSubmit }: Props) => JSX.Element;
|
|
16
|
+
declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending, canSubmit, disabled }: Props) => JSX.Element;
|
|
16
17
|
export default InputComponent;
|
|
@@ -5,6 +5,7 @@ interface Props {
|
|
|
5
5
|
onChangeQuestionAnswer?: (questionId: number, value: string) => void;
|
|
6
6
|
isPageResult?: boolean;
|
|
7
7
|
isPageSessionResult?: boolean;
|
|
8
|
+
isUserChangeSession?: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const TextFieldComponent: ({ questionId, valueText, onChangeQuestionAnswer, isPageResult, isPageSessionResult }: Props) => JSX.Element;
|
|
10
|
+
declare const TextFieldComponent: ({ questionId, valueText, onChangeQuestionAnswer, isPageResult, isPageSessionResult, isUserChangeSession }: Props) => JSX.Element;
|
|
10
11
|
export default TextFieldComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { LearningStrategyType } from "../../containers/ConductOneToOne/constant/types";
|
|
3
|
+
interface Props {
|
|
4
|
+
listLearningStrategory: LearningStrategyType[];
|
|
5
|
+
questionId: number;
|
|
6
|
+
onChangeQuestionAnswer?: Function;
|
|
7
|
+
valueText: string;
|
|
8
|
+
isResultPage?: boolean;
|
|
9
|
+
isUserChangeConference?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const LearningStrategyConference: FC<Props>;
|
|
12
|
+
export default LearningStrategyConference;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { FORM_REQUEST } from "../../../constants/types";
|
|
2
3
|
declare type PropsType = {
|
|
3
4
|
actionId: number;
|
|
4
5
|
reloadRef: React.MutableRefObject<any>;
|
|
@@ -6,8 +7,9 @@ declare type PropsType = {
|
|
|
6
7
|
declare const useDialogRequest: (_props: PropsType, ref: any) => {
|
|
7
8
|
open: boolean;
|
|
8
9
|
isTeacher: any;
|
|
10
|
+
isAssistant: any;
|
|
9
11
|
classList: never[];
|
|
10
|
-
formData:
|
|
12
|
+
formData: FORM_REQUEST;
|
|
11
13
|
changeFormData: (updatedForm: any) => void;
|
|
12
14
|
changeTitle: (e: any) => void;
|
|
13
15
|
handleDateChange: (date: any) => void;
|
|
@@ -21,5 +21,10 @@ declare const useListDetailActivity: () => {
|
|
|
21
21
|
getData: () => Promise<void>;
|
|
22
22
|
deleteActivity: (cb?: any) => Promise<void>;
|
|
23
23
|
classFontSize: string;
|
|
24
|
+
ACTIVITY_LIST: {
|
|
25
|
+
id: number;
|
|
26
|
+
images: string;
|
|
27
|
+
text: string;
|
|
28
|
+
}[];
|
|
24
29
|
};
|
|
25
30
|
export default useListDetailActivity;
|
|
@@ -29,5 +29,8 @@ declare const useConductOne: () => {
|
|
|
29
29
|
setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
30
30
|
classFontSize: string;
|
|
31
31
|
isStudentChangeAfter: boolean;
|
|
32
|
+
startTimerSession: any;
|
|
33
|
+
isUserChangeSession: boolean;
|
|
34
|
+
setIsUserChangeSession: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
32
35
|
};
|
|
33
36
|
export default useConductOne;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeTime } from "../constant/types";
|
|
2
|
-
declare const useCountDown: (typeTime: TypeTime, sessionResultId: number) => {
|
|
2
|
+
declare const useCountDown: (typeTime: TypeTime, sessionResultId: number, isUserChangeSession: boolean) => {
|
|
3
3
|
hour: number;
|
|
4
4
|
minute: number;
|
|
5
5
|
second: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { CONFERENCE_RUBRIC_ANSWER_TYPES, CONFERENCE_RUBRIC_TYPES } from "../configs/constants";
|
|
3
3
|
interface Props {
|
|
4
4
|
rubric: CONFERENCE_RUBRIC_TYPES;
|
|
@@ -13,6 +13,7 @@ interface Props {
|
|
|
13
13
|
imageStudent: string;
|
|
14
14
|
isPageResultConference?: boolean;
|
|
15
15
|
classFontSize: string;
|
|
16
|
+
isUserChangeConference: boolean;
|
|
16
17
|
}
|
|
17
|
-
declare const
|
|
18
|
-
export default
|
|
18
|
+
declare const _default: React.NamedExoticComponent<Props>;
|
|
19
|
+
export default _default;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CONFERENCE_RUBRIC_ANSWER_TYPES, CONFERENCE_RUBRIC_ITEM_ANSWER,
|
|
2
|
+
import { CONFERENCE_RUBRIC_ANSWER_TYPES, CONFERENCE_RUBRIC_ITEM_ANSWER, ROW_ANSWER } from "../configs/constants";
|
|
3
3
|
declare const useAutoSaveConferenceRubric: () => {
|
|
4
4
|
startRubric: (sessionResultId: number) => Promise<void>;
|
|
5
5
|
answerConferenceRubric: CONFERENCE_RUBRIC_ANSWER_TYPES;
|
|
6
6
|
setAnswerConferenceRubric: import("react").Dispatch<import("react").SetStateAction<CONFERENCE_RUBRIC_ANSWER_TYPES>>;
|
|
7
7
|
autoUpdateItemAnswer: (itemAnswerId: number, itemAnswer: CONFERENCE_RUBRIC_ITEM_ANSWER) => Promise<void>;
|
|
8
8
|
autoUpdateRowAnswer: (rowAnswerId: number, rowAnswer: ROW_ANSWER) => Promise<void>;
|
|
9
|
-
timeOutSaveQuestion: (questionAnswerId: number, questionAnswer: QUESTIONS_RESPONSE) => void;
|
|
10
9
|
};
|
|
11
10
|
export default useAutoSaveConferenceRubric;
|
|
@@ -24,6 +24,7 @@ declare const useConferenceRubric: () => {
|
|
|
24
24
|
dateStartSession: string;
|
|
25
25
|
isTeacher: any;
|
|
26
26
|
isStudent: any;
|
|
27
|
+
isAssistant: boolean;
|
|
27
28
|
isUnlocked: boolean;
|
|
28
29
|
setIsUnclocked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
29
30
|
onChangeToogleAfterSession: () => Promise<void>;
|
|
@@ -50,5 +51,7 @@ declare const useConferenceRubric: () => {
|
|
|
50
51
|
numberOfEdit: number;
|
|
51
52
|
classFontSize: string;
|
|
52
53
|
isStudentChangeAfter: boolean;
|
|
54
|
+
startTimerConference: any;
|
|
55
|
+
isUserChangeConference: boolean;
|
|
53
56
|
};
|
|
54
57
|
export default useConferenceRubric;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeTime } from "../configs/types";
|
|
2
|
-
declare const useCountdownConference: (typeTime: TypeTime, conferenceAnswerId: number, numberOfEdit: number) => {
|
|
2
|
+
declare const useCountdownConference: (typeTime: TypeTime, conferenceAnswerId: number, numberOfEdit: number, isUserChangeConference: boolean) => {
|
|
3
3
|
hour: number;
|
|
4
4
|
minute: number;
|
|
5
5
|
second: number;
|
|
@@ -13,6 +13,7 @@ declare const useAddLearningStrategies: () => {
|
|
|
13
13
|
studentId: any;
|
|
14
14
|
isShowChoose: boolean;
|
|
15
15
|
searchString: string;
|
|
16
|
+
selected: string;
|
|
16
17
|
};
|
|
17
18
|
selectData: any;
|
|
18
19
|
handleAddLearningStrategy: () => Promise<void>;
|
|
@@ -22,6 +23,6 @@ declare const useAddLearningStrategies: () => {
|
|
|
22
23
|
handleShowSelectItemCount: () => number;
|
|
23
24
|
classFontSize: string;
|
|
24
25
|
bestFits: string[];
|
|
25
|
-
selectedChange: (e: string[]) =>
|
|
26
|
+
selectedChange: (e: string[]) => void;
|
|
26
27
|
};
|
|
27
28
|
export default useAddLearningStrategies;
|
|
@@ -15,5 +15,5 @@ interface Props {
|
|
|
15
15
|
options: any;
|
|
16
16
|
classFontSize: string;
|
|
17
17
|
}
|
|
18
|
-
declare const ChartOneToOne: ({ title, series,
|
|
18
|
+
declare const ChartOneToOne: ({ title, series, handleChangeStartDate, handleChangeEndDate, timeEnd, timeStart, options, classFontSize }: Props) => JSX.Element;
|
|
19
19
|
export default ChartOneToOne;
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
optionConference: any;
|
|
13
13
|
classFontSize: string;
|
|
14
14
|
}
|
|
15
|
-
declare const ChatConference: ({ title, seriesConference,
|
|
15
|
+
declare const ChatConference: ({ title, seriesConference, handleChangeStartDateConference, handleChangeEndDateConference, timeEndConference, optionConference, timeStartConference, classFontSize }: Props) => JSX.Element;
|
|
16
16
|
export default ChatConference;
|
package/dist/containers/MyStudent/components/NewOverview/Chat/view/ChatLearningProgress.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ interface Props {
|
|
|
3
3
|
title: string;
|
|
4
4
|
studentId: any;
|
|
5
5
|
seriesLearningProgress: any;
|
|
6
|
-
widthChartLearningProgress
|
|
7
|
-
heightChartLearningProgress
|
|
6
|
+
widthChartLearningProgress?: any;
|
|
7
|
+
heightChartLearningProgress?: any;
|
|
8
8
|
handleChangeStartLearningProgress: any;
|
|
9
9
|
handleChangeEndLearningProgress: any;
|
|
10
10
|
timeEndLearningProgress: any;
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
optionLearningProgress: any;
|
|
13
13
|
classFontSize: string;
|
|
14
14
|
}
|
|
15
|
-
declare const ChatLearningProgress: ({ title, seriesLearningProgress,
|
|
15
|
+
declare const ChatLearningProgress: ({ title, seriesLearningProgress, handleChangeStartLearningProgress, handleChangeEndLearningProgress, timeEndLearningProgress, timeStartLearningProgress, optionLearningProgress, classFontSize }: Props) => JSX.Element;
|
|
16
16
|
export default ChatLearningProgress;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FILTER_STUDENT_SESSION } from "../constants/types";
|
|
2
3
|
declare const useStudentList: () => {
|
|
3
4
|
students: any;
|
|
@@ -10,5 +11,10 @@ declare const useStudentList: () => {
|
|
|
10
11
|
classFontSize: string;
|
|
11
12
|
useStyles: (props?: any) => Record<"select" | "fontCustom", string>;
|
|
12
13
|
defaultFont: any;
|
|
14
|
+
onSubmitAssistant: (cb: Function) => Promise<void>;
|
|
15
|
+
setAssistantId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
16
|
+
setStudentAssistant: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
17
|
+
isRoleTeacherAndAssistant: boolean;
|
|
18
|
+
nameTeacherAssistant: any;
|
|
13
19
|
};
|
|
14
20
|
export default useStudentList;
|
package/dist/containers/PersonalLearningPlan/PersonalInterests/apiClient/personalInterestApi.d.ts
CHANGED
|
@@ -6,3 +6,4 @@ export declare const updateDataPersonalInterestApi: (id: number, body: any) => P
|
|
|
6
6
|
export declare const deleteDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
7
|
export declare const allowEdit: (id: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
8
|
export declare const getAllowEdit: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
9
|
+
export declare const getPolarQuestion: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -38,5 +38,10 @@ declare const usePersonalInterest: (studentId: number) => {
|
|
|
38
38
|
isCheckChange: boolean;
|
|
39
39
|
setIsCheckChange: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
40
40
|
classFontSize: string;
|
|
41
|
+
ACTIVITY_LIST: {
|
|
42
|
+
id: number;
|
|
43
|
+
images: string;
|
|
44
|
+
text: string;
|
|
45
|
+
}[];
|
|
41
46
|
};
|
|
42
47
|
export default usePersonalInterest;
|
|
@@ -6,3 +6,4 @@ export declare const uploadFilePersonalInterest: (dispatch: any, file: string) =
|
|
|
6
6
|
export declare const editDataPersonalInterest: (dispatch: any, id: number) => Promise<any>;
|
|
7
7
|
export declare const updateAllow: (dispatch: any, studentId: any, data: any) => Promise<void>;
|
|
8
8
|
export declare const getAllow: (dispatch: any, studentId: any) => Promise<any>;
|
|
9
|
+
export declare const getAveragePolarQuestion: (dispatch: any, studentId: any) => Promise<any>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface Props {
|
|
3
3
|
value: string;
|
|
4
|
-
onChange
|
|
5
|
-
onSubmit
|
|
4
|
+
onChange?: Function;
|
|
5
|
+
onSubmit?: Function;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
isUserChangeSession?: boolean;
|
|
6
8
|
}
|
|
7
|
-
declare const ScaffoldingAnswerTextarea: ({ value, onChange, onSubmit }: Props) => JSX.Element;
|
|
9
|
+
declare const ScaffoldingAnswerTextarea: ({ value, onChange, onSubmit, disabled, isUserChangeSession }: Props) => JSX.Element;
|
|
8
10
|
export default ScaffoldingAnswerTextarea;
|
|
@@ -11,6 +11,8 @@ declare type PropsType = {
|
|
|
11
11
|
note: string;
|
|
12
12
|
onChangeNote: Function;
|
|
13
13
|
onSubmitSingleNote: Function;
|
|
14
|
+
isUserChangeSession: boolean;
|
|
15
|
+
isDone: boolean;
|
|
14
16
|
};
|
|
15
17
|
declare const ScaffoldingListingNotes: (props: PropsType) => JSX.Element;
|
|
16
18
|
export default ScaffoldingListingNotes;
|
package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/ScaffoldingFloatTab.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ declare type PropsType = {
|
|
|
6
6
|
conferenceId: number;
|
|
7
7
|
conferenceResultId: number;
|
|
8
8
|
informationUser: any;
|
|
9
|
+
isUserChangeSession: boolean;
|
|
10
|
+
isDone: boolean;
|
|
9
11
|
};
|
|
10
12
|
declare const ScaffoldingFloatTab: (props: PropsType) => JSX.Element;
|
|
11
13
|
export default ScaffoldingFloatTab;
|