touchstudy-core 0.1.31 → 0.1.33

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.
@@ -2,7 +2,7 @@ import { FC, PropsWithChildren } from "react";
2
2
  import { DialogProps } from "@mui/material";
3
3
  interface Props {
4
4
  open: boolean;
5
- onClose: () => void;
5
+ onClose: (event?: any, reason?: "backdropClick" | "escapeKeyDown") => void;
6
6
  title: string;
7
7
  size?: DialogProps["maxWidth"];
8
8
  isShowHeader?: boolean;
@@ -2,7 +2,7 @@
2
2
  import { CategoryResponse, EffectSize, ExamResult, LongTimeSpendQuestion, TimelyOrderQuestion } from "../configs/types";
3
3
  declare const useExamResult: (searchParam: string, navigate: Function, examSessionId?: number, studentId?: number, code?: string) => {
4
4
  series: {
5
- name: string;
5
+ name: any;
6
6
  data: (number | null)[];
7
7
  }[];
8
8
  chartOptions: {
@@ -19,9 +19,7 @@ declare const useExamResult: (searchParam: string, navigate: Function, examSessi
19
19
  enabled: boolean;
20
20
  hideEmptySeries: boolean;
21
21
  y: {
22
- formatter: (value: any, { dataPointIndex }: {
23
- dataPointIndex: number;
24
- }) => string | null;
22
+ formatter: (val: any, { dataPointIndex }: any) => any;
25
23
  };
26
24
  };
27
25
  legend: {
@@ -75,7 +73,7 @@ declare const useExamResult: (searchParam: string, navigate: Function, examSessi
75
73
  color: string;
76
74
  };
77
75
  labels: {
78
- formatter: (val: any) => string;
76
+ formatter: (val: any) => any;
79
77
  style: {
80
78
  fontSize: string;
81
79
  };
package/dist/index.css CHANGED
@@ -362,6 +362,11 @@
362
362
  border-radius: 0.375rem;
363
363
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
364
364
 
365
+ ._3NJzN {
366
+ overflow: hidden;
367
+ text-overflow: ellipsis;
368
+ white-space: nowrap; }
369
+
365
370
  ._2oGcJ {
366
371
  width: 48px;
367
372
  height: 48px;