mario-teacher-student-client 9000.0.17 → 9000.0.20

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,6 +10,7 @@ interface Props {
10
10
  placeholder?: string;
11
11
  isSending?: boolean;
12
12
  handleSending?: Function;
13
+ canSubmit?: boolean;
13
14
  }
14
- declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending }: Props) => JSX.Element;
15
+ declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder, onBlur, customId, isSending, handleSending, canSubmit }: Props) => JSX.Element;
15
16
  export default InputComponent;
@@ -12,5 +12,6 @@ declare const useTodoList: () => {
12
12
  }>) => void;
13
13
  handleChangeSearchString: (e: React.ChangeEvent<HTMLInputElement>) => void;
14
14
  getActionPointList: () => Promise<void>;
15
+ isTeacher: any;
15
16
  };
16
17
  export default useTodoList;
@@ -19,6 +19,6 @@ declare const useListDetailActivity: () => {
19
19
  setFile: import("react").Dispatch<any>;
20
20
  confirmData: (values: any, cb: any) => Promise<void>;
21
21
  getData: () => Promise<void>;
22
- deleteActivity: (studentId: number, activityId: number, cb?: any) => Promise<void>;
22
+ deleteActivity: (cb?: any) => Promise<void>;
23
23
  };
24
24
  export default useListDetailActivity;
@@ -15,5 +15,9 @@ declare const useNoteAdd: () => {
15
15
  errorTitle: boolean;
16
16
  student: any;
17
17
  updateDataNote: () => Promise<void>;
18
+ openConfirmDeleteDialog: boolean;
19
+ onOpenConfirmDeleteDialog: () => void;
20
+ onCloseConfirmDeleteDialog: () => void;
21
+ id: any;
18
22
  };
19
23
  export default useNoteAdd;
@@ -0,0 +1,12 @@
1
+ export interface INote {
2
+ avatarStudent: string;
3
+ createAt: string;
4
+ grade: string;
5
+ id: number;
6
+ isFavorite: boolean;
7
+ nameStudent: string;
8
+ studentId: number;
9
+ text: string;
10
+ title: string;
11
+ type: string;
12
+ }
@@ -25,6 +25,7 @@ declare const useNotes: (sessionId: number, sessionResultId: number, conferenceI
25
25
  handleRemoveQuestionAnswer: (noteId: number) => Promise<void>;
26
26
  handleSubmitSingleNote: () => Promise<void>;
27
27
  handleSubmitPrivateNote: () => Promise<void>;
28
- teacherPrivateNote: string;
28
+ selectedQuestionIds: any[];
29
+ handleAddQuestion: () => Promise<void>;
29
30
  };
30
31
  export default useNotes;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ value: string;
4
+ onChange: Function;
5
+ onSubmit: Function;
6
+ }
7
+ declare const ScaffoldingAnswerTextarea: ({ value, onChange, onSubmit }: Props) => JSX.Element;
8
+ export default ScaffoldingAnswerTextarea;
package/dist/index.css CHANGED
@@ -2892,7 +2892,8 @@ h2._1OAmb {
2892
2892
  display: flex;
2893
2893
  flex-direction: column;
2894
2894
  justify-content: center;
2895
- align-items: center; }
2895
+ align-items: center;
2896
+ margin-bottom: 20px; }
2896
2897
 
