mario-teacher-student-client 2.2.28-beta → 2.2.30-beta

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.
@@ -0,0 +1,2 @@
1
+ import { IActionPoint } from "./types";
2
+ export declare const groupBy: (xs: IActionPoint[]) => {};
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { IPropModelCreate } from "../types/types";
3
- declare const CreateGoalModel: ({ open, onToggleModel, activeStep, handleChangeStep, goalFormCreate, handleChangeValueForm, handleReturnCategoryOptions, handleReturnNameOptions, handleReturnDetailOptions, handleReturnTargetOptions, handleRemoveTarget, handleCreateGoal }: IPropModelCreate) => JSX.Element;
3
+ declare const CreateGoalModel: ({ open, onToggleModel, activeStep, handleChangeStep, goalFormCreate, handleChangeValueForm, handleReturnCategoryOptions, handleReturnNameOptions, handleReturnDetailOptions, handleReturnTargetOptions, handleRemoveTarget, handleCreateGoal, handleAddTargetItem }: IPropModelCreate) => JSX.Element;
4
4
  export default CreateGoalModel;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { IPickTarget } from "../../types/types";
3
- declare const ModelPickTarget: ({ onChangeStep, onReturnTargetOptions, valueTargetOptions, onChangeValueForm, onRemoveTarget }: IPickTarget) => JSX.Element;
3
+ declare const ModelPickTarget: ({ onChangeStep, onReturnTargetOptions, valueTargetOptions, onChangeValueForm, onRemoveTarget, onAddTargetItem }: IPickTarget) => JSX.Element;
4
4
  export default ModelPickTarget;
@@ -15,5 +15,6 @@ declare const useGoals: () => {
15
15
  handleCreateGoal: () => Promise<void>;
16
16
  goalList: IGoal[];
17
17
  getById: (goalId: number) => Promise<void>;
18
+ handleAddTargetItem: () => void;
18
19
  };
19
20
  export default useGoals;
@@ -7,15 +7,32 @@ export interface IGoal {
7
7
  source: string;
8
8
  baseLineChecked: string;
9
9
  category: string;
10
- checkpoint: ITarget[];
10
+ checkPoints: ITarget[];
11
+ }
12
+ export interface IStatusProps {
13
+ status: string;
11
14
  }
12
15
  export interface ITarget {
13
16
  text: string;
14
17
  description: string;
15
18
  status: string;
16
- signatureCheckpoints: string;
19
+ signatureCheckpoints: ISignatureCheckpoint[];
17
20
  time: number | null;
18
21
  endTime: number | null;
22
+ id?: number;
23
+ }
24
+ export interface ITargetProps {
25
+ target: ITarget;
26
+ index: number;
27
+ }
28
+ export interface IGoalItem {
29
+ item: IGoal;
30
+ onGetDataOfGoal: Function;
31
+ }
32
+ export interface ISignatureCheckpoint {
33
+ signatureImage: string;
34
+ nameFile: string;
35
+ checkpointId: number;
19
36
  }
