mario-teacher-student-client 9000.0.5 → 9000.0.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.
@@ -10,5 +10,5 @@ interface Props {
10
10
  titleDelete?: string;
11
11
  handleDelete: Function;
12
12
  }
13
- declare const CardItem: ({ title, description, status, id, handleEdit, note, contentWidth, titleDelete, handleDelete }: Props) => JSX.Element;
13
+ declare const CardItem: ({ title, description, status, id, handleEdit, note, contentWidth, handleDelete }: Props) => JSX.Element;
14
14
  export default CardItem;
@@ -1,10 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  interface Props {
3
+ id?: string;
3
4
  valueText: string;
4
5
  onChange: Function;
5
6
  name?: string;
6
7
  isAddIcon?: boolean;
7
8
  handleAddItem?: Function;
9
+ onBlur?: any;
10
+ placeholder?: string;
8
11
  }
9
- declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem }: Props) => JSX.Element;
12
+ declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, id }: Props) => JSX.Element;
10
13
  export default InputComponent;
@@ -16,4 +16,5 @@ export interface ABOUT_MY_LEARNING_DIALOG {
16
16
  getById: Function;
17
17
  dataItem: any;
18
18
  setDataItem: any;
19
+ onDelete: Function;
19
20
  }
@@ -17,4 +17,5 @@ export interface SIMPLE_DIALOG_TYPE {
17
17
  dataItem: any;
18
18
  typeItem: string;
19
19
  setDataItem: any;
20
+ onDelete: Function;
20
21
  }
@@ -14,5 +14,6 @@ declare const useEditLearningStrategies: () => {
14
14
  handleCloseConfirmDeleteDialog: () => void;
15
15
  openConfirmDelete: boolean;
16
16
  idItem: any;
17
+ isTeacher: any;
17
18
  };
18
19
  export default useEditLearningStrategies;
@@ -19,8 +19,8 @@ export interface FILTER_SESSION {
19
19
  sortBy: string;
20
20
  sortOrder?: string;
21
21
  name?: string;
22
- startDate?: number;
23
- endDate?: number;
22
+ startDate?: number | null;
23
+ endDate?: number | null;
24
24
  isDone?: boolean;
25
25
  }
