mario-teacher-student-client 1.2.2 → 1.2.4

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.
@@ -8,10 +8,7 @@ interface Props {
8
8
  createdByTeacher?: boolean;
9
9
  gradeLevel?: number;
10
10
  informationUser?: any;
11
- }
12
- export interface DialogDetailProps {
13
- conduct: any;
14
- informationUser: any;
11
+ clickOpenProfileDialog?: any;
15
12
  }
16
13
  declare const ConductTop: FC<Props>;
17
14
  export default ConductTop;
@@ -1,4 +1,7 @@
1
- /// <reference types="react" />
2
- import { DialogDetailProps } from "../../components/ConductTop/ConductTop";
3
- declare const ProfileDialog: (props: DialogDetailProps) => JSX.Element;
4
- export default ProfileDialog;
1
+ import React from "react";
2
+ declare type profileData = {
3
+ informationUser: any;
4
+ partnerData: any;
5
+ };
6
+ declare const _default: React.ForwardRefExoticComponent<profileData & React.RefAttributes<unknown>>;
7
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  declare const useProfileDialog: () => {
2
2
  partnerData: any;
3
- getPartnerProfileSelector: (id: string, cb: any) => Promise<void>;
3
+ getPartnerProfileSelector: (id: string) => Promise<void>;
4
4
  };
5
5
  export default useProfileDialog;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const HomePage: FC;
3
+ export default HomePage;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { DialogDetailProps } from "../../../ConductOneToOne/components/ConductTop/ConductTop";
3
- declare const StudentDetail: (props: DialogDetailProps) => JSX.Element;
2
+ declare const StudentDetail: (props: any) => JSX.Element;
4
3
  export default StudentDetail;
@@ -15,5 +15,7 @@ declare const useUpComing: () => {
15
15
  deleteNote: (noteId: any, sessionId: any) => Promise<void>;
16
16
  updatePrivateNote: (privateNote: any, sessionId: any) => Promise<void>;
17
17
  nextSession: any;
18
+ nextTimeMeeting: () => Promise<void>;
19
+ getStudentSelector: () => Promise<void>;
18
20
  };
19
21
  export default useUpComing;
@@ -18,6 +18,7 @@ export interface STUDENT_PROFILE {
18
18
  userId: string;
19
19
  name: string;
20
20
  avatar: string;
21
+ gradeLevel: number;
21
22
  classes: string[];
22
23
  }
