mario-teacher-student-client 1.3.3 → 1.3.7

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.
@@ -12,6 +12,7 @@ interface Props {
12
12
  averageOtherRating?: number;
13
13
  isBeforeSession: boolean;
14
14
  isPageResult?: boolean;
15
+ isPageSessionResult?: boolean;
15
16
  }
16
17
  declare const QuestionComponent: FC<Props>;
17
18
  export default QuestionComponent;
@@ -8,6 +8,7 @@ interface Props {
8
8
  averageOtherRating?: number;
9
9
  isBeforeSession: boolean;
10
10
  isPageResult?: boolean;
11
+ isPageSessionResult?: boolean;
11
12
  }
12
13
  declare const SliderComponent: FC<Props>;
13
14
  export default SliderComponent;
@@ -4,6 +4,7 @@ interface Props {
4
4
  questionList: any;
5
5
  onChangeQuestionAnswer?: (questionId: number, value: string) => void;
6
6
  isPageResult?: boolean;
7
+ isPageSessionResult?: boolean;
7
8
  }
8
9
  declare const QuestionConduct: FC<Props>;
9
10
  export default QuestionConduct;
@@ -17,7 +17,7 @@ export interface SESSION_TYPE {
17
17
  teacherAvatar?: string;
18
18
  studentName?: string;
19
19
  gradeLevel?: number;
20
- finalScore?: string;
20
+ finalScore?: number;
21
21
  }
22
22
  export interface STUDENT_PROFILE {
23
23
  id: number;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const NewLearningPlan: () => JSX.Element;
3
+ export default NewLearningPlan;
@@ -40,6 +40,7 @@ export interface SESSION_TYPE {
40
40
  finalScore?: any;
41
41
  studentProfile?: any;
42
42
  sortOrder?: string;
43
+ teacherResultId?: number;
43
44
  }
44
45
  export interface STUDENT_PROFILE {
45
46
  id: number;
@@ -3,5 +3,6 @@ declare const useStudentList: () => {
3
3
  students: any;
4
4
  changeFilters: (updatedFilters: any) => void;
5
5
  filters: FILTER_STUDENT_SESSION;
6
+ importStudentCsv: (file: any, teacherID: string) => Promise<void>;
6
7
  };
7
8
  export default useStudentList;
package/dist/index.css CHANGED
@@ -43,6 +43,9 @@
43
43
  font-size: 18px; }
44
44
  ._vnH2n ._1jTMg {
45
45
  display: flex; }
46
+ @media only screen and (max-width: 769px) {
47
+ ._vnH2n ._1jTMg {
48
+ display: none; } }
46
49
 
47
50
  ._2K2FJ {
48
51
  background: #308252 !important;
@@ -62,12 +65,12 @@
62
65
  font-weight: bold;
63
66
  line-height: 40px;
64
67
  margin-bottom: 0px;
65
- width: 6%; }
68
+ width: 80px; }
66
69
  @media (max-width: 767px) {
67
70
  ._1bTW5 ._1gs0Z {
68
- width: 30%;
71
+ width: 26%;
69
72
  padding-top: 0;
70
- font-size: 14px; } }
73
+ font-size: 11px; } }
71
74
 
