mario-teacher-student-client 2.1.70-beta → 2.1.72-admin

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.
Files changed (25) hide show
  1. package/dist/containers/ConductOneToOne/components/ConductTop/ConductTop.d.ts +5 -0
  2. package/dist/containers/ConductOneToOne/constant/constant.d.ts +4 -0
  3. package/dist/containers/ConductOneToOne/hooks/useConductOne.d.ts +4 -0
  4. package/dist/containers/Goals/constants/constants.d.ts +5 -0
  5. package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +2 -8
  6. package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +7 -2
  7. package/dist/containers/MyStudent/components/OneToOneConversation.d.ts +3 -0
  8. package/dist/containers/MyStudent/configs/createStudentSchema.d.ts +4 -0
  9. package/dist/containers/MyStudent/hooks/useDesignation.d.ts +5 -0
  10. package/dist/containers/MyStudent/hooks/useStudentList.d.ts +1 -0
  11. package/dist/containers/MyStudent/hooks/useStudentOneToOne.d.ts +2 -1
  12. package/dist/containers/MyStudent/utils/type.interface.d.ts +4 -0
  13. package/dist/containers/StrengthsAndChallenges/constants/constants.d.ts +4 -0
  14. package/dist/containers/ThingTeachersCanHelp/constants/data.d.ts +3 -9
  15. package/dist/containers/ThingTeachersCanHelp/hook/useTeachingStrategiesAdd.d.ts +4 -0
  16. package/dist/containers/ThingTeachersCanHelp/hook/useThingTeachersCanHelp.d.ts +2 -0
  17. package/dist/index.css +141 -101
  18. package/dist/index.js +2607 -1558
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.modern.js +2609 -1560
  21. package/dist/index.modern.js.map +1 -1
  22. package/dist/services/Common.d.ts +1 -1
  23. package/dist/services/ConductOneToOne.d.ts +1 -0
  24. package/dist/services/MyStudent.d.ts +2 -0
  25. package/package.json +2 -2
@@ -12,6 +12,11 @@ interface Props {
12
12
  isConference?: boolean;
13
13
  sessionType?: string;
14
14
  classFontSize?: string;
15
+ isConversation?: boolean;
16
+ onChangeConversationSession?: any;
17
+ isTeacher?: boolean;
18
+ isUserChangeSession?: boolean;
19
+ isConversationOneToOne?: boolean;
15
20
  }
16
21
  declare const ConductTop: FC<Props>;
17
22
  export default ConductTop;
@@ -0,0 +1,4 @@
1
+ export declare const describeQuestion: {
2
+ key: string;
3
+ value: string;
4
+ }[];
@@ -36,5 +36,9 @@ declare const useConductOne: () => {
36
36
  numberOfEdit: number;
37
37
  learningSupportCategoryId: number;
38
38
  setLearningSupportCategoryId: import("react").Dispatch<import("react").SetStateAction<number>>;
39
+ isConversation: boolean;
40
+ setConversation: import("react").Dispatch<import("react").SetStateAction<boolean>>;
41
+ onChangeConversationSession: () => Promise<void>;
42
+ isConversationOneToOne: any;
39
43
  };
40
44
  export default useConductOne;
