mario-teacher-student-client 1.2.7 → 1.2.8

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.
@@ -0,0 +1,10 @@
1
+ declare const useNoteConferences: () => {
2
+ teacherNoteData: any;
3
+ studentNoteData: any;
4
+ privateNoteData: any;
5
+ getAllNoteSession: (sessionId: any) => Promise<void>;
6
+ createSessionSingleNote: (note: any, sessionResultId: any, sessionId: any) => Promise<void>;
7
+ deleteNote: (noteId: any, sessionId: any) => Promise<void>;
8
+ updatePrivateNote: (privateNote: any, sessionId: any) => Promise<void>;
9
+ };
10
+ export default useNoteConferences;
@@ -3,5 +3,6 @@ declare const useSessionCompleted: () => {
3
3
  changeFilters: (updatedFilters: any) => any;
4
4
  filters: any;
5
5
  selectFavourite: (itemID: string) => Promise<void>;
6
+ changRouteQuestion: (studentId: number) => Promise<void>;
6
7
  };
7
8
  export default useSessionCompleted;
@@ -1,3 +1,15 @@
1
+ export interface FILTER_STUDENT_SESSION {
2
+ currentPage: number;
3
+ pageSize: number;
4
+ searchString: string;
5
+ sortBy: string;
6
+ sortOrder?: string;
7
+ name?: string;
8
+ startDate?: number;
9
+ endDate?: number;
10
+ isDone?: boolean;
11
+ isDescending: boolean;
12
+ }
1
13
  export interface FILTER_SESSION {
2
14
  currentPage: number;
3
15
  pageSize: number;
@@ -22,8 +34,15 @@ export interface SESSION_TYPE {
22
34
  isFavourite: boolean;
23
35
  isTeacherFavourite: boolean;
24
36
  isTeacherDone?: boolean;
25
- teacherName: string;
26
37
  studentProfile: any;
38
+ teacherName: string;
39
+ }
40
+ export interface STUDENT_PROFILE {
41
+ id: number;
42
+ userId: string;
43
+ name: string;
44
+ avatar: string;
45
+ classes: string[];
27
46
  }
28
47
  export interface CLASS_REFLECTION {
29
48
  id: number;
@@ -37,6 +56,10 @@ export interface QuestionAnswer {
37
56
  id: number;
38
57
  answer: string;
39
58
  }
59
+ export declare enum OrderByStudent {
60
+ id = 0,
61
+ name = 1
62
+ }
40
63
  export interface ActionPointType {
41
64
  id?: string;
42
65
  text: string;
@@ -1,7 +1,7 @@
1
- import { FILTER_SESSION } from "../constants/types";
1
+ import { FILTER_STUDENT_SESSION } from "../constants/types";
2
2
  declare const useStudentList: () => {
3
3
  students: any;
4
4
  changeFilters: (updatedFilters: any) => void;
5
- filters: FILTER_SESSION;
5
+ filters: FILTER_STUDENT_SESSION;
6
6
  };
7
7
  export default useStudentList;
package/dist/index.css CHANGED
@@ -25,6 +25,7 @@
25
25
 
26
26
  ._vnH2n {
27
27
  display: flex;
28
+ height: 76px;
28
29
  justify-content: space-between;
29
30
  align-items: center;
30
31
  padding: 20px 16px;
@@ -96,6 +97,18 @@ p._1YLGi {
96
97
  width: 100%;
97
98
  max-width: 1000px; }
98
99
 
100
+ ._p-cUG {
101
+ display: flex;
102
+ align-items: center;
103
+ margin-bottom: 20px;
104
+ flex-wrap: wrap; }
105
+ ._p-cUG ._337MJ {
106
+ flex: 1 0 30%; }
107
+ ._p-cUG ._k_dl- {
108
+ display: block;
109
+ width: 100%;
110
+ max-width: 100%; }
111
+
99
112
  ._1M6M1 {
100
113
  display: flex;
101
114
  align-items: center;
@@ -135,17 +148,17 @@ p._1YLGi {
135
148
  padding-top: 0; } }
136
149
 
137
150
  @media (max-width: 600px) {
138
- ._1wmi8 {
151
+ ._1M6M1 ._1wmi8 {
139
152
  padding: 10px 30px; }
140
- ._1wmi8 img {
153
+ ._1M6M1 ._1wmi8 img {
141
154
  width: 38px;
142
155
  height: 38px; }
143
- p {
144
- color: rgba(0, 0, 0, 0.87);
145
- font-size: 13px;
146
- margin-bottom: 0;
147
- font-weight: 500;
148
- padding-top: 8px; } }
156
+ ._1M6M1 ._1wmi8 p {
157
+ color: rgba(0, 0, 0, 0.87);
158
+ font-size: 13px;
159
+ margin-bottom: 0;
160
+ font-weight: 500;
161
+ padding-top: 5px; } }
149
162
 
150
163
  ._KKK4u {
151
164
  display: flex;
@@ -162,7 +175,8 @@ p._1YLGi {
162
175
  display: flex;
163
176
  align-items: center;
164
177
  padding: 5px 10px;
165
- border-radius: 15px; }
178
+ border-radius: 15px;
179
+ margin-left: 14px; }
166
180
  ._275AS span {
167
181
  margin-right: 5px; }
168
182
 
@@ -498,7 +512,7 @@ p._1YLGi {
498
512
  ._oYOOf {
499
513
  display: flex;
500
514
  flex-direction: row;
501
- padding: 10px 20px;
515
+ padding: 10px 15px;
502
516
  border-bottom: 1px solid #ebebeb; }
503
517
  ._oYOOf ._1T6-Y {
504
518
  flex: 1;
@@ -519,12 +533,16 @@ p._1YLGi {
519
533
  font-size: 18px;
520
534
  line-height: 24px;
521
535
  display: flex;
522
- margin-bottom: 10px;
523
536
  align-items: end; }
524
537
  ._oYOOf ._3KmXg ._36Yiv {
525
538
  font-weight: 600;
526
539
  font-size: 20px;
527
- line-height: 24px; }
540
+ line-height: 24px;
541
+ padding: 5px 0;
542
+ overflow: hidden;
543
+ white-space: nowrap;
544
+ text-overflow: ellipsis;
545
+ width: 80%; }
528
546
  ._oYOOf ._3KmXg ._2xzQn {
529
547
  font-weight: 600;
530
548
  font-size: 15px;
@@ -547,6 +565,14 @@ p._1YLGi {
547
565
  padding: 15px; }
548
566
  ._3NAmf button {
549
567
  width: 100%; }
568
+ @media (max-width: 767px) {
569
+ ._3NAmf {
570
+ bottom: 0;
571
+ right: 0;
572
+ position: fixed;
573
+ background-color: #ffffff;
574
+ width: 100%;
575
+ margin-bottom: -1px; } }
550
576
 
551
577
  ._3VNff {
552
578
  padding: 0; }
@@ -558,7 +584,7 @@ p._1YLGi {
558
584
  background: #fed7e2;
559
585
  color: #702459;
560
586
  padding: 5px 8px;
561
- margin-top: 10px;
587
+ margin-top: 5px;
562
588
  border-radius: 70px;
563
589
  width: -webkit-max-content;
564
590
  width: -moz-max-content;
@@ -894,12 +920,39 @@ p._1YLGi {
894
920
  font-weight: 600;
895
921
  padding: 5px;
896
922
  background-color: #CEEDFF;
897
- border-radius: 15px; }
923
+ border-radius: 15px;
924
+ width: -webkit-max-content;
925
+ width: -moz-max-content;
926
+ width: max-content; }
898
927
  ._n2Grq ._2werz ._1ll_P {
899
928
  font-size: 18px;
900
929
  font-weight: 700;
901
930
  margin-bottom: 10px; }
902
931
 
932
+ ._18Kga {
933
+ font-size: 24px;
934
+ font-weight: 700;
935
+ padding: 15px;
936
+ border-bottom: 1px solid #ebebeb; }
937
+
938
+ ._1gCac {
939
+ margin-bottom: 90px; }
940
+
941
+ ._2g648 {
942
+ padding: 10px 0;
943
+ width: 100%;
944
+ border-bottom: 1px solid #ebebeb;
945
+ display: flex;
946
+ align-items: center; }
947
+ ._2g648 ._37CyR {
948
+ font-weight: 700;
949
+ font-size: 24px;
950
+ line-height: 28px; }
951
+ ._2g648 ._2gfkC {
952
+ margin: 0 15px;
953
+ font-size: 30px;
954
+ cursor: pointer; }
955
+
903
956
  @font-face {
904
957
  font-family: "Lato-Regular";
905
958
  src: url("/fonts/Lato-Regular.ttf");
@@ -1445,6 +1498,18 @@ p._1YLGi {
1445
1498
  font-weight: 700;
1446
1499
  margin-bottom: 10px; }
1447
1500
 
1501
+ @font-face {
1502
+ font-family: "Lato-Regular";
1503
+ src: url("/fonts/Lato-Regular.ttf");
1504
+ font-weight: normal;
1505
+ font-style: normal; }
1506
+
1507
+ @font-face {
1508
+ font-family: "Lato-Bold";
1509
+ src: url("/fonts/Lato-Bold.ttf");
1510
+ font-weight: normal;
1511
+ font-style: normal; }
1512
+
1448
1513
  ._3bYTs ._1SQC- ._3dcqs p, ._xLN0K ._3ijmc h2 {
1449
1514
  color: #2d3748;
1450
1515
  font-size: 18px;
@@ -1520,7 +1585,7 @@ p._1YLGi {
1520
1585
  margin-bottom: 0px; }
1521
1586
 
1522
1587
  h2._1OAmb {
1523
- font-size: 21px;
1588
+ font-size: 18px;
1524
1589
  font-weight: bold;
1525
1590
  color: #2d3748;
1526
1591
  margin-bottom: 0px; }
@@ -1631,6 +1696,20 @@ h2._1OAmb {
1631
1696
  color: #000000;
1632
1697
  font-weight: normal;
1633
1698
  padding-bottom: 19px; }
1699
+ ._gOdCz ._2xyvg ._1IckI {
1700
+ width: 312px;
1701
+ padding: 14px 8px 8px 14px; }
1702
+ ._gOdCz ._2xyvg ._1IckI ._2-Nhf {
1703
+ margin-bottom: 15px;
1704
+ flex-wrap: nowrap; }
1705
+ ._gOdCz ._2xyvg ._1IckI ._2-Nhf ._sSpfT {
1706
+ flex-basis: 0%; }
1707
+ ._gOdCz ._2xyvg ._1IckI ._2-Nhf ._1rCfd {
1708
+ font-size: 18px;
1709
+ font-weight: 600; }
1710
+ ._gOdCz ._2xyvg ._1IckI ._2-Nhf ._3qkoh ._R5ivj {
1711
+ padding: 4px;
1712
+ margin-top: -36px; }
1634
1713
  ._gOdCz ._smLhQ ._1MX_1 {
1635
1714
  overflow: auto;
1636
1715
  max-height: 30vh; }
@@ -1639,7 +1718,7 @@ h2._1OAmb {
1639
1718
  align-items: center;
1640
1719
  width: auto;
1641
1720
  height: 40px;
1642
- font-size: 16px;
1721
+ font-size: 14px;
1643
1722
  padding-left: 14px; }
1644
1723
  ._gOdCz ._smLhQ ._1MX_1 ._vE2nJ {
1645
1724
  display: flex;
@@ -1841,7 +1920,10 @@ h2._1OAmb {
1841
1920
  ._2ZjlE ._2Zipl ._3Omce {
1842
1921
  font-size: 16px;
1843
1922
  font-weight: 600;
1844
- padding-top: 0; }
1923
+ padding-top: 0;
1924
+ overflow: hidden;
1925
+ white-space: nowrap;
1926
+ text-overflow: ellipsis; }
1845
1927
  ._2ZjlE ._s9Bxj {
1846
1928
  display: flex !important; }
1847
1929
  ._2ZjlE ._s9Bxj ._1_a2f {
@@ -1899,18 +1981,30 @@ h2._1OAmb {
1899
1981
  font-size: 18px;
1900
1982
  font-weight: 700;
1901
1983
  line-height: 24px;
1902
- word-break: break-all; }
1984
+ word-break: break-all;
1985
+ overflow: hidden;
1986
+ white-space: nowrap;
1987
+ text-overflow: ellipsis; }
1903
1988
  ._ruFmH ._3NP_o ._3rCrx {
1904
1989
  font-size: 15px;
1905
1990
  line-height: 24px;
1906
1991
  display: flex; }
1992
+ ._ruFmH ._3NP_o ._3BLm1 {
1993
+ font-size: 15px;
1994
+ line-height: 24px;
1995
+ overflow: hidden;
1996
+ white-space: nowrap;
1997
+ text-overflow: ellipsis; }
1907
1998
  ._ruFmH ._3NP_o ._1pUBh {
1908
1999
  font-size: 15px;
1909
2000
  line-height: 24px;
1910
2001
  font-weight: 700;
1911
2002
  padding-left: 5px; }
1912
2003
  ._ruFmH ._3NP_o ._3BLm1 {
1913
- font-size: 15px; }
2004
+ font-size: 15px;
2005
+ overflow: hidden;
2006
+ white-space: nowrap;
2007
+ text-overflow: ellipsis; }
1914
2008
 
1915
2009
  @media (max-width: 767px) {
1916
2010
  ._1E00t {
@@ -2872,7 +2966,7 @@ h4._pDCgR {
2872
2966
  ._1OUbl p {
2873
2967
  color: #a80000; }
2874
2968
 
2875
- ._12tWP ._1WNMT ._3BU0L p {
2969
+ ._12tWP ._1WNMT ._3BU0L p, ._1WNMT ._3BU0L p {
2876
2970
  color: #2d3748;
2877
2971
  font-size: 18px;
2878
2972
  font-weight: bold; }
@@ -2990,3 +3084,58 @@ h2._1KpSK {
2990
3084
  width: 50px;
2991
3085
  height: 50px;
2992
3086
  border-radius: 50%; }
3087
+
3088
+ ._11rk4 {
3089
+ width: 100%;
3090
+ height: 88px;
3091
+ background: #1e4e8c;
3092
+ padding: 20px;
3093
+ display: flex !important;
3094
+ align-items: center;
3095
+ bottom: 0; }
3096
+
3097
+ ._32KH- {
3098
+ background: #ffffff;
3099
+ border-radius: 12px;
3100
+ outline: none;
3101
+ border: none;
3102
+ max-width: 490px; }
3103
+ ._32KH- ._6jx6Z {
3104
+ padding-right: 15px;
3105
+ cursor: pointer; }
3106
+ ._32KH- ._H93Fb {
3107
+ cursor: pointer; }
3108
+
3109
+ ._28L10 {
3110
+ margin-right: 15px;
3111
+ cursor: pointer;
3112
+ opacity: 0.65;
3113
+ -webkit-animation-name: _3tyHZ;
3114
+ animation-name: _3tyHZ;
3115
+ -webkit-animation-duration: 1s;
3116
+ animation-duration: 1s;
3117
+ -webkit-animation-timing-function: ease-out;
3118
+ animation-timing-function: ease-out;
3119
+ -webkit-animation-direction: alternate;
3120
+ animation-direction: alternate;
3121
+ -webkit-animation-iteration-count: infinite;
3122
+ animation-iteration-count: infinite; }
3123
+
3124
+ ._1WNMT {
3125
+ display: flex;
3126
+ align-items: center; }
3127
+ ._1WNMT ._3BU0L {
3128
+ display: flex;
3129
+ align-items: center;
3130
+ margin-right: 25px;
3131
+ padding: 0 20px; }
3132
+ ._1WNMT ._3BU0L ._1N_R5 {
3133
+ margin-right: 10px;
3134
+ margin-top: -4px; }
3135
+ ._1WNMT ._3BU0L ._1N_R5 img {
3136
+ width: auto; }
3137
+ ._1WNMT ._3BU0L ._2w7-X label {
3138
+ padding-top: 8px;
3139
+ margin-right: 0px; }
3140
+ ._1WNMT ._3BU0L p {
3141
+ margin-bottom: 0; }