23
24
  export interface SIMPLE_DIALOG {
@@ -0,0 +1,8 @@
1
+ import { FILTER_SESSION } from "../constants/types";
2
+ declare const useClassReflectionList: () => {
3
+ changeFilters: (updatedFilters: any) => void;
4
+ filters: FILTER_SESSION;
5
+ getDataClassReflections: (filters: any, studentId: any) => Promise<void>;
6
+ classReflectionData: any;
7
+ };
8
+ export default useClassReflectionList;
@@ -4,5 +4,6 @@ declare const useResultReflection: () => {
4
4
  listQuestions: any;
5
5
  actionPointAnswers: ActionPointType[];
6
6
  noteReflection: QuestionAnswer[];
7
+ isTeacher: any;
7
8
  };
8
9
  export default useResultReflection;
@@ -3,7 +3,5 @@ declare const useStudentList: () => {
3
3
  students: any;
4
4
  changeFilters: (updatedFilters: any) => void;
5
5
  filters: FILTER_SESSION;
6
- getDataClassReflections: (studentId: any) => Promise<void>;
7
- classReflectionData: any;
8
6
  };
9
7
  export default useStudentList;
package/dist/index.css CHANGED
@@ -164,9 +164,6 @@ p._1YLGi {
164
164
  font-weight: normal;
165
165
  font-style: normal; }
166
166
 
167
- ._DeHaF {
168
- background-color: #EFEFEF; }
169
-
170
167
  ._28pc4 {
171
168
  font-size: 24px;
172
169
  font-weight: 700;
@@ -354,6 +351,9 @@ p._1YLGi {
354
351
  display: inline;
355
352
  float: left; }
356
353
 
354
+ ._1tICV {
355
+ color: #4299E1 !important; }
356
+
357
357
  ._cmclv:nth-of-type(odd) {
358
358
  background-color: #f9f9f9; }
359
359
 
@@ -436,6 +436,9 @@ p._1YLGi {
436
436
  @media (max-width: 767px) {
437
437
  ._3RnTq {
438
438
  justify-content: end; } }
439
+ @media (min-width: 768px) {
440
+ ._3RnTq {
441
+ margin-right: 10px; } }
439
442
 
440
443
  ._26Pms {
441
444
  display: flex;
@@ -1854,7 +1857,8 @@ h2._1OAmb {
1854
1857
  ._ruFmH ._3NP_o ._1rlV7 {
1855
1858
  font-size: 18px;
1856
1859
  font-weight: 700;
1857
- line-height: 24px; }
1860
+ line-height: 24px;
1861
+ word-break: break-all; }
1858
1862
  ._ruFmH ._3NP_o ._3rCrx {
1859
1863
  font-size: 15px;
1860
1864
  line-height: 24px;
@@ -1864,6 +1868,8 @@ h2._1OAmb {
1864
1868
  line-height: 24px;
1865
1869
  font-weight: 700;
1866
1870
  padding-left: 5px; }
1871
+ ._ruFmH ._3NP_o ._3BLm1 {
1872
+ font-size: 15px; }
1867
1873
 
1868
1874
  @media (max-width: 767px) {
1869
1875
  ._1E00t {
@@ -1872,7 +1878,8 @@ h2._1OAmb {
1872
1878
  ._1E00t ._23tCl {
1873
1879
  margin-left: 5px;
1874
1880
  font-weight: 700;
1875
- margin-top: 1px; } }
1881
+ margin-top: 1px;
1882
+ padding-top: 0; } }
1876
1883
 
1877
1884
  h4._1gYmd {
1878
1885
  color: #2d3748;
@@ -2228,29 +2235,34 @@ h4._pDCgR {
2228
2235
  font-size: 18px;
2229
2236
  font-weight: bold; }
2230
2237
 
2231
- ._23ZHZ td,
2232
- ._23ZHZ th {
2233
- border: 1px solid #ddd;
2234
- padding: 8px; }
2235
-
2236
- ._23ZHZ thead tr {
2237
- background: #156da1; }
2238
- ._23ZHZ thead tr th {
2239
- border-top: none;
2240
- color: #fff;
2241
- padding: 15px; }
2242
- ._23ZHZ thead tr th:nth-child(1) {
2243
- border-top-left-radius: 10px;
2244
- text-transform: uppercase; }
2245
- ._23ZHZ thead tr th:last-child {
2246
- border-top-right-radius: 10px;
2247
- text-transform: uppercase; }
2248
- ._23ZHZ thead tr th p {
2238
+ ._23ZHZ {
2239
+ border-collapse: collapse;
2240
+ border-radius: 10px;
2241
+ border-style: hidden;
2242
+ box-shadow: 0 0 0 3px #156da1; }
2243
+ ._23ZHZ td {
2244
+ border: 1px solid #ddd;
2245
+ padding: 8px;
2246
+ height: 100px; }
2247
+ ._23ZHZ thead tr {
2248
+ background: #156da1; }
2249
+ ._23ZHZ thead tr th {
2250
+ border-top: none;
2249
2251
  color: #fff;
2250
- text-transform: uppercase; }
2251
-
2252
- ._23ZHZ ._3DiW6 > div {
2253
- display: inline-block; }
2252
+ padding: 15px; }
2253
+ ._23ZHZ thead tr th:nth-child(1) {
2254
+ border-top-left-radius: 5px;
2255
+ text-transform: uppercase; }
2256
+ ._23ZHZ thead tr th:last-child {
2257
+ border-top-right-radius: 5px;
2258
+ text-transform: uppercase; }
2259
+ ._23ZHZ thead tr th p {
2260
+ color: #fff;
2261
+ text-transform: uppercase; }
2262
+ ._23ZHZ thead tr th:not(:last-child) {
2263
+ border-right: 1px solid #E2E8F0; }
2264
+ ._23ZHZ ._3DiW6 > div {
2265
+ display: inline-block; }
2254
2266
 
2255
2267
  ._1QPtC {
2256
2268
  padding: 0px 20px; }
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import MainLayout from "./layouts/MainLayout";
2
- import TeacherHomePage from "./containers/Home/views/TeacherHomePage";
2
+ import HomePage from "./containers/Home/views/HomePage";
3
3
  import MyOneToOne from "./containers/MyOneToOne/views/MyOneToOne";
4
4
  import MyConferences from "./containers/MyConferences/views/MyConferences";
5
5
  import ConductIndex from "./containers/ConductOneToOne/views/ConductIndex";
@@ -13,4 +13,4 @@ import StudentReflection from "./containers/MyStudent/views/StudentReflection";
13
13
  import ConferenceRubric from "./containers/ConferenceRubric/views/ConferenceRubric";
14
14
  import ResultConferenceRubric from "./containers/ConferenceRubric/views/ResultConferenceRubric";
15
15
  import BookSessionConferences from "./containers/MyConferences/components/BookSessionConferences";
16
- export { MainLayout, TeacherHomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences };
16
+ export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences };