mario-education 2.4.410-release → 2.4.412-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.
@@ -30,4 +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>>;
33
+ export declare const getAnswerChart: (surveyId: number, isExternalSurvey: boolean, isQuestionDropDown: boolean) => Promise<import("axios").AxiosResponse<any>>;
@@ -0,0 +1,3 @@
1
+ import { IBarChartQuestionAnswers } from "../configs/types";
2
+ declare const AnswerQuestionInput: ({ response, onChangeOption, questionAnswers }: IBarChartQuestionAnswers) => JSX.Element;
3
+ export default AnswerQuestionInput;
@@ -355,6 +355,7 @@ export interface QuestionSurvey {
355
355
  questionAnswer: string[];
356
356
  text: string;
357
357
  type: string;
358
+ categoryName: string;
358
359
  fromLabel?: string;
359
360
  toLabel?: string;
360
361
  }
@@ -783,6 +784,8 @@ export interface IAnswers {
783
784
  numberAnswer: number;
784
785
  }
785
786
  export interface IStudentAnswers {
787
+ date: string;
788
+ avatar: string;
786
789
  gradeLevel: string;
787
790
  studentName: string;
788
791
  answer: string;
@@ -28,5 +28,8 @@ declare const useSurveyDetail: () => {
28
28
  barChartQuestions: IBarChartQuestion[];
29
29
  response: IBarChartQuestion | null;
30
30
  handelChangeOption: (value: IBarChartQuestion) => void;
31
+ responseTextInput: IBarChartQuestion | null;
32
+ textInputQuestions: IBarChartQuestion[];
33
+ handelChangeOptionTextInput: (value: IBarChartQuestion) => void;
31
34
  };
32
35
  export default useSurveyDetail;
package/dist/index.css CHANGED
@@ -5443,6 +5443,27 @@ h6._3zOGW {
5443
5443
  line-height: 18px;
5444
5444
  color: #242424;
5445
5445
  opacity: .5;
5446
+ }
5447
+ ._uFliG {
5448
+ padding: 20px;
5449
+ }
5450
+
5451
+ ._1ZQW6 ._1PFu3 {
5452
+ display: flex;
5453
+ align-items: center;
5454
+ margin-bottom: 15px;
5455
+ }
5456
+
5457
+ ._1PFu3 h6 {
5458
+ margin: 0px 8px;
5459
+ }
5460
+
5461
+ ._1PFu3 p {
5462
+ color: #919191;
5463
+ }
5464
+
5465
+ ._1PFu3 h6, ._1PFu3 p {
5466
+ margin-bottom: 0;
5446
5467
  }
5447
5468
  ._1yt_V {
5448
5469
  padding: 10px;