mario-teacher-student-client 1.9.7 → 2.0.0

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.
Files changed (31) hide show
  1. package/dist/components/Card/CardItem.d.ts +11 -0
  2. package/dist/components/Circle/Circle.d.ts +11 -0
  3. package/dist/components/Circle/ItemCircle.d.ts +7 -0
  4. package/dist/components/Header/HeaderLearningPlan.d.ts +11 -0
  5. package/dist/components/layouts/HeaderSideBar.d.ts +0 -4
  6. package/dist/containers/Accommodation/components/Accomondation.d.ts +3 -0
  7. package/dist/containers/Accommodation/components/AccomondationList.d.ts +3 -0
  8. package/dist/containers/Accommodation/constants/type.d.ts +6 -0
  9. package/dist/containers/Accommodation/hook/useAccommodation.d.ts +8 -0
  10. package/dist/containers/FriendCircle/components/ModalGoalFriend.d.ts +3 -0
  11. package/dist/containers/FriendCircle/constants/types.d.ts +101 -0
  12. package/dist/containers/FriendCircle/hooks/useListDetail.d.ts +20 -0
  13. package/dist/containers/FriendCircle/hooks/useListFriend.d.ts +8 -0
  14. package/dist/containers/FriendCircle/views/FriendCircle.d.ts +3 -0
  15. package/dist/containers/FriendCircle/views/FriendCircleLearning.d.ts +3 -0
  16. package/dist/containers/FriendCircle/views/ListFriendCircle.d.ts +3 -0
  17. package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +3 -0
  18. package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +3 -0
  19. package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +8 -0
  20. package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/ListPersonalinterrest.d.ts +3 -0
  21. package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/PersonalLearningGoal.d.ts +3 -0
  22. package/dist/containers/PersonalLearningPlan/contants/types.d.ts +5 -0
  23. package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +5 -0
  24. package/dist/index.css +16 -9
  25. package/dist/index.js +95 -46
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.modern.js +93 -45
  28. package/dist/index.modern.js.map +1 -1
  29. package/dist/services/PersonalLearningPlan.d.ts +1 -0
  30. package/dist/services/myFriendGoalService.d.ts +5 -0
  31. package/package.json +2 -2
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ title?: string;
4
+ description?: string;
5
+ status?: string;
6
+ id?: number;
7
+ handleDelete: Function;
8
+ handleEdit: Function;
9
+ }
10
+ declare const CardItem: ({ title, description, status, id, handleDelete, handleEdit }: Props) => JSX.Element;
11
+ export default CardItem;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ title: string;
4
+ numberFriend: number;
5
+ background: string;
6
+ width: number;
7
+ height: number;
8
+ key?: number;
9
+ }
10
+ declare const Circle: ({ title, numberFriend, width, height, background, key }: Props) => JSX.Element;
11
+ export default Circle;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ background: string;
4
+ title: string;
5
+ }
6
+ declare const ItemCircle: ({ background, title }: Props) => JSX.Element;
7
+ export default ItemCircle;
@@ -0,0 +1,11 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ text: string;
4
+ isShowButtonBackGround?: boolean;
5
+ onRedirect?: Function;
6
+ goBack?: Function;
7
+ isShowButtonPageHeader?: boolean;
8
+ textButton: string;
9
+ }
10
+ declare const HeaderLearningPlan: FC<Props>;
11
+ export default HeaderLearningPlan;
@@ -1,7 +1,3 @@
1
1
  /// <reference types="react" />
2
- export declare const ICON_NAV: {
3
- name: string;
4
- icon: JSX.Element;
5
- }[];
6
2
  declare const HeaderSideBar: ({ children, navigations }: any) => JSX.Element;
7
3
  export default HeaderSideBar;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Accomondation: (props: any) => JSX.Element;
