mario-core 2.9.68-beta → 2.9.70-beta
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.
- package/dist/components/Selectors/CategorySelector.d.ts +3 -0
- package/dist/components/Selectors/constants/constant.d.ts +10 -0
- package/dist/components/Selectors/hooks/useCategorySelector.d.ts +5 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +189 -21
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +189 -22
- package/dist/index.modern.js.map +1 -1
- package/dist/services/questionCategoryService.d.ts +3 -1
- package/package.json +1 -1
- package/dist/containers/Login/constant/type.d.ts +0 -5
- package/dist/containers/Login/views/ModelSelectRole.d.ts +0 -4
- package/dist/utils/amplitude.d.ts +0 -1
package/dist/index.modern.js
CHANGED
|
@@ -48,6 +48,7 @@ var cancel = "Cancel";
|
|
|
48
48
|
var hey = "Hey";
|
|
49
49
|
var readiness_to_learn = "Readiness to Learn";
|
|
50
50
|
var high_impact_learning_strategies = "High Impact Learning Strategies";
|
|
51
|
+
var check_in = "Check In";
|
|
51
52
|
var reflection = "Reflection";
|
|
52
53
|
var conferences = "Conferences";
|
|
53
54
|
var safety = "Safety";
|
|
@@ -70,6 +71,7 @@ var tooltip_content_safety_chart = "The visual represenation of all the response
|
|
|
70
71
|
var tooltip_content_student_by_age_chart = "The specific representation of students by gender and grade level at your school.";
|
|
71
72
|
var tooltip_content_students_by_designation = "The composite representation of students by individual grades in your school with specific designations.";
|
|
72
73
|
var total_1_to_1 = "Total 1-to-1";
|
|
74
|
+
var total_check_in = "Total Check In";
|
|
73
75
|
var total_1_to_1_time = "Total 1-to-1 Time";
|
|
74
76
|
var total_conferences = "Total Conferences";
|
|
75
77
|
var total_conferences_time = "Total Conferences Time";
|
|
@@ -99,12 +101,14 @@ var current_password = "Current password";
|
|
|
99
101
|
var new_password = "New password";
|
|
100
102
|
var confirm_password = "Confirm password";
|
|
101
103
|
var save = "Save";
|
|
102
|
-
var type_something_to_search_question = "Type something to
|
|
104
|
+
var type_something_to_search_question = "Type something to search question";
|
|
105
|
+
var type_something_to_search_category = "Type something to search category";
|
|
103
106
|
var total_of_questions = "Total of questions";
|
|
104
107
|
var create_question = "Create question";
|
|
105
108
|
var edit_question = "Edit question";
|
|
106
109
|
var question_type = "Question Type";
|
|
107
110
|
var category = "Category";
|
|
111
|
+
var sub_category = "Sub Category";
|
|
108
112
|
var is_default_question_for_one_to_one = "Is default question for one-to-one";
|
|
109
113
|
var default_question_for_students_or_teachers = "Default question for students or teachers";
|
|
110
114
|
var is_default_question_general_class = "Is default question general class";
|
|
@@ -215,6 +219,7 @@ var edit_destination = "Edit Destination";
|
|
|
215
219
|
var confirm = "Confirm";
|
|
216
220
|
var hello = "Hello";
|
|
217
221
|
var todays_1_1 = "Today’s 1-1";
|
|
222
|
+
var todays_check_in = "Today’s Check In";
|
|
218
223
|
var todays_Conferences = "Today’s Conferences";
|
|
219
224
|
var next_meeting = "Next Meeting";
|
|
220
225
|
var next_conference = "Next Conference";
|
|
@@ -243,6 +248,7 @@ var import_csv = "Import CSV";
|
|
|
243
248
|
var add_new = "Add New";
|
|
244
249
|
var show_only_work_as_assistant = "Show only work as assistant";
|
|
245
250
|
var last_1_to_1 = "Last 1-TO-1";
|
|
251
|
+
var last_check_in = "Last Check In";
|
|
246
252
|
var last_conference = "Last conference";
|
|
247
253
|
var total_time = "Total time";
|
|
248
254
|
var assistant_name = "Assistant Name";
|
|
@@ -259,6 +265,7 @@ var after = "After";
|
|
|
259
265
|
var pick_a_date = "Pick a date";
|
|
260
266
|
var apply = "Apply";
|
|
261
267
|
var new_1_to_1 = "New 1-to-1";
|
|
268
|
+
var new_check_in = "New Check In";
|
|
262
269
|
var do_you_want_to_talk_with_teacher = "Do you want to talk with teacher";
|
|
263
270
|
var start_now = "Start now";
|
|
264
271
|
var book_for_later = "Book for later";
|
|
@@ -269,6 +276,7 @@ var select_question = "Select question";
|
|
|
269
276
|
var select_student = "Select student";
|
|
270
277
|
var select_date_time = "Select Date & Time";
|
|
271
278
|
var book_1_to_1 = "Book 1-to-1";
|
|
279
|
+
var book_new_check_in = "Book new Check In";
|
|
272
280
|
var schedule = "Schedule";
|
|
273
281
|
var sessions_are_booked_as_10_minute_slots = "Sessions are booked as 10 minute slots";
|
|
274
282
|
var does_not_reoccur = "Does not reoccur";
|
|
@@ -276,13 +284,15 @@ var time_must_be_between_8_am_and_6_pm = "Time must be between 8 AM and 6 PM";
|
|
|
276
284
|
var from = "From";
|
|
277
285
|
var to = "To";
|
|
278
286
|
var show_only_favorites = "Show only favorites";
|
|
287
|
+
var show_only_conversation = "Show 1-1 conversation only";
|
|
279
288
|
var duration = "Duration";
|
|
280
289
|
var favorite = "Favorite";
|
|
281
290
|
var open = "Open";
|
|
282
291
|
var no_data = "No Data";
|
|
283
292
|
var schedule_detail = "Schedule Detail";
|
|
284
293
|
var are_you_sure_you_want_to_cancel_this_schedule = "Are you sure you want to Cancel this schedule?";
|
|
285
|
-
var completed_1_to_1 = "Completed 1-
|
|
294
|
+
var completed_1_to_1 = "Completed 1-1 Conversation";
|
|
295
|
+
var completed_check_in = "Completed Check In";
|
|
286
296
|
var done = "Done";
|
|
287
297
|
var what_do_you_want_to_talk_about = "What do you want to talk about?";
|
|
288
298
|
var session_type = "Session Type";
|
|
@@ -403,6 +413,7 @@ var student_request = "Student Request";
|
|
|
403
413
|
var overview = "Overview";
|
|
404
414
|
var plp = "PLP";
|
|
405
415
|
var my_student_1_to_1 = "My Student 1-to-1";
|
|
416
|
+
var my_student_check_in = "My Student Check In";
|
|
406
417
|
var my_student_conference = "My Student Conference";
|
|
407
418
|
var received_date = "Received Date";
|
|
408
419
|
var class_impact_score = "Class Impact Score";
|
|
@@ -592,6 +603,7 @@ var lang_us = {
|
|
|
592
603
|
readiness_to_learn: readiness_to_learn,
|
|
593
604
|
high_impact_learning_strategies: high_impact_learning_strategies,
|
|
594
605
|
"1_to_1": "1 To 1",
|
|
606
|
+
check_in: check_in,
|
|
595
607
|
reflection: reflection,
|
|
596
608
|
conferences: conferences,
|
|
597
609
|
safety: safety,
|
|
@@ -614,6 +626,7 @@ var lang_us = {
|
|
|
614
626
|
tooltip_content_student_by_age_chart: tooltip_content_student_by_age_chart,
|
|
615
627
|
tooltip_content_students_by_designation: tooltip_content_students_by_designation,
|
|
616
628
|
total_1_to_1: total_1_to_1,
|
|
629
|
+
total_check_in: total_check_in,
|
|
617
630
|
total_1_to_1_time: total_1_to_1_time,
|
|
618
631
|
total_conferences: total_conferences,
|
|
619
632
|
total_conferences_time: total_conferences_time,
|
|
@@ -645,11 +658,13 @@ var lang_us = {
|
|
|
645
658
|
confirm_password: confirm_password,
|
|
646
659
|
save: save,
|
|
647
660
|
type_something_to_search_question: type_something_to_search_question,
|
|
661
|
+
type_something_to_search_category: type_something_to_search_category,
|
|
648
662
|
total_of_questions: total_of_questions,
|
|
649
663
|
create_question: create_question,
|
|
650
664
|
edit_question: edit_question,
|
|
651
665
|
question_type: question_type,
|
|
652
666
|
category: category,
|
|
667
|
+
sub_category: sub_category,
|
|
653
668
|
"Question text": "Question text",
|
|
654
669
|
is_default_question_for_one_to_one: is_default_question_for_one_to_one,
|
|
655
670
|
default_question_for_students_or_teachers: default_question_for_students_or_teachers,
|
|
@@ -761,6 +776,7 @@ var lang_us = {
|
|
|
761
776
|
confirm: confirm,
|
|
762
777
|
hello: hello,
|
|
763
778
|
todays_1_1: todays_1_1,
|
|
779
|
+
todays_check_in: todays_check_in,
|
|
764
780
|
todays_Conferences: todays_Conferences,
|
|
765
781
|
next_meeting: next_meeting,
|
|
766
782
|
next_conference: next_conference,
|
|
@@ -791,6 +807,7 @@ var lang_us = {
|
|
|
791
807
|
add_new: add_new,
|
|
792
808
|
show_only_work_as_assistant: show_only_work_as_assistant,
|
|
793
809
|
last_1_to_1: last_1_to_1,
|
|
810
|
+
last_check_in: last_check_in,
|
|
794
811
|
last_conference: last_conference,
|
|
795
812
|
total_time: total_time,
|
|
796
813
|
assistant_name: assistant_name,
|
|
@@ -807,6 +824,7 @@ var lang_us = {
|
|
|
807
824
|
pick_a_date: pick_a_date,
|
|
808
825
|
apply: apply,
|
|
809
826
|
new_1_to_1: new_1_to_1,
|
|
827
|
+
new_check_in: new_check_in,
|
|
810
828
|
do_you_want_to_talk_with_teacher: do_you_want_to_talk_with_teacher,
|
|
811
829
|
start_now: start_now,
|
|
812
830
|
book_for_later: book_for_later,
|
|
@@ -817,6 +835,7 @@ var lang_us = {
|
|
|
817
835
|
select_student: select_student,
|
|
818
836
|
select_date_time: select_date_time,
|
|
819
837
|
book_1_to_1: book_1_to_1,
|
|
838
|
+
book_new_check_in: book_new_check_in,
|
|
820
839
|
schedule: schedule,
|
|
821
840
|
sessions_are_booked_as_10_minute_slots: sessions_are_booked_as_10_minute_slots,
|
|
822
841
|
does_not_reoccur: does_not_reoccur,
|
|
@@ -824,6 +843,7 @@ var lang_us = {
|
|
|
824
843
|
from: from,
|
|
825
844
|
to: to,
|
|
826
845
|
show_only_favorites: show_only_favorites,
|
|
846
|
+
show_only_conversation: show_only_conversation,
|
|
827
847
|
duration: duration,
|
|
828
848
|
favorite: favorite,
|
|
829
849
|
open: open,
|
|
@@ -831,6 +851,7 @@ var lang_us = {
|
|
|
831
851
|
schedule_detail: schedule_detail,
|
|
832
852
|
are_you_sure_you_want_to_cancel_this_schedule: are_you_sure_you_want_to_cancel_this_schedule,
|
|
833
853
|
completed_1_to_1: completed_1_to_1,
|
|
854
|
+
completed_check_in: completed_check_in,
|
|
834
855
|
done: done,
|
|
835
856
|
what_do_you_want_to_talk_about: what_do_you_want_to_talk_about,
|
|
836
857
|
session_type: session_type,
|
|
@@ -952,6 +973,7 @@ var lang_us = {
|
|
|
952
973
|
overview: overview,
|
|
953
974
|
plp: plp,
|
|
954
975
|
my_student_1_to_1: my_student_1_to_1,
|
|
976
|
+
my_student_check_in: my_student_check_in,
|
|
955
977
|
my_student_conference: my_student_conference,
|
|
956
978
|
received_date: received_date,
|
|
957
979
|
class_impact_score: class_impact_score,
|
|
@@ -1143,6 +1165,7 @@ var cancel$1 = "Cancel";
|
|
|
1143
1165
|
var hey$1 = "Hey";
|
|
1144
1166
|
var readiness_to_learn$1 = "Readiness to Learn";
|
|
1145
1167
|
var high_impact_learning_strategies$1 = "High Impact Learning Strategies";
|
|
1168
|
+
var check_in$1 = "Check In";
|
|
1146
1169
|
var reflection$1 = "Reflection";
|
|
1147
1170
|
var conferences$1 = "Conferences";
|
|
1148
1171
|
var safety$1 = "Safety";
|
|
@@ -1165,6 +1188,7 @@ var tooltip_content_safety_chart$1 = "The visual represenation of all the respon
|
|
|
1165
1188
|
var tooltip_content_student_by_age_chart$1 = "The specific representation of students by gender and grade level at your school.";
|
|
1166
1189
|
var tooltip_content_students_by_designation$1 = "The composite representation of students by individual grades in your school with specific designations.";
|
|
1167
1190
|
var total_1_to_1$1 = "Total 1-to-1";
|
|
1191
|
+
var total_check_in$1 = "Total Check In";
|
|
1168
1192
|
var total_1_to_1_time$1 = "Total 1-to-1 Time";
|
|
1169
1193
|
var total_conferences$1 = "Total Conferences";
|
|
1170
1194
|
var total_conferences_time$1 = "Total Conferences Time";
|
|
@@ -1195,12 +1219,14 @@ var current_password$1 = "Current password";
|
|
|
1195
1219
|
var new_password$1 = "New password";
|
|
1196
1220
|
var confirm_password$1 = "Confirm password";
|
|
1197
1221
|
var save$1 = "Save";
|
|
1198
|
-
var type_something_to_search_question$1 = "Type something to
|
|
1222
|
+
var type_something_to_search_question$1 = "Type something to search question";
|
|
1223
|
+
var type_something_to_search_category$1 = "Type something to search category";
|
|
1199
1224
|
var total_of_questions$1 = "Total of questions";
|
|
1200
1225
|
var create_question$1 = "Create question";
|
|
1201
1226
|
var edit_question$1 = "Edit question";
|
|
1202
1227
|
var question_type$1 = "Question Type";
|
|
1203
1228
|
var category$1 = "Category";
|
|
1229
|
+
var sub_category$1 = "Sub Category";
|
|
1204
1230
|
var question_text = "Question text";
|
|
1205
1231
|
var is_default_question_for_one_to_one$1 = "Is default question for one-to-one";
|
|
1206
1232
|
var default_question_for_students_or_teachers$1 = "Default question for students or teachers";
|
|
@@ -1312,6 +1338,7 @@ var edit_destination$1 = "Edit Destination";
|
|
|
1312
1338
|
var confirm$1 = "Confirm";
|
|
1313
1339
|
var hello$1 = "Hello";
|
|
1314
1340
|
var todays_1_1$1 = "Today’s 1-1";
|
|
1341
|
+
var todays_check_in$1 = "Today’s Check In";
|
|
1315
1342
|
var todays_Conferences$1 = "Today’s Conferences";
|
|
1316
1343
|
var next_meeting$1 = "Next Meeting";
|
|
1317
1344
|
var next_conference$1 = "Next Conference";
|
|
@@ -1340,6 +1367,7 @@ var import_csv$1 = "Import CSV";
|
|
|
1340
1367
|
var add_new$1 = "Add New";
|
|
1341
1368
|
var show_only_work_as_assistant$1 = "Show only work as assistant";
|
|
1342
1369
|
var last_1_to_1$1 = "Last 1-TO-1";
|
|
1370
|
+
var last_check_in$1 = "Last Check In";
|
|
1343
1371
|
var last_conference$1 = "Last conference";
|
|
1344
1372
|
var total_time$1 = "Total time";
|
|
1345
1373
|
var assistant_name$1 = "Assistant Name";
|
|
@@ -1356,6 +1384,7 @@ var after$1 = "After";
|
|
|
1356
1384
|
var pick_a_date$1 = "Pick a date";
|
|
1357
1385
|
var apply$1 = "Apply";
|
|
1358
1386
|
var new_1_to_1$1 = "New 1-to-1";
|
|
1387
|
+
var new_check_in$1 = "New Check In";
|
|
1359
1388
|
var do_you_want_to_talk_with_teacher$1 = "Do you want to talk with teacher";
|
|
1360
1389
|
var start_now$1 = "Start now";
|
|
1361
1390
|
var book_for_later$1 = "Book for later";
|
|
@@ -1366,6 +1395,7 @@ var select_question$1 = "Select question";
|
|
|
1366
1395
|
var select_student$1 = "Select student";
|
|
1367
1396
|
var select_date_time$1 = "Select Date & Time";
|
|
1368
1397
|
var book_1_to_1$1 = "Book 1-to-1";
|
|
1398
|
+
var book_new_check_in$1 = "Book new Check In";
|
|
1369
1399
|
var schedule$1 = "Schedule";
|
|
1370
1400
|
var sessions_are_booked_as_10_minute_slots$1 = "Sessions are booked as 10 minute slots";
|
|
1371
1401
|
var does_not_reoccur$1 = "Does not reoccur";
|
|
@@ -1373,13 +1403,15 @@ var time_must_be_between_8_am_and_6_pm$1 = "Time must be between 8 AM and 6 PM";
|
|
|
1373
1403
|
var from$1 = "From";
|
|
1374
1404
|
var to$1 = "To";
|
|
1375
1405
|
var show_only_favorites$1 = "Show only favorites";
|
|
1406
|
+
var show_only_conversation$1 = "Show 1-1 conversation only";
|
|
1376
1407
|
var duration$1 = "Duration";
|
|
1377
1408
|
var favorite$1 = "Favorite";
|
|
1378
1409
|
var open$1 = "Open";
|
|
1379
1410
|
var no_data$1 = "No Data";
|
|
1380
1411
|
var schedule_detail$1 = "Schedule Detail";
|
|
1381
1412
|
var are_you_sure_you_want_to_cancel_this_schedule$1 = "Are you sure you want to Cancel this schedule?";
|
|
1382
|
-
var completed_1_to_1$1 = "Completed 1-
|
|
1413
|
+
var completed_1_to_1$1 = "Completed 1-1 Conversation";
|
|
1414
|
+
var completed_check_in$1 = "Completed Check In";
|
|
1383
1415
|
var done$1 = "Done";
|
|
1384
1416
|
var what_do_you_want_to_talk_about$1 = "What do you want to talk about?";
|
|
1385
1417
|
var session_type$1 = "Session Type";
|
|
@@ -1500,6 +1532,7 @@ var student_request$1 = "Student Request";
|
|
|
1500
1532
|
var overview$1 = "Overview";
|
|
1501
1533
|
var plp$1 = "PLP";
|
|
1502
1534
|
var my_student_1_to_1$1 = "My Student 1-to-1";
|
|
1535
|
+
var my_student_check_in$1 = "My Student Check In";
|
|
1503
1536
|
var my_student_conference$1 = "My Student Conference";
|
|
1504
1537
|
var received_date$1 = "Received Date";
|
|
1505
1538
|
var class_impact_score$1 = "Class Impact Score";
|
|
@@ -1689,6 +1722,7 @@ var lang_uk = {
|
|
|
1689
1722
|
readiness_to_learn: readiness_to_learn$1,
|
|
1690
1723
|
high_impact_learning_strategies: high_impact_learning_strategies$1,
|
|
1691
1724
|
"1_to_1": "1 to 1",
|
|
1725
|
+
check_in: check_in$1,
|
|
1692
1726
|
reflection: reflection$1,
|
|
1693
1727
|
conferences: conferences$1,
|
|
1694
1728
|
safety: safety$1,
|
|
@@ -1711,6 +1745,7 @@ var lang_uk = {
|
|
|
1711
1745
|
tooltip_content_student_by_age_chart: tooltip_content_student_by_age_chart$1,
|
|
1712
1746
|
tooltip_content_students_by_designation: tooltip_content_students_by_designation$1,
|
|
1713
1747
|
total_1_to_1: total_1_to_1$1,
|
|
1748
|
+
total_check_in: total_check_in$1,
|
|
1714
1749
|
total_1_to_1_time: total_1_to_1_time$1,
|
|
1715
1750
|
total_conferences: total_conferences$1,
|
|
1716
1751
|
total_conferences_time: total_conferences_time$1,
|
|
@@ -1742,11 +1777,13 @@ var lang_uk = {
|
|
|
1742
1777
|
confirm_password: confirm_password$1,
|
|
1743
1778
|
save: save$1,
|
|
1744
1779
|
type_something_to_search_question: type_something_to_search_question$1,
|
|
1780
|
+
type_something_to_search_category: type_something_to_search_category$1,
|
|
1745
1781
|
total_of_questions: total_of_questions$1,
|
|
1746
1782
|
create_question: create_question$1,
|
|
1747
1783
|
edit_question: edit_question$1,
|
|
1748
1784
|
question_type: question_type$1,
|
|
1749
1785
|
category: category$1,
|
|
1786
|
+
sub_category: sub_category$1,
|
|
1750
1787
|
question_text: question_text,
|
|
1751
1788
|
is_default_question_for_one_to_one: is_default_question_for_one_to_one$1,
|
|
1752
1789
|
default_question_for_students_or_teachers: default_question_for_students_or_teachers$1,
|
|
@@ -1858,6 +1895,7 @@ var lang_uk = {
|
|
|
1858
1895
|
confirm: confirm$1,
|
|
1859
1896
|
hello: hello$1,
|
|
1860
1897
|
todays_1_1: todays_1_1$1,
|
|
1898
|
+
todays_check_in: todays_check_in$1,
|
|
1861
1899
|
todays_Conferences: todays_Conferences$1,
|
|
1862
1900
|
next_meeting: next_meeting$1,
|
|
1863
1901
|
next_conference: next_conference$1,
|
|
@@ -1888,6 +1926,7 @@ var lang_uk = {
|
|
|
1888
1926
|
add_new: add_new$1,
|
|
1889
1927
|
show_only_work_as_assistant: show_only_work_as_assistant$1,
|
|
1890
1928
|
last_1_to_1: last_1_to_1$1,
|
|
1929
|
+
last_check_in: last_check_in$1,
|
|
1891
1930
|
last_conference: last_conference$1,
|
|
1892
1931
|
total_time: total_time$1,
|
|
1893
1932
|
assistant_name: assistant_name$1,
|
|
@@ -1904,6 +1943,7 @@ var lang_uk = {
|
|
|
1904
1943
|
pick_a_date: pick_a_date$1,
|
|
1905
1944
|
apply: apply$1,
|
|
1906
1945
|
new_1_to_1: new_1_to_1$1,
|
|
1946
|
+
new_check_in: new_check_in$1,
|
|
1907
1947
|
do_you_want_to_talk_with_teacher: do_you_want_to_talk_with_teacher$1,
|
|
1908
1948
|
start_now: start_now$1,
|
|
1909
1949
|
book_for_later: book_for_later$1,
|
|
@@ -1914,6 +1954,7 @@ var lang_uk = {
|
|
|
1914
1954
|
select_student: select_student$1,
|
|
1915
1955
|
select_date_time: select_date_time$1,
|
|
1916
1956
|
book_1_to_1: book_1_to_1$1,
|
|
1957
|
+
book_new_check_in: book_new_check_in$1,
|
|
1917
1958
|
schedule: schedule$1,
|
|
1918
1959
|
sessions_are_booked_as_10_minute_slots: sessions_are_booked_as_10_minute_slots$1,
|
|
1919
1960
|
does_not_reoccur: does_not_reoccur$1,
|
|
@@ -1921,6 +1962,7 @@ var lang_uk = {
|
|
|
1921
1962
|
from: from$1,
|
|
1922
1963
|
to: to$1,
|
|
1923
1964
|
show_only_favorites: show_only_favorites$1,
|
|
1965
|
+
show_only_conversation: show_only_conversation$1,
|
|
1924
1966
|
duration: duration$1,
|
|
1925
1967
|
favorite: favorite$1,
|
|
1926
1968
|
open: open$1,
|
|
@@ -1928,6 +1970,7 @@ var lang_uk = {
|
|
|
1928
1970
|
schedule_detail: schedule_detail$1,
|
|
1929
1971
|
are_you_sure_you_want_to_cancel_this_schedule: are_you_sure_you_want_to_cancel_this_schedule$1,
|
|
1930
1972
|
completed_1_to_1: completed_1_to_1$1,
|
|
1973
|
+
completed_check_in: completed_check_in$1,
|
|
1931
1974
|
done: done$1,
|
|
1932
1975
|
what_do_you_want_to_talk_about: what_do_you_want_to_talk_about$1,
|
|
1933
1976
|
session_type: session_type$1,
|
|
@@ -2049,6 +2092,7 @@ var lang_uk = {
|
|
|
2049
2092
|
overview: overview$1,
|
|
2050
2093
|
plp: plp$1,
|
|
2051
2094
|
my_student_1_to_1: my_student_1_to_1$1,
|
|
2095
|
+
my_student_check_in: my_student_check_in$1,
|
|
2052
2096
|
my_student_conference: my_student_conference$1,
|
|
2053
2097
|
received_date: received_date$1,
|
|
2054
2098
|
class_impact_score: class_impact_score$1,
|
|
@@ -2456,18 +2500,6 @@ var QUESTION_TYPES_OPTIONS = [{
|
|
|
2456
2500
|
}, {
|
|
2457
2501
|
label: "Text input",
|
|
2458
2502
|
value: "TextInput"
|
|
2459
|
-
}, {
|
|
2460
|
-
label: "Slider",
|
|
2461
|
-
value: "Slider"
|
|
2462
|
-
}, {
|
|
2463
|
-
label: "Progress bar",
|
|
2464
|
-
value: "ProgressBar"
|
|
2465
|
-
}, {
|
|
2466
|
-
label: "Star rating",
|
|
2467
|
-
value: "StarRating"
|
|
2468
|
-
}, {
|
|
2469
|
-
label: "Text input with sub questions",
|
|
2470
|
-
value: "TextInputWithSuggestions"
|
|
2471
2503
|
}, {
|
|
2472
2504
|
label: "Emotional",
|
|
2473
2505
|
value: "Emotional"
|
|
@@ -3869,7 +3901,7 @@ var TheSidebar = function TheSidebar(_ref) {
|
|
|
3869
3901
|
className: "" + styles["sidebar-logout"]
|
|
3870
3902
|
}), React.createElement("p", {
|
|
3871
3903
|
onClick: signOut
|
|
3872
|
-
}, "Log out")));
|
|
3904
|
+
}, "Log out 123")));
|
|
3873
3905
|
};
|
|
3874
3906
|
|
|
3875
3907
|
var setNotification = createAction("notifications/setNotification");
|
|
@@ -7554,8 +7586,17 @@ var SuggestionCategorySelector = function SuggestionCategorySelector(props) {
|
|
|
7554
7586
|
};
|
|
7555
7587
|
|
|
7556
7588
|
var CATEGORY_URL$1 = BASE_URL + "/api/QuestionCategory";
|
|
7557
|
-
var get$7 = function get() {
|
|
7558
|
-
return api.get(CATEGORY_URL$1
|
|
7589
|
+
var get$7 = function get(parentCategoryId) {
|
|
7590
|
+
return api.get(CATEGORY_URL$1, {
|
|
7591
|
+
params: {
|
|
7592
|
+
parentCategoryId: parentCategoryId
|
|
7593
|
+
}
|
|
7594
|
+
});
|
|
7595
|
+
};
|
|
7596
|
+
var getByFilter = function getByFilter(filter) {
|
|
7597
|
+
return api.get(CATEGORY_URL$1, {
|
|
7598
|
+
params: filter
|
|
7599
|
+
});
|
|
7559
7600
|
};
|
|
7560
7601
|
|
|
7561
7602
|
var QuestionCategorySelector = function QuestionCategorySelector(props) {
|
|
@@ -7563,6 +7604,8 @@ var QuestionCategorySelector = function QuestionCategorySelector(props) {
|
|
|
7563
7604
|
getCategoryList = _useState[0],
|
|
7564
7605
|
setCategoryList = _useState[1];
|
|
7565
7606
|
|
|
7607
|
+
var id = props.id,
|
|
7608
|
+
parentCategoryId = props.parentCategoryId;
|
|
7566
7609
|
useEffect(function () {
|
|
7567
7610
|
fetchCategory();
|
|
7568
7611
|
}, []);
|
|
@@ -7570,7 +7613,7 @@ var QuestionCategorySelector = function QuestionCategorySelector(props) {
|
|
|
7570
7613
|
var fetchCategory = function fetchCategory() {
|
|
7571
7614
|
try {
|
|
7572
7615
|
var _temp2 = _catch(function () {
|
|
7573
|
-
return Promise.resolve(get$7()).then(function (res) {
|
|
7616
|
+
return Promise.resolve(get$7(parentCategoryId)).then(function (res) {
|
|
7574
7617
|
setCategoryList(res.data.items);
|
|
7575
7618
|
});
|
|
7576
7619
|
}, function (err) {
|
|
@@ -7583,7 +7626,6 @@ var QuestionCategorySelector = function QuestionCategorySelector(props) {
|
|
|
7583
7626
|
}
|
|
7584
7627
|
};
|
|
7585
7628
|
|
|
7586
|
-
var id = props.id;
|
|
7587
7629
|
var arrCategory = getCategoryList.map(function (i) {
|
|
7588
7630
|
return {
|
|
7589
7631
|
id: i.id,
|
|
@@ -7600,6 +7642,131 @@ var QuestionCategorySelector = function QuestionCategorySelector(props) {
|
|
|
7600
7642
|
}, props));
|
|
7601
7643
|
};
|
|
7602
7644
|
|
|
7645
|
+
var useCategorySelector = function useCategorySelector() {
|
|
7646
|
+
var _useState = useState([]),
|
|
7647
|
+
categories = _useState[0],
|
|
7648
|
+
setCategories = _useState[1];
|
|
7649
|
+
|
|
7650
|
+
var dispatch = useDispatch();
|
|
7651
|
+
var getData = useCallback(function () {
|
|
7652
|
+
try {
|
|
7653
|
+
var _temp3 = function _temp3() {
|
|
7654
|
+
dispatch(setLoading(false));
|
|
7655
|
+
};
|
|
7656
|
+
|
|
7657
|
+
dispatch(setLoading(true));
|
|
7658
|
+
|
|
7659
|
+
var _temp4 = _catch(function () {
|
|
7660
|
+
return Promise.resolve(getByFilter(_extends({}, DEFAULT_FILTER, {
|
|
7661
|
+
pageSize: -1
|
|
7662
|
+
}))).then(function (res) {
|
|
7663
|
+
var convertedCategories = convertOptions(res.data.items);
|
|
7664
|
+
setCategories(convertedCategories);
|
|
7665
|
+
});
|
|
7666
|
+
}, function (err) {
|
|
7667
|
+
var _err$response, _err$response$data;
|
|
7668
|
+
|
|
7669
|
+
dispatch(setAlert({
|
|
7670
|
+
type: "danger",
|
|
7671
|
+
message: ((_err$response = err.response) === null || _err$response === void 0 ? void 0 : (_err$response$data = _err$response.data) === null || _err$response$data === void 0 ? void 0 : _err$response$data.title) || err.message
|
|
7672
|
+
}));
|
|
7673
|
+
});
|
|
7674
|
+
|
|
7675
|
+
return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp3) : _temp3(_temp4));
|
|
7676
|
+
} catch (e) {
|
|
7677
|
+
return Promise.reject(e);
|
|
7678
|
+
}
|
|
7679
|
+
}, []);
|
|
7680
|
+
|
|
7681
|
+
var convertOptions = function convertOptions(categories, parent, children) {
|
|
7682
|
+
var result = [];
|
|
7683
|
+
|
|
7684
|
+
if (!parent) {
|
|
7685
|
+
var noParentCategories = categories.filter(function (c) {
|
|
7686
|
+
return !c.parentCategoryId;
|
|
7687
|
+
});
|
|
7688
|
+
noParentCategories.forEach(function (c) {
|
|
7689
|
+
var childrenOfCategory = categories.filter(function (cg) {
|
|
7690
|
+
return cg.parentCategoryId === c.id;
|
|
7691
|
+
});
|
|
7692
|
+
|
|
7693
|
+
var category = _extends({}, c, {
|
|
7694
|
+
label: c.name,
|
|
7695
|
+
value: c.id,
|
|
7696
|
+
level: 0,
|
|
7697
|
+
isDisabled: childrenOfCategory.length > 0
|
|
7698
|
+
});
|
|
7699
|
+
|
|
7700
|
+
result = result.concat(convertOptions(categories, category, childrenOfCategory));
|
|
7701
|
+
});
|
|
7702
|
+
} else {
|
|
7703
|
+
result.push(parent);
|
|
7704
|
+
children === null || children === void 0 ? void 0 : children.forEach(function (c) {
|
|
7705
|
+
var childrenOfCategory = categories.filter(function (cg) {
|
|
7706
|
+
return cg.parentCategoryId === c.id;
|
|
7707
|
+
});
|
|
7708
|
+
|
|
7709
|
+
var category = _extends({}, c, {
|
|
7710
|
+
label: c.name,
|
|
7711
|
+
value: c.id,
|
|
7712
|
+
level: parent.level ? parent.level + 1 : 1,
|
|
7713
|
+
isDisabled: childrenOfCategory.length > 0
|
|
7714
|
+
});
|
|
7715
|
+
|
|
7716
|
+
result = result.concat(convertOptions(categories, category, childrenOfCategory));
|
|
7717
|
+
});
|
|
7718
|
+
}
|
|
7719
|
+
|
|
7720
|
+
return result;
|
|
7721
|
+
};
|
|
7722
|
+
|
|
7723
|
+
useEffect(function () {
|
|
7724
|
+
getData();
|
|
7725
|
+
}, []);
|
|
7726
|
+
return {
|
|
7727
|
+
categories: categories
|
|
7728
|
+
};
|
|
7729
|
+
};
|
|
7730
|
+
|
|
7731
|
+
var optionStyles = {
|
|
7732
|
+
control: function control(styles) {
|
|
7733
|
+
return _extends({}, styles, {
|
|
7734
|
+
backgroundColor: 'white'
|
|
7735
|
+
});
|
|
7736
|
+
},
|
|
7737
|
+
option: function option(styles, _ref) {
|
|
7738
|
+
var data = _ref.data;
|
|
7739
|
+
return _extends({}, styles, {
|
|
7740
|
+
fontWeight: !(data !== null && data !== void 0 && data.level) ? "bold" : "normal",
|
|
7741
|
+
paddingLeft: ((data === null || data === void 0 ? void 0 : data.level) || 0) + 1 + "rem",
|
|
7742
|
+
paddingRight: "1rem",
|
|
7743
|
+
cursor: data.isDisabled ? 'not-allowed' : 'pointer',
|
|
7744
|
+
color: "var(--color)",
|
|
7745
|
+
"&:first-letter": {
|
|
7746
|
+
textTransform: "uppercase"
|
|
7747
|
+
}
|
|
7748
|
+
});
|
|
7749
|
+
}
|
|
7750
|
+
};
|
|
7751
|
+
|
|
7752
|
+
var CategorySelector = function CategorySelector(_ref2) {
|
|
7753
|
+
var value = _ref2.value,
|
|
7754
|
+
rest = _objectWithoutPropertiesLoose(_ref2, ["value"]);
|
|
7755
|
+
|
|
7756
|
+
var _useCategorySelector = useCategorySelector(),
|
|
7757
|
+
categories = _useCategorySelector.categories;
|
|
7758
|
+
|
|
7759
|
+
var initialValue = !!value ? categories.find(function (option) {
|
|
7760
|
+
return option.value === value;
|
|
7761
|
+
}) || null : null;
|
|
7762
|
+
return React.createElement(Select, Object.assign({
|
|
7763
|
+
value: initialValue,
|
|
7764
|
+
options: categories,
|
|
7765
|
+
styles: optionStyles,
|
|
7766
|
+
placeholder: "Select category..."
|
|
7767
|
+
}, rest));
|
|
7768
|
+
};
|
|
7769
|
+
|
|
7603
7770
|
var StarRatingSelector = function StarRatingSelector(props) {
|
|
7604
7771
|
var id = props.id;
|
|
7605
7772
|
var initValue = !!id ? STAR_OPTIONS.find(function (option) {
|
|
@@ -10619,5 +10786,5 @@ var UserList = function UserList() {
|
|
|
10619
10786
|
|
|
10620
10787
|
var amplitudeClient$1 = amplitude.getInstance();
|
|
10621
10788
|
|
|
10622
|
-
export { ACCESS_TOKEN, ANSWER_EDITOR_HEIGHT, AcademicClassSelector, AddButton, BASE_URL, CHAT_CHANNEL, CommonAlert, CommonHeader, CommonModal$1 as CommonModal, CreatableSelector, CustomPagination, CustomSelector, CustomTabs as CustomTab, DATE_FORMAT, DATE_RESULT, DEFAULT_FILTER, Dashboard, DeleteButtonIcon, DetailActionButtons, EMOTIONS, EditButtonIcon, EmailTemplateDetail, EmailTemplateList, EmptyDataAlert, ErrorHandler, FULL_DATE_RESULT, FaqList, InputFile as FileInput, GOOGLE_RECAPTCHA_KEY, GalleryList, INIT_AMPLITUDE_KEY_PROD, INIT_AMPLITUDE_KEY_STAGE, Images, LICENSE_AGGRID, LinkEditButton, Loading, Login, MediaList, NOTIFICATION_ALERT_KEY, NOTIFICATION_CHANNEL, NotFound, NotificationList, NotificationModal, QUESTION_TYPES, QUESTION_TYPES_OPTIONS, QuestionCategorySelector, QuestionTypeSelector, QuitPrompt, ReactNotification, RequiredLabel$1 as RequiredLabel, SchoolList, ScrollToTop, SearchBox$1 as SearchBox, SearchBoxContainer, SkillList, StarRatingSelector, SuggestionCategorySelector, TAB_COLORS, TINY_MCE_API_KEY, TheContent$1 as TheContent, TheLayout, ToggleButton, UploadFileButton, UserDetail, UserList, addTab, amplitudeClient$1 as amplitudeClient, answerQuestion, answerQuestionDataPlayer, api, apiUpload, canAccess as canAccessRoute, changeNote, changeTags, clearTab, closeTab, debounce, editTab, editorConfig, firstCheckToken, generateRandomString, getFileUrl, getInfo, getTextFromHTML, i18n, initAmplitude, isInViewport, isLocalhost, reset, setAlert, setAssessmentList, setAssignmentList, setAssistantList, setBadgeList, setBandScoreList, setCertificateList, setClassList, setConferenceRubricList, setConversationOneToOne, setCurrentStudentId, setCurrentStudentName, setCurrentStudentUserId, setCustomAlertList, setDataPlayer, setEditItemQuesion, setEnableIEP, setEnableSurvey, setFeedbackList, setFilterWidget, setGoalExampleList, setImproveMyClass, setLanguage, setLearningSupportCategoryList, setLoading, setMailCategory, setModal, setMoveItemQuestion, setMyStudent, setQuestionByCategory, setQuestionCateList, setQuestionList, setReflectionList, setReflectionResultList, setResetQuestionList, setSchoolBlankDayList, setSelectQuestion, setSemesterList, setSessionPlayer, setSessionTemplateGeneralClassList, setSessionTemplateList, setStartTime, setStrategyList, setStudentIdSelectedByTeacher, setStudentList, setSubjectList, setSuggestionList, setTurnOffPassWhenChangeMode, setTutorialScreenList, setUser, setUserList, showFontSize, showMenuBar, store, systemCertificateUpload, systemStudentBadge, uploadFile, useFilters, useGalleryList, utcToLocalTime };
|
|
10789
|
+
export { ACCESS_TOKEN, ANSWER_EDITOR_HEIGHT, AcademicClassSelector, AddButton, BASE_URL, CHAT_CHANNEL, CategorySelector, CommonAlert, CommonHeader, CommonModal$1 as CommonModal, CreatableSelector, CustomPagination, CustomSelector, CustomTabs as CustomTab, DATE_FORMAT, DATE_RESULT, DEFAULT_FILTER, Dashboard, DeleteButtonIcon, DetailActionButtons, EMOTIONS, EditButtonIcon, EmailTemplateDetail, EmailTemplateList, EmptyDataAlert, ErrorHandler, FULL_DATE_RESULT, FaqList, InputFile as FileInput, GOOGLE_RECAPTCHA_KEY, GalleryList, INIT_AMPLITUDE_KEY_PROD, INIT_AMPLITUDE_KEY_STAGE, Images, LICENSE_AGGRID, LinkEditButton, Loading, Login, MediaList, NOTIFICATION_ALERT_KEY, NOTIFICATION_CHANNEL, NotFound, NotificationList, NotificationModal, QUESTION_TYPES, QUESTION_TYPES_OPTIONS, QuestionCategorySelector, QuestionTypeSelector, QuitPrompt, ReactNotification, RequiredLabel$1 as RequiredLabel, SchoolList, ScrollToTop, SearchBox$1 as SearchBox, SearchBoxContainer, SkillList, StarRatingSelector, SuggestionCategorySelector, TAB_COLORS, TINY_MCE_API_KEY, TheContent$1 as TheContent, TheLayout, ToggleButton, UploadFileButton, UserDetail, UserList, addTab, amplitudeClient$1 as amplitudeClient, answerQuestion, answerQuestionDataPlayer, api, apiUpload, canAccess as canAccessRoute, changeNote, changeTags, clearTab, closeTab, debounce, editTab, editorConfig, firstCheckToken, generateRandomString, getFileUrl, getInfo, getTextFromHTML, i18n, initAmplitude, isInViewport, isLocalhost, reset, setAlert, setAssessmentList, setAssignmentList, setAssistantList, setBadgeList, setBandScoreList, setCertificateList, setClassList, setConferenceRubricList, setConversationOneToOne, setCurrentStudentId, setCurrentStudentName, setCurrentStudentUserId, setCustomAlertList, setDataPlayer, setEditItemQuesion, setEnableIEP, setEnableSurvey, setFeedbackList, setFilterWidget, setGoalExampleList, setImproveMyClass, setLanguage, setLearningSupportCategoryList, setLoading, setMailCategory, setModal, setMoveItemQuestion, setMyStudent, setQuestionByCategory, setQuestionCateList, setQuestionList, setReflectionList, setReflectionResultList, setResetQuestionList, setSchoolBlankDayList, setSelectQuestion, setSemesterList, setSessionPlayer, setSessionTemplateGeneralClassList, setSessionTemplateList, setStartTime, setStrategyList, setStudentIdSelectedByTeacher, setStudentList, setSubjectList, setSuggestionList, setTurnOffPassWhenChangeMode, setTutorialScreenList, setUser, setUserList, showFontSize, showMenuBar, store, systemCertificateUpload, systemStudentBadge, uploadFile, useFilters, useGalleryList, utcToLocalTime };
|
|
10623
10790
|
//# sourceMappingURL=index.modern.js.map
|