@@ -0,0 +1,5 @@
1
+ export declare const StatusDefault: {
2
+ key: string;
3
+ value: string;
4
+ }[];
5
+ export declare const handleShowStatus: (status: string) => string | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface Props {
2
3
  bestfit: string;
3
4
  content: string;
@@ -8,13 +9,6 @@ declare const useAddLearningStrategies: () => {
8
9
  learningStrategyData: any;
9
10
  selectLearning: (checked: boolean, data: Props) => void;
10
11
  handleChangeNote: (e: string, id: number) => void;
11
- changeFilters: (e: string) => void;
12
- filters: {
13
- studentId: any;
14
- isShowChoose: boolean;
15
- searchString: string;
16
- selected: string;
17
- };
18
12
  selectData: any;
19
13
  handleAddLearningStrategy: () => Promise<void>;
20
14
  backToLearningStrategy: () => void;
@@ -23,6 +17,6 @@ declare const useAddLearningStrategies: () => {
23
17
  handleShowSelectItemCount: () => number;
24
18
  classFontSize: string;
25
19
  bestFits: string[];
26
- selectedChange: (e: string[]) => void;
20
+ setLearningStrategyData: import("react").Dispatch<any>;
27
21
  };
28
22
  export default useAddLearningStrategies;
@@ -1,4 +1,7 @@
1
- declare const useEditLearningStrategies: () => {
1
+ interface Props {
2
+ isShowChoose?: boolean;
3
+ }
4
+ declare const useEditLearningStrategies: ({ isShowChoose }: Props) => {
2
5
  open: boolean;
3
6
  handleClickOpen: (id: any) => void;
4
7
  handleClose: () => void;
@@ -17,8 +20,10 @@ declare const useEditLearningStrategies: () => {
17
20
  isTeacher: any;
18
21
  classFontSize: string;
19
22
  bestFits: string[];
20
- selectedChange: (e: string[]) => Promise<void>;
23
+ selectedChange: (e: string[]) => void;
21
24
  nameStudent: string;
22
25
  isParent: any;
26
+ changeFilters: (e: string) => void;
27
+ data: any;
23
28
  };
24
29
  export default useEditLearningStrategies;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const OneToOneConversation: () => JSX.Element;
3
+ export default OneToOneConversation;
@@ -13,6 +13,8 @@ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
13
13
  third: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
14
14
  isSaved1: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
15
15
  isSaved2: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
16
+ secondaryEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
17
+ thirdEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
16
18
  }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
17
19
  firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
18
20
  lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
@@ -27,5 +29,7 @@ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
27
29
  third: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
28
30
  isSaved1: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
29
31
  isSaved2: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
32
+ secondaryEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
33
+ thirdEmail: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
30
34
  }>>;
31
35
  export default schema;
@@ -0,0 +1,5 @@
1
+ import { IDesignation } from "../utils/type.interface";
2
+ declare const useDesignation: () => {
3
+ designations: IDesignation[];
4
+ };
5
+ export default useDesignation;
@@ -16,5 +16,6 @@ declare const useStudentList: () => {
16
16
  setStudentAssistant: import("react").Dispatch<import("react").SetStateAction<number>>;
17
17
  isRoleTeacherAndAssistant: boolean;
18
18
  nameTeacherAssistant: any;
19
+ downloadTemplate: () => Promise<void>;
19
20
  };
20
21
  export default useStudentList;
@@ -8,8 +8,9 @@ interface FILTER_SESSION {
8
8
  startDate?: number;
9
9
  endDate?: number;
10
10
  isDone?: boolean;
11
+ isConversation?: boolean | null;
11
12
  }
12
- declare const useStudentOneToOne: () => {
13
+ declare const useStudentOneToOne: (isConversation?: boolean | undefined) => {
13
14
  sessionData: any;
14
15
  filter: FILTER_SESSION;
15
16
  changeFilters: (updatedFilters: any) => void;
@@ -0,0 +1,4 @@
1
+ export interface IDesignation {
2
+ name: string;
3
+ id: number;
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare const propTypeDialog: {
2
+ text: string;
3
+ type: string;
4
+ }[];
@@ -1,13 +1,7 @@
1
- export declare const data: ({
1
+ export declare const data: {
2
2
  id: number;
3
+ teachingStrategyId: number;
3
4
  title: string;
4
5
  detail: string;
5
6
  bestFits: string;
6
- betsFits?: undefined;
7
- } | {
8
- id: number;
9
- title: string;
10
- detail: string;
11
- betsFits: string;
12
- bestFits?: undefined;
13
- })[];
7
+ }[];
@@ -14,5 +14,9 @@ declare const useTeachingStrategiesAdd: () => {
14
14
  selectedStrategies: any;
15
15
  renderNote: (id: number) => any;
16
16
  handleChangeNote: (e: string, currentItem: any) => void;
17
+ changeSelectedBetsFit: (e: string[]) => void;
18
+ filters: any;
19
+ clonedData: any;
20
+ changeFilters: (updatedFilters: any) => void;
17
21
  };
18
22
  export default useTeachingStrategiesAdd;
@@ -24,5 +24,7 @@ declare const useThingTeachersCanHelp: () => {
24
24
  handleCloseEditDialog: () => void;
25
25
  handleChangeCurrentNote: (e: any) => void;
26
26
  handleUpdateStrategy: () => Promise<void>;
27
+ changeFilters: (updateFilter: any) => void;
28
+ selectedChange: (e: string[]) => void;
27
29
  };
28
30
  export default useThingTeachersCanHelp;
package/dist/index.css CHANGED
@@ -43,6 +43,17 @@
43
43
  ._1jTMg {
44
44
  display: none; } }
45
45
 
46
+ ._1DlZO {
47
+ display: flex;
48
+ align-items: center; }
49
+ ._1DlZO ._29Hwk {
50
+ margin-left: 10px; }
51
+
52
+ ._2pyf5 > p {
53
+ font-size: 16px;
54
+ color: rgba(0, 0, 0, 0.54);
55
+ margin-top: 12px; }
56
+
46
57
  ._2oMWx ._1M4r8 {
47
58
  background: #fff;
48
59
  text-transform: uppercase;
@@ -115,7 +126,7 @@ h2._13S5D {
115
126
  color: #2d3748;
116
127
  font-size: 14px;
117
128
  font-weight: bold;
118
- margin-top: 12px; }
129
+ margin: 0; }
119
130
 
120
131
  ._t-JhH p:nth-child(2) {
121
132
  font-size: 16px;
@@ -148,7 +159,8 @@ p._1YLGi {
148
159
  display: block; } }
149
160
  ._2gqE- ._337MJ {
150
161
  flex: 1 0 30%;
151
- margin-right: 5px; }
162
+ margin-right: 5px;
163
+ margin-top: 12px; }
152
164
  ._2gqE- ._k_dl- {
153
165
  display: block;
154
166
  width: 100%; }
@@ -2777,7 +2789,21 @@ p._1YLGi {
2777
2789
  flex-wrap: wrap;
2778
2790
  align-items: center;
2779
2791
  border-radius: 10px;
2780
- margin: 15px 0px; }
2792
+ margin: 15px 0px;
2793
+ justify-content: space-between; }
2794
+ ._2HROs ._32KCO {
2795
+ display: flex;
2796
+ align-items: center; }
2797
+ ._2HROs ._32KCO label {
2798
+ margin-left: 0px;
2799
+ margin-right: 0px;
2800
+ margin-bottom: 0px; }
2801
+ ._2HROs ._32KCO label span {
2802
+ font-weight: bold;
2803
+ font-size: 13px; }
2804
+ ._2HROs ._3HyXB {
2805
+ display: flex;
2806
+ align-items: center; }
2781
2807
  ._2HROs ._3mJSQ {
2782
2808
  display: flex;
2783
2809
  align-items: center; }
@@ -4260,7 +4286,6 @@ h2._1OAmb {
4260
4286
  transform-origin: top left;
4261
4287
  top: 2;
4262
4288
  left: 0;
4263
- margin-left: 20px;
4264
4289
  padding: 0 10px 0 5px;
4265
4290
  position: absolute;
4266
4291
  color: rgba(0, 0, 0, 0.54);
@@ -5018,6 +5043,12 @@ h2._1OAmb {
5018
5043
  min-height: 93vh;
5019
5044
  background-color: #efefef; }
5020
5045
 
5046
+ ._14qnB {
5047
+ margin-top: 5px; }
5048
+
5049
+ ._3OC-7 {
5050
+ background: #7e78788a !important; }
5051
+
5021
5052
  ._1jL2C {
5022
5053
  padding: 10px;
5023
5054
  display: flex;
@@ -5070,7 +5101,8 @@ h2._1OAmb {
5070
5101
  width: -webkit-fit-content;
5071
5102
  width: -moz-fit-content;
5072
5103
  width: fit-content;
5073
- margin: auto; }
5104
+ margin: auto;
5105
+ white-space: nowrap; }
5074
5106
 
5075
5107
  ._3KX9R {
5076
5108
  color: #22543d;
@@ -7888,10 +7920,17 @@ h2._1OAmb {
7888
7920
  align-items: center;
7889
7921
  padding: 20px 20px;
7890
7922
  justify-content: flex-end; }
7923
+ @media screen and (max-width: 767px) {
7924
+ ._16DL6 {
7925
+ justify-content: flex-start; } }
7891
7926
  ._16DL6 ._D3iMS {
7892
7927
  display: flex;
7893
7928
  align-items: center;
7894
7929
  justify-content: space-between; }
7930
+ @media screen and (max-width: 767px) {
7931
+ ._16DL6 ._D3iMS {
7932
+ flex-direction: column;
7933
+ align-items: flex-start; } }
7895
7934
  ._16DL6 ._D3iMS ._336Y6 {
7896
7935
  display: flex;
7897
7936
  align-items: center;
@@ -7987,11 +8026,12 @@ h2._1OAmb {
7987
8026
  ._3kupr ._D3iMS {
7988
8027
  display: flex;
7989
8028
  align-items: center;
7990
- justify-content: space-between; }
8029
+ justify-content: flex-end; }
7991
8030
  @media screen and (max-width: 767px) {
7992
8031
  ._3kupr ._D3iMS {
7993
8032
  align-items: initial;
7994
- flex-direction: column-reverse; } }
8033
+ flex-direction: column;
8034
+ justify-content: flex-start; } }
7995
8035
  ._3kupr ._D3iMS ._336Y6 {
7996
8036
  display: flex;
7997
8037
  align-items: center;
@@ -11323,6 +11363,100 @@ h2._1KpSK {
11323
11363
  ._1tiNZ {
11324
11364
  margin-bottom: 104px; } }
11325
11365
 
11366
+ ._2ZCnM {
11367
+ padding: 16px 24px 16px 16px;
11368
+ box-shadow: 0px 3px 12px 2px rgba(0, 0, 0, 0.12);
11369
+ border-radius: 10px;
11370
+ background-color: white;
11371
+ margin-bottom: 15px; }
11372
+
11373
+ ._1FyDg {
11374
+ font-size: 18px;
11375
+ font-weight: 700;
11376
+ display: block;
11377
+ margin-bottom: 15px; }
11378
+
11379
+ ._3p8Z2 {
11380
+ display: block;
11381
+ font-size: 15px;
11382
+ margin-bottom: 25px; }
11383
+
11384
+ ._AVM2p {
11385
+ display: block;
11386
+ font-size: 16px;
11387
+ font-weight: 700;
11388
+ margin-bottom: 10px; }
11389
+
11390
+ ._3YjRy {
11391
+ display: flex;
11392
+ flex-wrap: wrap;
11393
+ margin-bottom: 25px; }
11394
+ ._3YjRy ._QZjKj {
11395
+ text-transform: capitalize;
11396
+ padding: 6px 12px;
11397
+ margin: 5px;
11398
+ color: #0a4da2;
11399
+ background-color: #ebf8ff;
11400
+ font-size: 13px;
11401
+ border-radius: 70px; }
11402
+
11403
+ ._2VYWX {
11404
+ display: block;
11405
+ font-size: 16px;
11406
+ font-weight: 700;
11407
+ margin-bottom: 8px; }
11408
+
11409
+ ._RcQoB {
11410
+ display: block;
11411
+ font-size: 15px;
11412
+ margin-bottom: 20px; }
11413
+
11414
+ ._D6SgW {
11415
+ display: flex;
11416
+ justify-content: flex-end; }
11417
+
11418
+ ._zvrAH {
11419
+ width: 32px;
11420
+ height: 32px;
11421
+ margin-left: 16px; }
11422
+ ._zvrAH > button {
11423
+ background: #308252;
11424
+ color: #fff;
11425
+ border-radius: 12px;
11426
+ box-shadow: none; }
11427
+
11428
+ ._gcrD9 {
11429
+ width: 32px;
11430
+ height: 32px; }
11431
+ ._gcrD9 > button {
11432
+ border-radius: 12px;
11433
+ color: #e53e3e;
11434
+ border-color: #e53e3e; }
11435
+
11436
+ ._2E7T7 ._1FyDg {
11437
+ font-size: 22px !important; }
11438
+
11439
+ ._2E7T7 ._3p8Z2, ._2E7T7 ._RcQoB {
11440
+ font-size: 19px !important; }
11441
+
11442
+ ._2E7T7 ._AVM2p, ._2E7T7 ._2VYWX {
11443
+ font-size: 20px !important; }
11444
+
11445
+ ._2E7T7 ._QZjKj {
11446
+ font-size: 17px !important; }
11447
+
11448
+ ._2LE0_ ._1FyDg {
11449
+ font-size: 14px !important; }
11450
+
11451
+ ._2LE0_ ._3p8Z2, ._2LE0_ ._RcQoB {
11452
+ font-size: 12px !important; }
11453
+
11454
+ ._2LE0_ ._AVM2p, ._2LE0_ ._2VYWX {
11455
+ font-size: 13px !important; }
11456
+
11457
+ ._2LE0_ ._QZjKj {
11458
+ font-size: 10px !important; }
11459
+
11326
11460
  ._1KdDE {
11327
11461
  display: flex;
11328
11462
  justify-content: space-between;
@@ -12309,100 +12443,6 @@ h2._1KpSK {
12309
12443
  ._3vPJ6 ._GJ7NM ._2sosp {
12310
12444
  margin-left: 12px; }
12311
12445
 
12312
- ._2ZCnM {
12313
- padding: 16px 24px 16px 16px;
12314
- box-shadow: 0px 3px 12px 2px rgba(0, 0, 0, 0.12);
12315
- border-radius: 10px;
12316
- background-color: white;
12317
- margin-bottom: 15px; }
12318
-
12319
- ._1FyDg {
12320
- font-size: 18px;
12321
- font-weight: 700;
12322
- display: block;
12323
- margin-bottom: 15px; }
12324
-
12325
- ._3p8Z2 {
12326
- display: block;
12327
- font-size: 15px;
12328
- margin-bottom: 25px; }
12329
-
12330
- ._AVM2p {
12331
- display: block;
12332
- font-size: 16px;
12333
- font-weight: 700;
12334
- margin-bottom: 10px; }
12335
-
12336
- ._3YjRy {
12337
- display: flex;
12338
- flex-wrap: wrap;
12339
- margin-bottom: 25px; }
12340
- ._3YjRy ._QZjKj {
12341
- text-transform: capitalize;
12342
- padding: 6px 12px;
12343
- margin: 5px;
12344
- color: #0a4da2;
12345
- background-color: #ebf8ff;
12346
- font-size: 13px;
12347
- border-radius: 70px; }
12348
-
12349
- ._2VYWX {
12350
- display: block;
12351
- font-size: 16px;
12352
- font-weight: 700;
12353
- margin-bottom: 8px; }
12354
-
12355
- ._RcQoB {
12356
- display: block;
12357
- font-size: 15px;
12358
- margin-bottom: 20px; }
12359
-
12360
- ._D6SgW {
12361
- display: flex;
12362
- justify-content: flex-end; }
12363
-
12364
- ._zvrAH {
12365
- width: 32px;
12366
- height: 32px;
12367
- margin-left: 16px; }
12368
- ._zvrAH > button {
12369
- background: #308252;
12370
- color: #fff;
12371
- border-radius: 12px;
12372
- box-shadow: none; }
12373
-
12374
- ._gcrD9 {
12375
- width: 32px;
12376
- height: 32px; }
12377
- ._gcrD9 > button {
12378
- border-radius: 12px;
12379
- color: #e53e3e;
12380
- border-color: #e53e3e; }
12381
-
12382
- ._2E7T7 ._1FyDg {
12383
- font-size: 22px !important; }
12384
-
12385
- ._2E7T7 ._3p8Z2, ._2E7T7 ._RcQoB {
12386
- font-size: 19px !important; }
12387
-
12388
- ._2E7T7 ._AVM2p, ._2E7T7 ._2VYWX {
12389
- font-size: 20px !important; }
12390
-
12391
- ._2E7T7 ._QZjKj {
12392
- font-size: 17px !important; }
12393
-
12394
- ._2LE0_ ._1FyDg {
12395
- font-size: 14px !important; }
12396
-
12397
- ._2LE0_ ._3p8Z2, ._2LE0_ ._RcQoB {
12398
- font-size: 12px !important; }
12399
-
12400
- ._2LE0_ ._AVM2p, ._2LE0_ ._2VYWX {
12401
- font-size: 13px !important; }
12402
-
12403
- ._2LE0_ ._QZjKj {
12404
- font-size: 10px !important; }
12405
-
12406
12446
  @font-face {
12407
12447
  font-family: "Lato-Regular";
12408
12448
  src: url("/fonts/Lato-Regular.ttf");