mario-education 2.4.266-release → 2.4.268-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.
@@ -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
  values: any;
5
5
  setFieldValue: any;
6
6
  labelQuestions?: IQuestionLabel;
7
+ questionType?: string;
7
8
  }
8
9
  declare const AdditionalComponent: FC<Props>;
9
10
  export default AdditionalComponent;
@@ -6,6 +6,8 @@ interface Props {
6
6
  isSurvey: boolean;
7
7
  isMultipleChoice?: boolean;
8
8
  answerLabels: string[];
9
+ answerLabelsEmotional?: string[];
10
+ questionType?: string;
9
11
  }
10
12
  declare const AnswerList: FC<Props>;
11
13
  export default AnswerList;
@@ -14,3 +14,24 @@ export declare const initialLabelQuestions: {
14
14
  fromLabels: never[];
15
15
  toLabels: never[];
16
16
  };
17
+ export declare enum QUESTION_TYPE_PARAMS {
18
+ Survey = 0,
19
+ Default = 1
20
+ }
21
+ export declare enum FLAG_QUESTION {
22
+ Default = 0,
23
+ RedFlag = 1,
24
+ YellowFlag = 2,
25
+ GreenFlag = 3
26
+ }
27
+ export declare enum FLAG_QUESTION_VALUE {
28
+ Default = "",
29
+ RedFlag = "RedFlag",
30
+ YellowFlag = "YellowFlag",
31
+ GreenFlag = "GreenFlag"
32
+ }
33
+ export declare const flagForSurveyQuestion: {
34
+ value: FLAG_QUESTION;
35
+ label: string;
36
+ color: string;
37
+ }[];
@@ -1,7 +1,9 @@
1
+ import { FLAG_QUESTION } from "../configs/constants";
1
2
  declare const useQuestionAnswerList: (type: string, answers: any[], setFieldValue: any) => {
2
3
  addAnswer: () => void;
3
4
  editAnswer: (id: any, valueObject: any) => void;
4
5
  removeAnswer: (id: any) => void;
5
6
  checkIsCorrect: (id: any, isChecked: any) => void;
7
+ convertFlag: (flag: any) => FLAG_QUESTION;
6
8
  };
7
9
  export default useQuestionAnswerList;