3
+ export default Accomondation;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AccomondationList: () => JSX.Element;
3
+ export default AccomondationList;
@@ -0,0 +1,6 @@
1
+ export interface ACCOMMODATION_TYPE {
2
+ id: number;
3
+ title: string;
4
+ description: string;
5
+ type: string;
6
+ }
@@ -0,0 +1,8 @@
1
+ declare const useAccommodation: () => {
2
+ create: (data: any) => Promise<void>;
3
+ update: (id: number, data: any) => Promise<void>;
4
+ getById: (id: number, data: any) => Promise<void>;
5
+ deleteById: (id: number) => Promise<void>;
6
+ accommodationData: any;
7
+ };
8
+ export default useAccommodation;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,101 @@
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
+ }
13
+ export interface FILTER_SESSION {
14
+ currentPage: number;
15
+ pageSize: number;
16
+ searchString: string;
17
+ sortBy: string;
18
+ sortOrder?: string;
19
+ name?: string;
20
+ startDate?: number;
21
+ endDate?: number;
22
+ isDone?: boolean;
23
+ }
24
+ export interface SESSION_TYPE {
25
+ id: string;
26
+ studentId: string;
27
+ teacherId: number;
28
+ startTime: string;
29
+ minutes?: number;
30
+ isDoing?: boolean;
31
+ isDone?: boolean;
32
+ isCreatedByTeacher?: boolean;
33
+ isFavourite: boolean;
34
+ isTeacherFavourite: boolean;
35
+ isTeacherDone?: boolean;
36
+ teacherName?: string;
37
+ studentAvatar?: string;
38
+ studentName?: string;
39
+ gradeLevel?: any;
40
+ finalScore?: any;
41
+ studentProfile?: any;
42
+ sortOrder?: string;
43
+ teacherResultId?: number;
44
+ }
45
+ export interface STUDENT_PROFILE {
46
+ id: number;
47
+ userId: string;
48
+ name: string;
49
+ avatar: string;
50
+ classes: string[];
51
+ }
52
+ export interface CLASS_REFLECTION {
53
+ id: number;
54
+ classDate: string;
55
+ classType: string;
56
+ status: string;
57
+ teacherName: string;
58
+ isDone: string;
59
+ classImpactScore?: string;
60
+ studentAvatar?: string;
61
+ teacherAvatar?: string;
62
+ IsDescending?: boolean;
63
+ studentName?: string;
64
+ }
65
+ export interface QuestionAnswer {
66
+ id: number;
67
+ answer: string;
68
+ }
69
+ export declare enum OrderByStudent {
70
+ id = 0,
71
+ name = 1,
72
+ grade = 2,
73
+ lastOneToOne = 3,
74
+ lastConference = 4,
75
+ totalTime = 5
76
+ }
77
+ export interface ActionPointType {
78
+ id?: string;
79
+ text: string;
80
+ }
81
+ export interface FILTER_STUDENT_WELLBEING {
82
+ startDate?: number;
83
+ endDate?: number;
84
+ }
85
+ export interface FILTER_LEARNING {
86
+ currentPage: number;
87
+ pageSize: number;
88
+ searchString: string;
89
+ sortBy: string;
90
+ sortOrder?: string;
91
+ startDate?: number;
92
+ endDate?: number;
93
+ studentId?: number;
94
+ }
95
+ export interface LEARNING_PLAN {
96
+ id: number;
97
+ modifyTime: string;
98
+ createTime: string;
99
+ profileImageTeacher: string;
100
+ teacherName: string;
101
+ }
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ declare type CircleType = {
3
+ id: number;
4
+ firstName: string;
5
+ lastName: string;
6
+ type: string;
7
+ };
8
+ declare const useListDetail: () => {
9
+ myGoalCircle: CircleType;
10
+ setGoalCircle: import("react").Dispatch<import("react").SetStateAction<CircleType>>;
11
+ confirmData: (values: any, cb: any) => Promise<void>;
12
+ friendId: number;
13
+ setfriendId: import("react").Dispatch<import("react").SetStateAction<number>>;
14
+ OPTIONS_TYPE: {
15
+ value: string;
16
+ label: string;
17
+ color: string;
18
+ }[];
19
+ };
20
+ export default useListDetail;
@@ -0,0 +1,8 @@
1
+ import { FILTER_STUDENT_SESSION } from "../constants/types";
2
+ declare const useListFriend: () => {
3
+ goalFriendList: never[];
4
+ changeFilters: (updatedFilters: any) => void;
5
+ filters: FILTER_STUDENT_SESSION;
6
+ getData: () => Promise<void>;
7
+ };
8
+ export default useListFriend;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const FriendCircle: () => JSX.Element;
3
+ export default FriendCircle;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const FriendCircleLearning: () => JSX.Element;
3
+ export default FriendCircleLearning;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ListFriendCircle: () => JSX.Element;
3
+ export default ListFriendCircle;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Accomondation: () => JSX.Element;
3
+ export default Accomondation;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AccomondationList: () => JSX.Element;
3
+ export default AccomondationList;
@@ -0,0 +1,8 @@
1
+ declare const useAccommodation: () => {
2
+ create: (data: any) => Promise<void>;
3
+ update: (id: number, data: any) => Promise<void>;
4
+ getById: (id: number, data: any) => Promise<void>;
5
+ deleteById: (id: number) => Promise<void>;
6
+ accommodationData: any;
7
+ };
8
+ export default useAccommodation;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ListPersonalinterrest: () => JSX.Element;
3
+ export default ListPersonalinterrest;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const PersonalLearningGoal: () => JSX.Element;
3
+ export default PersonalLearningGoal;
@@ -0,0 +1,5 @@
1
+ export interface GET_PERSONALINTEREST {
2
+ id: number;
3
+ instruction: string;
4
+ name: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ declare const usePersonalInterest: () => {
2
+ getDataPersonalInterest: () => Promise<void>;
3
+ listPersonalInterest: any;
4
+ };
5
+ export default usePersonalInterest;
package/dist/index.css CHANGED
@@ -312,7 +312,7 @@ p._1YLGi {
312
312
  ._ppOfL {
313
313
  text-align: center;
314
314
  padding: 10px 0 0;
315
- width: 205px;
315
+ width: 250px;
316
316
  border: 3px solid #156DA1;
317
317
  margin-right: 16px;
318
318
  border-radius: 9px;
@@ -1826,12 +1826,12 @@ h2._1OAmb {
1826
1826
  padding-right: 10px !important; }
1827
1827
 
1828
1828
  ._3tSGF {
1829
- font-size: 12px;
1830
- font-weight: normal;
1831
- margin-bottom: 5px;
1832
- line-height: 14px;
1833
- color: #6b6b6b;
1834
- font-style: italic; }
1829
+ padding: 2px 0px !important;
1830
+ font-size: 1rem;
1831
+ font-family: "Roboto", "Helvetica", "Arial", sans-serif;
1832
+ font-weight: 400;
1833
+ line-height: 1.5;
1834
+ letter-spacing: 0.00938em; }
1835
1835
 
1836
1836
  ._gOdCz {
1837
1837
  padding-top: 10px;
@@ -1930,6 +1930,9 @@ h2._1OAmb {
1930
1930
  padding-right: 8px;
1931
1931
  margin-right: -8px; }
1932
1932
 
1933
+ ._30pHa {
1934
+ margin-left: 5px; }
1935
+
1933
1936
  ._1gIRD {
1934
1937
  opacity: 1;
1935
1938
  cursor: pointer;
@@ -2661,7 +2664,7 @@ h2._1OAmb {
2661
2664
  margin-top: 15px; } }
2662
2665
 
2663
2666
  ._1clLN {
2664
- margin-left: 10px;
2667
+ padding-left: 15px;
2665
2668
  display: flex;
2666
2669
  position: absolute;
2667
2670
  align-items: center;
@@ -4492,7 +4495,8 @@ h4._pDCgR {
4492
4495
  ._5sdsU {
4493
4496
  background: #f4f4f8; }
4494
4497
 
4495
- ._3Se6u, ._yfS3U {
4498
+ ._3Se6u,
4499
+ ._yfS3U {
4496
4500
  background: #f4f4f8;
4497
4501
  padding: 20px; }
4498
4502
 
@@ -4671,6 +4675,9 @@ h2._1KpSK {
4671
4675
  height: auto;
4672
4676
  border-radius: 100%; }
4673
4677
 
4678
+ ._3WodB {
4679
+ margin-left: 5px; }
4680
+
4674
4681
  @font-face {
4675
4682
  font-family: "Lato-Regular";
4676
4683
  src: url("/fonts/Lato-Regular.ttf");