mario-teacher-student-client 3.0.9-admin → 3.0.10-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.
@@ -7,6 +7,7 @@ interface Props {
7
7
  maxText?: string;
8
8
  isUserChangeSession?: boolean;
9
9
  questionAnswer?: string[];
10
+ isPageResult?: boolean;
10
11
  }
11
12
  declare const SingleChoiceComponent: FC<Props>;
12
13
  export default SingleChoiceComponent;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { NOTIFICATION_ALERT } from "./constants/types";
3
+ interface Props {
4
+ data?: NOTIFICATION_ALERT;
5
+ isOpen: boolean;
6
+ onClose?: Function;
7
+ fontSize: string;
8
+ }
9
+ declare const NotificationAlert: React.FC<Props>;
10
+ export default NotificationAlert;
@@ -0,0 +1,3 @@
1
+ export declare const HEADER_DESKTOP_HEIGHT = 64;
2
+ export declare const HEADER_MOBILE_HEIGHT = 55;
3
+ export declare const NOTIFICATION_HEIGHT = 36;
@@ -0,0 +1,12 @@
1
+ export interface NOTIFICATION_ALERT {
2
+ id: number;
3
+ name: string;
4
+ }
5
+ export interface STYLE_PROPS {
6
+ width: number;
7
+ duration: number;
8
+ }
9
+ export interface STORED_NOTIFICATION {
10
+ id: number;
11
+ isOpen: boolean;
12
+ }
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { NOTIFICATION_ALERT } from "../constants/types";
3
+ declare const useAnimation: (data?: NOTIFICATION_ALERT | undefined, fontSize?: string | undefined) => {
4
+ parentRef: import("react").RefObject<HTMLParagraphElement>;
5
+ childRef: import("react").RefObject<HTMLSpanElement>;
6
+ pWidth: number | undefined;
7
+ cWidth: number | undefined;
8
+ };
9
+ export default useAnimation;
@@ -0,0 +1,7 @@
1
+ import { NOTIFICATION_ALERT } from "../constants/types";
2
+ declare const useNotificationAlert: () => {
3
+ data: NOTIFICATION_ALERT | undefined;
4
+ isOpen: boolean;
5
+ handleCloseNotification: () => void;
6
+ };
7
+ export default useNotificationAlert;
@@ -22,12 +22,6 @@ export declare enum TypeTime {
22
22
  StartTime = 1,
23
23
  StopTime = 2
24
24
  }
