mario-teacher-student-client 2.1.130-admin → 2.1.131-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/Header/CustomHeaderComponent.d.ts +1 -2
- package/dist/containers/ConductSurvey/styles/makeStyles.d.ts +1 -1
- package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/{Conference.d.ts → conference.d.ts} +0 -0
- package/dist/containers/Surveys/apiClient/surveyService.d.ts +0 -4
- package/dist/containers/Surveys/constants/constant.d.ts +0 -10
- package/dist/containers/Surveys/constants/types.d.ts +1 -35
- 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 +460 -462
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +457 -459
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/Tabs/CustomTabNote.d.ts +0 -3
- package/dist/components/selector/CheckboxCustom.d.ts +0 -12
- package/dist/containers/ConductSurvey/components/ConductTop/ConductTop.d.ts +0 -17
- package/dist/containers/ConductSurvey/hooks/useConductOne.d.ts +0 -21
- package/dist/containers/ConductSurvey/hooks/useCountDown.d.ts +0 -8
- package/dist/containers/ConductSurvey/hooks/useIsMounted.d.ts +0 -2
- package/dist/containers/ConductSurvey/views/SessionResultComponent.d.ts +0 -3
- package/dist/containers/ExternalSurvey/components/IBLearnerComponent.d.ts +0 -12
- package/dist/containers/ExternalSurvey/hooks/useConductSurvey.d.ts +0 -21
- package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +0 -8
- package/dist/containers/LearningStrategies/hook/useEditaLearningStrategies.d.ts +0 -5
- package/dist/containers/MyConferences/components/Tabs/CustomTabNote.d.ts +0 -3
- package/dist/containers/MyConferences/components/dialog/DialogNodes.d.ts +0 -3
- package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +0 -3
- package/dist/containers/MyStudent/components/ClassReflectionTable.d.ts +0 -3
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useChartConference.d.ts +0 -19
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/ConferenceChart.d.ts +0 -1
- package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/ConferenceChart.d.ts +0 -6
- package/dist/containers/MySurvey/styles/makeStyles.d.ts +0 -2
- package/dist/containers/MySurvey/views/MySurvey.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/OneToOne.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/PicChat.d.ts +0 -2
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenFour.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenOne.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenThree.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/RightPicChatScreenTwo.d.ts +0 -8
- package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +0 -10
- package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +0 -2
- package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +0 -23
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +0 -12
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +0 -12
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +0 -12
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +0 -3
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +0 -7
- package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +0 -8
- package/dist/containers/Surveys/apiClient/survey.d.ts +0 -2
- package/dist/containers/Surveys/components/ChartOverview/BarChart.d.ts +0 -9
- package/dist/containers/Surveys/components/ChartOverview/components/BarAndAreaChart.d.ts +0 -10
- package/dist/containers/Surveys/components/ChartOverview/components/BarChart.d.ts +0 -9
- package/dist/containers/Surveys/components/ChartOverview/components/ChoiceChartType.d.ts +0 -10
- package/dist/containers/Surveys/components/ChartOverview/components/PieChart.d.ts +0 -8
- package/dist/containers/Surveys/components/ChartOverview/view/ChartViewDashboard.d.ts +0 -18
- package/dist/containers/Surveys/components/Overview.d.ts +0 -3
- package/dist/containers/Surveys/components/SurveyDetail.d.ts +0 -3
- package/dist/containers/Surveys/components/SurveyStudentCompleted.d.ts +0 -3
- package/dist/containers/Surveys/components/SurveyStudentMissed.d.ts +0 -3
- package/dist/containers/Surveys/components/SurveyStudentPending.d.ts +0 -3
- package/dist/containers/Surveys/constants/chartOptions.d.ts +0 -4
- package/dist/containers/Surveys/constants/overviewFn.d.ts +0 -16
- package/dist/containers/Surveys/hook/useActionNeededSurvey.d.ts +0 -9
- package/dist/containers/Surveys/hook/useAllSurvey.d.ts +0 -10
- package/dist/containers/Surveys/hook/useOverviewSurvey.d.ts +0 -14
- package/dist/containers/Surveys/hook/usePendingSurvey.d.ts +0 -10
- package/dist/containers/Surveys/hook/useRepliedSurvey.d.ts +0 -9
- package/dist/containers/Surveys/views/SurveyOverview.d.ts +0 -3
- package/dist/containers/Surveys/views/ViewSurveyStudent.d.ts +0 -3
- package/dist/hooks/useUploadFile.d.ts +0 -4
- package/dist/services/File.d.ts +0 -1
|
@@ -11,7 +11,6 @@ interface headerProps {
|
|
|
11
11
|
isDisableButton?: boolean;
|
|
12
12
|
isPreviewSurvey?: boolean;
|
|
13
13
|
onHandleGoBack?: Function;
|
|
14
|
-
borderNone?: boolean;
|
|
15
14
|
}
|
|
16
|
-
declare const CustomHeaderComponent: ({ title, contentButton, iconButton, isGoback, isGreyBackground, status, handleChangePage, isDisableButton, isPreviewSurvey, handlePreview, onHandleGoBack
|
|
15
|
+
declare const CustomHeaderComponent: ({ title, contentButton, iconButton, isGoback, isGreyBackground, status, handleChangePage, isDisableButton, isPreviewSurvey, handlePreview, onHandleGoBack }: headerProps) => JSX.Element;
|
|
17
16
|
export default CustomHeaderComponent;
|
|
@@ -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>;
|
|
File without changes
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { FILTER_OVERVIEW_SURVEY } from "../constants/types";
|
|
2
1
|
export declare const getStudentList: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
2
|
export declare const getTemplateSurvey: () => Promise<import("axios").AxiosResponse<any>>;
|
|
4
3
|
export declare const createSurvey: (model: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -14,6 +13,3 @@ export declare const shareSurvey: (data: any) => void;
|
|
|
14
13
|
export declare const updateSurvey: (surveyId: number, model: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
15
14
|
export declare const getListExternal: (surveyId: number, params: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
16
15
|
export declare const getSurveyDetail: (surveyId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
17
|
-
export declare const getDashboardTotalSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
|
|
18
|
-
export declare const getDashboardFlagSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
|
|
19
|
-
export declare const getDashboardTemplateSurvey: (filters: FILTER_OVERVIEW_SURVEY) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -63,13 +63,3 @@ export declare const initialAdditionalQuestion: {
|
|
|
63
63
|
textAnswer: string;
|
|
64
64
|
};
|
|
65
65
|
export declare const charactersRandom = "0123456789";
|
|
66
|
-
export declare const COLOR_CHART_AND_PERCENTS: string[];
|
|
67
|
-
export declare enum TYPECHART {
|
|
68
|
-
AREA = 0,
|
|
69
|
-
BAR = 1,
|
|
70
|
-
LINE = 2,
|
|
71
|
-
BOTH = 3
|
|
72
|
-
}
|
|
73
|
-
export declare const COLOR_CHART_AND_PIE: string[];
|
|
74
|
-
export declare const optionTotalSurvey: string[];
|
|
75
|
-
export declare const LABEL_NAME_PIE_CHART: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QuestionType
|
|
1
|
+
import { QuestionType } from "./constant";
|
|
2
2
|
import { QUESTION_ADDITIONAL } from "./questionModelType";
|
|
3
3
|
export interface FILTER_SURVEY {
|
|
4
4
|
currentPage: number;
|
|
@@ -12,11 +12,6 @@ export interface FILTER_SURVEY {
|
|
|
12
12
|
isFavorite?: boolean;
|
|
13
13
|
type?: number;
|
|
14
14
|
}
|
|
15
|
-
export interface FILTER_OVERVIEW_SURVEY {
|
|
16
|
-
searchString: string;
|
|
17
|
-
startDate: number;
|
|
18
|
-
endDate: number;
|
|
19
|
-
}
|
|
20
15
|
export interface SURVEY_LIST {
|
|
21
16
|
id: number;
|
|
22
17
|
title: string;
|
|
@@ -311,32 +306,3 @@ export interface FAVORITE_PROPS {
|
|
|
311
306
|
export interface HOOK_FAVORITE_PROPS {
|
|
312
307
|
setDataFormCreateSurvey: Function;
|
|
313
308
|
}
|
|
314
|
-
export interface NUMBER_SURVEY {
|
|
315
|
-
numberTotalSurveyDone: number;
|
|
316
|
-
numberTotalSurveyNotDone: number;
|
|
317
|
-
}
|
|
318
|
-
export interface TOTAL_DASHBOAD_SURVEY {
|
|
319
|
-
month: string;
|
|
320
|
-
numberSurveys: NUMBER_SURVEY;
|
|
321
|
-
}
|
|
322
|
-
export interface ISurveyTemplate {
|
|
323
|
-
avgTemplateSurvey: number;
|
|
324
|
-
templateName: string;
|
|
325
|
-
}
|
|
326
|
-
export interface DASHBOARD_TEMPLATE {
|
|
327
|
-
month: string;
|
|
328
|
-
surveyTemplate: ISurveyTemplate[];
|
|
329
|
-
}
|
|
330
|
-
export interface ISeries {
|
|
331
|
-
name: string;
|
|
332
|
-
data: number[];
|
|
333
|
-
}
|
|
334
|
-
export interface IChartOptions {
|
|
335
|
-
value: TYPECHART;
|
|
336
|
-
label: string;
|
|
337
|
-
}
|
|
338
|
-
export interface IDashboardFlag {
|
|
339
|
-
numberSurveyBlue?: number;
|
|
340
|
-
numberSurveyRed?: number;
|
|
341
|
-
numberSurveyYellow?: number;
|
|
342
|
-
}
|
|
@@ -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>;
|