mario-teacher-student-client 3.0.6-admin → 3.0.7-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/components/Button/SwitchComponent.d.ts +9 -0
- package/dist/components/Tabs/CustomTabNote.d.ts +3 -0
- package/dist/containers/ConductSurvey/components/ConductTop/ConductTop.d.ts +17 -0
- package/dist/containers/ConductSurvey/hooks/useConductOne.d.ts +21 -0
- package/dist/containers/ConductSurvey/hooks/useCountDown.d.ts +8 -0
- package/dist/containers/ConductSurvey/hooks/useIsMounted.d.ts +2 -0
- package/dist/containers/ConductSurvey/views/SessionResultComponent.d.ts +3 -0
- package/dist/containers/ExternalSurvey/components/IBLearnerComponent.d.ts +12 -0
- package/dist/containers/ExternalSurvey/hooks/useConductSurvey.d.ts +21 -0
- package/dist/containers/GoalPage/apiClient/apiGoals.d.ts +6 -0
- package/dist/containers/GoalPage/components/CardGoalItem.d.ts +3 -0
- package/dist/containers/GoalPage/components/CardItem/CardGoalItem.d.ts +4 -0
- package/dist/containers/GoalPage/components/CardItem/StatusTargetComponent.d.ts +4 -0
- package/dist/containers/GoalPage/components/CardItem/TargetItem.d.ts +4 -0
- package/dist/containers/GoalPage/components/CreateGoalModel.d.ts +4 -0
- package/dist/containers/GoalPage/components/CustomInputDatePicker.d.ts +4 -0
- package/dist/containers/GoalPage/components/FilterGoalPage.d.ts +3 -0
- package/dist/containers/GoalPage/components/Steps/BaseLine.d.ts +4 -0
- package/dist/containers/GoalPage/components/Steps/ChooseArea.d.ts +4 -0
- package/dist/containers/GoalPage/components/Steps/DetailFormCreate.d.ts +4 -0
- package/dist/containers/GoalPage/components/Steps/ModelPickTarget.d.ts +4 -0
- package/dist/containers/GoalPage/components/Steps/ModelSelectCategory.d.ts +4 -0
- package/dist/containers/GoalPage/constants/constants.d.ts +205 -0
- package/dist/containers/GoalPage/hook/useGoals.d.ts +20 -0
- package/dist/containers/GoalPage/services/goalService.d.ts +3 -0
- package/dist/containers/GoalPage/styles/makeStyles.d.ts +1 -0
- package/dist/containers/GoalPage/types/types.d.ts +90 -0
- package/dist/containers/GoalPage/views/MyGoals.d.ts +3 -0
- package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +8 -0
- package/dist/containers/LearningStrategies/hook/useEditaLearningStrategies.d.ts +5 -0
- package/dist/containers/MyConferences/components/Tabs/CustomTabNote.d.ts +3 -0
- package/dist/containers/MyConferences/components/dialog/DialogNodes.d.ts +3 -0
- package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +3 -0
- package/dist/containers/MyStudent/components/ClassReflectionTable.d.ts +3 -0
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/{conference.d.ts → Conference.d.ts} +0 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useChartConference.d.ts +19 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/ConferenceChart.d.ts +1 -0
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/ConferenceChart.d.ts +6 -0
- package/dist/containers/MyStudent/hooks/useOverviewToPDF.d.ts +7 -0
- package/dist/containers/MySurvey/styles/makeStyles.d.ts +2 -0
- package/dist/containers/MySurvey/views/MySurvey.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/OneToOne.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/PicChat.d.ts +2 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenFour.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenOne.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenThree.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenTwo.d.ts +8 -0
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +10 -0
- package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +2 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +23 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +12 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +3 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +7 -0
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +8 -0
- package/dist/containers/SettingPageV1/contants/contants.d.ts +41 -0
- package/dist/containers/SettingPageV1/contants/type.d.ts +23 -0
- package/dist/containers/StageDebug/hooks/useStageDebug.d.ts +4 -0
- package/dist/containers/StageDebug/views/StageDebugPage.d.ts +3 -0
- package/dist/containers/Surveys/apiClient/survey.d.ts +2 -0
- package/dist/containers/Surveys/components/ChartOverview/BarChart.d.ts +9 -0
- package/dist/containers/Surveys/components/SurveyDetail.d.ts +3 -0
- package/dist/containers/Surveys/components/SurveyStudentCompleted.d.ts +3 -0
- package/dist/containers/Surveys/components/SurveyStudentMissed.d.ts +3 -0
- package/dist/containers/Surveys/components/SurveyStudentPending.d.ts +3 -0
- package/dist/containers/Surveys/hook/useActionNeededSurvey.d.ts +9 -0
- package/dist/containers/Surveys/hook/useAllSurvey.d.ts +10 -0
- package/dist/containers/Surveys/hook/usePendingSurvey.d.ts +10 -0
- package/dist/containers/Surveys/hook/useRepliedSurvey.d.ts +9 -0
- package/dist/containers/Surveys/views/ViewSurveyStudent.d.ts +3 -0
- package/dist/hooks/useUploadFile.d.ts +4 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/services/File.d.ts +1 -0
- package/dist/utils/function.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropTypes = {
|
|
3
|
+
clickSelect: Function;
|
|
4
|
+
arraySelect: any;
|
|
5
|
+
ShowHelp: Function;
|
|
6
|
+
};
|
|
7
|
+
declare const RightPicChatScreenThree: ({ clickSelect, arraySelect, ShowHelp }: PropTypes) => JSX.Element;
|
|
8
|
+
export default RightPicChatScreenThree;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropTypes = {
|
|
3
|
+
onChangeSetData: Function;
|
|
4
|
+
valueNoteAdd: string;
|
|
5
|
+
ShowHelp: Function;
|
|
6
|
+
};
|
|
7
|
+
declare const RightPicChatScreenTwo: ({ onChangeSetData, valueNoteAdd, ShowHelp }: PropTypes) => JSX.Element;
|
|
8
|
+
export default RightPicChatScreenTwo;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
id: number;
|
|
4
|
+
content?: string;
|
|
5
|
+
date?: string;
|
|
6
|
+
onRemoveNote: Function;
|
|
7
|
+
onUpdateNote: Function;
|
|
8
|
+
}
|
|
9
|
+
declare const ScaffoldingQuestionAndAnswer: ({ id, content, date, onRemoveNote, onUpdateNote, }: Props) => JSX.Element;
|
|
10
|
+
export default ScaffoldingQuestionAndAnswer;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare type Filter = {
|
|
2
|
+
category?: string;
|
|
3
|
+
level?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const useTeacherNotes: (sessionId: number, sessionResultId: number) => {
|
|
6
|
+
screenIndex: number;
|
|
7
|
+
changeScreen: (index: number) => void;
|
|
8
|
+
questionList: never[];
|
|
9
|
+
categoryList: never[];
|
|
10
|
+
levelList: never[];
|
|
11
|
+
randomQuestion: never[];
|
|
12
|
+
note: string;
|
|
13
|
+
handleChangeNote: (e?: any) => void;
|
|
14
|
+
handleSelectQuestion: (question: any) => Promise<void>;
|
|
15
|
+
changeFilters: (updateFilters: any) => void;
|
|
16
|
+
filters: Filter;
|
|
17
|
+
teacherNotesData: never[];
|
|
18
|
+
handleSelectSuggester: (question: any) => Promise<void>;
|
|
19
|
+
handleRemoveQuestion: (noteId: number) => Promise<void>;
|
|
20
|
+
handleSubmitNote: (noteId: number, answer: string) => Promise<void>;
|
|
21
|
+
handleRemoveQuestionAnswer: (noteId: number) => Promise<void>;
|
|
22
|
+
};
|
|
23
|
+
export default useTeacherNotes;
|
package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare type Filter = {
|
|
2
|
+
category?: string;
|
|
3
|
+
level?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const getAllSelectQuestion: (dispatch: any, filters: Filter) => Promise<any>;
|
|
6
|
+
export declare const getListCategories: (dispatch: any) => Promise<any>;
|
|
7
|
+
export declare const getListLevel: (dispatch: any) => Promise<any>;
|
|
8
|
+
export declare const getAllNote: (dispatch: any, sessionId: number) => Promise<any>;
|
|
9
|
+
export declare const submitNote: (dispatch: any, sessionId: number, text: string) => Promise<any>;
|
|
10
|
+
export declare const updateNote: (dispatch: any, sessionNoteId: number, text: string) => Promise<any>;
|
|
11
|
+
export declare const removeNote: (dispatch: any, noteId: number) => Promise<any>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type PropsType = {
|
|
3
|
+
changeScreen: Function;
|
|
4
|
+
onPressSuggester: Function;
|
|
5
|
+
onUpdateNote: Function;
|
|
6
|
+
randomQuestion: any[];
|
|
7
|
+
teacherNotesData: any[];
|
|
8
|
+
onRemoveQuestion: Function;
|
|
9
|
+
onRemoveQuestionAnswer: Function;
|
|
10
|
+
};
|
|
11
|
+
declare const ScaffoldingFirstScreen: (props: PropsType) => JSX.Element;
|
|
12
|
+
export default ScaffoldingFirstScreen;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
id: number;
|
|
4
|
+
content?: string;
|
|
5
|
+
answer?: string;
|
|
6
|
+
date?: string;
|
|
7
|
+
onRemoveQuestion: Function;
|
|
8
|
+
onRemoveQuestionAnswer: Function;
|
|
9
|
+
onUpdateNote: Function;
|
|
10
|
+
}
|
|
11
|
+
declare const ScaffoldingQuestionAndAnswer: ({ id, content, answer, date, onRemoveQuestion, onUpdateNote, onRemoveQuestionAnswer }: Props) => JSX.Element;
|
|
12
|
+
export default ScaffoldingQuestionAndAnswer;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const defaultFontSmall = 12;
|
|
2
|
+
export declare const defaultFontLarge = 20;
|
|
3
|
+
export declare const initialSetting: {
|
|
4
|
+
actionPointSchedule: boolean;
|
|
5
|
+
completeClassReflection: boolean;
|
|
6
|
+
completeConference: boolean;
|
|
7
|
+
completeOneToOne: boolean;
|
|
8
|
+
scheduleConference: boolean;
|
|
9
|
+
scheduleOneToOne: boolean;
|
|
10
|
+
requestClassReflection: boolean;
|
|
11
|
+
notificationGoalUpdate: boolean;
|
|
12
|
+
personalizedLearning: boolean;
|
|
13
|
+
emailActionPointSchedule: boolean;
|
|
14
|
+
emailCompleteClassReflection: boolean;
|
|
15
|
+
emailCompleteConference: boolean;
|
|
16
|
+
emailCompleteOneToOne: boolean;
|
|
17
|
+
emailScheduleConference: boolean;
|
|
18
|
+
emailScheduleOneToOne: boolean;
|
|
19
|
+
emailRequestClassReflection: boolean;
|
|
20
|
+
emailGoalUpdate: boolean;
|
|
21
|
+
emailPersonalizedLearning: boolean;
|
|
22
|
+
isTurnOnAllEmail: boolean;
|
|
23
|
+
isTurnOnAllNotification: boolean;
|
|
24
|
+
id: number;
|
|
25
|
+
};
|
|
26
|
+
export declare const settingNotificationsTeacher: {
|
|
27
|
+
key: string;
|
|
28
|
+
name: string;
|
|
29
|
+
}[];
|
|
30
|
+
export declare const settingNotificationsStudent: {
|
|
31
|
+
key: string;
|
|
32
|
+
name: string;
|
|
33
|
+
}[];
|
|
34
|
+
export declare const settingEmailsTeacher: {
|
|
35
|
+
key: string;
|
|
36
|
+
name: string;
|
|
37
|
+
}[];
|
|
38
|
+
export declare const settingEmailsStudent: {
|
|
39
|
+
key: string;
|
|
40
|
+
name: string;
|
|
41
|
+
}[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface ISetting {
|
|
2
|
+
actionPointSchedule: boolean;
|
|
3
|
+
completeClassReflection: boolean;
|
|
4
|
+
completeConference: boolean;
|
|
5
|
+
completeOneToOne: boolean;
|
|
6
|
+
emailActionPointSchedule: boolean;
|
|
7
|
+
emailCompleteClassReflection: boolean;
|
|
8
|
+
emailCompleteConference: boolean;
|
|
9
|
+
emailCompleteOneToOne: boolean;
|
|
10
|
+
emailScheduleConference: boolean;
|
|
11
|
+
emailScheduleOneToOne: boolean;
|
|
12
|
+
emailRequestClassReflection: boolean;
|
|
13
|
+
emailGoalUpdate: boolean;
|
|
14
|
+
emailPersonalizedLearning: boolean;
|
|
15
|
+
isTurnOnAllEmail: boolean;
|
|
16
|
+
isTurnOnAllNotification: boolean;
|
|
17
|
+
scheduleConference: boolean;
|
|
18
|
+
scheduleOneToOne: boolean;
|
|
19
|
+
requestClassReflection: boolean;
|
|
20
|
+
notificationGoalUpdate: boolean;
|
|
21
|
+
personalizedLearning: boolean;
|
|
22
|
+
id: number;
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FILTER_SURVEY } from "../constants/types";
|
|
3
|
+
declare const useActionNeededSurvey: () => {
|
|
4
|
+
listActionNeeded: any;
|
|
5
|
+
setListActionNeeded: import("react").Dispatch<any>;
|
|
6
|
+
changeFilters: (updatedFilters: any) => void;
|
|
7
|
+
filters: FILTER_SURVEY;
|
|
8
|
+
};
|
|
9
|
+
export default useActionNeededSurvey;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FILTER_SURVEY } from "../constants/types";
|
|
3
|
+
declare const useAllSurvey: () => {
|
|
4
|
+
changeFilters: (updatedFilters: any) => void;
|
|
5
|
+
filters: FILTER_SURVEY;
|
|
6
|
+
listAllSurvey: any;
|
|
7
|
+
isTeacher: any;
|
|
8
|
+
setListAllSurvey: import("react").Dispatch<any>;
|
|
9
|
+
};
|
|
10
|
+
export default useAllSurvey;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DATA_STUDENT_SURVEY, FILTER_SURVEY } from "../constants/types";
|
|
3
|
+
declare const usePendingSurvey: () => {
|
|
4
|
+
listPendingSurvey: DATA_STUDENT_SURVEY | undefined;
|
|
5
|
+
setListPendingSurvey: import("react").Dispatch<import("react").SetStateAction<DATA_STUDENT_SURVEY | undefined>>;
|
|
6
|
+
filters: FILTER_SURVEY;
|
|
7
|
+
inputSearch: import("react").MutableRefObject<any>;
|
|
8
|
+
handleChangeInputSearch: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
9
|
+
};
|
|
10
|
+
export default usePendingSurvey;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DATA_STUDENT_SURVEY, FILTER_SURVEY } from "../constants/types";
|
|
3
|
+
declare const useRepliedSurvey: () => {
|
|
4
|
+
listRepliedSurvey: DATA_STUDENT_SURVEY | undefined;
|
|
5
|
+
setListRepliedSurvey: import("react").Dispatch<import("react").SetStateAction<DATA_STUDENT_SURVEY | undefined>>;
|
|
6
|
+
changeFilters: (updatedFilters: any) => void;
|
|
7
|
+
filters: FILTER_SURVEY;
|
|
8
|
+
};
|
|
9
|
+
export default useRepliedSurvey;
|
package/dist/index.js
CHANGED
|
@@ -3476,7 +3476,7 @@ var useActionPointsDB = function useActionPointsDB() {
|
|
|
3476
3476
|
var getData = function getData() {
|
|
3477
3477
|
try {
|
|
3478
3478
|
return Promise.resolve(getDataActionPoint(dispatch, queryRequest)).then(function (data) {
|
|
3479
|
-
var dataGroup = groupBy(data.map(function (r) {
|
|
3479
|
+
var dataGroup = groupBy(data === null || data === void 0 ? void 0 : data.map(function (r) {
|
|
3480
3480
|
return _extends({}, r, {
|
|
3481
3481
|
deadlineDate: marioCore.utcToLocalTime(r.deadlineDate, "Do MMMM yyyy")
|
|
3482
3482
|
});
|
|
@@ -57299,7 +57299,7 @@ var useTodoList = function useTodoList() {
|
|
|
57299
57299
|
var getActionPointList = function getActionPointList() {
|
|
57300
57300
|
try {
|
|
57301
57301
|
return Promise.resolve(getDataActionPoints(dispatch, filters)).then(function (data) {
|
|
57302
|
-
var dataGroup = groupBy(data.map(function (r) {
|
|
57302
|
+
var dataGroup = groupBy(data === null || data === void 0 ? void 0 : data.map(function (r) {
|
|
57303
57303
|
return _extends({}, r, {
|
|
57304
57304
|
deadlineDate: marioCore.utcToLocalTime(r.deadlineDate, "Do MMMM yyyy")
|
|
57305
57305
|
});
|
|
@@ -57612,7 +57612,7 @@ var useDoneList = function useDoneList() {
|
|
|
57612
57612
|
var getListActionPoint = function getListActionPoint() {
|
|
57613
57613
|
try {
|
|
57614
57614
|
return Promise.resolve(getDataDoneList(dispatch, filters)).then(function (data) {
|
|
57615
|
-
var dataGroup = groupBy(data.map(function (r) {
|
|
57615
|
+
var dataGroup = groupBy(data === null || data === void 0 ? void 0 : data.map(function (r) {
|
|
57616
57616
|
return _extends({}, r, {
|
|
57617
57617
|
deadlineDate: marioCore.utcToLocalTime(r.deadlineDate, "Do MMMM yyyy")
|
|
57618
57618
|
});
|