26
26
  export interface QuestionAnswer {
@@ -8,11 +8,13 @@ export interface GoogleCalendarEvent {
8
8
  status: string;
9
9
  summary: string;
10
10
  location: string;
11
+ sessionId: number;
11
12
  }
12
13
  interface Props {
13
14
  studentUserId: string;
14
15
  date: MaterialUiPickersDate;
15
16
  teacherUserId?: string;
17
+ isSession: boolean;
16
18
  }
17
19
  declare const GoogleCalendar: FC<Props>;
18
20
  export default GoogleCalendar;
@@ -1,13 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  interface Props {
3
- handleClose?: any;
3
+ handleClose: Function;
4
4
  open: boolean;
5
- applyValue: any;
5
+ applyValue: Function;
6
+ selectedDate: any;
6
7
  }
7
8
  export declare enum EndType {
8
9
  Never = "Never",
9
10
  On = "On",
10
11
  After = "After"
11
12
  }
12
- declare const Recurrence: ({ open, handleClose, applyValue }: Props) => JSX.Element;
13
+ declare const Recurrence: ({ open, handleClose, applyValue, selectedDate }: Props) => JSX.Element;
13
14
  export default Recurrence;
@@ -4,5 +4,6 @@ declare const useSessionCompleted: () => {
4
4
  filters: any;
5
5
  selectFavourite: (itemID: string) => Promise<void>;
6
6
  changRouteQuestion: (studentId: number) => Promise<void>;
7
+ convertTimeSecond: (timeSecond: any) => string;
7
8
  };
8
9
  export default useSessionCompleted;
@@ -1 +1 @@
1
- export declare const getDataRedinessToLeanApi: (idStudent: any) => Promise<import("axios").AxiosResponse<any>>;
1
+ export declare const getDataRedinessToLeanApi: (studentId: any) => Promise<import("axios").AxiosResponse<any>>;
@@ -1,3 +1,6 @@
1
1
  /// <reference types="react" />
2
- declare const SummaryStrengthsAndChallenges: () => JSX.Element;
2
+ interface Props {
3
+ isTeacher?: boolean;
4
+ }
5
+ declare const SummaryStrengthsAndChallenges: ({ isTeacher }: Props) => JSX.Element;
3
6
  export default SummaryStrengthsAndChallenges;
@@ -16,4 +16,5 @@ export interface THING_TEACHER_CAN_HELP_DIALOG {
16
16
  update: Function;
17
17
  getById: Function;
18
18
  getOneData: any;
19
+ onDelete: Function;
19
20
  }
package/dist/index.css CHANGED
@@ -394,7 +394,7 @@ p._1YLGi {
394
394
  justify-content: space-between;
395
395
  align-items: center; }
396
396
  ._3Flx1 ._3Mi_n ._21QGx {
397
- font-size: 24px;
397
+ font-size: 20px;
398
398
  font-weight: 700; }
399
399
  ._3Flx1 ._3Mi_n ._2eeiS {
400
400
  display: flex;
@@ -1264,7 +1264,8 @@ p._1YLGi {
1264
1264
  width: 95%;
1265
1265
  border-radius: 4px;
1266
1266
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 4px, #e2f1f8 4px);
1267
- /* Standard syntax (must be last) */ }
1267
+ /* Standard syntax (must be last) */
1268
+ cursor: pointer; }
1268
1269
 
1269
1270
  ._3tAm8 {
1270
1271
  padding: 6px; }
@@ -3562,12 +3563,13 @@ h2._1OAmb {
3562
3563
 
3563
3564
  ._1UciI ._23pHy {
3564
3565
  display: flex;
3566
+ justify-content: space-between;
3565
3567
  box-shadow: 0 3px 10px 2px #00000033;
3566
3568
  border-radius: 12px;
3567
3569
  padding: 20px;
3568
3570
  margin-bottom: 20px; }
3569
3571
  ._1UciI ._23pHy ._4pljN {
3570
- width: 75%; }
3572
+ width: 60%; }
3571
3573
  ._1UciI ._23pHy ._4pljN ._3OZr_ {
3572
3574
  font-size: 20px;
3573
3575
  font-weight: 700; }
@@ -3584,7 +3586,11 @@ h2._1OAmb {
3584
3586
  margin-top: 15px;
3585
3587
  margin-bottom: 5px; }
3586
3588
  ._1UciI ._23pHy ._2_cth {
3587
- width: 25%; }
3589
+ width: 30%; }
3590
+
3591
+ ._tOmgJ {
3592
+ display: flex;
3593
+ justify-content: flex-end; }
3588
3594
 