25
- export declare enum RoleStartSessionEnum {
26
- Assistant = 0,
27
- Teacher = 1,
28
- Student = 2,
29
- Counselor = 3
30
- }
31
25
  export interface LearningStrategyType {
32
26
  id?: number;
33
27
  text: string;
@@ -127,9 +127,3 @@ export declare const initialResultAnswer: {
127
127
  id: number;
128
128
  questionResponses: never[];
129
129
  };
130
- export declare enum RoleStartSessionEnum {
131
- Assistant = 0,
132
- Teacher = 1,
133
- Student = 2,
134
- Counselor = 3
135
- }
@@ -14,5 +14,6 @@ declare const useExternalSurvey: () => {
14
14
  isDone: boolean;
15
15
  externalSurveyId: string;
16
16
  surveyId: string;
17
+ currentPage: import("react").ReactText;
17
18
  };
18
19
  export default useExternalSurvey;
@@ -13,9 +13,7 @@ declare const useStudentList: () => {
13
13
  useStyles: (props?: any) => Record<"select" | "fontCustom", string>;
14
14
  defaultFont: any;
15
15
  onSubmitAssistant: (cb: Function) => Promise<void>;
16
- onSubmitCounselor: (cb: Function) => Promise<void>;
17
16
  setAssistantId: import("react").Dispatch<import("react").SetStateAction<number>>;
18
- setCounselorId: import("react").Dispatch<import("react").SetStateAction<number>>;
19
17
  setStudentAssistant: import("react").Dispatch<import("react").SetStateAction<number>>;
20
18
  isRoleTeacherAndAssistant: boolean;
21
19
  nameTeacherAssistant: any;
package/dist/index.css CHANGED
@@ -145,6 +145,8 @@
145
145
  ._2K2FJ {
146
146
  background: #006E60 !important;
147
147
  color: white !important; }
148
+ ._2K2FJ > span {
149
+ font-family: 'Poppins-Regular' !important; }
148
150
 
149
151
  ._3ae8F {
150
152
  color: rgba(0, 0, 0, 0.36) !important; }
@@ -160,7 +162,8 @@
160
162
  font-weight: bold;
161
163
  line-height: 40px;
162
164
  margin-bottom: 0px;
163
- width: 80px; }
165
+ width: 80px;
166
+ font-family: 'Poppins-Regular' !important; }
164
167
  @media (max-width: 767px) {
165
168
  ._1bTW5 ._1gs0Z {
166
169
  width: 36%;
@@ -183,7 +186,10 @@ h2._13S5D {
183
186
  ._t-JhH {
184
187
  color: #2d3748;
185
188
  font-size: 14px;
186
- font-weight: bold; }
189
+ font-weight: bold;
190
+ font-family: 'Poppins-Regular' !important; }
191
+ ._t-JhH > p {
192
+ font-family: 'Poppins-Regular' !important; }
187
193
 
188
194
  ._t-JhH p:nth-child(2) {
189
195
  font-size: 16px;
@@ -594,6 +600,15 @@ p._1YLGi {
594
600
  display: flex;
595
601
  flex-wrap: wrap;
596
602
  justify-content: flex-start; }
603
+ ._2RwcR > label > span {
604
+ font-family: 'Poppins-Regular' !important; }
605
+
606
+ ._3mfi0,
607
+ ._3mfi0 > label {
608
+ cursor: default !important; }
609
+ ._3mfi0 > span,
610
+ ._3mfi0 > label > span {
611
+ cursor: default; }
597
612
 
598
613
  ._1tBto {
599
614
  z-index: -10;
@@ -694,7 +709,8 @@ p._1YLGi {
694
709
  color: #FFFFFF;
695
710
  font-weight: 600 !important;
696
711
  font-size: 13px !important;
697
- margin-right: 10px; }
712
+ margin-right: 10px;
713
+ font-family: 'Poppins-Regular' !important; }
698
714
  ._22CX0 ._2OUSw:hover {
699
715
  background: #006E60; }
700
716
  ._22CX0 ._3rQql {
@@ -1070,6 +1086,43 @@ p._1YLGi {
1070
1086
  font-size: 20px;
1071
1087
  padding: 10px 20px; }
1072
1088
 
1089
+ ._2xFCD {
1090
+ padding: 0.5rem 0rem;
1091
+ overflow: hidden;
1092
+ text-align: center; }
1093
+ ._2xFCD::first-letter {
1094
+ text-transform: uppercase; }
1095
+ ._2xFCD span {
1096
+ color: #000;
1097
+ font-weight: 400;
1098
+ font-size: 1rem;
1099
+ line-height: 1;
1100
+ text-align: center;
1101
+ white-space: nowrap;
1102
+ position: relative; }
1103
+ ._2xFCD span::first-letter {
1104
+ text-transform: uppercase; }
1105
+
1106
+ ._28v_I > div {
1107
+ min-height: 36px;
1108
+ height: 36px;
1109
+ background: #f58f10;
1110
+ width: 100vw;
1111
+ padding: 0 3rem; }
1112
+ ._28v_I > div > div > div {
1113
+ display: flex;
1114
+ justify-content: center;
1115
+ align-items: center; }
1116
+
1117
+ ._1la70 {
1118
+ padding: 0.1rem !important;
1119
+ right: 0.5rem;
1120
+ top: 50%;
1121
+ transform: translateY(-50%); }
1122
+ ._1la70 svg {
1123
+ color: #000 !important;
1124
+ font-size: 1.25rem; }
1125
+
1073
1126
  @font-face {
1074
1127
  font-family: "Lato-Regular";
1075
1128
  src: url("/fonts/Lato-Regular.ttf");
@@ -4522,7 +4575,6 @@ h2._2HVLw {
4522
4575
  ._2gSxY {
4523
4576
  padding: 2px 0px !important;
4524
4577
  font-size: 1rem;
4525
- font-family: "Roboto", "Helvetica", "Arial", sans-serif;
4526
4578
  font-weight: 400;
4527
4579
  line-height: 1.5;
4528
4580
  letter-spacing: 0.00938em; }
@@ -5335,7 +5387,7 @@ h2._2HVLw {
5335
5387
  position: absolute;
5336
5388
  color: rgba(0, 0, 0, 0.54);
5337
5389
  font-size: 1rem;
5338
- font-family: "Roboto", "Helvetica", "Arial", sans-serif;
5390
+ font-family: "Roboto", "Helvetica", "Arial",
5339
5391
  sans-serif;
5340
5392
  letter-spacing: 0.00938em;
5341
5393
  background: #ffffff; }
5342
5394
  ._3TPGz ._1n-GQ ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
@@ -6088,6 +6140,9 @@ h2._2HVLw {
6088
6140
  ._357lC {
6089
6141
  cursor: pointer; }
6090
6142
 
6143
+ ._27Z1n ._ioAmt {
6144
+ display: none; }
6145
+
6091
6146
  ._27Z1n ._2dpVY {
6092
6147
  position: absolute;
6093
6148
  z-index: -999;
@@ -15525,7 +15580,8 @@ h2._1KpSK {
15525
15580
  h4._2qrMH {
15526
15581
  color: #2d3748;
15527
15582
  font-size: 20px;
15528
- font-weight: 700; }
15583
+ font-weight: 700;
15584
+ font-family: 'Poppins-Regular' !important; }
15529
15585
 
15530
15586
  h4._2qrMH > i {
15531
15587
  margin-left: 3px; }
@@ -15543,7 +15599,8 @@ h4._2qrMH > i {
15543
15599
  font-weight: 700;
15544
15600
  text-transform: capitalize;
15545
15601
  font-size: 14px;
15546
- line-height: 19.07px; }
15602
+ line-height: 19.07px;
15603
+ font-family: 'Poppins-Regular' !important; }
15547
15604
 
15548
15605
  ._3u_ZS p._1X8HL {
15549
15606
  color: #6b6b6b;
@@ -15551,7 +15608,8 @@ h4._2qrMH > i {
15551
15608
  font-weight: 400;
15552
15609
  margin: 3px 0;
15553
15610
  line-height: 14.06px;
15554
- margin-bottom: -2px; }
15611
+ margin-bottom: -2px;
15612
+ font-family: 'Poppins-Regular' !important; }
15555
15613
  @media (max-width: 767px) {
15556
15614
  ._3u_ZS p._1X8HL {
15557
15615
  margin-bottom: 0px; } }
@@ -15638,14 +15696,16 @@ h4._2qrMH > i {
15638
15696
  font-size: 16px;
15639
15697
  line-height: 21.79px;
15640
15698
  font-weight: bold;
15641
- padding-bottom: 15px; }
15699
+ padding-bottom: 15px;
15700
+ font-family: 'Poppins-Regular' !important; }
15642
15701
  ._3wYO4 img {
15643
15702
  margin-right: 12px; }
15644
15703
 
15645
15704
  ._3N1qj h2 {
15646
15705
  color: #1a202c;
15647
15706
  font-weight: bold;
15648
- font-size: 18px; }
15707
+ font-size: 18px;
15708
+ font-family: 'Poppins-Regular' !important; }
15649
15709
 
15650
15710
  h4._3lNz0 {
15651
15711
  font-size: 16px;
@@ -15657,7 +15717,8 @@ h4._3lNz0 {
15657
15717
  color: #f44336;
15658
15718
  text-transform: uppercase;
15659
15719
  font-size: 14px;
15660
- font-weight: bold; }
15720
+ font-weight: bold;
15721
+ font-family: 'Poppins-Regular' !important; }
15661
15722
 
15662
15723
  ._1lJLb {
15663
15724
  background: #006E60 !important; }
@@ -15666,7 +15727,8 @@ h4._3lNz0 {
15666
15727
  ._1lJLb span {
15667
15728
  font-size: 15px;
15668
15729
  color: #fff;
15669
- text-transform: uppercase; }
15730
+ text-transform: uppercase;
15731
+ font-family: 'Poppins-Regular' !important; }
15670
15732
  ._1lJLb span img {
15671
15733
  margin-right: 8px;
15672
15734
  width: 15px;
@@ -15691,6 +15753,10 @@ h4._3lNz0 {
15691
15753
 
15692
15754
  ._15_aP {
15693
15755
  margin-left: 10px; }
15756
+ ._15_aP > div label {
15757
+ font-family: 'Poppins-Regular' !important; }
15758
+ ._15_aP > div div > input {
15759
+ font-family: 'Poppins-Regular' !important; }
15694
15760
 
15695
15761
  ._12nMn {
15696
15762
  margin: 0 !important;
@@ -16321,6 +16387,10 @@ th > ._3tbAL ._3N7z7 {
16321
16387
  ._1Lmrp ._2MyxF ._2M2ub ._26NEY ._3b0L0 {
16322
16388
  font-weight: 400;
16323
16389
  font-size: 16px; }
16390
+ ._1Lmrp ._2MyxF ._2M2ub > label {
16391
+ cursor: default; }
16392
+ ._1Lmrp ._2MyxF ._2M2ub > label > span {
16393
+ cursor: default; }
16324
16394
 
16325
16395
  ._1erRk {
16326
16396
  font-weight: 400;
@@ -16615,8 +16685,7 @@ th > ._3tbAL ._3N7z7 {
16615
16685
 
16616
16686
  ._3s7NT {
16617
16687
  display: flex;
16618
- justify-content: space-evenly;
16619
- margin-top: 15px; }
16688
+ justify-content: space-evenly; }
16620
16689
  ._3s7NT ._18KW- {
16621
16690
  display: flex;
16622
16691
  align-items: center; }
@@ -17024,7 +17093,8 @@ th > ._3tbAL ._3N7z7 {
17024
17093
  color: #000;
17025
17094
  font-weight: 600;
17026
17095
  text-transform: capitalize;
17027
- padding: 0px 10px; }
17096
+ padding: 0px 10px;
17097
+ font-family: 'Poppins-Regular' !important; }
17028
17098
  ._2Yd4r ._1uEAA i {
17029
17099
  font-size: 18px;
17030
17100
  color: rgba(0, 0, 0, 0.36); }
@@ -17076,6 +17146,8 @@ th > ._3tbAL ._3N7z7 {
17076
17146
  padding: 20px; }
17077
17147
  ._iGmVL ._qRjQL {
17078
17148
  margin-bottom: 15px; }
17149
+ ._iGmVL ._qRjQL > p {
17150
+ font-family: 'Poppins-Regular' !important; }
17079
17151
  ._iGmVL ._102Po {
17080
17152
  background: #edf2f7;
17081
17153
  padding: 16px;
@@ -17103,7 +17175,8 @@ h2._1hrCT {
17103
17175
  display: flex;
17104
17176
  align-items: center; }
17105
17177
  ._2pTpc ._332q5 ._1hrCT {
17106
- margin-bottom: 15px; }
17178
+ margin-bottom: 15px;
17179
+ font-family: 'Poppins-Regular' !important; }
17107
17180
  ._2pTpc ._2FDDu {
17108
17181
  display: flex;
17109
17182
  align-items: center;
@@ -17218,7 +17291,6 @@ h2._1hrCT {
17218
17291
  ._26JQB {
17219
17292
  padding: 2px 0px !important;
17220
17293
  font-size: 1rem;
17221
- font-family: "Roboto", "Helvetica", "Arial", sans-serif;
17222
17294
  font-weight: 400;
17223
17295
  line-height: 1.5;
17224
17296
  letter-spacing: 0.00938em; }
@@ -17372,7 +17444,8 @@ h2._1hrCT {
17372
17444
  font-weight: bold;
17373
17445
  color: #2d3748;
17374
17446
  margin-bottom: 12px;
17375
- text-transform: capitalize; }
17447
+ text-transform: capitalize;
17448
+ font-family: 'Poppins-Regular' !important; }
17376
17449
 
17377
17450
  ._2pTpc ._36iwb {
17378
17451
  display: flex;