72
75
  h2._13S5D {
73
76
  color: #2d3748;
@@ -118,7 +121,7 @@ p._1YLGi {
118
121
  flex-wrap: wrap;
119
122
  justify-content: flex-start; }
120
123
  ._1M6M1 ._1wmi8 {
121
- border-radius: 15px;
124
+ border-radius: 12px;
122
125
  justify-content: center;
123
126
  border: 0.5px solid rgba(0, 0, 0, 0.36);
124
127
  background: #fff;
@@ -1535,6 +1538,9 @@ p._1YLGi {
1535
1538
  font-weight: 700;
1536
1539
  margin-bottom: 10px; }
1537
1540
 
1541
+ ._3Zw5w:hover {
1542
+ cursor: pointer; }
1543
+
1538
1544
  @font-face {
1539
1545
  font-family: "Lato-Regular";
1540
1546
  src: url("/fonts/Lato-Regular.ttf");
@@ -1661,6 +1667,10 @@ h2._1OAmb {
1661
1667
  opacity: 0.2;
1662
1668
  pointer-events: none; }
1663
1669
 
1670
+ @media only screen and (max-width: 768px) {
1671
+ ._3JCHg {
1672
+ margin-bottom: 0px; } }
1673
+
1664
1674
  ._xLN0K {
1665
1675
  display: flex;
1666
1676
  flex-wrap: wrap;
@@ -1710,7 +1720,8 @@ h2._1OAmb {
1710
1720
  margin-bottom: 15px; }
1711
1721
  ._gOdCz ._3h4fG ._2HAFW ._1rCfd {
1712
1722
  font-size: 18px;
1713
- font-weight: 600; }
1723
+ font-weight: 600;
1724
+ word-wrap: break-word; }
1714
1725
  ._gOdCz ._3h4fG ._2HAFW ._3qkoh ._R5ivj {
1715
1726
  padding: 4px;
1716
1727
  margin-top: -36px; }
@@ -1811,11 +1822,23 @@ h2._1OAmb {
1811
1822
  font-weight: normal;
1812
1823
  font-style: normal; }
1813
1824
 
1814
- ._22dD9 {
1815
- font-size: 24px;
1816
- font-weight: 700;
1817
- padding: 20px;
1818
- border-bottom: 1px solid #e8e8e8; }
1825
+ ._K0gyx {
1826
+ border-bottom: 1px solid #e8e8e8;
1827
+ justify-content: space-between;
1828
+ display: flex; }
1829
+ ._K0gyx ._22dD9 {
1830
+ font-size: 24px;
1831
+ font-weight: 700;
1832
+ padding: 20px; }
1833
+ ._K0gyx ._KnDEX {
1834
+ margin: 12px 12px 10px 0; }
1835
+ ._K0gyx ._KnDEX p {
1836
+ padding: 14px;
1837
+ background-color: #1e4e8c;
1838
+ color: #ffffff;
1839
+ border-radius: 12px;
1840
+ text-transform: uppercase;
1841
+ margin: 0; }
1819
1842
 
1820
1843
  ._Hv-Jq thead {
1821
1844
  border-top: 1px solid #e8e8e8; }
@@ -1923,7 +1946,7 @@ h2._1OAmb {
1923
1946
  width: max-content;
1924
1947
  font-size: 14px !important;
1925
1948
  line-height: 16px !important;
1926
- margin-left: 5px; }
1949
+ margin-left: 16px; }
1927
1950
 
1928
1951
  ._310xk {
1929
1952
  color: #744210;
@@ -2003,8 +2026,8 @@ h2._1OAmb {
2003
2026
  align-items: center;
2004
2027
  justify-content: end; }
2005
2028
  ._3vZS_ ._1HieC {
2006
- width: 36px;
2007
- height: 36px;
2029
+ width: 33px;
2030
+ height: 33px;
2008
2031
  background: #308252;
2009
2032
  border-radius: 12px;
2010
2033
  border: none;
@@ -2039,12 +2062,12 @@ h2._1OAmb {
2039
2062
  white-space: nowrap;
2040
2063
  text-overflow: ellipsis; }
2041
2064
  ._ruFmH ._3NP_o ._3rCrx {
2042
- font-size: 15px;
2065
+ font-size: 16px;
2043
2066
  line-height: 24px;
2044
2067
  display: flex;
2045
2068
  align-items: center; }
2046
2069
  ._ruFmH ._3NP_o ._3BLm1 {
2047
- font-size: 15px;
2070
+ font-size: 16px;
2048
2071
  line-height: 24px;
2049
2072
  overflow: hidden;
2050
2073
  white-space: nowrap;
@@ -2057,7 +2080,7 @@ h2._1OAmb {
2057
2080
  font-weight: 700;
2058
2081
  padding-left: 5px; }
2059
2082
  ._ruFmH ._3NP_o ._3BLm1 {
2060
- font-size: 13px;
2083
+ font-size: 16px;
2061
2084
  overflow: hidden;
2062
2085
  white-space: nowrap;
2063
2086
  text-overflow: ellipsis; }
@@ -2079,6 +2102,107 @@ h2._1OAmb {
2079
2102
  margin-top: 1px;
2080
2103
  padding-top: 0; } }
2081
2104
 
2105
+ ._TPgHY {
2106
+ display: flex;
2107
+ padding: 10px 20px;
2108
+ width: 100%;
2109
+ justify-content: space-between;
2110
+ align-items: center;
2111
+ border-bottom: 1px solid #ebebeb; }
2112
+ ._TPgHY ._2x8HH {
2113
+ display: flex;
2114
+ align-items: center; }
2115
+ ._TPgHY ._2x8HH ._ws6v0 {
2116
+ font-weight: 700;
2117
+ font-size: 22px;
2118
+ line-height: 28px; }
2119
+ ._TPgHY ._2x8HH ._2oH8S {
2120
+ margin-right: 15px;
2121
+ font-size: 23px;
2122
+ cursor: pointer; }
2123
+ ._TPgHY ._6pjAT {
2124
+ display: flex; }
2125
+ ._TPgHY ._6pjAT ._nq8pm {
2126
+ display: flex;
2127
+ font-size: 18px;
2128
+ font-weight: 600;
2129
+ background: #1E4E8C;
2130
+ margin-right: 15px;
2131
+ color: #ffffff;
2132
+ border-radius: 12px;
2133
+ width: 161px;
2134
+ height: 60px; }
2135
+ ._TPgHY ._6pjAT ._nq8pm ._2D_y3 {
2136
+ margin-right: 8px;
2137
+ color: #ffffff; }
2138
+ ._TPgHY ._6pjAT ._2g9DW {
2139
+ display: flex;
2140
+ font-size: 18px;
2141
+ font-weight: 600;
2142
+ background: #308252;
2143
+ color: #ffffff;
2144
+ border-radius: 12px;
2145
+ width: 161px;
2146
+ height: 60px; }
2147
+ ._TPgHY ._6pjAT ._2g9DW ._3ure3 {
2148
+ margin-right: 8px;
2149
+ color: #ffffff; }
2150
+
2151
+ ._3TPGz {
2152
+ padding: 20px; }
2153
+ ._3TPGz ._k9Lrv ._2KJlv {
2154
+ font-size: 21px;
2155
+ font-weight: 700;
2156
+ padding: 10px; }
2157
+ ._3TPGz ._k9Lrv ._wI_dl ._DpS3g {
2158
+ display: flex;
2159
+ align-items: center;
2160
+ flex-wrap: wrap; }
2161
+ ._3TPGz ._k9Lrv ._wI_dl ._DpS3g ._IMXXJ {
2162
+ width: 343px;
2163
+ margin-right: 10px; }
2164
+ ._3TPGz ._k9Lrv ._fU1Z7 {
2165
+ display: flex;
2166
+ align-items: center; }
2167
+ ._3TPGz ._k9Lrv ._fU1Z7 ._2-Zn2 {
2168
+ font-size: 16px;
2169
+ font-weight: 700;
2170
+ margin-right: 10px; }
2171
+ ._3TPGz ._k9Lrv ._VgMq3 {
2172
+ display: flex;
2173
+ align-items: center; }
2174
+ ._3TPGz ._k9Lrv ._VgMq3 ._1dODx {
2175
+ font-size: 16px;
2176
+ font-weight: 700;
2177
+ margin-right: 10px; }
2178
+ ._3TPGz ._k9Lrv ._2t1gQ {
2179
+ width: 698px; }
2180
+ ._3TPGz ._1IiKL {
2181
+ padding: 10px 0;
2182
+ max-width: 700px; }
2183
+ ._3TPGz ._1IiKL ._1k0E0 {
2184
+ padding: 15px 0; }
2185
+ ._3TPGz ._1IiKL ._1k0E0 ._3YjL3 {
2186
+ font-weight: 700;
2187
+ font-size: 18px; }
2188
+ ._3TPGz ._1IiKL ._1k0E0 ._ICe2M {
2189
+ font-size: 15px;
2190
+ padding: 5px 0; }
2191
+ ._3TPGz ._1IiKL ._1k0E0 ._10gXX {
2192
+ display: flex;
2193
+ align-items: center;
2194
+ padding: 5px 0; }
2195
+ ._3TPGz ._1IiKL ._1k0E0 ._10gXX ._2eaXw {
2196
+ width: 250px;
2197
+ margin-right: 10px; }
2198
+ ._3TPGz ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
2199
+ width: 100%; }
2200
+
2201
+ ._1qzuv {
2202
+ padding: 20px;
2203
+ display: flex;
2204
+ justify-content: flex-end; }
2205
+
2082
2206
  ._3uYAt {
2083
2207
  background: #f8f8f8;
2084
2208
  padding: 0px 25px; }
@@ -3246,6 +3370,28 @@ h2._1OAmb {
3246
3370
  ._1mGJh {
3247
3371
  margin-bottom: 90px; }
3248
3372
 
3373
+ ._2hmDZ {
3374
+ background: #f6f4c6;
3375
+ color: #744210;
3376
+ padding: 5px 8px;
3377
+ border-radius: 70px;
3378
+ width: -webkit-max-content;
3379
+ width: -moz-max-content;
3380
+ width: max-content;
3381
+ margin: 10px 5px 0px 0px;
3382
+ height: 30px; }
3383
+
3384
+ ._RB7wc {
3385
+ background: #c6f6d5;
3386
+ color: #22543d;
3387
+ padding: 5px 8px;
3388
+ border-radius: 70px;
3389
+ width: -webkit-max-content;
3390
+ width: -moz-max-content;
3391
+ width: max-content;
3392
+ margin: 10px 5px 0px 0px;
3393
+ height: 30px; }
3394
+
3249
3395
  @font-face {
3250
3396
  font-family: "Lato-Regular";
3251
3397
  src: url("/fonts/Lato-Regular.ttf");
@@ -3292,6 +3438,16 @@ h4._1gYmd > i {
3292
3438
  ._29Tsr p._1xpMn {
3293
3439
  margin-bottom: 0px; } }
3294
3440
 
3441
+ ._29Tsr h5._2J0ft {
3442
+ color: #2d3748;
3443
+ font-weight: 700;
3444
+ text-transform: capitalize;
3445
+ font-size: 14px;
3446
+ line-height: 19.07px; }
3447
+ @media (max-width: 767px) {
3448
+ ._29Tsr h5._2J0ft {
3449
+ font-size: 11px; } }
3450
+
3295
3451
  ._SX3F9 {
3296
3452
  margin-right: 20px; }
3297
3453
  ._SX3F9 img {
@@ -3600,6 +3756,12 @@ h4._pDCgR {
3600
3756
  ._3JpwN ._1KM1t ._5nGJ3 {
3601
3757
  display: flex;
3602
3758
  justify-content: center; }
3759
+ @media (max-width: 767px) {
3760
+ ._3JpwN ._25yEQ {
3761
+ overflow-x: scroll;
3762
+ padding-left: 5px;
3763
+ padding-right: 5px;
3764
+ padding-bottom: 20px; } }
3603
3765
 
3604
3766
  ._2j3OQ {
3605
3767
  max-height: 100vh; }
@@ -3686,6 +3848,15 @@ h4._pDCgR {
3686
3848
  ._1QPtC {
3687
3849
  padding: 0px 20px;
3688
3850
  background: #f4f4f8; }
3851
+ ._1QPtC ._29OJt {
3852
+ overflow-x: visible; }
3853
+ @media only screen and (max-width: 767px) {
3854
+ ._1QPtC ._29OJt {
3855
+ padding-right: 5px;
3856
+ overflow-x: scroll !important;
3857
+ padding-left: 5px; } }
3858
+ ._1QPtC ._23ZHZ {
3859
+ margin-bottom: 40px; }
3689
3860
 
3690
3861
  ._2CRbt {
3691
3862
  display: flex;
@@ -3694,6 +3865,10 @@ h4._pDCgR {
3694
3865
  ._2CRbt ._EqDo0 {
3695
3866
  margin-right: 20px; }
3696
3867
 
3868
+ @media only screen and (max-width: 768px) {
3869
+ ._2CRbt {
3870
+ margin-bottom: 0px; } }
3871
+
3697
3872
  ._5sdsU {
3698
3873
  background: #f4f4f8; }
3699
3874
 
@@ -3823,6 +3998,40 @@ h2._1KpSK {
3823
3998
  ._1WNMT ._3BU0L p {
3824
3999
  margin-bottom: 0; }
3825
4000
 
4001
+ ._3XIBS {
4002
+ display: none; }
4003
+ ._3XIBS ._2SKs4 {
4004
+ background: #308252 !important;
4005
+ width: 90%;
4006
+ margin-left: 5%;
4007
+ padding: 4;
4008
+ height: 61px;
4009
+ border-radius: 12px;
4010
+ font-size: 18px;
4011
+ line-height: 18px;
4012
+ color: white;
4013
+ margin-bottom: 20px; }
4014
+ ._3XIBS i {
4015
+ margin-left: 10px; }
4016
+
4017
+ @media only screen and (max-width: 768px) {
4018
+ ._3XIBS {
4019
+ display: block; }
4020
+ ._23ZHZ th {
4021
+ min-width: 130px !important; } }
4022
+
4023
+ @font-face {
4024
+ font-family: "Lato-Regular";
4025
+ src: url("/fonts/Lato-Regular.ttf");
4026
+ font-weight: normal;
4027
+ font-style: normal; }
4028
+
4029
+ @font-face {
4030
+ font-family: "Lato-Bold";
4031
+ src: url("/fonts/Lato-Bold.ttf");
4032
+ font-weight: normal;
4033
+ font-style: normal; }
4034
+
3826
4035
  ._1n4WU {
3827
4036
  font-size: 24px;
3828
4037
  font-weight: 700;
@@ -3847,5 +4056,9 @@ h2._1KpSK {
3847
4056
  padding: 8px 15px; }
3848
4057
  ._1dfpj ._3n2uY input {
3849
4058
  color: #000000; }
4059
+ @media (max-width: 767px) {
4060
+ ._1dfpj ._3n2uY {
4061
+ width: 100%;
4062
+ min-width: auto; } }
3850
4063
  ._1dfpj ._1YvHz {
3851
4064
  margin-top: 20px; }
package/dist/index.d.ts CHANGED
@@ -14,4 +14,5 @@ import ConferenceRubric from "./containers/ConferenceRubric/views/ConferenceRubr
14
14
  import ResultConferenceRubric from "./containers/ConferenceRubric/views/ResultConferenceRubric";
15
15
  import BookSessionConferences from "./containers/MyConferences/components/BookSessionConferences";
16
16
  import MyProfile from "./containers/MyProfile/views/MyProfile";
17
- export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences, MyProfile };
17
+ import NewLearningPlan from './containers/MyStudent/components/NewLearningPlan';
18
+ export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences, MyProfile, NewLearningPlan };