mario-education 2.4.276-release → 2.4.278-release
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/MarioFramework.Education/ClientApp/src/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +1 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +0 -1
- package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/components/dialog/DialogChooseTeacher.d.ts +10 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/hooks/useAdditionalQuestionModel.d.ts +5 -0
- package/dist/containers/SurveyDashboard/apiClient/surveyService.d.ts +1 -0
- package/dist/containers/SurveyDashboard/components/BarChartQuestionAnswers.d.ts +3 -0
- package/dist/containers/SurveyDashboard/components/TableAnswerDropDown.d.ts +5 -0
- package/dist/containers/SurveyDashboard/configs/constants.d.ts +2 -1
- package/dist/containers/SurveyDashboard/configs/types.d.ts +22 -0
- package/dist/containers/SurveyDashboard/configs/utils.d.ts +1 -0
- package/dist/containers/SurveyDashboard/hooks/useListSurvey.d.ts +4 -0
- package/dist/containers/SurveyDashboard/hooks/useSurveyDetail.d.ts +4 -1
- package/dist/index.css +5392 -5344
- package/dist/index.js +479 -145
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +464 -130
- package/dist/index.modern.js.map +1 -1
- package/package.json +104 -104
- package/dist/MarioFramework.Education/ClientApp/src/components/Select/Autocomplete.d.ts +0 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/ImportOneRoster.d.ts +0 -6
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/RosterConfigForm.d.ts +0 -8
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/useImportOneRoster.d.ts +0 -28
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/userRosterConfigForm.d.ts +0 -7
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/constants.d.ts +0 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/types.d.ts +0 -5
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/views/OneRoster.d.ts +0 -3
- package/dist/MarioFramework.Education/ClientApp/src/utils/function.d.ts +0 -3
|
@@ -6,7 +6,7 @@ declare const useConferenceRubricDetail: (id?: number | null | undefined) => {
|
|
|
6
6
|
setTemporarySkill: import("react").Dispatch<import("react").SetStateAction<ConferenceRubricSkill | null>>;
|
|
7
7
|
newRowTexts: any;
|
|
8
8
|
changeNewRowText: (skillId: any, text: any) => void;
|
|
9
|
-
confirmData: () => Promise<void>;
|
|
9
|
+
confirmData: (isLoading?: boolean | undefined) => Promise<void>;
|
|
10
10
|
backToList: () => void;
|
|
11
11
|
addItem: () => void;
|
|
12
12
|
removeItem: (skillId: number) => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
studentId?: number;
|
|
3
|
+
isTeacherStart?: string;
|
|
4
|
+
setIsTeacherStart?: Function;
|
|
5
|
+
setStudentId?: Function;
|
|
6
|
+
onClickStart?: Function;
|
|
7
|
+
handleClose?: any;
|
|
8
|
+
}
|
|
9
|
+
declare const DialogChooseTeacher: ({ handleClose, }: Props) => JSX.Element;
|
|
10
|
+
export default DialogChooseTeacher;
|
|
@@ -30,3 +30,4 @@ export declare const getTotalByQuestion: (surveyId: number, questionId: number,
|
|
|
30
30
|
export declare const getResponsesDistribution: (surveyId: number, isExternal: boolean) => Promise<import("axios").AxiosResponse<any>>;
|
|
31
31
|
export declare const getAllTeachers: (studentUserId?: string | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
32
32
|
export declare const getRatingLabelSurvey: (isAdmin?: boolean | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
33
|
+
export declare const getAnswerChart: (surveyId: number, isExternalSurvey: boolean) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -299,6 +299,7 @@ export interface SURVEY_LIST {
|
|
|
299
299
|
status: SurveyEnum;
|
|
300
300
|
createdBy: string;
|
|
301
301
|
studentIds?: number[];
|
|
302
|
+
anonymousKey: string;
|
|
302
303
|
}
|
|
303
304
|
export interface FILTER_OVERVIEW_SURVEY {
|
|
304
305
|
startDate: number;
|
|
@@ -773,4 +774,25 @@ export interface IModelLinkSurvey {
|
|
|
773
774
|
anonymousKey: string;
|
|
774
775
|
onCopy: Function;
|
|
775
776
|
}
|
|
777
|
+
export interface IBarChartQuestionAnswers {
|
|
778
|
+
isFullScreen: boolean;
|
|
779
|
+
response: IBarChartQuestion | null;
|
|
780
|
+
onChangeOption: Function;
|
|
781
|
+
questionAnswers: IBarChartQuestion[];
|
|
782
|
+
}
|
|
783
|
+
export interface IAnswers {
|
|
784
|
+
name: string;
|
|
785
|
+
numberAnswer: number;
|
|
786
|
+
}
|
|
787
|
+
export interface IStudentAnswers {
|
|
788
|
+
gradeLevel: string;
|
|
789
|
+
studentName: string;
|
|
790
|
+
answer: string;
|
|
791
|
+
}
|
|
792
|
+
export interface IBarChartQuestion {
|
|
793
|
+
id: number;
|
|
794
|
+
name: string;
|
|
795
|
+
answers: IAnswers[];
|
|
796
|
+
studentAnswers: IStudentAnswers[];
|
|
797
|
+
}
|
|
776
798
|
export {};
|
|
@@ -40,5 +40,9 @@ declare const useListSurvey: () => {
|
|
|
40
40
|
handleCloseModalConfirmDelete: () => void;
|
|
41
41
|
handleDeleteSurvey: (surveyId: any) => Promise<void>;
|
|
42
42
|
nameSurvey: string | undefined;
|
|
43
|
+
anonymousKey: string;
|
|
44
|
+
handleCloseModelLink: () => void;
|
|
45
|
+
handleCopyToClipboard: (text: string) => void;
|
|
46
|
+
linkAnonymousSurvey: string;
|
|
43
47
|
};
|
|
44
48
|
export default useListSurvey;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DETAIL, IQuestionDto, IQuestionResponse, IStudentDetail, IStudentQuestionResponse, STUDENT_SURVEY_DETAIL } from "../configs/types";
|
|
2
|
+
import { DETAIL, IBarChartQuestion, IQuestionDto, IQuestionResponse, IStudentDetail, IStudentQuestionResponse, STUDENT_SURVEY_DETAIL } from "../configs/types";
|
|
3
3
|
import { IReadinessToLearning } from "../../MyStudent/components/NewOverview/Chat/types/types";
|
|
4
4
|
declare const useSurveyDetail: () => {
|
|
5
5
|
detailSurvey: DETAIL | null | undefined;
|
|
@@ -27,5 +27,8 @@ declare const useSurveyDetail: () => {
|
|
|
27
27
|
setOpenTooltipLabel: import("react").Dispatch<import("react").SetStateAction<number | null>>;
|
|
28
28
|
tabIndex: number;
|
|
29
29
|
handelSwitchTab: (tab: number) => void;
|
|
30
|
+
barChartQuestions: IBarChartQuestion[];
|
|
31
|
+
response: IBarChartQuestion | null;
|
|
32
|
+
handelChangeOption: (value: IBarChartQuestion) => void;
|
|
30
33
|
};
|
|
31
34
|
export default useSurveyDetail;
|