touchstudy-core 0.1.185 → 0.1.186

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.
@@ -1,6 +1,6 @@
1
1
  import { QuestionGroupRequest } from "../../../utils/types";
2
2
  export declare const isSequentialQuestionGroups: (questionGroups: QuestionGroupRequest[]) => boolean;
3
- export declare const getQuestionGroupsAfterQuestionCountChanged: (questionGroups: QuestionGroupRequest[], questionCount: number, index: number, checkSequential?: boolean | undefined) => QuestionGroupRequest[] | undefined;
3
+ export declare const getQuestionGroupsAfterQuestionCountChanged: (questionGroups: QuestionGroupRequest[], questionCount: number, index: number, checkSequential?: boolean | undefined) => QuestionGroupRequest[];
4
4
  export declare const getPreviousQuestinGroupCategory: (values: any, key: string, paths: number[]) => any;
5
5
  export declare const generateNewQuestionGroup: (questionGroups: QuestionGroupRequest[], isMath: boolean) => QuestionGroupRequest;
6
6
  export declare const reduceToMathArticles: (data: any, isMath?: number | undefined) => any;
@@ -5,6 +5,7 @@ interface Props {
5
5
  avgData: number[];
6
6
  categories: string[];
7
7
  height?: number;
8
+ customTooltip?: (val: any) => string;
8
9
  }
9
10
  declare const HexagonChart: FC<Props>;
10
11
  export default HexagonChart;
@@ -0,0 +1,11 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ isStudent: boolean;
4
+ examCode: string;
5
+ code: string;
6
+ examSessionId: number;
7
+ chapterId: number;
8
+ studentId: number;
9
+ }
10
+ declare const CategoriesOverallChartContainer: FC<Props>;
11
+ export default CategoriesOverallChartContainer;
@@ -0,0 +1,11 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ isStudent: boolean;
4
+ examCode: string;
5
+ code: string;
6
+ examSessionId: number;
7
+ chapterId: number;
8
+ studentId: number;
9
+ }
10
+ declare const OverallChartContainer: FC<Props>;
11
+ export default OverallChartContainer;
@@ -1,5 +1,11 @@
1
1
  import { FC } from "react";
2
2
  interface Props {
3
+ isStudent: boolean;
4
+ examCode: string;
5
+ code: string;
6
+ examSessionId: number;
7
+ chapterId: number;
8
+ studentId: number;
3
9
  }
4
10
  declare const OverallTab: FC<Props>;
5
11
  export default OverallTab;
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ title: string;
4
+ }
5
+ declare const OverallTabHeader: FC<Props>;
6
+ export default OverallTabHeader;
@@ -0,0 +1,11 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ isStudent: boolean;
4
+ examCode: string;
5
+ code: string;
6
+ examSessionId: number;
7
+ chapterId: number;
8
+ studentId: number;
9
+ }
10
+ declare const OverallTimeChartContainer: FC<Props>;
11
+ export default OverallTimeChartContainer;
package/dist/index.js CHANGED
@@ -12362,7 +12362,7 @@ var isSequentialQuestionGroups = function isSequentialQuestionGroups(questionGro
12362
12362
  };
12363
12363
  var getQuestionGroupsAfterQuestionCountChanged = function getQuestionGroupsAfterQuestionCountChanged(questionGroups, questionCount, index, checkSequential) {
12364
12364
  var currentQuestionGroup = questionGroups[index];
12365
- if (currentQuestionGroup.questionCount === questionCount) return;
12365
+ if (currentQuestionGroup.questionCount === questionCount) return questionGroups;
12366
12366
  var prevQuestionGroups = index === 0 ? [] : questionGroups.slice(0, index);
12367
12367
  var nextQuestionGroups = index === questionGroups.length - 1 ? [] : questionGroups.slice(index + 1);
12368
12368
  var questions = currentQuestionGroup.questions;
@@ -15597,7 +15597,7 @@ var LessonTooltip = function LessonTooltip(_ref) {
15597
15597
  fontSize: "14px",
15598
15598
  fontWeight: "600"
15599
15599
  }
15600
- }, t("" + moment(lesson === null || lesson === void 0 ? void 0 : lesson.date).format(t("date_format"))))), React__default.createElement(material.Stack, {
15600
+ }, utcToLocalTime(lesson === null || lesson === void 0 ? void 0 : lesson.date, t("date_format")))), React__default.createElement(material.Stack, {
15601
15601
  display: "flex",
15602
15602
  flexDirection: "row",
15603
15603
  justifyContent: "space-between",