3589
3595
  ._3KxkK {
3590
3596
  display: flex;
@@ -3792,7 +3798,10 @@ h2._1OAmb {
3792
3798
  ._3o3-9 {
3793
3799
  font-size: 16px;
3794
3800
  color: #0a4da2;
3795
- margin-left: 5px !important; }
3801
+ margin-left: 5px !important;
3802
+ cursor: pointer; }
3803
+ ._3o3-9:hover {
3804
+ text-decoration: underline; }
3796
3805
 
3797
3806
  ._EcMhp {
3798
3807
  color: #0a4da2; }
@@ -3918,6 +3927,10 @@ h2._1OAmb {
3918
3927
  font-size: 20px;
3919
3928
  font-weight: 700; }
3920
3929
 
3930
+ ._1xZXQ img {
3931
+ display: block;
3932
+ margin: 0 auto; }
3933
+
3921
3934
  ._2cDnz {
3922
3935
  display: flex;
3923
3936
  justify-content: space-between;
@@ -4054,6 +4067,10 @@ h2._1OAmb {
4054
4067
  font-size: 20px;
4055
4068
  font-weight: 700; }
4056
4069
 
4070
+ ._23KdS img {
4071
+ display: block;
4072
+ margin: 0 auto; }
4073
+
4057
4074
  ._1sc2P {
4058
4075
  position: relative;
4059
4076
  margin-top: 24px;
@@ -6683,7 +6700,7 @@ h2._1KpSK {
6683
6700
  justify-content: space-between;
6684
6701
  align-items: center; }
6685
6702
  ._3pVob ._1mHx1 ._5zvD_ {
6686
- font-size: 24px;
6703
+ font-size: 20px;
6687
6704
  font-weight: 700; }
6688
6705
  ._3pVob ._1mHx1 ._scSnT {
6689
6706
  display: flex;
@@ -6996,6 +7013,8 @@ h2._1KpSK {
6996
7013
  border-radius: 12px;
6997
7014
  background-color: #308252;
6998
7015
  color: #fff; }
7016
+ ._3uJBt ._11NhX:hover {
7017
+ background-color: rgba(48, 130, 82, 0.7); }
6999
7018
 
7000
7019
  ._3PqK8 {
7001
7020
  font-size: 15px;
package/dist/index.d.ts CHANGED
@@ -20,7 +20,6 @@ import UpdateStudentProfile from "./containers/MyStudent/components/UpdateStuden
20
20
  import CreateStudent from "./containers/MyStudent/components/CreateStudent";
21
21
  import ChangePassword from "./containers/MyProfile/views/ChangePassword";
22
22
  import StageDebugPage from "./containers/StageDebug/views/StageDebugPage";
23
- import NotificarionsPage from "./containers/SettingsPage/components/NotificationsPage";
24
23
  import LearningPlan from "./containers/LearningPlan/views/LearningPlan";
25
24
  import PersonalLearningGoal from "./containers/PersonalLearningPlan/components/PersonalLearningGoal/PersonalLearningGoal";
26
25
  import ListPersonalinterrest from "./containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterrest";
@@ -45,4 +44,4 @@ import GoalList from "./containers/Goals/components/GoalList";
45
44
  import GoalDetail from "./containers/Goals/components/GoalDetail";
46
45
  import NewGoal from "./containers/Goals/components/NewGoal";
47
46
  import MyClassReflection from "./containers/MyClassReflection/components/MyClassReflection";
48
- export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, SessionDetail, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences, MyProfile, NewLearningPlan, UpdateStudentProfile, CreateStudent, ChangePassword, StageDebugPage, NotificarionsPage, LearningPlan, PersonalLearningGoal, ListPersonalinterrest, AccomondationList, AboutMyLearningList, ThinkTeacherCanHelpList, DetailStrengthsAndChallenges, UiCompletedOneToOne, Note, AddNote, EditNote, ViewItemNote, SettingPage, FriendCircleLearning, ListFriendCircle, ActivityCircleLearning, ListActivityLearning, LearningStrategies, LearningStrategiesSave, ActionPoint, GoalList, GoalDetail, NewGoal, MyClassReflection };
47
+ export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, MyStudent, SessionResultComponent, BookSession, SessionDetail, StudentDetail, StartReflection, ResultReflection, StudentReflection, ConferenceRubric, ResultConferenceRubric, BookSessionConferences, MyProfile, NewLearningPlan, UpdateStudentProfile, CreateStudent, ChangePassword, StageDebugPage, LearningPlan, PersonalLearningGoal, ListPersonalinterrest, AccomondationList, AboutMyLearningList, ThinkTeacherCanHelpList, DetailStrengthsAndChallenges, UiCompletedOneToOne, Note, AddNote, EditNote, ViewItemNote, SettingPage, FriendCircleLearning, ListFriendCircle, ActivityCircleLearning, ListActivityLearning, LearningStrategies, LearningStrategiesSave, ActionPoint, GoalList, GoalDetail, NewGoal, MyClassReflection };