touchstudy-core 0.1.41 → 0.1.43

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,13 +1,9 @@
1
1
  import { FC } from "react";
2
2
  import { CategoryResponse } from "../../configs/types";
3
3
  interface Props {
4
+ keyOpen: string;
4
5
  data: CategoryResponse[];
5
- openProblem: {
6
- problem1: boolean;
7
- problem2: boolean;
8
- problem3: boolean;
9
- problem4: boolean;
10
- };
6
+ openProblem: string;
11
7
  changeOpen: any;
12
8
  isPrint?: boolean;
13
9
  }
@@ -2,12 +2,8 @@ import { FC } from "react";
2
2
  import { LongTimeSpendQuestion } from "../../configs/types";
3
3
  interface Props {
4
4
  data: LongTimeSpendQuestion[];
5
- openProblem: {
6
- problem1: boolean;
7
- problem2: boolean;
8
- problem3: boolean;
9
- problem4: boolean;
10
- };
5
+ keyOpen: string;
6
+ openProblem: string;
11
7
  changeOpen: any;
12
8
  isPrint?: boolean;
13
9
  }
@@ -2,12 +2,8 @@ import { FC } from "react";
2
2
  import { ExamResult } from "../../configs/types";
3
3
  interface Props {
4
4
  data: ExamResult;
5
- openProblem: {
6
- problem1: boolean;
7
- problem2: boolean;
8
- problem3: boolean;
9
- problem4: boolean;
10
- };
5
+ keyOpen: string;
6
+ openProblem: string;
11
7
  changeOpen: any;
12
8
  isPrint?: boolean;
13
9
  }
@@ -1,13 +1,9 @@
1
1
  import { FC } from "react";
2
2
  import { ExamResult } from "../../configs/types";
3
3
  interface Props {
4
+ keyOpen: string;
4
5
  data: ExamResult;
5
- openProblem: {
6
- problem1: boolean;
7
- problem2: boolean;
8
- problem3: boolean;
9
- problem4: boolean;
10
- };
6
+ openProblem: string;
11
7
  changeOpen: any;
12
8
  isPrint?: boolean;
13
9
  }
@@ -163,23 +163,13 @@ declare const useExamResult: (searchParam: string, navigate: Function, examSessi
163
163
  dataChartIndex: number;
164
164
  totalTime: any;
165
165
  isStudent: any;
166
- resultDatas: ExamResult | undefined;
166
+ resultData: ExamResult | undefined;
167
167
  effectSize: EffectSize[] | undefined;
168
168
  longTimeSpend: LongTimeSpendQuestion[];
169
169
  timelyOrderQuestions: TimelyOrderQuestion[];
170
- openProblem: {
171
- problem1: boolean;
172
- problem2: boolean;
173
- problem3: boolean;
174
- problem4: boolean;
175
- };
170
+ openProblem: string;
176
171
  categoryResponses: CategoryResponse[];
177
- setOpenProblem: import("react").Dispatch<import("react").SetStateAction<{
178
- problem1: boolean;
179
- problem2: boolean;
180
- problem3: boolean;
181
- problem4: boolean;
182
- }>>;
172
+ setOpenProblem: import("react").Dispatch<import("react").SetStateAction<string>>;
183
173
  handlePrevChart: () => void;
184
174
  handleNextChart: () => void;
185
175
  handleExit: () => void;
@@ -1,11 +1,11 @@
1
- import { FC, MouseEventHandler } from "react";
1
+ import { FC } from "react";
2
2
  import { ExamDetailViewProps } from "../../../Exams/configs/interfaces";
3
3
  interface Props extends ExamDetailViewProps {
4
4
  isOpen: boolean;
5
5
  onClose: Function;
6
6
  isEdit?: boolean;
7
7
  onSubmit: Function;
8
- handleSaveExam: MouseEventHandler<HTMLDivElement>;
8
+ handleSaveExam: any;
9
9
  }
10
10
  declare const CreateExamDrawer: FC<Props>;
11
11
  export default CreateExamDrawer;
package/dist/index.css CHANGED
@@ -144,16 +144,13 @@
144
144
  padding: 8px;
145
145
  border-radius: 6px; }
