mario-core 2.9.67-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/index.d.ts +2 -1
- package/dist/index.js +195 -33
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +195 -34
- package/dist/index.modern.js.map +1 -1
- package/dist/services/questionCategoryService.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ import SearchBox from "./components/Inputs/SearchBox";
|
|
|
27
27
|
import QuestionTypeSelector from "./components/Selectors/QuestionTypeSelector";
|
|
28
28
|
import SuggestionCategorySelector from "./components/Selectors/SuggestionCategorySelector";
|
|
29
29
|
import QuestionCategorySelector from "./components/Selectors/QuestionCategorySelector";
|
|
30
|
+
import CategorySelector from "./components/Selectors/CategorySelector";
|
|
30
31
|
import ErrorHandler from "./components/Alerts/ErrorHandler";
|
|
31
32
|
import DetailActionButtons from "./components/Buttons/DetailActionButtons";
|
|
32
33
|
import RequiredLabel from "./components/Labels/RequiredLabel";
|
|
@@ -107,4 +108,4 @@ import { setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage } f
|
|
|
107
108
|
import useFilters from "./hooks/useFilters";
|
|
108
109
|
import amplitude from "amplitude-js";
|
|
109
110
|
declare const amplitudeClient: amplitude.AmplitudeClient;
|
|
110
|
-
export { Login, Dashboard, TheLayout, TheContent, NotFound, EmailTemplateList, EmailTemplateDetail, FaqList, SkillList, UserList, UserDetail, Loading, NotificationModal, CommonHeader, CommonModal, AddButton, DeleteButtonIcon, EditButtonIcon, LinkEditButton, ToggleButton, EmptyDataAlert, CreatableSelector, CustomPagination, SearchBox, FileInput, QuitPrompt, QuestionTypeSelector, QuestionCategorySelector, SuggestionCategorySelector, ErrorHandler, DetailActionButtons, RequiredLabel, StarRatingSelector, ReactNotification, NotificationList, CustomSelector, UploadFileButton, SearchBoxContainer, CustomTab, CommonAlert, GalleryList, MediaList, useGalleryList, AcademicClassSelector, SchoolList, store, showMenuBar, showFontSize, setLoading, setModal, setAlert, setClassList, setConferenceRubricList, setSuggestionList, setStrategyList, setSubjectList, setLearningSupportCategoryList, setQuestionList, setUserList, setStudentList, setBadgeList, setGoalExampleList, setSemesterList, setFeedbackList, setAssessmentList, setQuestionByCategory, setSelectQuestion, setMoveItemQuestion, setReflectionList, setReflectionResultList, setEditItemQuesion, setResetQuestionList, setMailCategory, setUser, setAssignmentList, setAssistantList, setSessionTemplateList, setTutorialScreenList, setSessionTemplateGeneralClassList, setCustomAlertList, setCertificateList, closeTab, addTab, editTab, clearTab, changeNote, changeTags, answerQuestion, setSessionPlayer, setStartTime, setTurnOffPassWhenChangeMode, reset, setImproveMyClass, setSchoolBlankDayList, setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage, i18n, useTranslation, I18nextProvider, api, apiUpload, uploadFile, systemStudentBadge, systemCertificateUpload, BASE_URL, DEFAULT_FILTER, LICENSE_AGGRID, TINY_MCE_API_KEY, QUESTION_TYPES, QUESTION_TYPES_OPTIONS, ANSWER_EDITOR_HEIGHT, CHAT_CHANNEL, NOTIFICATION_CHANNEL, DATE_RESULT, DATE_FORMAT, FULL_DATE_RESULT, ACCESS_TOKEN, NOTIFICATION_ALERT_KEY, GOOGLE_RECAPTCHA_KEY, EMOTIONS, TAB_COLORS, Filter, Conversation, Message, ConversationMember, NavbarTab, editorConfig, generateRandomString, isInViewport, debounce, firstCheckToken, canAccessRoute, getFileUrl, getTextFromHTML, utcToLocalTime, getInfo, Images, setQuestionCateList, setMyStudent, setDataPlayer, answerQuestionDataPlayer, setCurrentStudentUserId, setCurrentStudentId, setCurrentStudentName, setFilterWidget, setBandScoreList, setStudentIdSelectedByTeacher, useFilters, ScrollToTop, initAmplitude, amplitudeClient, INIT_AMPLITUDE_KEY_STAGE, INIT_AMPLITUDE_KEY_PROD, isLocalhost };
|
|
111
|
+
export { Login, Dashboard, TheLayout, TheContent, NotFound, EmailTemplateList, EmailTemplateDetail, FaqList, SkillList, UserList, UserDetail, Loading, NotificationModal, CommonHeader, CommonModal, AddButton, DeleteButtonIcon, EditButtonIcon, LinkEditButton, ToggleButton, EmptyDataAlert, CreatableSelector, CustomPagination, SearchBox, FileInput, QuitPrompt, QuestionTypeSelector, QuestionCategorySelector, SuggestionCategorySelector, CategorySelector, ErrorHandler, DetailActionButtons, RequiredLabel, StarRatingSelector, ReactNotification, NotificationList, CustomSelector, UploadFileButton, SearchBoxContainer, CustomTab, CommonAlert, GalleryList, MediaList, useGalleryList, AcademicClassSelector, SchoolList, store, showMenuBar, showFontSize, setLoading, setModal, setAlert, setClassList, setConferenceRubricList, setSuggestionList, setStrategyList, setSubjectList, setLearningSupportCategoryList, setQuestionList, setUserList, setStudentList, setBadgeList, setGoalExampleList, setSemesterList, setFeedbackList, setAssessmentList, setQuestionByCategory, setSelectQuestion, setMoveItemQuestion, setReflectionList, setReflectionResultList, setEditItemQuesion, setResetQuestionList, setMailCategory, setUser, setAssignmentList, setAssistantList, setSessionTemplateList, setTutorialScreenList, setSessionTemplateGeneralClassList, setCustomAlertList, setCertificateList, closeTab, addTab, editTab, clearTab, changeNote, changeTags, answerQuestion, setSessionPlayer, setStartTime, setTurnOffPassWhenChangeMode, reset, setImproveMyClass, setSchoolBlankDayList, setEnableIEP, setEnableSurvey, setConversationOneToOne, setLanguage, i18n, useTranslation, I18nextProvider, api, apiUpload, uploadFile, systemStudentBadge, systemCertificateUpload, BASE_URL, DEFAULT_FILTER, LICENSE_AGGRID, TINY_MCE_API_KEY, QUESTION_TYPES, QUESTION_TYPES_OPTIONS, ANSWER_EDITOR_HEIGHT, CHAT_CHANNEL, NOTIFICATION_CHANNEL, DATE_RESULT, DATE_FORMAT, FULL_DATE_RESULT, ACCESS_TOKEN, NOTIFICATION_ALERT_KEY, GOOGLE_RECAPTCHA_KEY, EMOTIONS, TAB_COLORS, Filter, Conversation, Message, ConversationMember, NavbarTab, editorConfig, generateRandomString, isInViewport, debounce, firstCheckToken, canAccessRoute, getFileUrl, getTextFromHTML, utcToLocalTime, getInfo, Images, setQuestionCateList, setMyStudent, setDataPlayer, answerQuestionDataPlayer, setCurrentStudentUserId, setCurrentStudentId, setCurrentStudentName, setFilterWidget, setBandScoreList, setStudentIdSelectedByTeacher, useFilters, ScrollToTop, initAmplitude, amplitudeClient, INIT_AMPLITUDE_KEY_STAGE, INIT_AMPLITUDE_KEY_PROD, isLocalhost };
|
package/dist/index.js
CHANGED
|
@@ -50,6 +50,7 @@ var cancel = "Cancel";
|
|
|
50
50
|
var hey = "Hey";
|
|
51
51
|
var readiness_to_learn = "Readiness to Learn";
|
|
52
52
|
var high_impact_learning_strategies = "High Impact Learning Strategies";
|
|
53
|
+
var check_in = "Check In";
|
|
53
54
|
var reflection = "Reflection";
|
|
54
55
|
var conferences = "Conferences";
|
|
55
56
|
var safety = "Safety";
|
|
@@ -72,6 +73,7 @@ var tooltip_content_safety_chart = "The visual represenation of all the response
|
|
|
72
73
|
var tooltip_content_student_by_age_chart = "The specific representation of students by gender and grade level at your school.";
|
|
73
74
|
var tooltip_content_students_by_designation = "The composite representation of students by individual grades in your school with specific designations.";
|
|
74
75
|
var total_1_to_1 = "Total 1-to-1";
|
|
76
|
+
var total_check_in = "Total Check In";
|
|
75
77
|
var total_1_to_1_time = "Total 1-to-1 Time";
|
|
76
78
|
var total_conferences = "Total Conferences";
|
|
77
79
|
var total_conferences_time = "Total Conferences Time";
|
|
@@ -101,12 +103,14 @@ var current_password = "Current password";
|
|
|
101
103
|
var new_password = "New password";
|
|
102
104
|
var confirm_password = "Confirm password";
|
|
103
105
|
var save = "Save";
|
|
104
|
-
var type_something_to_search_question = "Type something to
|
|
106
|
+
var type_something_to_search_question = "Type something to search question";
|
|
107
|
+
var type_something_to_search_category = "Type something to search category";
|
|
105
108
|
var total_of_questions = "Total of questions";
|
|
106
109
|
var create_question = "Create question";
|
|
107
110
|
var edit_question = "Edit question";
|
|
108
111
|
var question_type = "Question Type";
|
|
109
112
|
var category = "Category";
|
|
113
|
+
var sub_category = "Sub Category";
|
|
110
114
|
var is_default_question_for_one_to_one = "Is default question for one-to-one";
|
|
111
115
|
var default_question_for_students_or_teachers = "Default question for students or teachers";
|
|
112
116
|
var is_default_question_general_class = "Is default question general class";
|
|
@@ -217,6 +221,7 @@ var edit_destination = "Edit Destination";
|
|
|
217
221
|
var confirm = "Confirm";
|
|
218
222
|
var hello = "Hello";
|
|
219
223
|
var todays_1_1 = "Today’s 1-1";
|
|
224
|
+
var todays_check_in = "Today’s Check In";
|
|
220
225
|
var todays_Conferences = "Today’s Conferences";
|
|
221
226
|
var next_meeting = "Next Meeting";
|
|
222
227
|
var next_conference = "Next Conference";
|
|
@@ -245,6 +250,7 @@ var import_csv = "Import CSV";
|
|
|
245
250
|
var add_new = "Add New";
|
|
246
251
|
var show_only_work_as_assistant = "Show only work as assistant";
|
|
247
252
|
var last_1_to_1 = "Last 1-TO-1";
|
|
253
|
+
var last_check_in = "Last Check In";
|
|
248
254
|
var last_conference = "Last conference";
|
|
249
255
|
var total_time = "Total time";
|
|
250
256
|
var assistant_name = "Assistant Name";
|
|
@@ -261,6 +267,7 @@ var after = "After";
|
|
|
261
267
|
var pick_a_date = "Pick a date";
|
|
262
268
|
var apply = "Apply";
|
|
263
269
|
var new_1_to_1 = "New 1-to-1";
|
|
270
|
+
var new_check_in = "New Check In";
|
|
264
271
|
var do_you_want_to_talk_with_teacher = "Do you want to talk with teacher";
|
|
265
272
|
var start_now = "Start now";
|
|
266
273
|
var book_for_later = "Book for later";
|
|
@@ -271,6 +278,7 @@ var select_question = "Select question";
|
|
|
271
278
|
var select_student = "Select student";
|
|
272
279
|
var select_date_time = "Select Date & Time";
|
|
273
280
|
var book_1_to_1 = "Book 1-to-1";
|
|
281
|
+
var book_new_check_in = "Book new Check In";
|
|
274
282
|
var schedule = "Schedule";
|
|
275
283
|
var sessions_are_booked_as_10_minute_slots = "Sessions are booked as 10 minute slots";
|
|
276
284
|
var does_not_reoccur = "Does not reoccur";
|
|
@@ -278,13 +286,15 @@ var time_must_be_between_8_am_and_6_pm = "Time must be between 8 AM and 6 PM";
|
|
|
278
286
|
var from = "From";
|
|
279
287
|
var to = "To";
|
|
280
288
|
var show_only_favorites = "Show only favorites";
|
|
289
|
+
var show_only_conversation = "Show 1-1 conversation only";
|
|
281
290
|
var duration = "Duration";
|
|
282
291
|
var favorite = "Favorite";
|
|
283
292
|
var open = "Open";
|
|
284
293
|
var no_data = "No Data";
|
|
285
294
|
var schedule_detail = "Schedule Detail";
|
|
286
295
|
var are_you_sure_you_want_to_cancel_this_schedule = "Are you sure you want to Cancel this schedule?";
|
|
287
|
-
var completed_1_to_1 = "Completed 1-
|
|
296
|
+
var completed_1_to_1 = "Completed 1-1 Conversation";
|
|
297
|
+
var completed_check_in = "Completed Check In";
|
|
288
298
|
var done = "Done";
|
|
289
299
|
var what_do_you_want_to_talk_about = "What do you want to talk about?";
|
|
290
300
|
var session_type = "Session Type";
|
|
@@ -405,6 +415,7 @@ var student_request = "Student Request";
|
|
|
405
415
|
var overview = "Overview";
|
|
406
416
|
var plp = "PLP";
|
|
407
417
|
var my_student_1_to_1 = "My Student 1-to-1";
|
|
418
|
+
var my_student_check_in = "My Student Check In";
|
|
408
419
|
var my_student_conference = "My Student Conference";
|
|
409
420
|
var received_date = "Received Date";
|
|
410
421
|
var class_impact_score = "Class Impact Score";
|
|
@@ -594,6 +605,7 @@ var lang_us = {
|
|
|
594
605
|
readiness_to_learn: readiness_to_learn,
|
|
595
606
|
high_impact_learning_strategies: high_impact_learning_strategies,
|
|
596
607
|
"1_to_1": "1 To 1",
|
|
608
|
+
check_in: check_in,
|
|
597
609
|
reflection: reflection,
|
|
598
610
|
conferences: conferences,
|
|
599
611
|
safety: safety,
|
|
@@ -616,6 +628,7 @@ var lang_us = {
|
|
|
616
628
|
tooltip_content_student_by_age_chart: tooltip_content_student_by_age_chart,
|
|
617
629
|
tooltip_content_students_by_designation: tooltip_content_students_by_designation,
|
|
618
630
|
total_1_to_1: total_1_to_1,
|
|
631
|
+
total_check_in: total_check_in,
|
|
619
632
|
total_1_to_1_time: total_1_to_1_time,
|
|
620
633
|
total_conferences: total_conferences,
|
|
621
634
|
total_conferences_time: total_conferences_time,
|
|
@@ -647,11 +660,13 @@ var lang_us = {
|
|
|
647
660
|
confirm_password: confirm_password,
|
|
648
661
|
save: save,
|
|
649
662
|
type_something_to_search_question: type_something_to_search_question,
|
|
663
|
+
type_something_to_search_category: type_something_to_search_category,
|
|
650
664
|
total_of_questions: total_of_questions,
|
|
651
665
|
create_question: create_question,
|
|
652
666
|
edit_question: edit_question,
|
|
653
667
|
question_type: question_type,
|
|
654
668
|
category: category,
|
|
669
|
+
sub_category: sub_category,
|
|
655
670
|
"Question text": "Question text",
|
|
656
671
|
is_default_question_for_one_to_one: is_default_question_for_one_to_one,
|
|
657
672
|
default_question_for_students_or_teachers: default_question_for_students_or_teachers,
|
|
@@ -763,6 +778,7 @@ var lang_us = {
|
|
|
763
778
|
confirm: confirm,
|
|
764
779
|
hello: hello,
|
|
765
780
|
todays_1_1: todays_1_1,
|
|
781
|
+
todays_check_in: todays_check_in,
|
|
766
782
|
todays_Conferences: todays_Conferences,
|
|
767
783
|
next_meeting: next_meeting,
|
|
768
784
|
next_conference: next_conference,
|
|
@@ -793,6 +809,7 @@ var lang_us = {
|
|
|
793
809
|
add_new: add_new,
|
|
794
810
|
show_only_work_as_assistant: show_only_work_as_assistant,
|
|
795
811
|
last_1_to_1: last_1_to_1,
|
|
812
|
+
last_check_in: last_check_in,
|
|
796
813
|
last_conference: last_conference,
|
|
797
814
|
total_time: total_time,
|
|
798
815
|
assistant_name: assistant_name,
|
|
@@ -809,6 +826,7 @@ var lang_us = {
|
|
|
809
826
|
pick_a_date: pick_a_date,
|
|
810
827
|
apply: apply,
|
|
811
828
|
new_1_to_1: new_1_to_1,
|
|
829
|
+
new_check_in: new_check_in,
|
|
812
830
|
do_you_want_to_talk_with_teacher: do_you_want_to_talk_with_teacher,
|
|
813
831
|
start_now: start_now,
|
|
814
832
|
book_for_later: book_for_later,
|
|
@@ -819,6 +837,7 @@ var lang_us = {
|
|
|
819
837
|
select_student: select_student,
|
|
820
838
|
select_date_time: select_date_time,
|
|
821
839
|
book_1_to_1: book_1_to_1,
|
|
840
|
+
book_new_check_in: book_new_check_in,
|
|
822
841
|
schedule: schedule,
|
|
823
842
|
sessions_are_booked_as_10_minute_slots: sessions_are_booked_as_10_minute_slots,
|
|
824
843
|
does_not_reoccur: does_not_reoccur,
|
|
@@ -826,6 +845,7 @@ var lang_us = {
|
|
|
826
845
|
from: from,
|
|
827
846
|
to: to,
|
|
828
847
|
show_only_favorites: show_only_favorites,
|
|
848
|
+
show_only_conversation: show_only_conversation,
|
|
829
849
|
duration: duration,
|
|
830
850
|
favorite: favorite,
|
|
831
851
|
open: open,
|
|
@@ -833,6 +853,7 @@ var lang_us = {
|
|
|
833
853
|
schedule_detail: schedule_detail,
|
|
834
854
|
are_you_sure_you_want_to_cancel_this_schedule: are_you_sure_you_want_to_cancel_this_schedule,
|
|
835
855
|
completed_1_to_1: completed_1_to_1,
|
|
856
|
+
completed_check_in: completed_check_in,
|
|
836
857
|
done: done,
|
|
837
858
|
what_do_you_want_to_talk_about: what_do_you_want_to_talk_about,
|
|
838
859
|
session_type: session_type,
|
|
@@ -954,6 +975,7 @@ var lang_us = {
|
|
|
954
975
|
overview: overview,
|
|
955
976
|
plp: plp,
|
|
956
977
|
my_student_1_to_1: my_student_1_to_1,
|
|
978
|
+
my_student_check_in: my_student_check_in,
|
|
957
979
|
my_student_conference: my_student_conference,
|
|
958
980
|
received_date: received_date,
|
|
959
981
|
class_impact_score: class_impact_score,
|
|
@@ -1145,6 +1167,7 @@ var cancel$1 = "Cancel";
|
|
|
1145
1167
|
var hey$1 = "Hey";
|
|
1146
1168
|
var readiness_to_learn$1 = "Readiness to Learn";
|
|
1147
1169
|
var high_impact_learning_strategies$1 = "High Impact Learning Strategies";
|
|
1170
|
+
var check_in$1 = "Check In";
|
|
1148
1171
|
var reflection$1 = "Reflection";
|
|
1149
1172
|
var conferences$1 = "Conferences";
|
|
1150
1173
|
var safety$1 = "Safety";
|
|
@@ -1167,6 +1190,7 @@ var tooltip_content_safety_chart$1 = "The visual represenation of all the respon
|
|
|
1167
1190
|
var tooltip_content_student_by_age_chart$1 = "The specific representation of students by gender and grade level at your school.";
|
|
1168
1191
|
var tooltip_content_students_by_designation$1 = "The composite representation of students by individual grades in your school with specific designations.";
|
|
1169
1192
|
var total_1_to_1$1 = "Total 1-to-1";
|
|
1193
|
+
var total_check_in$1 = "Total Check In";
|
|
1170
1194
|
var total_1_to_1_time$1 = "Total 1-to-1 Time";
|
|
1171
1195
|
var total_conferences$1 = "Total Conferences";
|
|
1172
1196
|
var total_conferences_time$1 = "Total Conferences Time";
|
|
@@ -1197,12 +1221,14 @@ var current_password$1 = "Current password";
|
|
|
1197
1221
|
var new_password$1 = "New password";
|
|
1198
1222
|
var confirm_password$1 = "Confirm password";
|
|
1199
1223
|
var save$1 = "Save";
|
|
1200
|
-
var type_something_to_search_question$1 = "Type something to
|
|
1224
|
+
var type_something_to_search_question$1 = "Type something to search question";
|
|
1225
|
+
var type_something_to_search_category$1 = "Type something to search category";
|
|
1201
1226
|
var total_of_questions$1 = "Total of questions";
|
|
1202
1227
|
var create_question$1 = "Create question";
|
|
1203
1228
|
var edit_question$1 = "Edit question";
|
|
1204
1229
|
var question_type$1 = "Question Type";
|
|
1205
1230
|
var category$1 = "Category";
|
|
1231
|
+
var sub_category$1 = "Sub Category";
|
|
1206
1232
|
var question_text = "Question text";
|
|
1207
1233
|
var is_default_question_for_one_to_one$1 = "Is default question for one-to-one";
|
|
1208
1234
|
var default_question_for_students_or_teachers$1 = "Default question for students or teachers";
|
|
@@ -1305,7 +1331,7 @@ var use_for$1 = "Use for";
|
|
|
1305
1331
|
var admin_training$1 = "Admin training";
|
|
1306
1332
|
var teacher_training$1 = "Teacher training";
|
|
1307
1333
|
var created_time$1 = "Create time";
|
|
1308
|
-
var total_reflections$1 = "Total Reflections
|
|
1334
|
+
var total_reflections$1 = "Total Reflections";
|
|
1309
1335
|
var student_training$1 = "Student training";
|
|
1310
1336
|
var create_destination$1 = "Create Destination";
|
|
1311
1337
|
var total_of_designation$1 = "Total of Designation";
|
|
@@ -1314,6 +1340,7 @@ var edit_destination$1 = "Edit Destination";
|
|
|
1314
1340
|
var confirm$1 = "Confirm";
|
|
1315
1341
|
var hello$1 = "Hello";
|
|
1316
1342
|
var todays_1_1$1 = "Today’s 1-1";
|
|
1343
|
+
var todays_check_in$1 = "Today’s Check In";
|
|
1317
1344
|
var todays_Conferences$1 = "Today’s Conferences";
|
|
1318
1345
|
var next_meeting$1 = "Next Meeting";
|
|
1319
1346
|
var next_conference$1 = "Next Conference";
|
|
@@ -1342,6 +1369,7 @@ var import_csv$1 = "Import CSV";
|
|
|
1342
1369
|
var add_new$1 = "Add New";
|
|
1343
1370
|
var show_only_work_as_assistant$1 = "Show only work as assistant";
|
|
1344
1371
|
var last_1_to_1$1 = "Last 1-TO-1";
|
|
1372
|
+
var last_check_in$1 = "Last Check In";
|
|
1345
1373
|
var last_conference$1 = "Last conference";
|
|
1346
1374
|
var total_time$1 = "Total time";
|
|
1347
1375
|
var assistant_name$1 = "Assistant Name";
|
|
@@ -1358,6 +1386,7 @@ var after$1 = "After";
|
|
|
1358
1386
|
var pick_a_date$1 = "Pick a date";
|
|
1359
1387
|
var apply$1 = "Apply";
|
|
1360
1388
|
var new_1_to_1$1 = "New 1-to-1";
|
|
1389
|
+
var new_check_in$1 = "New Check In";
|
|
1361
1390
|
var do_you_want_to_talk_with_teacher$1 = "Do you want to talk with teacher";
|
|
1362
1391
|
var start_now$1 = "Start now";
|
|
1363
1392
|
var book_for_later$1 = "Book for later";
|
|
@@ -1368,6 +1397,7 @@ var select_question$1 = "Select question";
|
|
|
1368
1397
|
var select_student$1 = "Select student";
|
|
1369
1398
|
var select_date_time$1 = "Select Date & Time";
|
|
1370
1399
|
var book_1_to_1$1 = "Book 1-to-1";
|
|
1400
|
+
var book_new_check_in$1 = "Book new Check In";
|
|
1371
1401
|
var schedule$1 = "Schedule";
|
|
1372
1402
|
var sessions_are_booked_as_10_minute_slots$1 = "Sessions are booked as 10 minute slots";
|
|
1373
1403
|
var does_not_reoccur$1 = "Does not reoccur";
|
|
@@ -1375,13 +1405,15 @@ var time_must_be_between_8_am_and_6_pm$1 = "Time must be between 8 AM and 6 PM";
|
|
|
1375
1405
|
var from$1 = "From";
|
|
1376
1406
|
var to$1 = "To";
|
|
1377
1407
|
var show_only_favorites$1 = "Show only favorites";
|
|
1408
|
+
var show_only_conversation$1 = "Show 1-1 conversation only";
|
|
1378
1409
|
var duration$1 = "Duration";
|
|
1379
1410
|
var favorite$1 = "Favorite";
|
|
1380
1411
|
var open$1 = "Open";
|
|
1381
1412
|
var no_data$1 = "No Data";
|
|
1382
1413
|
var schedule_detail$1 = "Schedule Detail";
|
|
1383
1414
|
var are_you_sure_you_want_to_cancel_this_schedule$1 = "Are you sure you want to Cancel this schedule?";
|
|
1384
|
-
var completed_1_to_1$1 = "Completed 1-
|
|
1415
|
+
var completed_1_to_1$1 = "Completed 1-1 Conversation";
|
|
1416
|
+
var completed_check_in$1 = "Completed Check In";
|
|
1385
1417
|
var done$1 = "Done";
|
|
1386
1418
|
var what_do_you_want_to_talk_about$1 = "What do you want to talk about?";
|
|
1387
1419
|
var session_type$1 = "Session Type";
|
|
@@ -1502,6 +1534,7 @@ var student_request$1 = "Student Request";
|
|
|
1502
1534
|
var overview$1 = "Overview";
|
|
1503
1535
|
var plp$1 = "PLP";
|
|
1504
1536
|
var my_student_1_to_1$1 = "My Student 1-to-1";
|
|
1537
|
+
var my_student_check_in$1 = "My Student Check In";
|
|
1505
1538
|
var my_student_conference$1 = "My Student Conference";
|
|
1506
1539
|
var received_date$1 = "Received Date";
|
|
1507
1540
|
var class_impact_score$1 = "Class Impact Score";
|
|
@@ -1691,6 +1724,7 @@ var lang_uk = {
|
|
|
1691
1724
|
readiness_to_learn: readiness_to_learn$1,
|
|
1692
1725
|
high_impact_learning_strategies: high_impact_learning_strategies$1,
|
|
1693
1726
|
"1_to_1": "1 to 1",
|
|
1727
|
+
check_in: check_in$1,
|
|
1694
1728
|
reflection: reflection$1,
|
|
1695
1729
|
conferences: conferences$1,
|
|
1696
1730
|
safety: safety$1,
|
|
@@ -1713,6 +1747,7 @@ var lang_uk = {
|
|
|
1713
1747
|
tooltip_content_student_by_age_chart: tooltip_content_student_by_age_chart$1,
|
|
1714
1748
|
tooltip_content_students_by_designation: tooltip_content_students_by_designation$1,
|
|
1715
1749
|
total_1_to_1: total_1_to_1$1,
|
|
1750
|
+
total_check_in: total_check_in$1,
|
|
1716
1751
|
total_1_to_1_time: total_1_to_1_time$1,
|
|
1717
1752
|
total_conferences: total_conferences$1,
|
|
1718
1753
|
total_conferences_time: total_conferences_time$1,
|
|
@@ -1744,11 +1779,13 @@ var lang_uk = {
|
|
|
1744
1779
|
confirm_password: confirm_password$1,
|
|
1745
1780
|
save: save$1,
|
|
1746
1781
|
type_something_to_search_question: type_something_to_search_question$1,
|
|
1782
|
+
type_something_to_search_category: type_something_to_search_category$1,
|
|
1747
1783
|
total_of_questions: total_of_questions$1,
|
|
1748
1784
|
create_question: create_question$1,
|
|
1749
1785
|
edit_question: edit_question$1,
|
|
1750
1786
|
question_type: question_type$1,
|
|
1751
1787
|
category: category$1,
|
|
1788
|
+
sub_category: sub_category$1,
|
|
1752
1789
|
question_text: question_text,
|
|
1753
1790
|
is_default_question_for_one_to_one: is_default_question_for_one_to_one$1,
|
|
1754
1791
|
default_question_for_students_or_teachers: default_question_for_students_or_teachers$1,
|
|
@@ -1860,6 +1897,7 @@ var lang_uk = {
|
|
|
1860
1897
|
confirm: confirm$1,
|
|
1861
1898
|
hello: hello$1,
|
|
1862
1899
|
todays_1_1: todays_1_1$1,
|
|
1900
|
+
todays_check_in: todays_check_in$1,
|
|
1863
1901
|
todays_Conferences: todays_Conferences$1,
|
|
1864
1902
|
next_meeting: next_meeting$1,
|
|
1865
1903
|
next_conference: next_conference$1,
|
|
@@ -1890,6 +1928,7 @@ var lang_uk = {
|
|
|
1890
1928
|
add_new: add_new$1,
|
|
1891
1929
|
show_only_work_as_assistant: show_only_work_as_assistant$1,
|
|
1892
1930
|
last_1_to_1: last_1_to_1$1,
|
|
1931
|
+
last_check_in: last_check_in$1,
|
|
1893
1932
|
last_conference: last_conference$1,
|
|
1894
1933
|
total_time: total_time$1,
|
|
1895
1934
|
assistant_name: assistant_name$1,
|
|
@@ -1906,6 +1945,7 @@ var lang_uk = {
|
|
|
1906
1945
|
pick_a_date: pick_a_date$1,
|
|
1907
1946
|
apply: apply$1,
|
|
1908
1947
|
new_1_to_1: new_1_to_1$1,
|
|
1948
|
+
new_check_in: new_check_in$1,
|
|
1909
1949
|
do_you_want_to_talk_with_teacher: do_you_want_to_talk_with_teacher$1,
|
|
1910
1950
|
start_now: start_now$1,
|
|
1911
1951
|
book_for_later: book_for_later$1,
|
|
@@ -1916,6 +1956,7 @@ var lang_uk = {
|
|
|
1916
1956
|
select_student: select_student$1,
|
|
1917
1957
|
select_date_time: select_date_time$1,
|
|
1918
1958
|
book_1_to_1: book_1_to_1$1,
|
|
1959
|
+
book_new_check_in: book_new_check_in$1,
|
|
1919
1960
|
schedule: schedule$1,
|
|
1920
1961
|
sessions_are_booked_as_10_minute_slots: sessions_are_booked_as_10_minute_slots$1,
|
|
1921
1962
|
does_not_reoccur: does_not_reoccur$1,
|
|
@@ -1923,6 +1964,7 @@ var lang_uk = {
|
|
|
1923
1964
|
from: from$1,
|
|
1924
1965
|
to: to$1,
|
|
1925
1966
|
show_only_favorites: show_only_favorites$1,
|
|
1967
|
+
show_only_conversation: show_only_conversation$1,
|
|
1926
1968
|
duration: duration$1,
|
|
1927
1969
|
favorite: favorite$1,
|
|
1928
1970
|
open: open$1,
|
|
@@ -1930,6 +1972,7 @@ var lang_uk = {
|
|
|
1930
1972
|
schedule_detail: schedule_detail$1,
|
|
1931
1973
|
are_you_sure_you_want_to_cancel_this_schedule: are_you_sure_you_want_to_cancel_this_schedule$1,
|
|
1932
1974
|
completed_1_to_1: completed_1_to_1$1,
|
|
1975
|
+
completed_check_in: completed_check_in$1,
|
|
1933
1976
|
done: done$1,
|
|
1934
1977
|
what_do_you_want_to_talk_about: what_do_you_want_to_talk_about$1,
|
|
1935
1978
|
session_type: session_type$1,
|
|
@@ -2051,6 +2094,7 @@ var lang_uk = {
|
|
|
2051
2094
|
overview: overview$1,
|
|
2052
2095
|
plp: plp$1,
|
|
2053
2096
|
my_student_1_to_1: my_student_1_to_1$1,
|
|
2097
|
+
my_student_check_in: my_student_check_in$1,
|
|
2054
2098
|
my_student_conference: my_student_conference$1,
|
|
2055
2099
|
received_date: received_date$1,
|
|
2056
2100
|
class_impact_score: class_impact_score$1,
|
|
@@ -2458,18 +2502,6 @@ var QUESTION_TYPES_OPTIONS = [{
|
|
|
2458
2502
|
}, {
|
|
2459
2503
|
label: "Text input",
|
|
2460
2504
|
value: "TextInput"
|
|
2461
|
-
}, {
|
|
2462
|
-
label: "Slider",
|
|
2463
|
-
value: "Slider"
|
|
2464
|
-
}, {
|
|
2465
|
-
label: "Progress bar",
|
|
2466
|
-
value: "ProgressBar"
|
|
2467
|
-
}, {
|
|
2468
|
-
label: "Star rating",
|
|
2469
|
-
value: "StarRating"
|
|
2470
|
-
}, {
|
|
2471
|
-
label: "Text input with sub questions",
|
|
2472
|
-
value: "TextInputWithSuggestions"
|
|
2473
2505
|
}, {
|
|
2474
2506
|
label: "Emotional",
|
|
2475
2507
|
value: "Emotional"
|
|
@@ -3871,7 +3903,7 @@ var TheSidebar = function TheSidebar(_ref) {
|
|
|
3871
3903
|
className: "" + styles["sidebar-logout"]
|
|
3872
3904
|
}), React__default.createElement("p", {
|
|
3873
3905
|
onClick: signOut
|
|
3874
|
-
}, "Log out")));
|
|
3906
|
+
}, "Log out 123")));
|
|
3875
3907
|
};
|
|
3876
3908
|
|
|
3877
3909
|
var setNotification = toolkit.createAction("notifications/setNotification");
|
|
@@ -7556,8 +7588,17 @@ var SuggestionCategorySelector = function SuggestionCategorySelector(props) {
|
|
|
7556
7588
|
};
|
|
7557
7589
|
|
|
7558
7590
|
var CATEGORY_URL$1 = BASE_URL + "/api/QuestionCategory";
|
|
7559
|
-
var get$7 = function get() {
|
|
7560
|
-
return api.get(CATEGORY_URL$1
|
|
7591
|
+
var get$7 = function get(parentCategoryId) {
|
|
7592
|
+
return api.get(CATEGORY_URL$1, {
|
|
7593
|
+
params: {
|
|
7594
|
+
parentCategoryId: parentCategoryId
|
|
7595
|
+
}
|
|
7596
|
+
});
|
|
7597
|
+
};
|
|
7598
|
+
var getByFilter = function getByFilter(filter) {
|
|
7599
|
+
return api.get(CATEGORY_URL$1, {
|
|
7600
|
+
params: filter
|
|
7601
|
+
});
|
|
7561
7602
|
};
|
|
7562
7603
|
|
|
7563
7604
|
var QuestionCategorySelector = function QuestionCategorySelector(props) {
|
|
@@ -7565,6 +7606,8 @@ var QuestionCategorySelector = function QuestionCategorySelector(props) {
|
|
|
7565
7606
|
getCategoryList = _useState[0],
|
|
7566
7607
|
setCategoryList = _useState[1];
|
|
7567
7608
|
|
|
7609
|
+
var id = props.id,
|
|
7610
|
+
parentCategoryId = props.parentCategoryId;
|
|
7568
7611
|
React.useEffect(function () {
|
|
7569
7612
|
fetchCategory();
|
|
7570
7613
|
}, []);
|
|
@@ -7572,7 +7615,7 @@ var QuestionCategorySelector = function QuestionCategorySelector(props) {
|
|
|
7572
7615
|
var fetchCategory = function fetchCategory() {
|
|
7573
7616
|
try {
|
|
7574
7617
|
var _temp2 = _catch(function () {
|
|
7575
|
-
return Promise.resolve(get$7()).then(function (res) {
|
|
7618
|
+
return Promise.resolve(get$7(parentCategoryId)).then(function (res) {
|
|
7576
7619
|
setCategoryList(res.data.items);
|
|
7577
7620
|
});
|
|
7578
7621
|
}, function (err) {
|
|
@@ -7585,7 +7628,6 @@ var QuestionCategorySelector = function QuestionCategorySelector(props) {
|
|
|
7585
7628
|
}
|
|
7586
7629
|
};
|
|
7587
7630
|
|
|
7588
|
-
var id = props.id;
|
|
7589
7631
|
var arrCategory = getCategoryList.map(function (i) {
|
|
7590
7632
|
return {
|
|
7591
7633
|
id: i.id,
|
|
@@ -7602,6 +7644,131 @@ var QuestionCategorySelector = function QuestionCategorySelector(props) {
|
|
|
7602
7644
|
}, props));
|
|
7603
7645
|
};
|
|
7604
7646
|
|
|
7647
|
+
var useCategorySelector = function useCategorySelector() {
|
|
7648
|
+
var _useState = React.useState([]),
|
|
7649
|
+
categories = _useState[0],
|
|
7650
|
+
setCategories = _useState[1];
|
|
7651
|
+
|
|
7652
|
+
var dispatch = reactRedux.useDispatch();
|
|
7653
|
+
var getData = React.useCallback(function () {
|
|
7654
|
+
try {
|
|
7655
|
+
var _temp3 = function _temp3() {
|
|
7656
|
+
dispatch(setLoading(false));
|
|
7657
|
+
};
|
|
7658
|
+
|
|
7659
|
+
dispatch(setLoading(true));
|
|
7660
|
+
|
|
7661
|
+
var _temp4 = _catch(function () {
|
|
7662
|
+
return Promise.resolve(getByFilter(_extends({}, DEFAULT_FILTER, {
|
|
7663
|
+
pageSize: -1
|
|
7664
|
+
}))).then(function (res) {
|
|
7665
|
+
var convertedCategories = convertOptions(res.data.items);
|
|
7666
|
+
setCategories(convertedCategories);
|
|
7667
|
+
});
|
|
7668
|
+
}, function (err) {
|
|
7669
|
+
var _err$response, _err$response$data;
|
|
7670
|
+
|
|
7671
|
+
dispatch(setAlert({
|
|
7672
|
+
type: "danger",
|
|
7673
|
+
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
|
|
7674
|
+
}));
|
|
7675
|
+
});
|
|
7676
|
+
|
|
7677
|
+
return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp3) : _temp3(_temp4));
|
|
7678
|
+
} catch (e) {
|
|
7679
|
+
return Promise.reject(e);
|
|
7680
|
+
}
|
|
7681
|
+
}, []);
|
|
7682
|
+
|
|
7683
|
+
var convertOptions = function convertOptions(categories, parent, children) {
|
|
7684
|
+
var result = [];
|
|
7685
|
+
|
|
7686
|
+
if (!parent) {
|
|
7687
|
+
var noParentCategories = categories.filter(function (c) {
|
|
7688
|
+
return !c.parentCategoryId;
|
|
7689
|
+
});
|
|
7690
|
+
noParentCategories.forEach(function (c) {
|
|
7691
|
+
var childrenOfCategory = categories.filter(function (cg) {
|
|
7692
|
+
return cg.parentCategoryId === c.id;
|
|
7693
|
+
});
|
|
7694
|
+
|
|
7695
|
+
var category = _extends({}, c, {
|
|
7696
|
+
label: c.name,
|
|
7697
|
+
value: c.id,
|
|
7698
|
+
level: 0,
|
|
7699
|
+
isDisabled: childrenOfCategory.length > 0
|
|
7700
|
+
});
|
|
7701
|
+
|
|
7702
|
+
result = result.concat(convertOptions(categories, category, childrenOfCategory));
|
|
7703
|
+
});
|
|
7704
|
+
} else {
|
|
7705
|
+
result.push(parent);
|
|
7706
|
+
children === null || children === void 0 ? void 0 : children.forEach(function (c) {
|
|
7707
|
+
var childrenOfCategory = categories.filter(function (cg) {
|
|
7708
|
+
return cg.parentCategoryId === c.id;
|
|
7709
|
+
});
|
|
7710
|
+
|
|
7711
|
+
var category = _extends({}, c, {
|
|
7712
|
+
label: c.name,
|
|
7713
|
+
value: c.id,
|
|
7714
|
+
level: parent.level ? parent.level + 1 : 1,
|
|
7715
|
+
isDisabled: childrenOfCategory.length > 0
|
|
7716
|
+
});
|
|
7717
|
+
|
|
7718
|
+
result = result.concat(convertOptions(categories, category, childrenOfCategory));
|
|
7719
|
+
});
|
|
7720
|
+
}
|
|
7721
|
+
|
|
7722
|
+
return result;
|
|
7723
|
+
};
|
|
7724
|
+
|
|
7725
|
+
React.useEffect(function () {
|
|
7726
|
+
getData();
|
|
7727
|
+
}, []);
|
|
7728
|
+
return {
|
|
7729
|
+
categories: categories
|
|
7730
|
+
};
|
|
7731
|
+
};
|
|
7732
|
+
|
|
7733
|
+
var optionStyles = {
|
|
7734
|
+
control: function control(styles) {
|
|
7735
|
+
return _extends({}, styles, {
|
|
7736
|
+
backgroundColor: 'white'
|
|
7737
|
+
});
|
|
7738
|
+
},
|
|
7739
|
+
option: function option(styles, _ref) {
|
|
7740
|
+
var data = _ref.data;
|
|
7741
|
+
return _extends({}, styles, {
|
|
7742
|
+
fontWeight: !(data !== null && data !== void 0 && data.level) ? "bold" : "normal",
|
|
7743
|
+
paddingLeft: ((data === null || data === void 0 ? void 0 : data.level) || 0) + 1 + "rem",
|
|
7744
|
+
paddingRight: "1rem",
|
|
7745
|
+
cursor: data.isDisabled ? 'not-allowed' : 'pointer',
|
|
7746
|
+
color: "var(--color)",
|
|
7747
|
+
"&:first-letter": {
|
|
7748
|
+
textTransform: "uppercase"
|
|
7749
|
+
}
|
|
7750
|
+
});
|
|
7751
|
+
}
|
|
7752
|
+
};
|
|
7753
|
+
|
|
7754
|
+
var CategorySelector = function CategorySelector(_ref2) {
|
|
7755
|
+
var value = _ref2.value,
|
|
7756
|
+
rest = _objectWithoutPropertiesLoose(_ref2, ["value"]);
|
|
7757
|
+
|
|
7758
|
+
var _useCategorySelector = useCategorySelector(),
|
|
7759
|
+
categories = _useCategorySelector.categories;
|
|
7760
|
+
|
|
7761
|
+
var initialValue = !!value ? categories.find(function (option) {
|
|
7762
|
+
return option.value === value;
|
|
7763
|
+
}) || null : null;
|
|
7764
|
+
return React__default.createElement(Select, Object.assign({
|
|
7765
|
+
value: initialValue,
|
|
7766
|
+
options: categories,
|
|
7767
|
+
styles: optionStyles,
|
|
7768
|
+
placeholder: "Select category..."
|
|
7769
|
+
}, rest));
|
|
7770
|
+
};
|
|
7771
|
+
|
|
7605
7772
|
var StarRatingSelector = function StarRatingSelector(props) {
|
|
7606
7773
|
var id = props.id;
|
|
7607
7774
|
var initValue = !!id ? STAR_OPTIONS.find(function (option) {
|
|
@@ -10426,13 +10593,7 @@ var useUserList = function useUserList() {
|
|
|
10426
10593
|
|
|
10427
10594
|
var swicthUser = React.useCallback(function (id) {
|
|
10428
10595
|
try {
|
|
10429
|
-
var
|
|
10430
|
-
dispatch(setLoading(false));
|
|
10431
|
-
};
|
|
10432
|
-
|
|
10433
|
-
dispatch(setLoading(true));
|
|
10434
|
-
|
|
10435
|
-
var _temp8 = _catch(function () {
|
|
10596
|
+
var _temp6 = _catch(function () {
|
|
10436
10597
|
return Promise.resolve(switchAccountUser(id)).then(function (res) {
|
|
10437
10598
|
var data = res.data;
|
|
10438
10599
|
dispatch(setModal({
|
|
@@ -10441,13 +10602,13 @@ var useUserList = function useUserList() {
|
|
|
10441
10602
|
message: "Do you want to impersonate this user?",
|
|
10442
10603
|
onConfirm: function () {
|
|
10443
10604
|
try {
|
|
10444
|
-
var
|
|
10605
|
+
var _temp9 = function _temp9() {
|
|
10445
10606
|
dispatch(setLoading(false));
|
|
10446
10607
|
};
|
|
10447
10608
|
|
|
10448
10609
|
dispatch(setLoading(true));
|
|
10449
10610
|
|
|
10450
|
-
var
|
|
10611
|
+
var _temp10 = _catch(function () {
|
|
10451
10612
|
var req = {
|
|
10452
10613
|
email: data.email,
|
|
10453
10614
|
password: "default",
|
|
@@ -10466,7 +10627,7 @@ var useUserList = function useUserList() {
|
|
|
10466
10627
|
});
|
|
10467
10628
|
});
|
|
10468
10629
|
|
|
10469
|
-
return Promise.resolve(
|
|
10630
|
+
return Promise.resolve(_temp10 && _temp10.then ? _temp10.then(_temp9) : _temp9(_temp10));
|
|
10470
10631
|
} catch (e) {
|
|
10471
10632
|
return Promise.reject(e);
|
|
10472
10633
|
}
|
|
@@ -10482,7 +10643,7 @@ var useUserList = function useUserList() {
|
|
|
10482
10643
|
}));
|
|
10483
10644
|
});
|
|
10484
10645
|
|
|
10485
|
-
return Promise.resolve(
|
|
10646
|
+
return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
|
|
10486
10647
|
} catch (e) {
|
|
10487
10648
|
return Promise.reject(e);
|
|
10488
10649
|
}
|
|
@@ -10645,6 +10806,7 @@ exports.AcademicClassSelector = AcademicClassSelector;
|
|
|
10645
10806
|
exports.AddButton = AddButton;
|
|
10646
10807
|
exports.BASE_URL = BASE_URL;
|
|
10647
10808
|
exports.CHAT_CHANNEL = CHAT_CHANNEL;
|
|
10809
|
+
exports.CategorySelector = CategorySelector;
|
|
10648
10810
|
exports.CommonAlert = CommonAlert;
|
|
10649
10811
|
exports.CommonHeader = CommonHeader;
|
|
10650
10812
|
exports.CommonModal = CommonModal$1;
|