mario-teacher-student-client 9000.0.19 → 9000.0.22

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;
@@ -10,5 +10,6 @@ declare const useDoneList: () => {
10
10
  }>) => void;
11
11
  changeFilters: (updateFilters: any) => void;
12
12
  filters: any;
13
+ isTeacher: any;
13
14
  };
14
15
  export default useDoneList;
@@ -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;
@@ -1,7 +1,7 @@
1
1
  declare const useEditLearningStrategies: () => {
2
2
  learningStrategyData: any;
3
- selectLearning: (checked: boolean, data: any) => void;
4
- handleChangeNote: (e: string, index: number) => void;
3
+ selectLearning: (checked: boolean, id: number) => void;
4
+ handleChangeNote: (e: string, id: number) => void;
5
5
  changeFilters: (e: string) => void;
6
6
  filters: {
7
7
  studentId: any;
@@ -11,5 +11,8 @@ declare const useEditLearningStrategies: () => {
11
11
  selectData: any;
12
12
  handleAddLearningStrategy: () => Promise<void>;
13
13
  backToLearningStrategy: () => void;
14
+ handleCheckSelectItem: (id: number) => boolean;
15
+ handleShowNote: (id: number) => any;
16
+ handleShowSelectItemCount: () => number;
14
17
  };
15
18
  export default useEditLearningStrategies;
@@ -65,6 +65,7 @@ export interface CLASS_REFLECTION {
65
65
  teacherAvatar?: string;
66
66
  IsDescending?: boolean;
67
67
  studentName?: string;
68
+ receiviedDate?: any;
68
69
  }
69
70
  export interface QuestionAnswer {
70
71
  id: number;
@@ -6,15 +6,16 @@ declare const useNote: () => {
6
6
  startDate: any;
7
7
  endDate: any;
8
8
  allNoteList: any;
9
- onChangeSearch: (e: any) => void;
9
+ handleChangeInputSearch: (event: React.ChangeEvent<HTMLInputElement>) => void;
10
10
  search: string;
11
11
  onClickFavorite: (event: React.ChangeEvent<HTMLInputElement>) => void;
12
12
  addNoteLink: () => void;
13
13
  viewItemNoteLink: (id: number, typeNoteString: string) => void;
14
14
  viewListNote: () => void;
15
- inputSearch: import("react").MutableRefObject<any>;
16
15
  updateFavorite: (id: number, favorite: boolean) => Promise<void>;
17
16
  category: number;
18
17
  handleChangeCategory: (event: React.ChangeEvent<HTMLSelectElement>) => void;
18
+ dataNoteAllSelect: () => Promise<void>;
19
+ inputSearch: import("react").MutableRefObject<any>;
19
20
  };
20
21
  export default useNote;
@@ -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
@@ -2173,6 +2173,15 @@ p._1YLGi {
2173
2173
  font-weight: 800;
2174
2174
  margin-top: 5px; }
2175
2175
 
2176
+ ._2Sccu {
2177
+ overflow: hidden;
2178
+ line-height: 18px;
2179
+ display: -webkit-box;
2180
+ -webkit-line-clamp: 2;
2181
+ word-wrap: break-word;
2182
+ text-overflow: ellipsis;
2183
+ -webkit-box-orient: vertical; }
2184
+
2176
2185
  ._3-Mx5 p:nth-child(1) {
2177
2186
  color: #2d3748;
2178
2187
  font-size: 18px;
@@ -2283,8 +2292,7 @@ h2._1OAmb {
2283
2292
  margin-bottom: 15px; }
2284
2293
  ._2HAFW ._1rCfd {
2285
2294
  font-size: 18px;
2286
- font-weight: 600;
2287
- word-wrap: break-word; }
2295
+ font-weight: 600; }
2288
2296
  ._2HAFW ._3qkoh ._R5ivj {
2289
2297
  padding: 4px;
2290
2298
  margin-top: -36px; }
@@ -2550,14 +2558,18 @@ h2._1OAmb {
2550
2558
  ._m1FkD ._3bMn1 ._DRbPW {
2551
2559
  border-bottom: 1px solid #c4c4c4;
2552
2560
  text-align: center;
2553
- padding: 14px 0px; }
2561
+ padding: 14px 0px;
2562
+ cursor: pointer; }
2554
2563
  ._m1FkD ._3bMn1 ._37XQi {
2555
2564
  padding: 12px; }
2556
2565
  ._m1FkD ._3bMn1 ._37XQi ._lJNUX {
2557
2566
  font-size: 14px;
2558
2567
  padding: 3px 0px;
2559
2568
  text-align: center;
2560
- color: rgba(0, 0, 0, 0.36); }
2569
+ color: rgba(0, 0, 0, 0.36);
2570
+ width: 50px;
2571
+ overflow: hidden;
2572
+ text-overflow: ellipsis; }
2561
2573
  ._m1FkD ._3bMn1 ._37XQi ._3SStr {
2562
2574
  font-size: 14px;
2563
2575
  padding: 3px 0px;
@@ -2694,6 +2706,7 @@ h2._1OAmb {
2694
2706
  padding-right: 20px;
2695
2707
  width: 100% !important; }
2696
2708
  ._m1FkD ._2ta7E ._1XT7v {
2709
+ z-index: 1500;
2697
2710
  background: #308252;
2698
2711
  display: flex;
2699
2712
  justify-content: center;
@@ -2916,6 +2929,12 @@ h2._1OAmb {
2916
2929
  ._1xv1l {
2917
2930
  background: #edf2f7; }
2918
2931
 
2932
+ ._3XiPT {
2933
+ min-height: 20vh; }
2934
+
2935
+ ._3XiPT textarea {
2936
+ min-height: calc(20vh - 18px); }
2937
+
2919
2938
  ._-oBRr {
2920
2939
  font-family: "Roboto";
2921
2940
  font-size: 16px;
@@ -2928,7 +2947,7 @@ h2._1OAmb {
2928
2947
  font-family: "Roboto";
2929
2948
  font-size: 16px;
2930
2949
  font-weight: 400;
2931
- width: 20vw; }
2950
+ width: 30vw; }
2932
2951
 
2933
2952
  ._2ytmF {
2934
2953
  width: 52px;
@@ -2941,7 +2960,7 @@ h2._1OAmb {
2941
2960
 
2942
2961
  ._2RP6e {
2943
2962
  overflow-y: auto;
2944
- height: 52%;
2963
+ height: 52vh;
2945
2964
  margin-bottom: 10px; }
2946
2965
 
2947
2966
  ._zyDqv {
@@ -2977,6 +2996,32 @@ h2._1OAmb {
2977
2996
  height: 50px;
2978
2997
  border-radius: 50%; }
2979
2998
 
2999
+ ._2NYJT {
3000
+ cursor: pointer;
3001
+ width: 16px;
3002
+ height: 16px; }
3003
+
3004
+ ._SGD0h {
3005
+ cursor: pointer; }
3006
+
3007
+ @media screen and (min-height: 100px) {
3008
+ ._2RP6e {
3009
+ overflow-y: auto;
3010
+ height: 20vh;
3011
+ margin-bottom: 10px; } }
3012
+
3013
+ @media screen and (min-height: 760px) {
3014
+ ._2RP6e {
3015
+ overflow-y: auto;
3016
+ height: 30vh;
3017
+ margin-bottom: 10px; } }
3018
+
3019
+ @media screen and (min-height: 930px) {
3020
+ ._2RP6e {
3021
+ overflow-y: auto;
3022
+ height: 40vh;
3023
+ margin-bottom: 10px; } }
3024
+
2980
3025
  @font-face {
2981
3026
  font-family: "Lato-Regular";
2982
3027
  src: url("/fonts/Lato-Regular.ttf");
@@ -4462,6 +4507,23 @@ h2._1OAmb {
4462
4507
  color: #3182CE;
4463
4508
  background: rgba(186, 213, 248, 0.5); }
4464
4509
 
4510
+ ._23F1r {
4511
+ display: flex;
4512
+ align-items: center;
4513
+ justify-content: space-between;
4514
+ padding: 20px 0; }
4515
+ ._23F1r ._htNcj {
4516
+ display: flex;
4517
+ align-items: center;
4518
+ justify-content: space-between; }
4519
+ ._23F1r ._htNcj ._2jl3g {
4520
+ display: flex;
4521
+ align-items: center;
4522
+ padding-left: 15px; }
4523
+ ._23F1r ._htNcj ._2jl3g > p {
4524
+ font-weight: 400;
4525
+ font-size: 14px; }
4526
+
4465
4527
  @font-face {
4466
4528
  font-family: "Lato-Regular";
4467
4529
  src: url("/fonts/Lato-Regular.ttf");
@@ -7058,8 +7120,8 @@ h2._1KpSK {
7058
7120
  ._16DL6 {
7059
7121
  display: flex;
7060
7122
  align-items: center;
7061
- justify-content: flex-end;
7062
- padding: 20px 0; }
7123
+ padding: 20px 0;
7124
+ justify-content: flex-end; }
7063
7125
  ._16DL6 ._D3iMS {
7064
7126
  display: flex;
7065
7127
  align-items: center;
@@ -7131,6 +7193,22 @@ h2._1KpSK {
7131
7193
  ._3WAzH {
7132
7194
  color: red; }
7133
7195
 
7196
+ ._3kupr {
7197
+ align-items: center;
7198
+ padding: 20px 0;
7199
+ justify-content: space-between; }
7200
+ ._3kupr ._D3iMS {
7201
+ display: flex;
7202
+ align-items: center;
7203
+ justify-content: space-between; }
7204
+ ._3kupr ._D3iMS ._336Y6 {
7205
+ display: flex;
7206
+ align-items: center;
7207
+ padding-left: 15px; }
7208
+ ._3kupr ._D3iMS ._336Y6 > p {
7209
+ font-weight: 400;
7210
+ font-size: 14px; }
7211
+
7134
7212
  @font-face {
7135
7213
  font-family: "Lato-Regular";
7136
7214
  src: url("/fonts/Lato-Regular.ttf");
@@ -7299,6 +7377,22 @@ h2._1KpSK {
7299
7377
  ._QCm7u {
7300
7378
  color: red; }
7301
7379
 
7380
+ ._2qCMB {
7381
+ align-items: center;
7382
+ justify-content: space-between;
7383
+ padding: 20px 0; }
7384
+ ._2qCMB ._36FGn {
7385
+ display: flex;
7386
+ align-items: center;
7387
+ justify-content: space-between; }
7388
+ ._2qCMB ._3JYbC {
7389
+ display: flex;
7390
+ align-items: center;
7391
+ padding-left: 15px; }
7392
+ ._2qCMB ._3JYbC > p {
7393
+ font-weight: 400;
7394
+ font-size: 14px; }
7395
+
7302
7396
  @font-face {
7303
7397
  font-family: "Lato-Regular";
7304
7398
  src: url("/fonts/Lato-Regular.ttf");
@@ -7444,6 +7538,25 @@ h2._1KpSK {
7444
7538
  ._2T-ZP {
7445
7539
  color: red; }
7446
7540
 
7541
+ ._2C9VW {
7542
+ align-items: center;
7543
+ display: flex;
7544
+ justify-content: space-between;
7545
+ padding: 20px 0; }
7546
+ ._2C9VW ._3b7qo {
7547
+ display: flex;
7548
+ align-items: center;
7549
+ justify-content: space-between; }
7550
+ ._2C9VW ._3b7qo ._1tygR {
7551
+ width: 300px; }
7552
+ ._2C9VW ._3b7qo ._MKx6q {
7553
+ display: flex;
7554
+ align-items: center;
7555
+ padding-left: 15px; }
7556
+ ._2C9VW ._3b7qo ._MKx6q > p {
7557
+ font-weight: 400;
7558
+ font-size: 14px; }
7559
+
7447
7560
  ._13S5J {
7448
7561
  background: #FFFFFF;
7449
7562
  box-shadow: 0px 3px 12px 2px rgba(0, 0, 0, 0.12);
@@ -7903,6 +8016,11 @@ button._kb6Ui {
7903
8016
  ._2dVsV svg {
7904
8017
  margin-left: 15px; }
7905
8018
 
8019
+ ._1Y1uN {
8020
+ justify-content: space-between;
8021
+ display: flex;
8022
+ padding: 24px 0; }
8023
+
7906
8024
  ._1KdDE {
7907
8025
  display: flex;
7908
8026
  justify-content: space-between;
@@ -8250,6 +8368,8 @@ button._kb6Ui {
8250
8368
  background: #308252;
8251
8369
  color: white;
8252
8370
  padding: 0 24px; }
8371
+ ._1ip3G ._11XJ0:hover, ._1ip3G ._3jMMl:hover {
8372
+ background-color: #308252; }
8253
8373
  ._1ip3G ._1wRYk {
8254
8374
  font-size: 24px;
8255
8375
  font-weight: bold; }
@@ -8315,6 +8435,9 @@ button._kb6Ui {
8315
8435
  display: flex;
8316
8436
  padding-left: 15px; }
8317
8437
  ._2Kqyy ._CqXeM ._2RMhs ._15B2X {
8438
+ max-width: 40vw;
8439
+ overflow: hidden;
8440
+ text-overflow: ellipsis;
8318
8441
  margin-left: 10px;
8319
8442
  color: #1A202C;
8320
8443
  font-weight: 400;
@@ -8332,7 +8455,10 @@ button._kb6Ui {
8332
8455
  ._2Kqyy ._CqXeM ._oTRhw ._FmE78 {
8333
8456
  font-size: 20px;
8334
8457
  font-weight: 700;
8335
- font-family: "Roboto", sans-serif !important; }
8458
+ font-family: "Roboto", sans-serif !important;
8459
+ max-width: 50vw;
8460
+ text-overflow: ellipsis;
8461
+ overflow: hidden; }
8336
8462
  ._2Kqyy ._CqXeM ._oTRhw ._yC3LF {
8337
8463
  font-weight: bold;
8338
8464
  font-size: 16px;
@@ -8341,7 +8467,10 @@ button._kb6Ui {
8341
8467
  color: #1A202C;
8342
8468
  font-weight: 400;
8343
8469
  font-size: 16px;
8344
- font-family: "Roboto", sans-serif !important; }
8470
+ font-family: "Roboto", sans-serif !important;
8471
+ max-width: 50vw;
8472
+ text-overflow: ellipsis;
8473
+ overflow: hidden; }
8345
8474
  ._2Kqyy ._CqXeM ._oTRhw ._319e5 {
8346
8475
  margin-left: 50px; }
8347
8476
  ._2Kqyy ._CqXeM ._oTRhw ._319e5 ._3dAV2 {
@@ -8626,6 +8755,15 @@ button._kb6Ui {
8626
8755
  ._PvIMZ ._2ogUR {
8627
8756
  margin-top: 10px; }
8628
8757
 
8758
+ ._3Olyq {
8759
+ padding-left: 15px !important; }
8760
+
8761
+ ._3yUBr {
8762
+ padding: 3px !important; }
8763
+
8764
+ ._1Uocr {
8765
+ justify-content: space-between; }
8766
+
8629
8767
  ._21KWj {
8630
8768
  padding: 24px 16px;
8631
8769
  display: flex;