146
146
  ._1krbH ._3Y_y4:hover {
147
- background-color: #f1faff;
148
- color: #009ef7; }
147
+ background-color: #f1faff; }
149
148
 
150
149
  ._1krbH ._CzNMi {
151
- background-color: #f1faff;
152
- color: #009ef7; }
150
+ background-color: #f1faff; }
153
151
 
154
152
  ._3CMVp {
155
153
  max-width: 268px;
156
- border: 1px solid #ebebff !important;
157
154
  border-radius: 6px !important;
158
155
  display: flex !important;
159
156
  justify-content: space-between !important; }
@@ -168,7 +165,6 @@
168
165
  font-size: 20px;
169
166
  font-weight: 600;
170
167
  line-height: 1;
171
- background-color: #5458d5;
172
168
  color: #fff; }
173
169
  ._3RDWF {
174
170
  margin-right: 12px; }
@@ -202,7 +198,7 @@
202
198
  justify-content: center;
203
199
  align-items: center; }
204
200
  ._N4FNf svg {
205
- fill: #5458d5; }
201
+ fill: #18442A; }
206
202
 
207
203
  ._31Dr0 {
208
204
  width: 100%;
@@ -426,11 +422,11 @@
426
422
  ._3xnI5 ._3hx2T ._3UyhW div span {
427
423
  display: none; }
428
424
  ._3xnI5 a._1TGKA {
429
- border-bottom: 1px solid #7366ff;
425
+ border-bottom: 1px solid #18442A;
430
426
  border-radius: 0; }
431
427
  ._3xnI5 a._1AqMh,
432
428
  ._3xnI5 a._1TGKA {
433
- color: #5458d5; }
429
+ color: #18442A; }
434
430
  ._3xnI5 ._3UyhW {
435
431
  font-size: 14px;
436
432
  font-weight: 700;
@@ -536,7 +532,6 @@
536
532
  align-items: center;
537
533
  justify-content: space-between;
538
534
  gap: 4px;
539
- color: #5458D5;
540
535
  border-bottom: 1px solid #E4E7EC;
541
536
  border-right: 1px solid #E4E7EC; }
542
537
 
@@ -547,7 +542,6 @@
547
542
  align-items: center;
548
543
  justify-content: space-between;
549
544
  gap: 4px;
550
- background-color: #5458D5;
551
545
  color: #FFFFFF;
552
546
  border-bottom: 1px solid #E4E7EC;
553
547
  border-right: 1px solid #E4E7EC; }
@@ -591,7 +585,6 @@
591
585
 
592
586
  ._32V7T {
593
587
  padding: 8px 12px;
594
- background-color: #5458D5;
595
588
  color: #FFFFFF;
596
589
  border-radius: 6px; }
597
590
 
@@ -614,7 +607,6 @@
614
607
  display: flex !important;
615
608
  align-items: center !important;
616
609
  color: #FFFFFF !important;
617
- background-color: #5458D5 !important;
618
610
  gap: 8px !important;
619
611
  width: 100%;
620
612
  border-radius: 6px !important; }
@@ -638,14 +630,12 @@
638
630
  min-width: 120px !important;
639
631
  padding: 12px !important;
640
632
  border-radius: 6px !important;
641
- background-color: transparent !important;
642
- color: #5458D5; }
633
+ background-color: transparent !important; }
643
634
 
644
635
  ._22r6_ {
645
636
  min-width: 120px !important;
646
637
  padding: 12px !important;
647
- border-radius: 6px !important;
648
- background-color: #5458D5 !important; }
638
+ border-radius: 6px !important; }
649
639
 
650
640
  ._jADIA {
651
641
  font-weight: 600 !important;
@@ -698,14 +688,11 @@
698
688
  border: 1px solid #EBEBFF; }
699
689
  ._2p7kY {
700
690
  font-weight: 700;
701
- font-size: 14px;
702
- color: #5458D5; }
691
+ font-size: 14px; }
703
692
  ._2tHmc {
704
693
  font-weight: 700;
705
694
  font-size: 14px;
706
695
  color: #414E62; }
707
- ._3IHYm {
708
- border: 1px solid #5458D5; }
709
696
 
710
697
  ._26ATj > span:last-child,
711
698
  ._26ATj {
@@ -716,20 +703,13 @@
716
703
  ._3R8PR {
717
704
  font-weight: 600;
718
705
  font-size: 13px;
719
- color: #5458D5;
720
706
  border: 1px solid #97A1AF;
721
707
  padding: 12px; }
722
708
  ._3R8PR:focus {
723
- box-shadow: none;
724
- color: #5458D5;
725
- border: 1px solid #5458D5; }
709
+ box-shadow: none; }
726
710
 
727
- ._1VZac {
728
- border-color: #5458D5;
729
- color: #5458D5; }
730
- ._1VZac:hover {
731
- color: #FFF;
732
- background: #5458D5; }
711
+ ._1VZac:hover {
712
+ color: #FFF; }
733
713
 
734
714
  ._11aYm {
735
715
  width: 70vw;
@@ -760,10 +740,7 @@
760
740
  border-bottom: 1px solid #E4E7EC;
761
741
  padding: 1rem 1.5rem; }
762
742
  ._2BwOx button {
763
- background-color: #5458D5;
764
743
  padding: 0.5rem 1rem; }
765
- ._2BwOx button:hover {
766
- background-color: #5457af; }
767
744
  ._2BwOx button span {
768
745
  font-size: 13px;
769
746
  font-weight: 700; }
@@ -814,12 +791,10 @@
814
791
  padding: 8px;
815
792
  border-radius: 6px; }
816
793
  ._3Szun:hover {
817
- background-color: #f1faff;
818
- color: #009ef7; }
794
+ background-color: #f1faff; }
819
795
 
820
796
  ._2HhLb {
821
- background-color: #f1faff;
822
- color: #009ef7; }
797
+ background-color: #f1faff; }
823
798
 
824
799
  ._3WYHC {
825
800
  font-weight: 600;
@@ -841,7 +816,6 @@
841
816
  font-size: 20px;
842
817
  font-weight: 600;
843
818
  line-height: 1;
844
- background-color: #5458D5;
845
819
  color: #FFF; }
846
820
  ._2ZozT img {
847
821
  width: 100%;
@@ -853,7 +827,6 @@
853
827
  ._1dveO ._mxRxf:nth-child(1) {
854
828
  font-family: "Pretendard";
855
829
  font-size: 20px;
856
- color: #5458d5;
857
830
  font-weight: 800; }
858
831
 
859
832
  ._1dveO ._mxRxf:nth-child(3) {
@@ -868,8 +841,7 @@
868
841
  font-family: "Pretendard";
869
842
  justify-content: center;
870
843
  font-size: 18px;
871
- font-weight: 700;
872
- color: #5458d5; }
844
+ font-weight: 700; }
873
845
 
874
846
  ._2DGl3 {
875
847
  display: flex;
@@ -880,7 +852,6 @@
880
852
  font-family: "Pretendard";
881
853
  min-width: 170px;
882
854
  min-height: 41px;
883
- border: 1px solid #5458d5;
884
855
  border-radius: 6px;
885
856
  padding: 12px 24px;
886
857
  display: flex;
@@ -890,27 +861,22 @@
890
861
  background-color: transparent; }
891
862
  ._2DGl3 ._xGW1x span {
892
863
  font-size: 14px;
893
- font-weight: 700;
894
- color: #5458d5; }
864
+ font-weight: 700; }
895
865
  ._2DGl3 ._xGW1x:hover {
896
866
  background-color: #e4e7ec; }
897
867
  ._2DGl3 ._3mLu2 {
898
868
  min-width: 170px;
899
869
  min-height: 41px;
900
- border: 1px solid #5458d5;
901
870
  border-radius: 6px;
902
- padding: 12px 24px;
871
+ padding: 12px 28px;
903
872
  display: flex;
904
873
  align-items: center;
905
874
  justify-content: center;
906
- gap: 8px;
907
- background-color: #5458d5; }
875
+ gap: 8px; }
908
876
  ._2DGl3 ._3mLu2 span {
909
877
  font-size: 14px;
910
878
  font-weight: 700;
911
879
  color: #ffffff; }
912
- ._2DGl3 ._3mLu2:hover {
913
- background-color: #5458d5; }
914
880
 
915
881
  ._eDBpS {
916
882
  background-color: #ffffff; }
@@ -937,8 +903,7 @@
937
903
  ._eDBpS ._3gEYh span:nth-child(2) {
938
904
  font-family: "Pretendard";
939
905
  font-weight: 600;
940
- font-size: 12px;
941
- color: #5458d5; }
906
+ font-size: 12px; }
942
907
  ._eDBpS ._2K_sx {
943
908
  display: flex;
944
909
  flex-direction: column;
@@ -1014,8 +979,7 @@
1014
979
  height: 28px; }
1015
980
  ._eDBpS ._2K_sx ._4KwG0 span {
1016
981
  font-weight: 500;
1017
- font-size: 12px;
1018
- color: #5458d5; }
982
+ font-size: 12px; }
1019
983
  ._eDBpS ._2K_sx ._245H- {
1020
984
  font-family: "Pretendard";
1021
985
  font-weight: 600;
@@ -1264,8 +1228,7 @@
1264
1228
  ._2zmZn ._16P3l ._3jLGe {
1265
1229
  font-family: "Pretendard";
1266
1230
  font-weight: 600;
1267
- font-size: 12px;
1268
- color: #5458d5; }
1231
+ font-size: 12px; }
1269
1232
  ._2zmZn ._16P3l ._VsZ0K {
1270
1233
  font-family: "Pretendard";
1271
1234
  font-weight: 500;
@@ -1297,8 +1260,7 @@
1297
1260
  gap: 16px;
1298
1261
  margin-right: 20px;
1299
1262
  font-weight: 600;
1300
- font-size: 12px;
1301
- color: #5458D5; }
1263
+ font-size: 12px; }
1302
1264
  ._3Z1nV ._1MPdO {
1303
1265
  width: 100%;
1304
1266
  height: 12px;
@@ -1314,7 +1276,6 @@
1314
1276
  width: 8px;
1315
1277
  height: 8px;
1316
1278
  border-radius: 100%;
1317
- background-color: #5458d5;
1318
1279
  position: absolute;
1319
1280
  top: 0;
1320
1281
  transform: translateX(-50%); }
@@ -1363,14 +1324,12 @@
1363
1324
  min-width: 120px !important;
1364
1325
  padding: 12px !important;
1365
1326
  border-radius: 6px !important;
1366
- background-color: transparent !important;
1367
- color: #5458D5; }
1327
+ background-color: transparent !important; }
1368
1328
 
1369
1329
  ._3y_iD {
1370
1330
  min-width: 120px !important;
1371
1331
  padding: 12px !important;
1372
- border-radius: 6px !important;
1373
- background-color: #5458D5 !important; }
1332
+ border-radius: 6px !important; }
1374
1333
 
1375
1334
  ._3xZHo p {
1376
1335
  font-size: 13px;