20
37
  export interface ParamTypes {
21
38
  studentId: string;
@@ -33,6 +50,7 @@ export interface IPropModelCreate {
33
50
  handleReturnTargetOptions: Function;
34
51
  handleRemoveTarget: Function;
35
52
  handleCreateGoal: Function;
53
+ handleAddTargetItem: Function;
36
54
  }
37
55
  export interface ISelectCategory {
38
56
  onChangeStep: Function;
@@ -58,6 +76,7 @@ export interface IPickTarget {
58
76
  valueTargetOptions: ITarget[];
59
77
  onChangeValueForm: Function;
60
78
  onRemoveTarget: Function;
79
+ onAddTargetItem: Function;
61
80
  }
62
81
  export interface IBaseLineModel {
63
82
  onCreateGoal: Function;
@@ -5,15 +5,37 @@ export declare const initialSetting: {
5
5
  completeClassReflection: boolean;
6
6
  completeConference: boolean;
7
7
  completeOneToOne: boolean;
8
+ scheduleConference: boolean;
9
+ scheduleOneToOne: boolean;
10
+ requestClassReflection: boolean;
11
+ notificationGoalUpdate: boolean;
12
+ personalizedLearning: boolean;
8
13
  emailActionPointSchedule: boolean;
9
14
  emailCompleteClassReflection: boolean;
10
15
  emailCompleteConference: boolean;
11
16
  emailCompleteOneToOne: boolean;
12
17
  emailScheduleConference: boolean;
13
18
  emailScheduleOneToOne: boolean;
19
+ emailRequestClassReflection: boolean;
20
+ emailGoalUpdate: boolean;
21
+ emailPersonalizedLearning: boolean;
14
22
  isTurnOnAllEmail: boolean;
15
23
  isTurnOnAllNotification: boolean;
16
- scheduleConference: boolean;
17
- scheduleOneToOne: boolean;
18
24
  id: number;
19
25
  };
26
+ export declare const settingNotificationsTeacher: {
27
+ key: string;
28
+ name: string;
29
+ }[];
30
+ export declare const settingNotificationsStudent: {
31
+ key: string;
32
+ name: string;
33
+ }[];
34
+ export declare const settingEmailsTeacher: {
35
+ key: string;
36
+ name: string;
37
+ }[];
38
+ export declare const settingEmailsStudent: {
39
+ key: string;
40
+ name: string;
41
+ }[];
@@ -9,9 +9,15 @@ export interface ISetting {
9
9
  emailCompleteOneToOne: boolean;
10
10
  emailScheduleConference: boolean;
11
11
  emailScheduleOneToOne: boolean;
12
+ emailRequestClassReflection: boolean;
13
+ emailGoalUpdate: boolean;
14
+ emailPersonalizedLearning: boolean;
12
15
  isTurnOnAllEmail: boolean;
13
16
  isTurnOnAllNotification: boolean;
14
17
  scheduleConference: boolean;
15
18
  scheduleOneToOne: boolean;
19
+ requestClassReflection: boolean;
20
+ notificationGoalUpdate: boolean;
21
+ personalizedLearning: boolean;
16
22
  id: number;
17
23
  }
@@ -1,9 +1,11 @@
1
+ import { ISetting } from "../contants/type";
1
2
  declare const useSettingPage: () => {
2
- handleChangeRadio: (event: React.ChangeEvent<HTMLInputElement>) => void;
3
- dataGet: any;
3
+ dataSwitchNotification: ISetting;
4
4
  handleChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
5
5
  saveSetting: () => Promise<void>;
6
6
  classFontSize: string;
7
7
  defaultFont: any;
8
+ handleToggleAllNotification: (toggle: boolean, isNotification?: boolean | undefined) => void;
9
+ isStudent: any;
8
10
  };
9
11
  export default useSettingPage;
package/dist/index.css CHANGED
@@ -1070,6 +1070,14 @@ p._1YLGi {
1070
1070
  font-size: 20px;
1071
1071
  padding: 10px 20px; }
1072
1072
 
1073
+ ._2Nd8Z {
1074
+ align-items: center; }
1075
+ ._2Nd8Z ._XYA0v {
1076
+ margin-bottom: 0;
1077
+ margin-right: 25px; }
1078
+ ._2Nd8Z ._88rqO {
1079
+ font-size: 17px; }
1080
+
1073
1081
  @font-face {
1074
1082
  font-family: "Lato-Regular";
1075
1083
  src: url("/fonts/Lato-Regular.ttf");
@@ -13896,8 +13904,11 @@ h2._1KpSK {
13896
13904
  font-size: 16px;
13897
13905
  margin-left: 10px; }
13898
13906
 
13907
+ ._17qNo {
13908
+ padding-top: 0 !important; }
13909
+
13899
13910
  ._2Uw02 {
13900
- padding: 24px 16px;
13911
+ padding: 24px;
13901
13912
  display: flex;
13902
13913
  border-bottom: 1px solid #e8e8e8;
13903
13914
  justify-content: space-between; }
@@ -13905,7 +13916,7 @@ h2._1KpSK {
13905
13916
  border-radius: 12px;
13906
13917
  background: #006E60;
13907
13918
  color: white;
13908
- padding: 0 24px;
13919
+ padding: 10px 24px;
13909
13920
  font-size: 1.3rem;
13910
13921
  display: block; }
13911
13922
  @media only screen and (max-width: 600px) {
@@ -13913,6 +13924,8 @@ h2._1KpSK {
13913
13924
  display: none; } }
13914
13925
  ._2Uw02 ._1Dw3g ._2sosp {
13915
13926
  margin-left: 12px; }
13927
+ ._2Uw02 ._1Dw3g:hover {
13928
+ background: #3b8d82; }
13916
13929
  ._2Uw02 ._1fWN6 {
13917
13930
  font-size: 1.7rem;
13918
13931
  font-family: 'Montserrat-Bold' !important;
@@ -13931,7 +13944,7 @@ h2._1KpSK {
13931
13944
  font-size: 1.1rem; }
13932
13945
 
13933
13946
  ._3vPJ6 {
13934
- padding: 24px 16px;
13947
+ padding: 24px;
13935
13948
  font-size: 1.1rem;
13936
13949
  font-weight: 400; }
13937
13950
  ._3vPJ6 ._2Yxck, ._3vPJ6 ._1lVI8 {
@@ -17421,3 +17434,232 @@ h2._1hrCT {
17421
17434
 
17422
17435
  ._XHCST {
17423
17436
  color: #ffff; }
17437
+
17438
+ @font-face {
17439
+ font-family: "Lato-Regular";
17440
+ src: url("/fonts/Lato-Regular.ttf");
17441
+ font-weight: normal;
17442
+ font-style: normal; }
17443
+
17444
+ @font-face {
17445
+ font-family: "Lato-Bold";
17446
+ src: url("/fonts/Lato-Bold.ttf");
17447
+ font-weight: normal;
17448
+ font-style: normal; }
17449
+
17450
+ @font-face {
17451
+ font-family: "Montserrat-Bold";
17452
+ src: url("/fonts/Montserrat/static/Montserrat-Bold.ttf");
17453
+ font-weight: normal;
17454
+ font-style: normal; }
17455
+
17456
+ @font-face {
17457
+ font-family: "Poppins-SemiBold";
17458
+ src: url("/fonts/Poppins/Poppins-SemiBold.ttf");
17459
+ font-weight: normal;
17460
+ font-style: normal; }
17461
+
17462
+ @font-face {
17463
+ font-family: "Poppins-Regular";
17464
+ src: url("/fonts/Poppins/Poppins-Regular.ttf");
17465
+ font-weight: normal;
17466
+ font-style: normal; }
17467
+
17468
+ ._YAtNC {
17469
+ color: #ffffff; }
17470
+
17471
+ ._3bYIU {
17472
+ cursor: pointer;
17473
+ margin-left: 10px;
17474
+ color: #f44336; }
17475
+
17476
+ ._3huiX {
17477
+ display: flex;
17478
+ align-items: center;
17479
+ justify-content: space-between; }
17480
+
17481
+ ._1Y18n {
17482
+ margin-left: 10px; }
17483
+
17484
+ ._1ShQw ._jw03r {
17485
+ background: #efefef;
17486
+ height: 100%;
17487
+ padding: 20px; }
17488
+
17489
+ ._ZK47B {
17490
+ cursor: pointer; }
17491
+
17492
+ ._3xa3T {
17493
+ display: flex;
17494
+ justify-content: flex-end;
17495
+ margin-bottom: 20px; }
17496
+
17497
+ ._1SlBm {
17498
+ min-width: 250px;
17499
+ margin-left: 15px; }
17500
+
17501
+ ._1SlBm:first-child {
17502
+ margin-left: 0; }
17503
+
17504
+ ._2fvMj {
17505
+ padding: 20px;
17506
+ background: #ffffff;
17507
+ border-radius: 12px;
17508
+ box-shadow: 0px 3px 12px 2px #0000001f;
17509
+ margin-bottom: 20px; }
17510
+ ._2fvMj ._2bu5G {
17511
+ display: flex;
17512
+ align-items: flex-start;
17513
+ justify-content: space-between; }
17514
+ ._2fvMj ._2bu5G ._3xEHS {
17515
+ display: flex;
17516
+ align-items: center; }
17517
+ ._2fvMj ._2bu5G ._3xEHS ._FnPu2 {
17518
+ font-family: "Montserrat-Bold" !important;
17519
+ font-size: 20px; }
17520
+ ._2fvMj ._2xAED {
17521
+ background: #006E60;
17522
+ border-radius: 12px; }
17523
+ ._2fvMj ._2xAED ._pOjtL {
17524
+ color: #ffffff; }
17525
+ ._2fvMj ._2xAED ._3Gyut {
17526
+ color: #ffffff; }
17527
+ ._2fvMj ._2xAED:hover {
17528
+ background: #006e60de;
17529
+ box-shadow: 0px 3px 12px 2px #0000001f; }
17530
+ ._2fvMj ._1uv1z {
17531
+ display: flex;
17532
+ align-items: center; }
17533
+ ._2fvMj ._1uv1z ._1T5lR {
17534
+ font-family: "Montserrat-Bold" !important;
17535
+ font-size: 16px;
17536
+ margin-right: 5px; }
17537
+ ._2fvMj ._93zyw {
17538
+ display: flex;
17539
+ align-items: center;
17540
+ justify-content: center; }
17541
+
17542
+ ._ogLm4 {
17543
+ padding: 20px;
17544
+ border-right: 2px solid #dddddd; }
17545
+ ._ogLm4 ._2d5aK {
17546
+ font-family: "Montserrat-Bold" !important;
17547
+ font-size: 16px; }
17548
+ ._ogLm4 ._3VgfO {
17549
+ font-size: 14px;
17550
+ color: #667080;
17551
+ margin: 20px 0; }
17552
+ ._ogLm4 ._1y0M2 {
17553
+ font-size: 14px; }
17554
+ ._ogLm4 ._3a_lC {
17555
+ margin: 20px 0; }
17556
+ ._ogLm4 ._2qlsz {
17557
+ font-size: 14px; }
17558
+
17559
+ ._ogLm4:first-child {
17560
+ padding-left: 0; }
17561
+
17562
+ ._ogLm4:last-child {
17563
+ padding-right: 0;
17564
+ border: none; }
17565
+
17566
+ ._38RlV {
17567
+ padding: 20px; }
17568
+
17569
+ ._1USJi {
17570
+ padding: 0 100px; }
17571
+ ._1USJi ._2CG2W {
17572
+ display: flex;
17573
+ align-items: center;
17574
+ margin-bottom: 20px; }
17575
+ ._1USJi ._2CG2W ._ECsZO {
17576
+ margin-left: 10px; }
17577
+ ._1USJi ._2CG2W ._1cgKE {
17578
+ white-space: nowrap;
17579
+ margin-right: 10px; }
17580
+ ._1USJi ._2CG2W:last-child {
17581
+ margin-bottom: 0; }
17582
+
17583
+ ._z3uxc ._Hz1Wh {
17584
+ font-family: "Montserrat-Bold" !important;
17585
+ font-size: 20px;
17586
+ text-align: center;
17587
+ padding: 10px 20px 0px 20px; }
17588
+
17589
+ ._z3uxc ._dUniv {
17590
+ font-size: 14px;
17591
+ margin-bottom: 20px;
17592
+ text-align: center; }
17593
+
17594
+ ._z3uxc ._3qnsc {
17595
+ font-size: 14px;
17596
+ color: #667080;
17597
+ margin-top: 20px; }
17598
+
17599
+ ._z3uxc ._2fKtp {
17600
+ width: 100%;
17601
+ display: flex;
17602
+ justify-content: center;
17603
+ justify-content: space-around; }
17604
+ ._z3uxc ._2fKtp ._1V9_B {
17605
+ background: #336dda;
17606
+ color: #ffffff;
17607
+ border-radius: 12px;
17608
+ margin-top: 20px;
17609
+ padding: 10px 15px; }
17610
+ ._z3uxc ._2fKtp ._1V9_B:hover {
17611
+ background: #517fd5; }
17612
+ ._z3uxc ._2fKtp ._1V9_B:disabled {
17613
+ background: #517fd5; }
17614
+ ._z3uxc ._2fKtp ._1MjbD {
17615
+ background: rgba(102, 112, 128, 0.1);
17616
+ color: #667080;
17617
+ border-radius: 12px;
17618
+ margin-top: 20px;
17619
+ padding: 10px 15px; }
17620
+
17621
+ ._3cjdO {
17622
+ min-width: 250px; }
17623
+
17624
+ ._16r__ {
17625
+ min-width: 150px; }
17626
+
17627
+ ._2eP1A {
17628
+ background-color: white;
17629
+ border: solid 1px #cbd4c9;
17630
+ border-radius: 12px;
17631
+ padding: 3px 10px;
17632
+ display: flex;
17633
+ align-items: center;
17634
+ justify-content: space-between;
17635
+ min-width: 220px; }
17636
+ ._2eP1A ._2bO1b {
17637
+ color: #7f7777; }
17638
+ ._2eP1A > label {
17639
+ margin-bottom: 0;
17640
+ white-space: nowrap; }
17641
+
17642
+ ._17V8C {
17643
+ display: flex;
17644
+ align-items: center;
17645
+ justify-content: center; }
17646
+ ._17V8C ._3U6IZ {
17647
+ margin-left: 10px;
17648
+ padding: 3px 10px;
17649
+ border-radius: 50px; }
17650
+
17651
+ ._3D2OE {
17652
+ background: #C6F6D5;
17653
+ color: #48BB78; }
17654
+
17655
+ ._1LPjK {
17656
+ color: #B7791F;
17657
+ background: #F6F4C6; }
17658
+
17659
+ ._2r1u0 {
17660
+ background: #e99191;
17661
+ color: #A52322; }
17662
+
17663
+ ._2_vqN {
17664
+ color: #A47A10;
17665
+ background: #F8E2A9; }
package/dist/index.d.ts CHANGED
@@ -67,4 +67,5 @@ import EduTeacherViewDetail from "./containers/MyStudentEduTeacher/views/EduTeac
67
67
  import TeachingStrategiesAdd from "./containers/ThingTeachersCanHelp/components/TeachingStrategiesAdd";
68
68
  import ExternalSurvey from "./containers/ExternalSurvey/views/ExternalSurvey";
69
69
  import SurveyOverview from "./containers/Surveys/views/SurveyOverview";
70
- export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, SurveyIndex, SurveyResult, 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, AddClassReflection, PrivacyPolicy, PlpPage, MyClassSchedule, AddClassSchedule, TrainingLink, ExternalReflection, TeacherClassReflection, ThankYouCard, ListSurveys, SurveyDetail, CreateSurvey, PreviewSurvey, SurveyStudentList, ThankYouError, ParentPage, ListStudent, EduTeacherViewDetail, TeachingStrategiesAdd, ExternalSurvey, SurveyOverview };
70
+ import MyGoals from "./containers/GoalPage/views/MyGoals";
71
+ export { MainLayout, HomePage, MyOneToOne, MyConferences, ConductIndex, SurveyIndex, SurveyResult, 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, AddClassReflection, PrivacyPolicy, PlpPage, MyClassSchedule, AddClassSchedule, TrainingLink, ExternalReflection, TeacherClassReflection, ThankYouCard, ListSurveys, SurveyDetail, CreateSurvey, PreviewSurvey, SurveyStudentList, ThankYouError, ParentPage, ListStudent, EduTeacherViewDetail, TeachingStrategiesAdd, ExternalSurvey, SurveyOverview, MyGoals };