touchstudy-core 0.1.18 → 0.1.19
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.
- package/dist/assets/iconAssignedQuestions.d.ts +3 -0
- package/dist/assets/iconBtnFeedback.d.ts +3 -0
- package/dist/assets/iconBtnNextChart.d.ts +3 -0
- package/dist/assets/iconBtnPrevChart.d.ts +3 -0
- package/dist/assets/iconBtnTerminate.d.ts +3 -0
- package/dist/assets/iconChat.d.ts +3 -0
- package/dist/assets/iconCloseDialog.d.ts +3 -0
- package/dist/assets/iconCorrectAnswer.d.ts +3 -0
- package/dist/assets/iconDownArrow.d.ts +3 -0
- package/dist/assets/iconInCorrectAnswer.d.ts +3 -0
- package/dist/assets/iconMeanTime.d.ts +3 -0
- package/dist/assets/iconMyPoolTime.d.ts +3 -0
- package/dist/assets/iconNoGrass.d.ts +3 -0
- package/dist/assets/iconNoStarQuestion.d.ts +3 -0
- package/dist/assets/iconStarQuestion.d.ts +3 -0
- package/dist/assets/iconTopTime.d.ts +3 -0
- package/dist/assets/iconUpArrow.d.ts +3 -0
- package/dist/assets/iconWarning.d.ts +3 -0
- package/dist/assets/iconX.d.ts +3 -0
- package/dist/components/Dialogs/CommonDialog.d.ts +3 -3
- package/dist/components/Dialogs/ConfirmDialog.d.ts +1 -0
- package/dist/components/Inputs/InputText.d.ts +4 -0
- package/dist/components/Selectors/AnswerCountSelector.d.ts +9 -0
- package/dist/components/Selectors/ArticleCategorySelector.d.ts +11 -0
- package/dist/components/Selectors/QuestionCountSelector.d.ts +9 -0
- package/dist/components/Selectors/ScoreSelector.d.ts +9 -0
- package/dist/components/Selectors/configs/constants.d.ts +4 -0
- package/dist/containers/ExamResult/apiClients/index.d.ts +12 -0
- package/dist/containers/ExamResult/components/CompareGrass/index.d.ts +5 -0
- package/dist/containers/ExamResult/components/Dialog/CreateNewQuestion.d.ts +9 -0
- package/dist/containers/ExamResult/components/GradesByTerritory/index.d.ts +12 -0
- package/dist/containers/ExamResult/components/MyAnswer/components/CreateNewQuestion.d.ts +12 -0
- package/dist/containers/ExamResult/components/MyAnswer/hooks/useCreateDialog.d.ts +10 -0
- package/dist/containers/ExamResult/components/MyAnswer/hooks/useMyAnswer.d.ts +10 -0
- package/dist/containers/ExamResult/components/MyAnswer/index.d.ts +9 -0
- package/dist/containers/ExamResult/components/ProtractedProblem/index.d.ts +12 -0
- package/dist/containers/ExamResult/components/TrickyProblem/index.d.ts +12 -0
- package/dist/containers/ExamResult/components/Vulnerable/index.d.ts +12 -0
- package/dist/containers/ExamResult/configs/constants.d.ts +19 -0
- package/dist/containers/ExamResult/configs/functions.d.ts +1 -0
- package/dist/containers/ExamResult/configs/types.d.ts +95 -0
- package/dist/containers/ExamResult/hooks/useCreateDialog.d.ts +9 -0
- package/dist/containers/ExamResult/hooks/useExamResult.d.ts +109 -0
- package/dist/containers/ExamResult/views/ExamResultV2.d.ts +7 -0
- package/dist/containers/Exams/components/ArticleGroupView.d.ts +5 -1
- package/dist/containers/Exams/components/QuestionView.d.ts +1 -1
- package/dist/containers/Exams/configs/constants.d.ts +0 -4
- package/dist/containers/Exams/configs/interfaces.d.ts +1 -2
- package/dist/containers/Exams/configs/types.d.ts +1 -0
- package/dist/containers/Exams/hooks/useExamDetailView.d.ts +2 -0
- package/dist/containers/Select/Category/apiClient/categoryService.d.ts +3 -0
- package/dist/containers/Select/Category/configs/types.d.ts +17 -0
- package/dist/containers/Select/Category/hook/useCategorySelect.d.ts +15 -0
- package/dist/containers/Select/Subject/apiClient/subjectService.d.ts +2 -0
- package/dist/containers/Select/Subject/configs/types.d.ts +9 -0
- package/dist/containers/Select/Subject/hook/useSubjectSelect.d.ts +12 -0
- package/dist/index.css +496 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +4510 -410
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4506 -416
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/constants.d.ts +5 -0
- package/dist/utils/enums/index.d.ts +2 -0
- package/dist/utils/enums/order.d.ts +4 -0
- package/dist/utils/helpers.d.ts +8 -0
- package/dist/utils/hooks/index.d.ts +2 -1
- package/dist/utils/hooks/useList.d.ts +17 -0
- package/dist/utils/types/index.d.ts +3 -0
- package/dist/utils/types/searchQuery.d.ts +8 -0
- package/dist/utils/types/tableHeaderType.d.ts +4 -0
- package/package.json +4 -4
- package/dist/components/Alerts/CommonAlert.d.ts +0 -3
- package/dist/components/Alerts/EmptyDataAlert.d.ts +0 -8
- package/dist/components/Chats/hooks/useConversationList.d.ts +0 -20
- package/dist/utils/useGoogleSignOut.d.ts +0 -10
- package/dist/utils/useLanguage.d.ts +0 -12
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare type CategoryOptions = {
|
2
|
+
label: string;
|
3
|
+
value: number;
|
4
|
+
};
|
5
|
+
export declare type CategoryRequest = {
|
6
|
+
parentCategoryId?: number;
|
7
|
+
subjectId: number;
|
8
|
+
};
|
9
|
+
export declare type Category = {
|
10
|
+
parentCategoryId?: number;
|
11
|
+
name: string;
|
12
|
+
numberOfChildren?: string[];
|
13
|
+
path?: string;
|
14
|
+
numberOfQuestions?: number;
|
15
|
+
id?: number;
|
16
|
+
children?: Category[];
|
17
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Category } from "../configs/types";
|
2
|
+
declare type Props = {
|
3
|
+
subjectId?: number;
|
4
|
+
};
|
5
|
+
declare const useCategorySelect: ({ subjectId }: Props) => {
|
6
|
+
categoryOptions: {
|
7
|
+
label: string;
|
8
|
+
value: number | undefined;
|
9
|
+
}[] | undefined;
|
10
|
+
selectedCategory: Category | undefined;
|
11
|
+
categoryList: Category[] | undefined;
|
12
|
+
handleChangeCategory: (value: any) => void;
|
13
|
+
handleChangeSelectedCategory: (category: Category | undefined) => void;
|
14
|
+
};
|
15
|
+
export default useCategorySelect;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { Subject } from "../configs/types";
|
2
|
+
declare const useSubjectSelect: () => {
|
3
|
+
subjectOptions: {
|
4
|
+
label: string;
|
5
|
+
value: number | undefined;
|
6
|
+
}[] | undefined;
|
7
|
+
selectedSubject: Subject | undefined;
|
8
|
+
subjectList: Subject[] | undefined;
|
9
|
+
handleChangeSubject: (value: any) => void;
|
10
|
+
handleChangeSelectedSubject: (subject: Subject | undefined) => void;
|
11
|
+
};
|
12
|
+
export default useSubjectSelect;
|
package/dist/index.css
CHANGED
@@ -536,10 +536,11 @@
|
|
536
536
|
._3IHYm {
|
537
537
|
border: 1px solid #5458D5; }
|
538
538
|
|
539
|
+
._26ATj > span:last-child,
|
539
540
|
._26ATj {
|
540
|
-
font-weight: 600;
|
541
|
-
font-size: 13px;
|
542
|
-
color: #202B37; }
|
541
|
+
font-weight: 600 !important;
|
542
|
+
font-size: 13px !important;
|
543
|
+
color: #202B37 !important; }
|
543
544
|
|
544
545
|
._3R8PR {
|
545
546
|
font-weight: 600;
|
@@ -558,3 +559,495 @@
|
|
558
559
|
._1VZac:hover {
|
559
560
|
color: #FFF;
|
560
561
|
background: #5458D5; }
|
562
|
+
|
563
|
+
._1dveO ._mxRxf:nth-child(1) {
|
564
|
+
font-family: "Pretendard";
|
565
|
+
font-size: 20px;
|
566
|
+
color: #5458d5;
|
567
|
+
font-weight: 800; }
|
568
|
+
|
569
|
+
._1dveO ._mxRxf:nth-child(3) {
|
570
|
+
font-family: "Pretendard";
|
571
|
+
font-size: 12px;
|
572
|
+
font-weight: 600; }
|
573
|
+
._1dveO ._mxRxf:nth-child(3) span {
|
574
|
+
margin-right: 16px; }
|
575
|
+
|
576
|
+
._2fD-F {
|
577
|
+
display: flex;
|
578
|
+
font-family: "Pretendard";
|
579
|
+
justify-content: center;
|
580
|
+
font-size: 18px;
|
581
|
+
font-weight: 700;
|
582
|
+
color: #5458d5; }
|
583
|
+
|
584
|
+
._2DGl3 {
|
585
|
+
display: flex;
|
586
|
+
justify-content: flex-end;
|
587
|
+
align-items: center;
|
588
|
+
gap: 24px; }
|
589
|
+
._2DGl3 ._xGW1x {
|
590
|
+
font-family: "Pretendard";
|
591
|
+
min-width: 170px;
|
592
|
+
min-height: 41px;
|
593
|
+
border: 1px solid #5458d5;
|
594
|
+
border-radius: 6px;
|
595
|
+
padding: 12px 24px;
|
596
|
+
display: flex;
|
597
|
+
align-items: center;
|
598
|
+
justify-content: center;
|
599
|
+
gap: 8px;
|
600
|
+
background-color: transparent; }
|
601
|
+
._2DGl3 ._xGW1x span {
|
602
|
+
font-size: 14px;
|
603
|
+
font-weight: 700;
|
604
|
+
color: #5458d5; }
|
605
|
+
._2DGl3 ._xGW1x:hover {
|
606
|
+
background-color: #e4e7ec; }
|
607
|
+
._2DGl3 ._3mLu2 {
|
608
|
+
min-width: 170px;
|
609
|
+
min-height: 41px;
|
610
|
+
border: 1px solid #5458d5;
|
611
|
+
border-radius: 6px;
|
612
|
+
padding: 12px 24px;
|
613
|
+
display: flex;
|
614
|
+
align-items: center;
|
615
|
+
justify-content: center;
|
616
|
+
gap: 8px;
|
617
|
+
background-color: #5458d5; }
|
618
|
+
._2DGl3 ._3mLu2 span {
|
619
|
+
font-size: 14px;
|
620
|
+
font-weight: 700;
|
621
|
+
color: #ffffff; }
|
622
|
+
._2DGl3 ._3mLu2:hover {
|
623
|
+
background-color: #5458d5; }
|
624
|
+
|
625
|
+
._eDBpS {
|
626
|
+
background-color: #ffffff;
|
627
|
+
border: 1px solid #e4e7ec;
|
628
|
+
border-radius: 6px; }
|
629
|
+
._eDBpS ._2fMq3 {
|
630
|
+
border-bottom: 1px solid #e4e7ec;
|
631
|
+
padding: 12px 24px; }
|
632
|
+
._eDBpS ._2fMq3 span {
|
633
|
+
font-family: "Pretendard";
|
634
|
+
font-weight: 700;
|
635
|
+
font-size: 16px;
|
636
|
+
color: #414e62; }
|
637
|
+
._eDBpS ._3gEYh {
|
638
|
+
padding: 8px 12px;
|
639
|
+
border-bottom: 1px solid #e4e7ec;
|
640
|
+
display: flex;
|
641
|
+
flex-direction: row;
|
642
|
+
gap: 8px;
|
643
|
+
background-color: #f9fafb; }
|
644
|
+
._eDBpS ._3gEYh span:nth-child(1) {
|
645
|
+
font-family: "Pretendard";
|
646
|
+
font-weight: 600;
|
647
|
+
font-size: 12px;
|
648
|
+
color: #ced2da; }
|
649
|
+
._eDBpS ._3gEYh span:nth-child(2) {
|
650
|
+
font-family: "Pretendard";
|
651
|
+
font-weight: 600;
|
652
|
+
font-size: 12px;
|
653
|
+
color: #5458d5; }
|
654
|
+
._eDBpS ._2K_sx {
|
655
|
+
display: flex;
|
656
|
+
flex-direction: column;
|
657
|
+
gap: 4px;
|
658
|
+
padding: 6px 0px;
|
659
|
+
font-family: "Pretendard"; }
|
660
|
+
._eDBpS ._2K_sx ._2qiLh {
|
661
|
+
cursor: pointer;
|
662
|
+
padding: 6px 8px; }
|
663
|
+
._eDBpS ._2K_sx ._6TCOK {
|
664
|
+
padding: 8px 12px 16px 84px;
|
665
|
+
display: flex;
|
666
|
+
align-items: center;
|
667
|
+
gap: 16px; }
|
668
|
+
._eDBpS ._2K_sx ._6TCOK ._hmseC {
|
669
|
+
display: flex;
|
670
|
+
align-items: center;
|
671
|
+
gap: 4px;
|
672
|
+
min-height: 28px;
|
673
|
+
min-width: 136px; }
|
674
|
+
._eDBpS ._2K_sx ._3GfJt {
|
675
|
+
font-weight: 500;
|
676
|
+
font-size: 12px; }
|
677
|
+
._eDBpS ._2K_sx ._3ut64 {
|
678
|
+
color: #6B0861; }
|
679
|
+
._eDBpS ._2K_sx ._2VtpD {
|
680
|
+
color: #f34b4b; }
|
681
|
+
._eDBpS ._2K_sx ._58lQU {
|
682
|
+
color: #fddb64; }
|
683
|
+
._eDBpS ._2K_sx ._1ucMY {
|
684
|
+
color: #1ee288; }
|
685
|
+
._eDBpS ._2K_sx ._1qkxy {
|
686
|
+
color: #414E62; }
|
687
|
+
._eDBpS ._2K_sx ._2jIeT {
|
688
|
+
font-weight: 500;
|
689
|
+
font-size: 12px;
|
690
|
+
color: #1ee288; }
|
691
|
+
._eDBpS ._2K_sx ._to2v0 {
|
692
|
+
font-weight: 500;
|
693
|
+
font-size: 12px;
|
694
|
+
color: #f34b4b; }
|
695
|
+
._eDBpS ._2K_sx ._1JSte {
|
696
|
+
font-weight: 500;
|
697
|
+
font-size: 12px;
|
698
|
+
color: #ced2da; }
|
699
|
+
._eDBpS ._2K_sx ._2_uTU {
|
700
|
+
font-weight: 500;
|
701
|
+
font-size: 12px;
|
702
|
+
color: #1ee288; }
|
703
|
+
._eDBpS ._2K_sx ._1DBoA {
|
704
|
+
font-weight: 500;
|
705
|
+
font-size: 12px;
|
706
|
+
color: #f34b4b; }
|
707
|
+
._eDBpS ._2K_sx ._1q3tD {
|
708
|
+
font-weight: 500;
|
709
|
+
font-size: 12px;
|
710
|
+
color: #fddb64; }
|
711
|
+
._eDBpS ._2K_sx ._3iItu {
|
712
|
+
font-weight: 500;
|
713
|
+
font-size: 12px;
|
714
|
+
color: #ced2da; }
|
715
|
+
._eDBpS ._2K_sx ._1fNkS {
|
716
|
+
font-family: "Pretendard";
|
717
|
+
font-weight: 600;
|
718
|
+
font-size: 12px;
|
719
|
+
color: #97a1af; }
|
720
|
+
._eDBpS ._2K_sx ._1Z_F3 {
|
721
|
+
font-family: "Pretendard";
|
722
|
+
font-weight: 600;
|
723
|
+
font-size: 12px;
|
724
|
+
color: #414e62; }
|
725
|
+
._eDBpS ._2K_sx ._4KwG0 {
|
726
|
+
height: 28px; }
|
727
|
+
._eDBpS ._2K_sx ._4KwG0 span {
|
728
|
+
font-weight: 500;
|
729
|
+
font-size: 12px;
|
730
|
+
color: #5458d5; }
|
731
|
+
._eDBpS ._2K_sx ._245H- {
|
732
|
+
font-family: "Pretendard";
|
733
|
+
font-weight: 600;
|
734
|
+
font-size: 12px;
|
735
|
+
color: #414e62; }
|
736
|
+
._eDBpS ._2K_sx ._3tZqw {
|
737
|
+
height: 28px; }
|
738
|
+
._eDBpS ._2K_sx ._3tZqw span {
|
739
|
+
font-weight: 500;
|
740
|
+
font-size: 12px;
|
741
|
+
color: #414e62; }
|
742
|
+
._eDBpS ._2K_sx ._PlPLY {
|
743
|
+
font-family: "Pretendard";
|
744
|
+
font-weight: 600;
|
745
|
+
font-size: 12px;
|
746
|
+
color: #97a1af; }
|
747
|
+
._eDBpS ._2K_sx ._12a7R {
|
748
|
+
height: 28px; }
|
749
|
+
._eDBpS ._2K_sx ._12a7R span {
|
750
|
+
font-weight: 500;
|
751
|
+
font-size: 12px;
|
752
|
+
color: #414e62; }
|
753
|
+
|
754
|
+
._3MW16 {
|
755
|
+
display: flex;
|
756
|
+
flex-direction: row;
|
757
|
+
align-items: center;
|
758
|
+
border: 1px solid #e4e7ec;
|
759
|
+
border-radius: 6px; }
|
760
|
+
|
761
|
+
._1fNkb {
|
762
|
+
width: 36px;
|
763
|
+
display: flex;
|
764
|
+
justify-content: center;
|
765
|
+
align-items: center;
|
766
|
+
cursor: pointer; }
|
767
|
+
|
768
|
+
._3K4oY {
|
769
|
+
width: calc(100% - 72px);
|
770
|
+
border-left: 1px solid #e4e7ec;
|
771
|
+
border-right: 1px solid #e4e7ec;
|
772
|
+
background-color: #F9FAFB; }
|
773
|
+
|
774
|
+
._3YKBp {
|
775
|
+
width: 36px;
|
776
|
+
display: flex;
|
777
|
+
justify-content: center;
|
778
|
+
align-items: center;
|
779
|
+
cursor: pointer; }
|
780
|
+
|
781
|
+
._13BVP {
|
782
|
+
padding: 10.5px 24px;
|
783
|
+
border: 1px solid #e4e7ec;
|
784
|
+
border-radius: 6px; }
|
785
|
+
._13BVP span {
|
786
|
+
font-family: "Pretendard";
|
787
|
+
font-weight: 700;
|
788
|
+
font-size: 16px;
|
789
|
+
color: #414e62; }
|
790
|
+
|
791
|
+
._1_fJu {
|
792
|
+
border: 1px solid #e4e7ec;
|
793
|
+
border-radius: 6px; }
|
794
|
+
._1_fJu ._o1txm {
|
795
|
+
font-family: "Pretendard";
|
796
|
+
padding: 10.5px 24px;
|
797
|
+
font-weight: 700;
|
798
|
+
font-size: 16px;
|
799
|
+
color: #414e62; }
|
800
|
+
._1_fJu ._bT5nf thead {
|
801
|
+
background-color: #f9fafb;
|
802
|
+
border-top: 1px solid #e4e7ec; }
|
803
|
+
._1_fJu ._bT5nf thead th {
|
804
|
+
font-family: "Pretendard";
|
805
|
+
font-weight: 600;
|
806
|
+
font-size: 13px;
|
807
|
+
color: #97a1af;
|
808
|
+
padding: 12px 16px; }
|
809
|
+
._1_fJu ._bT5nf thead ._3Umg0 {
|
810
|
+
border-right: 1px solid #e4e7ec;
|
811
|
+
padding: 12px 16px; }
|
812
|
+
._1_fJu ._bT5nf tbody {
|
813
|
+
font-family: "Pretendard";
|
814
|
+
font-weight: 500;
|
815
|
+
font-size: 13px; }
|
816
|
+
._1_fJu ._bT5nf tbody td {
|
817
|
+
vertical-align: middle; }
|
818
|
+
._1_fJu ._bT5nf tbody ._3dRMF {
|
819
|
+
padding: 8px 16px;
|
820
|
+
border-right: 1px solid #e4e7ec;
|
821
|
+
color: #97a1af; }
|
822
|
+
._1_fJu ._bT5nf tbody ._2tcBP {
|
823
|
+
text-align: center;
|
824
|
+
font-family: "Pretendard";
|
825
|
+
font-weight: 700;
|
826
|
+
font-size: 13px; }
|
827
|
+
._1_fJu ._bT5nf tbody ._1AFeb {
|
828
|
+
display: flex;
|
829
|
+
flex-direction: row;
|
830
|
+
justify-content: center;
|
831
|
+
align-items: center;
|
832
|
+
gap: 10px; }
|
833
|
+
._1_fJu ._bT5nf tbody ._1AFeb span {
|
834
|
+
font-family: "Pretendard";
|
835
|
+
font-weight: 600;
|
836
|
+
font-size: 11px;
|
837
|
+
padding: 4px 8px;
|
838
|
+
border-radius: 6px; }
|
839
|
+
|
840
|
+
._oTqG7 {
|
841
|
+
border: 1px solid #e4e7ec;
|
842
|
+
border-radius: 6px; }
|
843
|
+
._oTqG7 :hover {
|
844
|
+
cursor: pointer; }
|
845
|
+
|
846
|
+
._35eIx {
|
847
|
+
display: flex;
|
848
|
+
border-bottom: 1px solid #e4e7ec;
|
849
|
+
justify-content: space-between;
|
850
|
+
align-items: center;
|
851
|
+
padding: 10.5px 24px;
|
852
|
+
font-family: "Pretendard";
|
853
|
+
font-weight: 700;
|
854
|
+
font-size: 16px;
|
855
|
+
color: #414e62; }
|
856
|
+
|
857
|
+
._3t4HO {
|
858
|
+
display: flex;
|
859
|
+
justify-content: space-between;
|
860
|
+
align-items: center;
|
861
|
+
padding: 10.5px 24px;
|
862
|
+
font-family: "Pretendard";
|
863
|
+
font-weight: 700;
|
864
|
+
font-size: 16px;
|
865
|
+
color: #414e62; }
|
866
|
+
|
867
|
+
._1-oxK {
|
868
|
+
border-bottom: 1px solid #e4e7ec;
|
869
|
+
display: flex;
|
870
|
+
align-items: center;
|
871
|
+
padding: 8px 12px;
|
872
|
+
gap: 4px;
|
873
|
+
font-family: "Pretendard";
|
874
|
+
font-weight: 600;
|
875
|
+
font-size: 12px;
|
876
|
+
color: #97a1af; }
|
877
|
+
|
878
|
+
._2dpMR {
|
879
|
+
border-bottom: 1px solid #e4e7ec;
|
880
|
+
display: flex;
|
881
|
+
align-items: center;
|
882
|
+
flex-wrap: wrap;
|
883
|
+
padding: 8px 12px;
|
884
|
+
gap: 4px;
|
885
|
+
font-family: "Pretendard";
|
886
|
+
font-weight: 500;
|
887
|
+
font-size: 12px;
|
888
|
+
color: #f34b4b; }
|
889
|
+
._2dpMR ._1lSOX {
|
890
|
+
min-width: 36px;
|
891
|
+
min-height: 22px;
|
892
|
+
padding: 4px; }
|
893
|
+
|
894
|
+
._1ONUt {
|
895
|
+
display: flex;
|
896
|
+
align-items: center;
|
897
|
+
flex-wrap: wrap;
|
898
|
+
padding: 8px 12px;
|
899
|
+
gap: 4px;
|
900
|
+
font-family: "Pretendard";
|
901
|
+
font-weight: 500;
|
902
|
+
font-size: 12px;
|
903
|
+
color: #1ee288; }
|
904
|
+
._1ONUt ._1lSOX {
|
905
|
+
min-width: 36px;
|
906
|
+
min-height: 22px;
|
907
|
+
padding: 4px; }
|
908
|
+
|
909
|
+
._nPoR0 {
|
910
|
+
padding: 8px 0px; }
|
911
|
+
|
912
|
+
._2zmZn {
|
913
|
+
padding: 8px 8px;
|
914
|
+
display: flex;
|
915
|
+
align-items: center;
|
916
|
+
gap: 16px; }
|
917
|
+
._2zmZn ._334SY {
|
918
|
+
padding-left: 8px;
|
919
|
+
height: 36px;
|
920
|
+
border-right: 1px solid #97a1af; }
|
921
|
+
._2zmZn ._334SY div {
|
922
|
+
display: flex;
|
923
|
+
justify-content: center;
|
924
|
+
align-items: center;
|
925
|
+
gap: 4px;
|
926
|
+
min-width: 72px;
|
927
|
+
padding: 11px 15px 11px 8px; }
|
928
|
+
._2zmZn ._334SY div ._3Lf-U {
|
929
|
+
font-family: "Pretendard";
|
930
|
+
font-weight: 600;
|
931
|
+
font-size: 10px;
|
932
|
+
color: "#414E62"; }
|
933
|
+
._2zmZn ._334SY div ._ZpMot {
|
934
|
+
font-family: "Pretendard";
|
935
|
+
font-weight: 600;
|
936
|
+
font-size: 12px;
|
937
|
+
color: "#414E62"; }
|
938
|
+
._2zmZn ._16P3l {
|
939
|
+
display: flex;
|
940
|
+
flex-direction: row;
|
941
|
+
gap: 16px; }
|
942
|
+
._2zmZn ._16P3l div {
|
943
|
+
display: flex;
|
944
|
+
flex-direction: column;
|
945
|
+
gap: 8px; }
|
946
|
+
._2zmZn ._16P3l div ._3Lf-U {
|
947
|
+
font-family: "Pretendard";
|
948
|
+
font-size: 500px;
|
949
|
+
font-size: 12px;
|
950
|
+
color: #414e62; }
|
951
|
+
._2zmZn ._16P3l div ._ZpMot {
|
952
|
+
font-family: "Pretendard";
|
953
|
+
font-size: 500px;
|
954
|
+
font-size: 12px;
|
955
|
+
color: #97a1af; }
|
956
|
+
._2zmZn ._16P3l ._1kT28 {
|
957
|
+
font-family: "Pretendard";
|
958
|
+
font-weight: 600;
|
959
|
+
font-size: 12px;
|
960
|
+
color: #f34b4b; }
|
961
|
+
._2zmZn ._16P3l ._1fVRi {
|
962
|
+
font-family: "Pretendard";
|
963
|
+
font-weight: 500;
|
964
|
+
font-size: 12px;
|
965
|
+
color: #414e62; }
|
966
|
+
._2zmZn ._16P3l ._3jLGe {
|
967
|
+
font-family: "Pretendard";
|
968
|
+
font-weight: 600;
|
969
|
+
font-size: 12px;
|
970
|
+
color: #5458d5; }
|
971
|
+
._2zmZn ._16P3l ._VsZ0K {
|
972
|
+
font-family: "Pretendard";
|
973
|
+
font-weight: 500;
|
974
|
+
font-size: 12px;
|
975
|
+
color: #f34b4b; }
|
976
|
+
|
977
|
+
._QxKMy {
|
978
|
+
padding: 8px; }
|
979
|
+
|
980
|
+
._nnqpW {
|
981
|
+
padding: 10px 0px; }
|
982
|
+
|
983
|
+
._3Z1nV {
|
984
|
+
display: flex;
|
985
|
+
flex-direction: column;
|
986
|
+
padding: 12px 24px; }
|
987
|
+
._3Z1nV ._36Xpx {
|
988
|
+
display: flex;
|
989
|
+
align-items: center;
|
990
|
+
justify-content: space-between; }
|
991
|
+
._3Z1nV ._36Xpx ._3ZJQW {
|
992
|
+
font-family: "Pretendard";
|
993
|
+
font-weight: 500;
|
994
|
+
font-size: 12px;
|
995
|
+
color: #414E62; }
|
996
|
+
._3Z1nV ._36Xpx ._2J3MK {
|
997
|
+
font-family: "Pretendard";
|
998
|
+
display: flex;
|
999
|
+
gap: 16px;
|
1000
|
+
margin-right: 20px;
|
1001
|
+
font-weight: 600;
|
1002
|
+
font-size: 12px;
|
1003
|
+
color: #5458D5; }
|
1004
|
+
._3Z1nV ._1PMz8 {
|
1005
|
+
width: 100%; }
|
1006
|
+
._3Z1nV ._1PMz8 input[type="range"] {
|
1007
|
+
-webkit-appearance: none;
|
1008
|
+
padding: 1px;
|
1009
|
+
width: 100%;
|
1010
|
+
border: 1px solid #ebebff;
|
1011
|
+
border-radius: 255px;
|
1012
|
+
background-color: transparent;
|
1013
|
+
height: 14px; }
|
1014
|
+
._3Z1nV ._1PMz8 input[type="range"]::-webkit-slider-thumb {
|
1015
|
+
-webkit-appearance: none;
|
1016
|
+
width: 12px;
|
1017
|
+
height: 12px;
|
1018
|
+
border-radius: 100%;
|
1019
|
+
background-color: #5458d5;
|
1020
|
+
border: 1px solid #ffffff; }
|
1021
|
+
|
1022
|
+
.__g-ff {
|
1023
|
+
font-family: "Pretendard";
|
1024
|
+
font-weight: 600;
|
1025
|
+
display: flex;
|
1026
|
+
justify-content: center;
|
1027
|
+
align-items: center; }
|
1028
|
+
|
1029
|
+
._3j485 {
|
1030
|
+
height: calc(100vh - 72px); }
|
1031
|
+
|
1032
|
+
._2O6RX {
|
1033
|
+
overflow-x: auto;
|
1034
|
+
-webkit-overflow-scrolling: touch; }
|
1035
|
+
|
1036
|
+
._3oCSh {
|
1037
|
+
font-weight: 600 !important;
|
1038
|
+
font-size: 13px !important;
|
1039
|
+
line-height: 15.51px !important;
|
1040
|
+
color: #202B37 !important; }
|
1041
|
+
|
1042
|
+
._3USKq {
|
1043
|
+
min-width: 120px !important;
|
1044
|
+
padding: 12px !important;
|
1045
|
+
border-radius: 6px !important;
|
1046
|
+
background-color: transparent !important;
|
1047
|
+
color: #5458D5; }
|
1048
|
+
|
1049
|
+
._3y_iD {
|
1050
|
+
min-width: 120px !important;
|
1051
|
+
padding: 12px !important;
|
1052
|
+
border-radius: 6px !important;
|
1053
|
+
background-color: #5458D5 !important; }
|
package/dist/index.d.ts
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
declare const historyCore: import("history").History<unknown>;
|
2
1
|
import { setLoading, setAlert, setUser, setLanguage, setReFetchUserAcademies } from "./redux/commons/action";
|
3
2
|
import { BASE_URL, SUPER_ADMIN_BASE_URL, ACCESS_TOKEN, PUSHER_CONFIG, EXAM_CHANNEL, EXAM_STUDENT_CHANNEL, DATE_MIN_VALUE, DATE_TIME_MIN_VALUE, ACADEMY_DOMAIN, getAcademyDomain, AcademyHeaders } from "./utils/constants";
|
4
3
|
import utcToLocalTime from "./utils/utcToLocalTime";
|
@@ -10,11 +9,11 @@ import LayoutContext from "./layouts/LayoutContext";
|
|
10
9
|
import { api, apiUpload } from "./configs/api";
|
11
10
|
import { ConfirmDialog } from "./components/Dialogs/ConfirmDialog";
|
12
11
|
import CommonDialog from "./components/Dialogs/CommonDialog";
|
13
|
-
import CommonAlert from "./components/Alerts/CommonAlert";
|
14
12
|
import formatTime from "./utils/formatTime";
|
15
13
|
import diffFromNow from "./utils/diffFromNow";
|
16
14
|
import CustomPagination from "./components/Paginations/CustomPagination";
|
17
15
|
import useGoogleSignOut from "./utils/hooks/useGoogleSignOut";
|
16
|
+
import useSubjectSelect from "./containers/Select/Subject/hook/useSubjectSelect";
|
18
17
|
import { ExamEvent } from "./utils/types";
|
19
18
|
import i18n from "./i18n";
|
20
19
|
import TheLanguageDropdown from "./layouts/TheLanguageDropdown";
|
@@ -35,6 +34,7 @@ import usePusherConversation from "./components/Chats/hooks/usePusherConversatio
|
|
35
34
|
import { ToastContainer, toast } from "react-toastify";
|
36
35
|
import { Role } from "./containers/Login/configs/constants";
|
37
36
|
import useLanguage from "./utils/hooks/useLanguage";
|
37
|
+
import * as CoreHooks from "./utils/hooks";
|
38
38
|
import { LANGUAGES } from "./configs/constants";
|
39
39
|
import CustomCreatable from "./components/Selects/CustomCreatable";
|
40
40
|
import moment from "moment";
|
@@ -47,4 +47,14 @@ import { LoginAccessTokenRequest, LoginRequest } from "./utils/types/login";
|
|
47
47
|
import useSwitchAcademy from "./utils/hooks/useSwitchAcademy";
|
48
48
|
import * as ChatTypes from "./components/Chats/configs/types";
|
49
49
|
import CustomSelectOption from "./components/Selects/CustomSelectOption";
|
50
|
-
|
50
|
+
import ExamResultV2 from "./containers/ExamResult/views/ExamResultV2";
|
51
|
+
import * as Types from "./utils/types/index";
|
52
|
+
import * as Enums from "./utils/enums";
|
53
|
+
import ArticleGroupView from "./containers/Exams/components/ArticleGroupView";
|
54
|
+
import AnswerCountSelector from "./components/Selectors/AnswerCountSelector";
|
55
|
+
import QuestionCountSelector from "./components/Selectors/QuestionCountSelector";
|
56
|
+
import ScoreSelector from "./components/Selectors/ScoreSelector";
|
57
|
+
import useCategorySelect from "./containers/Select/Category/hook/useCategorySelect";
|
58
|
+
import ArticleCategorySelector from "./components/Selectors/ArticleCategorySelector";
|
59
|
+
import InputText from "./components/Inputs/InputText";
|
60
|
+
export { diffFromNow, formatTime, utcToLocalTime, setLoading, BASE_URL, SUPER_ADMIN_BASE_URL, ACCESS_TOKEN, Login, store, setAlert, setUser, Loading, NotFound, LayoutContext, api, apiUpload, ConfirmDialog, CommonDialog, CustomPagination, useGoogleSignOut, PUSHER_CONFIG, ExamEvent, EXAM_CHANNEL, EXAM_STUDENT_CHANNEL, setLanguage, i18n, TheLanguageDropdown, TheAcademyDropdown, useTranslation, I18nextProvider, DATE_MIN_VALUE, DATE_TIME_MIN_VALUE, ACADEMY_DOMAIN, minutesToTimeSpan, toISOString, canAccessRoute, CustomSelect, CustomAsyncSelect, CustomSelectOption, getAccessToken, ChatContainer, IChatContainerProps, IChatItemProps, IChatHeaderProps, IInputChatProps, ChatItemType, useChatContainer, ConversationResponse, usePusherConversation, ExamResultV2, ToastContainer, toast, Role, useLanguage, useSwitchAcademy, LANGUAGES, CustomCreatable, moment, ExamDetailView, ExamDetailViewProps, Exam, Question, ArticleGroup, getAcademyDomain, useSubjectSelect, useLogin, useAutoAcademyDomain, LoginAccessTokenRequest, LoginRequest, setReFetchUserAcademies, ChatTypes, AcademyHeaders, Types, Enums, CoreHooks, ArticleGroupView, AnswerCountSelector, QuestionCountSelector, ScoreSelector, ArticleCategorySelector, useCategorySelect, InputText };
|