mario-teacher-student-client 9000.0.18 → 9000.0.21

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;
@@ -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;
@@ -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;
@@ -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;
@@ -1,4 +1,5 @@
1
1
  export interface INote {
2
+ avatarStudent: string;
2
3
  createAt: string;
3
4
  grade: string;
4
5
  id: number;
@@ -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; }
@@ -2557,7 +2565,10 @@ h2._1OAmb {
2557
2565
  font-size: 14px;
2558
2566
  padding: 3px 0px;
2559
2567
  text-align: center;
2560
- color: rgba(0, 0, 0, 0.36); }
2568
+ color: rgba(0, 0, 0, 0.36);
2569
+ width: 50px;
2570
+ overflow: hidden;
2571
+ text-overflow: ellipsis; }
2561
2572
  ._m1FkD ._3bMn1 ._37XQi ._3SStr {
2562
2573
  font-size: 14px;
2563
2574
  padding: 3px 0px;
@@ -2694,6 +2705,7 @@ h2._1OAmb {
2694
2705
  padding-right: 20px;
2695
2706
  width: 100% !important; }
2696
2707
  ._m1FkD ._2ta7E ._1XT7v {
2708
+ z-index: 1500;
2697
2709
  background: #308252;
2698
2710
  display: flex;
2699
2711
  justify-content: center;
@@ -2892,7 +2904,8 @@ h2._1OAmb {
2892
2904
  display: flex;
2893
2905
  flex-direction: column;
2894
2906
  justify-content: center;
2895
- align-items: center; }
2907
+ align-items: center;
2908
+ margin-bottom: 20px; }
2896
2909
 
2897
2910
  ._1RMJt {
2898
2911
  margin: 8px 0;
@@ -2915,6 +2928,12 @@ h2._1OAmb {
2915
2928
  ._1xv1l {
2916
2929
  background: #edf2f7; }
2917
2930
 
2931
+ ._3XiPT {
2932
+ min-height: 20vh; }
2933
+
2934
+ ._3XiPT textarea {
2935
+ min-height: calc(20vh - 18px); }
2936
+
2918
2937
  ._-oBRr {
2919
2938
  font-family: "Roboto";
2920
2939
  font-size: 16px;
@@ -2976,6 +2995,14 @@ h2._1OAmb {
2976
2995
  height: 50px;
2977
2996
  border-radius: 50%; }
2978
2997
 
2998
+ ._2NYJT {
2999
+ cursor: pointer;
3000
+ width: 16px;
3001
+ height: 16px; }
3002
+
3003
+ ._SGD0h {
3004
+ cursor: pointer; }
3005
+
2979
3006
  @font-face {
2980
3007
  font-family: "Lato-Regular";
2981
3008
  src: url("/fonts/Lato-Regular.ttf");
@@ -7057,8 +7084,8 @@ h2._1KpSK {
7057
7084
  ._16DL6 {
7058
7085
  display: flex;
7059
7086
  align-items: center;
7060
- justify-content: flex-end;
7061
- padding: 20px 0; }
7087
+ padding: 20px 0;
7088
+ justify-content: flex-end; }
7062
7089
  ._16DL6 ._D3iMS {
7063
7090
  display: flex;
7064
7091
  align-items: center;
@@ -7130,6 +7157,22 @@ h2._1KpSK {
7130
7157
  ._3WAzH {
7131
7158
  color: red; }
7132
7159
 
7160
+ ._3kupr {
7161
+ align-items: center;
7162
+ padding: 20px 0;
7163
+ justify-content: space-between; }
7164
+ ._3kupr ._D3iMS {
7165
+ display: flex;
7166
+ align-items: center;
7167
+ justify-content: space-between; }
7168
+ ._3kupr ._D3iMS ._336Y6 {
7169
+ display: flex;
7170
+ align-items: center;
7171
+ padding-left: 15px; }
7172
+ ._3kupr ._D3iMS ._336Y6 > p {
7173
+ font-weight: 400;
7174
+ font-size: 14px; }
7175
+
7133
7176
  @font-face {
7134
7177
  font-family: "Lato-Regular";
7135
7178
  src: url("/fonts/Lato-Regular.ttf");
@@ -7298,6 +7341,22 @@ h2._1KpSK {
7298
7341
  ._QCm7u {
7299
7342
  color: red; }
7300
7343
 
7344
+ ._2qCMB {
7345
+ align-items: center;
7346
+ justify-content: space-between;
7347
+ padding: 20px 0; }
7348
+ ._2qCMB ._36FGn {
7349
+ display: flex;
7350
+ align-items: center;
7351
+ justify-content: space-between; }
7352
+ ._2qCMB ._3JYbC {
7353
+ display: flex;
7354
+ align-items: center;
7355
+ padding-left: 15px; }
7356
+ ._2qCMB ._3JYbC > p {
7357
+ font-weight: 400;
7358
+ font-size: 14px; }
7359
+
7301
7360
  @font-face {
7302
7361
  font-family: "Lato-Regular";
7303
7362
  src: url("/fonts/Lato-Regular.ttf");
@@ -7902,6 +7961,11 @@ button._kb6Ui {
7902
7961
  ._2dVsV svg {
7903
7962
  margin-left: 15px; }
7904
7963
 
7964
+ ._1Y1uN {
7965
+ justify-content: space-between;
7966
+ display: flex;
7967
+ padding: 24px 0; }
7968
+
7905
7969
  ._1KdDE {
7906
7970
  display: flex;
7907
7971
  justify-content: space-between;
@@ -8249,6 +8313,8 @@ button._kb6Ui {
8249
8313
  background: #308252;
8250
8314
  color: white;
8251
8315
  padding: 0 24px; }
8316
+ ._1ip3G ._11XJ0:hover, ._1ip3G ._3jMMl:hover {
8317
+ background-color: #308252; }
8252
8318
  ._1ip3G ._1wRYk {
8253
8319
  font-size: 24px;
8254
8320
  font-weight: bold; }
@@ -8625,6 +8691,15 @@ button._kb6Ui {
8625
8691
  ._PvIMZ ._2ogUR {
8626
8692
  margin-top: 10px; }
8627
8693
 
8694
+ ._3Olyq {
8695
+ padding-left: 15px !important; }
8696
+
8697
+ ._3yUBr {
8698
+ padding: 3px !important; }
8699
+
8700
+ ._1Uocr {
8701
+ justify-content: space-between; }
8702
+
8628
8703
  ._21KWj {
8629
8704
  padding: 24px 16px;
8630
8705
  display: flex;