mario-teacher-student-client 9000.0.6 → 9000.0.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.
@@ -1,11 +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;
8
10
  placeholder?: string;
9
11
  }
10
- declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder }: Props) => JSX.Element;
12
+ declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, id }: Props) => JSX.Element;
11
13
  export default InputComponent;
@@ -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>>;
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,24 +3586,27 @@ h2._1OAmb {
3584
3586
  margin-top: 15px;
3585
3587
  margin-bottom: 5px; }
3586
3588
  ._1UciI ._23pHy ._2_cth {
3587
- width: 25%; }
3589
+ width: 30%; }
3588
3590
 
3589
- ._3KxkK {
3591
+ ._tOmgJ {
3590
3592
  display: flex;
3591
- align-items: center;
3592
- justify-content: flex-end;
3593
- background: #308252;
3594
- border-radius: 12px;
3595
- color: #ffff;
3596
- padding: 2px 10px;
3597
- inline-size: -webkit-fit-content;
3598
- inline-size: -moz-fit-content;
3599
- inline-size: fit-content;
3600
- cursor: pointer; }
3601
- ._3KxkK > p {
3602
- font-size: 12px;
3603
- font-weight: 500;
3604
- margin-right: 5px; }
3593
+ justify-content: flex-end; }
3594
+ ._tOmgJ ._3KxkK {
3595
+ display: flex;
3596
+ align-items: center;
3597
+ justify-content: flex-end;
3598
+ background: #308252;
3599
+ border-radius: 12px;
3600
+ color: #ffff;
3601
+ padding: 2px 10px;
3602
+ inline-size: -webkit-fit-content;
3603
+ inline-size: -moz-fit-content;
3604
+ inline-size: fit-content;
3605
+ cursor: pointer; }
3606
+ ._tOmgJ ._3KxkK > p {
3607
+ font-size: 12px;
3608
+ font-weight: 500;
3609
+ margin-right: 5px; }
3605
3610
 
3606
3611
  ._3y2ts {
3607
3612
  margin: 15px 0; }
@@ -3918,6 +3923,10 @@ h2._1OAmb {
3918
3923
  font-size: 20px;
3919
3924
  font-weight: 700; }
3920
3925
 
3926
+ ._1xZXQ img {
3927
+ display: block;
3928
+ margin: 0 auto; }
3929
+
3921
3930
  ._2cDnz {
3922
3931
  display: flex;
3923
3932
  justify-content: space-between;
@@ -4054,6 +4063,10 @@ h2._1OAmb {
4054
4063
  font-size: 20px;
4055
4064
  font-weight: 700; }
4056
4065
 
4066
+ ._23KdS img {
4067
+ display: block;
4068
+ margin: 0 auto; }
4069
+
4057
4070
  ._1sc2P {
4058
4071
  position: relative;
4059
4072
  margin-top: 24px;
@@ -6683,7 +6696,7 @@ h2._1KpSK {
6683
6696
  justify-content: space-between;
6684
6697
  align-items: center; }
6685
6698
  ._3pVob ._1mHx1 ._5zvD_ {
6686
- font-size: 24px;
6699
+ font-size: 20px;
6687
6700
  font-weight: 700; }
6688
6701
  ._3pVob ._1mHx1 ._scSnT {
6689
6702
  display: flex;