mario-education 2.4.277-release → 2.4.279-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.
Files changed (28) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +1 -1
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +0 -1
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/components/dialog/DialogChooseTeacher.d.ts +10 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/hooks/useAdditionalQuestionModel.d.ts +5 -0
  5. package/dist/containers/QuestionBank/components/AnswerList.d.ts +1 -0
  6. package/dist/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
  7. package/dist/containers/SurveyDashboard/apiClient/surveyService.d.ts +1 -0
  8. package/dist/containers/SurveyDashboard/components/BarChartQuestionAnswers.d.ts +3 -0
  9. package/dist/containers/SurveyDashboard/components/TableAnswerDropDown.d.ts +5 -0
  10. package/dist/containers/SurveyDashboard/configs/constants.d.ts +2 -1
  11. package/dist/containers/SurveyDashboard/configs/types.d.ts +22 -0
  12. package/dist/containers/SurveyDashboard/configs/utils.d.ts +1 -0
  13. package/dist/containers/SurveyDashboard/hooks/useSurveyDetail.d.ts +4 -1
  14. package/dist/index.css +5392 -5344
  15. package/dist/index.js +420 -145
  16. package/dist/index.js.map +1 -1
  17. package/dist/index.modern.js +404 -129
  18. package/dist/index.modern.js.map +1 -1
  19. package/package.json +104 -104
  20. package/dist/MarioFramework.Education/ClientApp/src/components/Select/Autocomplete.d.ts +0 -2
  21. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/ImportOneRoster.d.ts +0 -6
  22. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/RosterConfigForm.d.ts +0 -8
  23. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/useImportOneRoster.d.ts +0 -28
  24. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/userRosterConfigForm.d.ts +0 -7
  25. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/constants.d.ts +0 -2
  26. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/types.d.ts +0 -5
  27. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/views/OneRoster.d.ts +0 -3
  28. 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;
@@ -29,7 +29,6 @@ export interface IStudentPressure {
29
29
  }
30
30
  export interface IStudentPressureChart {
31
31
  studentPressure: IStudentPressure;
32
- changeLanguage?: string;
33
32
  width?: number;
34
33
  print?: boolean;
35
34
  }
@@ -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;
@@ -0,0 +1,5 @@
1
+ declare const useAdditionalQuestionModel: ({ open }: any) => {
2
+ formTextList: string[];
3
+ toTextList: string[];
4
+ };
5
+ export default useAdditionalQuestionModel;
@@ -4,6 +4,7 @@ interface Props {
4
4
  answers: any[];
5
5
  setFieldValue: () => any;
6
6
  isSurvey: boolean;
7
+ isDropdown?: boolean;
7
8
  isMultipleChoice?: boolean;
8
9
  answerLabels: string[];
9
10
  answerLabelsEmotional?: string[];
@@ -10,6 +10,7 @@ declare type QuestionDetail = {
10
10
  id?: number;
11
11
  type: string;
12
12
  text: string;
13
+ value?: string | null;
13
14
  isDefaultQuestion: boolean;
14
15
  isDefaultQuestionTeacher: boolean | null;
15
16
  isDefaultQuestionGeneralClass: boolean;
@@ -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>>;
@@ -0,0 +1,3 @@
1
+ import { IBarChartQuestionAnswers } from "../configs/types";
2
+ declare const BarChartQuestionAnswers: ({ response, isFullScreen, onChangeOption, questionAnswers }: IBarChartQuestionAnswers) => JSX.Element;
3
+ export default BarChartQuestionAnswers;
@@ -0,0 +1,5 @@
1
+ interface Props {
2
+ dataTable: any;
3
+ }
4
+ declare const TableAnswerDropDown: ({ dataTable }: Props) => JSX.Element;
5
+ export default TableAnswerDropDown;
@@ -104,7 +104,8 @@ export declare enum QuestionType {
104
104
  Emotional = "Emotional",
105
105
  Summarize = "Summarize",
106
106
  Rating = "Rating",
107
- LearningStrategy = "LearningStrategy"
107
+ LearningStrategy = "LearningStrategy",
108
+ DropDown = "DropDown"
108
109
  }
109
110
  export declare const initialValues: {
110
111
  title: string;
@@ -438,6 +438,7 @@ export interface IStudentQuestionResponse {
438
438
  studentAvatar: string;
439
439
  answer: string;
440
440
  date: string;
441
+ type: QuestionType;
441
442
  }
442
443
  export interface ITotalByQuestion {
443
444
  numberOfResponses: number;
@@ -774,4 +775,25 @@ export interface IModelLinkSurvey {
774
775
  anonymousKey: string;
775
776
  onCopy: Function;
776
777
  }
778
+ export interface IBarChartQuestionAnswers {
779
+ isFullScreen: boolean;
780
+ response: IBarChartQuestion | null;
781
+ onChangeOption: Function;
782
+ questionAnswers: IBarChartQuestion[];
783
+ }
784
+ export interface IAnswers {
785
+ name: string;
786
+ numberAnswer: number;
787
+ }
788
+ export interface IStudentAnswers {
789
+ gradeLevel: string;
790
+ studentName: string;
791
+ answer: string;
792
+ }
793
+ export interface IBarChartQuestion {
794
+ id: number;
795
+ name: string;
796
+ answers: IAnswers[];
797
+ studentAnswers: IStudentAnswers[];
798
+ }
777
799
  export {};
@@ -127,3 +127,4 @@ export declare const filterYearData: {
127
127
  startDate: number;
128
128
  endDate: number;
129
129
  }[];
130
+ export declare const answerBarChartOptions: (labelNames: any, usageCountList: number[], isMobileScreen: boolean, isFullScreen: boolean) => ApexOptions;
@@ -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;