2897
2898
  ._1RMJt {
2898
2899
  margin: 8px 0;
@@ -2915,6 +2916,12 @@ h2._1OAmb {
2915
2916
  ._1xv1l {
2916
2917
  background: #edf2f7; }
2917
2918
 
2919
+ ._3XiPT {
2920
+ min-height: 20vh; }
2921
+
2922
+ ._3XiPT textarea {
2923
+ min-height: calc(20vh - 18px); }
2924
+
2918
2925
  ._-oBRr {
2919
2926
  font-family: "Roboto";
2920
2927
  font-size: 16px;
@@ -2976,6 +2983,14 @@ h2._1OAmb {
2976
2983
  height: 50px;
2977
2984
  border-radius: 50%; }
2978
2985
 
2986
+ ._2NYJT {
2987
+ cursor: pointer;
2988
+ width: 16px;
2989
+ height: 16px; }
2990
+
2991
+ ._SGD0h {
2992
+ cursor: pointer; }
2993
+
2979
2994
  @font-face {
2980
2995
  font-family: "Lato-Regular";
2981
2996
  src: url("/fonts/Lato-Regular.ttf");
@@ -7902,6 +7917,11 @@ button._kb6Ui {
7902
7917
  ._2dVsV svg {
7903
7918
  margin-left: 15px; }
7904
7919
 
7920
+ ._1Y1uN {
7921
+ justify-content: space-between;
7922
+ display: flex;
7923
+ padding: 24px 0; }
7924
+
7905
7925
  ._1KdDE {
7906
7926
  display: flex;
7907
7927
  justify-content: space-between;
@@ -8315,7 +8335,13 @@ button._kb6Ui {
8315
8335
  padding-left: 15px; }
8316
8336
  ._2Kqyy ._CqXeM ._2RMhs ._15B2X {
8317
8337
  margin-left: 10px;
8318
- color: #1A202C; }
8338
+ color: #1A202C;
8339
+ font-weight: 400;
8340
+ font-size: 14px;
8341
+ font-family: "Roboto", sans-serif !important; }
8342
+ ._2Kqyy ._CqXeM ._2RMhs ._WRoAg {
8343
+ color: rgba(0, 0, 0, 0.54);
8344
+ font-family: "Roboto", sans-serif !important; }
8319
8345
  ._2Kqyy ._CqXeM ._2RMhs p {
8320
8346
  margin-right: 10px;
8321
8347
  margin-top: 10px; }
@@ -8324,10 +8350,17 @@ button._kb6Ui {
8324
8350
  display: flex; }
8325
8351
  ._2Kqyy ._CqXeM ._oTRhw ._FmE78 {
8326
8352
  font-size: 20px;
8327
- font-weight: 700; }
8353
+ font-weight: 700;
8354
+ font-family: "Roboto", sans-serif !important; }
8328
8355
  ._2Kqyy ._CqXeM ._oTRhw ._yC3LF {
8329
8356
  font-weight: bold;
8330
- font-size: 16px; }
8357
+ font-size: 16px;
8358
+ font-family: "Roboto", sans-serif !important; }
8359
+ ._2Kqyy ._CqXeM ._oTRhw ._1T8V9 {
8360
+ color: #1A202C;
8361
+ font-weight: 400;
8362
+ font-size: 16px;
8363
+ font-family: "Roboto", sans-serif !important; }
8331
8364
  ._2Kqyy ._CqXeM ._oTRhw ._319e5 {
8332
8365
  margin-left: 50px; }
8333
8366
  ._2Kqyy ._CqXeM ._oTRhw ._319e5 ._3dAV2 {
@@ -8339,19 +8372,26 @@ button._kb6Ui {
8339
8372
  font-size: 16px;
8340
8373
  font-weight: 700; }
8341
8374
  ._2Kqyy ._CqXeM ._oTRhw ._319e5 ._2SGYS {
8342
- display: flex;
8343
- font-weight: 500; }
8375
+ display: flex; }
8344
8376
  ._2Kqyy ._CqXeM ._oTRhw ._319e5 ._2SGYS ._3FHQG {
8345
8377
  background: #E9D8FD;
8346
8378
  color: #44337A;
8347
8379
  border-radius: 12px;
8348
8380
  margin-right: 10px;
8349
- padding: 5px 15px; }
8381
+ padding: 5px 15px;
8382
+ font-family: "Roboto", sans-serif !important;
8383
+ font-weight: 700; }
8350
8384
  ._2Kqyy ._CqXeM ._oTRhw ._319e5 ._2SGYS ._2HLBj {
8351
8385
  background: #CEEDFF;
8352
8386
  color: #153E75;
8353
8387
  border-radius: 12px;
8354
- padding: 5px 15px; }
8388
+ padding: 5px 15px;
8389
+ font-family: "Roboto", sans-serif !important;
8390
+ font-weight: 700; }
8391
+ ._2Kqyy ._1SHW2 {
8392
+ padding: 0 20px; }
8393
+ ._2Kqyy ._1SHW2 ._28G44 {
8394
+ font-size: 16px; }
8355
8395
 
8356
8396
  ._1qEK_ {
8357
8397
  padding-left: 16px;
@@ -8395,7 +8435,8 @@ button._kb6Ui {
8395
8435
  color: #1A202C;
8396
8436
  padding-bottom: 13px; }
8397
8437
  ._1ooLu ._3hbmt {
8398
- display: flex; }
8438
+ display: flex;
8439
+ padding-bottom: 23px; }
8399
8440
  ._1ooLu ._3hbmt ._15B2X {
8400
8441
  font-size: 16px;
8401
8442
  font-weight: 400;
@@ -8604,6 +8645,15 @@ button._kb6Ui {
8604
8645
  ._PvIMZ ._2ogUR {
8605
8646
  margin-top: 10px; }
8606
8647
 
8648
+ ._3Olyq {
8649
+ padding-left: 15px !important; }
8650
+
8651
+ ._3yUBr {
8652
+ padding: 3px !important; }
8653
+
8654
+ ._1Uocr {
8655
+ justify-content: space-between; }
8656
+
8607
8657
  ._21KWj {
8608
8658
  padding: 24px 16px;
8609
8659
  display: flex;