mario-core 2.9.412-feedback → 2.9.412-wellbeing
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 -2
- package/dist/index.js +868 -481
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +871 -485
- package/dist/index.modern.js.map +1 -1
- package/dist/redux/commons/action.d.ts +1 -0
- package/package.json +105 -105
- package/dist/containers/Login/views/block/BlockAssignTeacherByCode.d.ts +0 -8
- package/dist/services/weeklyQuestService.d.ts +0 -1
- package/dist/types/WeeklyQuest.d.ts +0 -37
package/dist/index.js
CHANGED
|
@@ -2109,7 +2109,7 @@ var add_1_1_conversation_notes = "Add 1-1 Conversation notes";
|
|
|
2109
2109
|
var save_data = "Save data";
|
|
2110
2110
|
var please_select_date_1_1_conversation = "Please select date 1-1 conversation!";
|
|
2111
2111
|
var please_write_something_to_this_1_1_conversation = "Please write something to this 1-1 conversation!";
|
|
2112
|
-
var data_1_1_conversation_cannot_exceed_300_characters = "Data 1-1 conversation cannot exceed
|
|
2112
|
+
var data_1_1_conversation_cannot_exceed_300_characters = "Data 1-1 conversation cannot exceed 1000 characters!";
|
|
2113
2113
|
var no_need_for_it = "No need for it";
|
|
2114
2114
|
var conversation_saved = "Conversation saved!";
|
|
2115
2115
|
var what_did_you_and_the_student_choose_as_an_action_step_would_you_like_to_add_it_as_a_goal = "What did you and the student choose as an action step?<br/>Would you like to add it as a Goal?";
|
|
@@ -2126,7 +2126,7 @@ var yes_view_student_goals = "Yes, view student goals";
|
|
|
2126
2126
|
var please_set_time_1_1_conversation = "Please set time 1-1 conversation";
|
|
2127
2127
|
var type_your_answer_here = "Type your answer here...";
|
|
2128
2128
|
var delete_bulk = "Delete Bulk";
|
|
2129
|
-
var number_of_students_with_at_least_one_very_low_metric = "
|
|
2129
|
+
var number_of_students_with_at_least_one_very_low_metric = "Students with concerning metrics";
|
|
2130
2130
|
var this_flags_if_the_student_is_not_ready_to_learn_or_has_at_least_one_success_or_readiness_to_learn_metrics_under_40 = "This flags if the student is not ready to learn or has at least one success, or readiness to learn metrics under 40%";
|
|
2131
2131
|
var of_students_have_concerned_metrics = "of students have concerned metrics";
|
|
2132
2132
|
var have_metrics_40 = "have metrics <40%";
|
|
@@ -2183,11 +2183,49 @@ var save_note = "Save note";
|
|
|
2183
2183
|
var type_the_main_focus_of_this_session = "Type the main focus of this session";
|
|
2184
2184
|
var please_add_title_note = "Please add note title";
|
|
2185
2185
|
var notes_and_logs = "Notes and Logs";
|
|
2186
|
+
var my_well_being = "My Well-being";
|
|
2187
|
+
var my_well_Being_check_in = "My Well-Being Check-in";
|
|
2188
|
+
var my_sessions = "My Sessions";
|
|
2189
|
+
var your_personal_data_will_not_be_shared_with_anyone_else = "Your personal data will <strong>not be shared</strong> with anyone else.";
|
|
2190
|
+
var school_leadership_will_only_see_aggregated_data = "School leadership will only see aggregated data.";
|
|
2191
|
+
var save_filters = "Save Filters";
|
|
2192
|
+
var clear_all_filters = "Clear All Filters";
|
|
2193
|
+
var my_well_being_check_in = "My Well-Being Check-in";
|
|
2194
|
+
var unless_you_specifically_choose_to_do_this = "unless you specifically choose to do this.";
|
|
2195
|
+
var physical_well_being = "Physical Well-Being";
|
|
2196
|
+
var emotional_well_being = "Emotional Well-Being";
|
|
2197
|
+
var social_well_being_relationships = "Social Well-Being - Relationships";
|
|
2198
|
+
var social_well_being_environment = "Social Well-Being - Environment";
|
|
2199
|
+
var intellectual_well_being = "Intellectual Well-Being";
|
|
2200
|
+
var colleague_or_staff_member_you_like_to_praise_or_thank = "Colleague or staff member you'd like to praise or thank?";
|
|
2201
|
+
var wellbeing_finished = "Wellbeing Finished";
|
|
2202
|
+
var check_in = "Check-in";
|
|
2203
|
+
var take_a_moment_for_you = "Take a Moment for You";
|
|
2204
|
+
var it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve = "It’s time to take care of yourself. Start your Well-Being Check-In to reflect on how you’re doing and receive the support you deserve.";
|
|
2205
|
+
var start_check_in_now = "START CHECK-IN NOW";
|
|
2206
|
+
var i_ll_do_it_later = "I'LL DO IT LATER";
|
|
2207
|
+
var survey_portal = "Survey Portal";
|
|
2208
|
+
var external_api = "External Api";
|
|
2209
|
+
var teacher_well_being = "Teacher Well-Being";
|
|
2210
|
+
var frequency_and_setup = "Frequency and Setup";
|
|
2211
|
+
var well_being_dashboard = "Well-Being Dashboard";
|
|
2212
|
+
var go_to_dashboard = "Go to dashboard";
|
|
2213
|
+
var your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey = "Your responses have been recorded and will help us better understand and support your well-being journey.";
|
|
2214
|
+
var you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time = "You can view your personal well-being dashboard anytime to track your progress over time.";
|
|
2215
|
+
var remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership = "Remember: Your individual responses remain private and confidential. Only aggregated data is shared with school leadership.";
|
|
2216
|
+
var check_in_complete = "Check-in Complete!";
|
|
2217
|
+
var schedule_a_conversation = "Schedule a Conversation";
|
|
2218
|
+
var select_a_contact_to_speak_with = "Select a contact to speak with";
|
|
2219
|
+
var what_would_you_like_to_discuss = "What would you like to discuss?";
|
|
2220
|
+
var please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have = "Please describe what you'd like to talk about or any specific concerns you have...";
|
|
2221
|
+
var wellbeing_sections = "Wellbeing Sections";
|
|
2186
2222
|
var school_monthly_usage = "School Monthly Usage";
|
|
2187
2223
|
var location$1 = "Location";
|
|
2188
2224
|
var edit_my_profile = "Edit My Profile";
|
|
2189
2225
|
var save_new_password = "Save new password";
|
|
2190
2226
|
var teacher_code = "Teacher code";
|
|
2227
|
+
var number_of_conversations = "Number of conversations";
|
|
2228
|
+
var number_of_expected_conversations_based_on_the_goal = "Number of expected conversations based on the goal";
|
|
2191
2229
|
var lang_us = {
|
|
2192
2230
|
dashboard: dashboard,
|
|
2193
2231
|
user: user,
|
|
@@ -4387,11 +4425,50 @@ var lang_us = {
|
|
|
4387
4425
|
type_the_main_focus_of_this_session: type_the_main_focus_of_this_session,
|
|
4388
4426
|
please_add_title_note: please_add_title_note,
|
|
4389
4427
|
notes_and_logs: notes_and_logs,
|
|
4428
|
+
my_well_being: my_well_being,
|
|
4429
|
+
my_well_Being_check_in: my_well_Being_check_in,
|
|
4430
|
+
my_sessions: my_sessions,
|
|
4431
|
+
your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else,
|
|
4432
|
+
school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data,
|
|
4433
|
+
save_filters: save_filters,
|
|
4434
|
+
clear_all_filters: clear_all_filters,
|
|
4435
|
+
my_well_being_check_in: my_well_being_check_in,
|
|
4436
|
+
unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this,
|
|
4437
|
+
physical_well_being: physical_well_being,
|
|
4438
|
+
emotional_well_being: emotional_well_being,
|
|
4439
|
+
"self_care_&_balance": "Self-Care & Balance",
|
|
4440
|
+
social_well_being_relationships: social_well_being_relationships,
|
|
4441
|
+
social_well_being_environment: social_well_being_environment,
|
|
4442
|
+
intellectual_well_being: intellectual_well_being,
|
|
4443
|
+
colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank,
|
|
4444
|
+
wellbeing_finished: wellbeing_finished,
|
|
4445
|
+
check_in: check_in,
|
|
4446
|
+
take_a_moment_for_you: take_a_moment_for_you,
|
|
4447
|
+
it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve: it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve,
|
|
4448
|
+
start_check_in_now: start_check_in_now,
|
|
4449
|
+
i_ll_do_it_later: i_ll_do_it_later,
|
|
4450
|
+
survey_portal: survey_portal,
|
|
4451
|
+
external_api: external_api,
|
|
4452
|
+
teacher_well_being: teacher_well_being,
|
|
4453
|
+
frequency_and_setup: frequency_and_setup,
|
|
4454
|
+
well_being_dashboard: well_being_dashboard,
|
|
4455
|
+
go_to_dashboard: go_to_dashboard,
|
|
4456
|
+
your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey: your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey,
|
|
4457
|
+
you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time: you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time,
|
|
4458
|
+
remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership: remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership,
|
|
4459
|
+
check_in_complete: check_in_complete,
|
|
4460
|
+
schedule_a_conversation: schedule_a_conversation,
|
|
4461
|
+
select_a_contact_to_speak_with: select_a_contact_to_speak_with,
|
|
4462
|
+
what_would_you_like_to_discuss: what_would_you_like_to_discuss,
|
|
4463
|
+
please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have: please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have,
|
|
4464
|
+
wellbeing_sections: wellbeing_sections,
|
|
4390
4465
|
school_monthly_usage: school_monthly_usage,
|
|
4391
4466
|
location: location$1,
|
|
4392
4467
|
edit_my_profile: edit_my_profile,
|
|
4393
4468
|
save_new_password: save_new_password,
|
|
4394
|
-
teacher_code: teacher_code
|
|
4469
|
+
teacher_code: teacher_code,
|
|
4470
|
+
number_of_conversations: number_of_conversations,
|
|
4471
|
+
number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal
|
|
4395
4472
|
};
|
|
4396
4473
|
|
|
4397
4474
|
var dashboard$1 = "Dashboard";
|
|
@@ -4409,7 +4486,7 @@ var cancel$1 = "Cancel";
|
|
|
4409
4486
|
var hey$1 = "Hey";
|
|
4410
4487
|
var readiness_to_learn$1 = "Readiness to Learn";
|
|
4411
4488
|
var high_impact_learning_strategies$1 = "High Impact Learning Strategies";
|
|
4412
|
-
var check_in = "Check In";
|
|
4489
|
+
var check_in$1 = "Check In";
|
|
4413
4490
|
var check_ins$1 = "Check Ins";
|
|
4414
4491
|
var reflection$1 = "Reflection";
|
|
4415
4492
|
var conferences$1 = "Conferences";
|
|
@@ -6466,7 +6543,7 @@ var add_1_1_conversation_notes$1 = "Add 1-1 Conversation notes";
|
|
|
6466
6543
|
var save_data$1 = "Save data";
|
|
6467
6544
|
var please_select_date_1_1_conversation$1 = "Please select date 1-1 conversation!";
|
|
6468
6545
|
var please_write_something_to_this_1_1_conversation$1 = "Please write something to this 1-1 conversation!";
|
|
6469
|
-
var data_1_1_conversation_cannot_exceed_300_characters$1 = "Data 1-1 conversation cannot exceed
|
|
6546
|
+
var data_1_1_conversation_cannot_exceed_300_characters$1 = "Data 1-1 conversation cannot exceed 1000 characters!";
|
|
6470
6547
|
var no_need_for_it$1 = "No need for it";
|
|
6471
6548
|
var conversation_saved$1 = "Conversation saved!";
|
|
6472
6549
|
var what_did_you_and_the_student_choose_as_an_action_step_would_you_like_to_add_it_as_a_goal$1 = "What did you and the student choose as an action step?<br/>Would you like to add it as a Goal?";
|
|
@@ -6483,7 +6560,7 @@ var yes_view_student_goals$1 = "Yes, view student goals";
|
|
|
6483
6560
|
var please_set_time_1_1_conversation$1 = "Please set time 1-1 conversation";
|
|
6484
6561
|
var type_your_answer_here$1 = "Type your answer here...";
|
|
6485
6562
|
var delete_bulk$1 = "Delete Bulk";
|
|
6486
|
-
var number_of_students_with_at_least_one_very_low_metric$1 = "
|
|
6563
|
+
var number_of_students_with_at_least_one_very_low_metric$1 = "Students with concerning metrics";
|
|
6487
6564
|
var this_flags_if_the_student_is_not_ready_to_learn_or_has_at_least_one_success_or_readiness_to_learn_metrics_under_40$1 = "This flags if the student is not ready to learn or has at least one success, or readiness to learn metrics under 40%";
|
|
6488
6565
|
var of_students_have_concerned_metrics$1 = "of students have concerned metrics";
|
|
6489
6566
|
var have_metrics_40$1 = "have metrics <40%";
|
|
@@ -6538,11 +6615,48 @@ var save_note$1 = "Save note";
|
|
|
6538
6615
|
var type_the_main_focus_of_this_session$1 = "Type the main focus of this session";
|
|
6539
6616
|
var please_add_title_note$1 = "Please add note title";
|
|
6540
6617
|
var notes_and_logs$1 = "Notes and Logs";
|
|
6618
|
+
var survey_portal$1 = "Survey Portal";
|
|
6619
|
+
var external_api$1 = "External Api";
|
|
6620
|
+
var teacher_well_being$1 = "Teacher Well-Being";
|
|
6621
|
+
var frequency_and_setup$1 = "Frequency and Setup";
|
|
6622
|
+
var well_being_dashboard$1 = "Well-Being Dashboard";
|
|
6623
|
+
var go_to_dashboard$1 = "Go to dashboard";
|
|
6624
|
+
var your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey$1 = "Your responses have been recorded and will help us better understand and support your well-being journey.";
|
|
6625
|
+
var you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time$1 = "You can view your personal well-being dashboard anytime to track your progress over time.";
|
|
6626
|
+
var remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership$1 = "Remember: Your individual responses remain private and confidential. Only aggregated data is shared with school leadership.";
|
|
6627
|
+
var check_in_complete$1 = "Check-in Complete!";
|
|
6628
|
+
var schedule_a_conversation$1 = "Schedule a Conversation";
|
|
6629
|
+
var select_a_contact_to_speak_with$1 = "Select a contact to speak with";
|
|
6630
|
+
var what_would_you_like_to_discuss$1 = "What would you like to discuss?";
|
|
6631
|
+
var please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have$1 = "Please describe what you'd like to talk about or any specific concerns you have...";
|
|
6632
|
+
var wellbeing_sections$1 = "Wellbeing Sections";
|
|
6541
6633
|
var school_monthly_usage$1 = "School Monthly Usage";
|
|
6542
6634
|
var location$2 = "Location";
|
|
6543
6635
|
var edit_my_profile$1 = "Edit My Profile";
|
|
6544
6636
|
var save_new_password$1 = "Save new password";
|
|
6545
6637
|
var teacher_code$1 = "Teacher code";
|
|
6638
|
+
var my_well_being$1 = "My Well-being";
|
|
6639
|
+
var my_well_Being_check_in$1 = "My Well-Being Check-in";
|
|
6640
|
+
var my_sessions$1 = "My Sessions";
|
|
6641
|
+
var your_personal_data_will_not_be_shared_with_anyone_else$1 = "Your personal data will <strong>not be shared</strong> with anyone else.";
|
|
6642
|
+
var school_leadership_will_only_see_aggregated_data$1 = "School leadership will only see aggregated data.";
|
|
6643
|
+
var save_filters$1 = "Save Filters";
|
|
6644
|
+
var clear_all_filters$1 = "Clear All Filters";
|
|
6645
|
+
var my_well_being_check_in$1 = "My Well-Being Check-in";
|
|
6646
|
+
var unless_you_specifically_choose_to_do_this$1 = "unless you specifically choose to do this.";
|
|
6647
|
+
var physical_well_being$1 = "Physical Well-Being";
|
|
6648
|
+
var emotional_well_being$1 = "Emotional Well-Being";
|
|
6649
|
+
var social_well_being_relationships$1 = "Social Well-Being - Relationships";
|
|
6650
|
+
var social_well_being_environment$1 = "Social Well-Being - Environment";
|
|
6651
|
+
var intellectual_well_being$1 = "Intellectual Well-Being";
|
|
6652
|
+
var colleague_or_staff_member_you_like_to_praise_or_thank$1 = "Colleague or staff member you'd like to praise or thank?";
|
|
6653
|
+
var wellbeing_finished$1 = "Wellbeing Finished";
|
|
6654
|
+
var take_a_moment_for_you$1 = "Take a Moment for You";
|
|
6655
|
+
var it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve$1 = "It’s time to take care of yourself. Start your Well-Being Check-In to reflect on how you’re doing and receive the support you deserve.";
|
|
6656
|
+
var start_check_in_now$1 = "START CHECK-IN NOW";
|
|
6657
|
+
var i_ll_do_it_later$1 = "I'LL DO IT LATER";
|
|
6658
|
+
var number_of_conversations$1 = "Number of conversations";
|
|
6659
|
+
var number_of_expected_conversations_based_on_the_goal$1 = "Number of expected conversations based on the goal";
|
|
6546
6660
|
var lang_uk = {
|
|
6547
6661
|
dashboard: dashboard$1,
|
|
6548
6662
|
user: user$1,
|
|
@@ -6560,7 +6674,7 @@ var lang_uk = {
|
|
|
6560
6674
|
readiness_to_learn: readiness_to_learn$1,
|
|
6561
6675
|
high_impact_learning_strategies: high_impact_learning_strategies$1,
|
|
6562
6676
|
"1_to_1": "1 to 1",
|
|
6563
|
-
check_in: check_in,
|
|
6677
|
+
check_in: check_in$1,
|
|
6564
6678
|
check_ins: check_ins$1,
|
|
6565
6679
|
reflection: reflection$1,
|
|
6566
6680
|
conferences: conferences$1,
|
|
@@ -8740,11 +8854,49 @@ var lang_uk = {
|
|
|
8740
8854
|
type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$1,
|
|
8741
8855
|
please_add_title_note: please_add_title_note$1,
|
|
8742
8856
|
notes_and_logs: notes_and_logs$1,
|
|
8857
|
+
survey_portal: survey_portal$1,
|
|
8858
|
+
external_api: external_api$1,
|
|
8859
|
+
teacher_well_being: teacher_well_being$1,
|
|
8860
|
+
frequency_and_setup: frequency_and_setup$1,
|
|
8861
|
+
well_being_dashboard: well_being_dashboard$1,
|
|
8862
|
+
go_to_dashboard: go_to_dashboard$1,
|
|
8863
|
+
your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey: your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey$1,
|
|
8864
|
+
you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time: you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time$1,
|
|
8865
|
+
remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership: remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership$1,
|
|
8866
|
+
check_in_complete: check_in_complete$1,
|
|
8867
|
+
schedule_a_conversation: schedule_a_conversation$1,
|
|
8868
|
+
select_a_contact_to_speak_with: select_a_contact_to_speak_with$1,
|
|
8869
|
+
what_would_you_like_to_discuss: what_would_you_like_to_discuss$1,
|
|
8870
|
+
please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have: please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have$1,
|
|
8871
|
+
wellbeing_sections: wellbeing_sections$1,
|
|
8743
8872
|
school_monthly_usage: school_monthly_usage$1,
|
|
8744
8873
|
location: location$2,
|
|
8745
8874
|
edit_my_profile: edit_my_profile$1,
|
|
8746
8875
|
save_new_password: save_new_password$1,
|
|
8747
|
-
teacher_code: teacher_code$1
|
|
8876
|
+
teacher_code: teacher_code$1,
|
|
8877
|
+
my_well_being: my_well_being$1,
|
|
8878
|
+
my_well_Being_check_in: my_well_Being_check_in$1,
|
|
8879
|
+
my_sessions: my_sessions$1,
|
|
8880
|
+
your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$1,
|
|
8881
|
+
school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$1,
|
|
8882
|
+
save_filters: save_filters$1,
|
|
8883
|
+
clear_all_filters: clear_all_filters$1,
|
|
8884
|
+
my_well_being_check_in: my_well_being_check_in$1,
|
|
8885
|
+
unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$1,
|
|
8886
|
+
physical_well_being: physical_well_being$1,
|
|
8887
|
+
emotional_well_being: emotional_well_being$1,
|
|
8888
|
+
"self_care_&_balance": "Self-Care & Balance",
|
|
8889
|
+
social_well_being_relationships: social_well_being_relationships$1,
|
|
8890
|
+
social_well_being_environment: social_well_being_environment$1,
|
|
8891
|
+
intellectual_well_being: intellectual_well_being$1,
|
|
8892
|
+
colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$1,
|
|
8893
|
+
wellbeing_finished: wellbeing_finished$1,
|
|
8894
|
+
take_a_moment_for_you: take_a_moment_for_you$1,
|
|
8895
|
+
it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve: it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve$1,
|
|
8896
|
+
start_check_in_now: start_check_in_now$1,
|
|
8897
|
+
i_ll_do_it_later: i_ll_do_it_later$1,
|
|
8898
|
+
number_of_conversations: number_of_conversations$1,
|
|
8899
|
+
number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$1
|
|
8748
8900
|
};
|
|
8749
8901
|
|
|
8750
8902
|
var dashboard$2 = "لوحة المعلومات";
|
|
@@ -8762,7 +8914,7 @@ var cancel$2 = "إلغاء";
|
|
|
8762
8914
|
var hey$2 = "مرحبًا";
|
|
8763
8915
|
var readiness_to_learn$2 = "الاستعداد للتعلم";
|
|
8764
8916
|
var high_impact_learning_strategies$2 = "استراتيجيات التعلم عالية التأثير";
|
|
8765
|
-
var check_in$
|
|
8917
|
+
var check_in$2 = "تسجيل الحضور";
|
|
8766
8918
|
var check_ins$2 = "عمليات تسجيل الحضور";
|
|
8767
8919
|
var reflection$2 = "التفكير";
|
|
8768
8920
|
var conferences$2 = "اللقاءات";
|
|
@@ -10848,7 +11000,7 @@ var add_1_1_conversation_notes$2 = "Add 1-1 Conversation notes";
|
|
|
10848
11000
|
var save_data$2 = "Save data";
|
|
10849
11001
|
var please_select_date_1_1_conversation$2 = "Please select date 1-1 conversation!";
|
|
10850
11002
|
var please_write_something_to_this_1_1_conversation$2 = "Please write something to this 1-1 conversation!";
|
|
10851
|
-
var data_1_1_conversation_cannot_exceed_300_characters$2 = "Data 1-1 conversation cannot exceed
|
|
11003
|
+
var data_1_1_conversation_cannot_exceed_300_characters$2 = "Data 1-1 conversation cannot exceed 1000 characters!";
|
|
10852
11004
|
var no_need_for_it$2 = "No need for it";
|
|
10853
11005
|
var conversation_saved$2 = "Conversation saved!";
|
|
10854
11006
|
var what_did_you_and_the_student_choose_as_an_action_step_would_you_like_to_add_it_as_a_goal$2 = "What did you and the student choose as an action step?<br/>Would you like to add it as a Goal?";
|
|
@@ -10866,7 +11018,7 @@ var please_set_time_1_1_conversation$2 = "Please set time 1-1 conversation";
|
|
|
10866
11018
|
var type_your_answer_here$2 = "Type your answer here...";
|
|
10867
11019
|
var not_ready_to_learn$2 = "Not ready to learn";
|
|
10868
11020
|
var delete_bulk$2 = "Delete Bulk";
|
|
10869
|
-
var number_of_students_with_at_least_one_very_low_metric$2 = "
|
|
11021
|
+
var number_of_students_with_at_least_one_very_low_metric$2 = "Students with concerning metrics";
|
|
10870
11022
|
var this_flags_if_the_student_is_not_ready_to_learn_or_has_at_least_one_success_or_readiness_to_learn_metrics_under_40$2 = "This flags if the student is not ready to learn or has at least one success, or readiness to learn metrics under 40%";
|
|
10871
11023
|
var of_students_have_concerned_metrics$2 = "of students have concerned metrics";
|
|
10872
11024
|
var have_metrics_40$2 = "have metrics <40%";
|
|
@@ -10921,11 +11073,49 @@ var save_note$2 = "Save note";
|
|
|
10921
11073
|
var type_the_main_focus_of_this_session$2 = "Type the main focus of this session";
|
|
10922
11074
|
var please_add_title_note$2 = "Please add note title";
|
|
10923
11075
|
var notes_and_logs$2 = "Notes and Logs";
|
|
11076
|
+
var survey_portal$2 = "Survey Portal";
|
|
11077
|
+
var integrations$2 = "Integrations";
|
|
11078
|
+
var external_api$2 = "External Api";
|
|
11079
|
+
var teacher_well_being$2 = "Teacher Well-Being";
|
|
11080
|
+
var frequency_and_setup$2 = "Frequency and Setup";
|
|
11081
|
+
var well_being_dashboard$2 = "Well-Being Dashboard";
|
|
11082
|
+
var go_to_dashboard$2 = "Go to dashboard";
|
|
11083
|
+
var your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey$2 = "Your responses have been recorded and will help us better understand and support your well-being journey.";
|
|
11084
|
+
var you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time$2 = "You can view your personal well-being dashboard anytime to track your progress over time.";
|
|
11085
|
+
var remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership$2 = "Remember: Your individual responses remain private and confidential. Only aggregated data is shared with school leadership.";
|
|
11086
|
+
var check_in_complete$2 = "Check-in Complete!";
|
|
11087
|
+
var schedule_a_conversation$2 = "Schedule a Conversation";
|
|
11088
|
+
var select_a_contact_to_speak_with$2 = "Select a contact to speak with";
|
|
11089
|
+
var what_would_you_like_to_discuss$2 = "What would you like to discuss?";
|
|
11090
|
+
var please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have$2 = "Please describe what you'd like to talk about or any specific concerns you have...";
|
|
11091
|
+
var wellbeing_sections$2 = "Wellbeing Sections";
|
|
10924
11092
|
var school_monthly_usage$2 = "School Monthly Usage";
|
|
10925
11093
|
var location$3 = "Location";
|
|
10926
11094
|
var edit_my_profile$2 = "Edit My Profile";
|
|
10927
11095
|
var save_new_password$2 = "Save new password";
|
|
10928
11096
|
var teacher_code$2 = "Teacher code";
|
|
11097
|
+
var my_well_being$2 = "My Well-being";
|
|
11098
|
+
var my_well_Being_check_in$2 = "My Well-Being Check-in";
|
|
11099
|
+
var my_sessions$2 = "My Sessions";
|
|
11100
|
+
var your_personal_data_will_not_be_shared_with_anyone_else$2 = "Your personal data will <strong>not be shared</strong> with anyone else.";
|
|
11101
|
+
var school_leadership_will_only_see_aggregated_data$2 = "School leadership will only see aggregated data.";
|
|
11102
|
+
var save_filters$2 = "Save Filters";
|
|
11103
|
+
var clear_all_filters$2 = "Clear All Filters";
|
|
11104
|
+
var my_well_being_check_in$2 = "My Well-Being Check-in";
|
|
11105
|
+
var unless_you_specifically_choose_to_do_this$2 = "unless you specifically choose to do this.";
|
|
11106
|
+
var physical_well_being$2 = "Physical Well-Being";
|
|
11107
|
+
var emotional_well_being$2 = "Emotional Well-Being";
|
|
11108
|
+
var social_well_being_relationships$2 = "Social Well-Being - Relationships";
|
|
11109
|
+
var social_well_being_environment$2 = "Social Well-Being - Environment";
|
|
11110
|
+
var intellectual_well_being$2 = "Intellectual Well-Being";
|
|
11111
|
+
var colleague_or_staff_member_you_like_to_praise_or_thank$2 = "Colleague or staff member you'd like to praise or thank?";
|
|
11112
|
+
var wellbeing_finished$2 = "Wellbeing Finished";
|
|
11113
|
+
var take_a_moment_for_you$2 = "Take a Moment for You";
|
|
11114
|
+
var it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve$2 = "It’s time to take care of yourself. Start your Well-Being Check-In to reflect on how you’re doing and receive the support you deserve.";
|
|
11115
|
+
var start_check_in_now$2 = "START CHECK-IN NOW";
|
|
11116
|
+
var i_ll_do_it_later$2 = "I'LL DO IT LATER";
|
|
11117
|
+
var number_of_conversations$2 = "Number of conversations";
|
|
11118
|
+
var number_of_expected_conversations_based_on_the_goal$2 = "Number of expected conversations based on the goal";
|
|
10929
11119
|
var lang_ar = {
|
|
10930
11120
|
dashboard: dashboard$2,
|
|
10931
11121
|
user: user$2,
|
|
@@ -10943,7 +11133,7 @@ var lang_ar = {
|
|
|
10943
11133
|
readiness_to_learn: readiness_to_learn$2,
|
|
10944
11134
|
high_impact_learning_strategies: high_impact_learning_strategies$2,
|
|
10945
11135
|
"1_to_1": "1 إلى 1",
|
|
10946
|
-
check_in: check_in$
|
|
11136
|
+
check_in: check_in$2,
|
|
10947
11137
|
check_ins: check_ins$2,
|
|
10948
11138
|
reflection: reflection$2,
|
|
10949
11139
|
conferences: conferences$2,
|
|
@@ -13155,11 +13345,50 @@ var lang_ar = {
|
|
|
13155
13345
|
type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$2,
|
|
13156
13346
|
please_add_title_note: please_add_title_note$2,
|
|
13157
13347
|
notes_and_logs: notes_and_logs$2,
|
|
13348
|
+
survey_portal: survey_portal$2,
|
|
13349
|
+
integrations: integrations$2,
|
|
13350
|
+
external_api: external_api$2,
|
|
13351
|
+
teacher_well_being: teacher_well_being$2,
|
|
13352
|
+
frequency_and_setup: frequency_and_setup$2,
|
|
13353
|
+
well_being_dashboard: well_being_dashboard$2,
|
|
13354
|
+
go_to_dashboard: go_to_dashboard$2,
|
|
13355
|
+
your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey: your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey$2,
|
|
13356
|
+
you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time: you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time$2,
|
|
13357
|
+
remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership: remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership$2,
|
|
13358
|
+
check_in_complete: check_in_complete$2,
|
|
13359
|
+
schedule_a_conversation: schedule_a_conversation$2,
|
|
13360
|
+
select_a_contact_to_speak_with: select_a_contact_to_speak_with$2,
|
|
13361
|
+
what_would_you_like_to_discuss: what_would_you_like_to_discuss$2,
|
|
13362
|
+
please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have: please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have$2,
|
|
13363
|
+
wellbeing_sections: wellbeing_sections$2,
|
|
13158
13364
|
school_monthly_usage: school_monthly_usage$2,
|
|
13159
13365
|
location: location$3,
|
|
13160
13366
|
edit_my_profile: edit_my_profile$2,
|
|
13161
13367
|
save_new_password: save_new_password$2,
|
|
13162
|
-
teacher_code: teacher_code$2
|
|
13368
|
+
teacher_code: teacher_code$2,
|
|
13369
|
+
my_well_being: my_well_being$2,
|
|
13370
|
+
my_well_Being_check_in: my_well_Being_check_in$2,
|
|
13371
|
+
my_sessions: my_sessions$2,
|
|
13372
|
+
your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$2,
|
|
13373
|
+
school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$2,
|
|
13374
|
+
save_filters: save_filters$2,
|
|
13375
|
+
clear_all_filters: clear_all_filters$2,
|
|
13376
|
+
my_well_being_check_in: my_well_being_check_in$2,
|
|
13377
|
+
unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$2,
|
|
13378
|
+
physical_well_being: physical_well_being$2,
|
|
13379
|
+
emotional_well_being: emotional_well_being$2,
|
|
13380
|
+
"self_care_&_balance": "Self-Care & Balance",
|
|
13381
|
+
social_well_being_relationships: social_well_being_relationships$2,
|
|
13382
|
+
social_well_being_environment: social_well_being_environment$2,
|
|
13383
|
+
intellectual_well_being: intellectual_well_being$2,
|
|
13384
|
+
colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$2,
|
|
13385
|
+
wellbeing_finished: wellbeing_finished$2,
|
|
13386
|
+
take_a_moment_for_you: take_a_moment_for_you$2,
|
|
13387
|
+
it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve: it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve$2,
|
|
13388
|
+
start_check_in_now: start_check_in_now$2,
|
|
13389
|
+
i_ll_do_it_later: i_ll_do_it_later$2,
|
|
13390
|
+
number_of_conversations: number_of_conversations$2,
|
|
13391
|
+
number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$2
|
|
13163
13392
|
};
|
|
13164
13393
|
|
|
13165
13394
|
var dashboard$3 = "Cuadro de mandos";
|
|
@@ -13177,7 +13406,7 @@ var cancel$3 = "Cancelar";
|
|
|
13177
13406
|
var hey$3 = "Hola";
|
|
13178
13407
|
var readiness_to_learn$3 = "Preparación para el aprendizaje";
|
|
13179
13408
|
var high_impact_learning_strategies$3 = "Estrategias de aprendizaje de alto impacto";
|
|
13180
|
-
var check_in$
|
|
13409
|
+
var check_in$3 = "Registro";
|
|
13181
13410
|
var check_ins$3 = "Registro de entrada";
|
|
13182
13411
|
var reflection$3 = "Reflexión";
|
|
13183
13412
|
var conferences$3 = "Conferencias";
|
|
@@ -15264,7 +15493,7 @@ var add_1_1_conversation_notes$3 = "Add 1-1 Conversation notes";
|
|
|
15264
15493
|
var save_data$3 = "Save data";
|
|
15265
15494
|
var please_select_date_1_1_conversation$3 = "Please select date 1-1 conversation!";
|
|
15266
15495
|
var please_write_something_to_this_1_1_conversation$3 = "Please write something to this 1-1 conversation!";
|
|
15267
|
-
var data_1_1_conversation_cannot_exceed_300_characters$3 = "Data 1-1 conversation cannot exceed
|
|
15496
|
+
var data_1_1_conversation_cannot_exceed_300_characters$3 = "Data 1-1 conversation cannot exceed 1000 characters!";
|
|
15268
15497
|
var no_need_for_it$3 = "No need for it";
|
|
15269
15498
|
var conversation_saved$3 = "Conversation saved!";
|
|
15270
15499
|
var what_did_you_and_the_student_choose_as_an_action_step_would_you_like_to_add_it_as_a_goal$3 = "What did you and the student choose as an action step?<br/>Would you like to add it as a Goal?";
|
|
@@ -15281,7 +15510,7 @@ var yes_view_student_goals$3 = "Yes, view student goals";
|
|
|
15281
15510
|
var please_set_time_1_1_conversation$3 = "Please set time 1-1 conversation";
|
|
15282
15511
|
var type_your_answer_here$3 = "Type your answer here...";
|
|
15283
15512
|
var delete_bulk$3 = "Delete Bulk";
|
|
15284
|
-
var number_of_students_with_at_least_one_very_low_metric$3 = "
|
|
15513
|
+
var number_of_students_with_at_least_one_very_low_metric$3 = "Students with concerning metrics";
|
|
15285
15514
|
var this_flags_if_the_student_is_not_ready_to_learn_or_has_at_least_one_success_or_readiness_to_learn_metrics_under_40$3 = "This flags if the student is not ready to learn or has at least one success, or readiness to learn metrics under 40%";
|
|
15286
15515
|
var of_students_have_concerned_metrics$3 = "of students have concerned metrics";
|
|
15287
15516
|
var have_metrics_40$3 = "have metrics <40%";
|
|
@@ -15336,11 +15565,49 @@ var save_note$3 = "Save note";
|
|
|
15336
15565
|
var type_the_main_focus_of_this_session$3 = "Type the main focus of this session";
|
|
15337
15566
|
var please_add_title_note$3 = "Please add note title";
|
|
15338
15567
|
var notes_and_logs$3 = "Notes and Logs";
|
|
15568
|
+
var survey_portal$3 = "Survey Portal";
|
|
15569
|
+
var integrations$3 = "Integrations";
|
|
15570
|
+
var external_api$3 = "External Api";
|
|
15571
|
+
var teacher_well_being$3 = "Teacher Well-Being";
|
|
15572
|
+
var frequency_and_setup$3 = "Frequency and Setup";
|
|
15573
|
+
var well_being_dashboard$3 = "Well-Being Dashboard";
|
|
15574
|
+
var go_to_dashboard$3 = "Go to dashboard";
|
|
15575
|
+
var your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey$3 = "Your responses have been recorded and will help us better understand and support your well-being journey.";
|
|
15576
|
+
var you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time$3 = "You can view your personal well-being dashboard anytime to track your progress over time.";
|
|
15577
|
+
var remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership$3 = "Remember: Your individual responses remain private and confidential. Only aggregated data is shared with school leadership.";
|
|
15578
|
+
var check_in_complete$3 = "Check-in Complete!";
|
|
15579
|
+
var schedule_a_conversation$3 = "Schedule a Conversation";
|
|
15580
|
+
var select_a_contact_to_speak_with$3 = "Select a contact to speak with";
|
|
15581
|
+
var what_would_you_like_to_discuss$3 = "What would you like to discuss?";
|
|
15582
|
+
var please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have$3 = "Please describe what you'd like to talk about or any specific concerns you have...";
|
|
15583
|
+
var wellbeing_sections$3 = "Wellbeing Sections";
|
|
15339
15584
|
var school_monthly_usage$3 = "School Monthly Usage";
|
|
15340
15585
|
var location$4 = "Location";
|
|
15341
15586
|
var edit_my_profile$3 = "Edit My Profile";
|
|
15342
15587
|
var save_new_password$3 = "Save new password";
|
|
15343
15588
|
var teacher_code$3 = "Teacher code";
|
|
15589
|
+
var my_well_being$3 = "My Well-being";
|
|
15590
|
+
var my_well_Being_check_in$3 = "My Well-Being Check-in";
|
|
15591
|
+
var my_sessions$3 = "My Sessions";
|
|
15592
|
+
var your_personal_data_will_not_be_shared_with_anyone_else$3 = "Your personal data will <strong>not be shared</strong> with anyone else.";
|
|
15593
|
+
var school_leadership_will_only_see_aggregated_data$3 = "School leadership will only see aggregated data.";
|
|
15594
|
+
var save_filters$3 = "Save Filters";
|
|
15595
|
+
var clear_all_filters$3 = "Clear All Filters";
|
|
15596
|
+
var my_well_being_check_in$3 = "My Well-Being Check-in";
|
|
15597
|
+
var unless_you_specifically_choose_to_do_this$3 = "unless you specifically choose to do this.";
|
|
15598
|
+
var physical_well_being$3 = "Physical Well-Being";
|
|
15599
|
+
var emotional_well_being$3 = "Emotional Well-Being";
|
|
15600
|
+
var social_well_being_relationships$3 = "Social Well-Being - Relationships";
|
|
15601
|
+
var social_well_being_environment$3 = "Social Well-Being - Environment";
|
|
15602
|
+
var intellectual_well_being$3 = "Intellectual Well-Being";
|
|
15603
|
+
var colleague_or_staff_member_you_like_to_praise_or_thank$3 = "Colleague or staff member you'd like to praise or thank?";
|
|
15604
|
+
var wellbeing_finished$3 = "Wellbeing Finished";
|
|
15605
|
+
var take_a_moment_for_you$3 = "Take a Moment for You";
|
|
15606
|
+
var it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve$3 = "It’s time to take care of yourself. Start your Well-Being Check-In to reflect on how you’re doing and receive the support you deserve.";
|
|
15607
|
+
var start_check_in_now$3 = "START CHECK-IN NOW";
|
|
15608
|
+
var i_ll_do_it_later$3 = "I'LL DO IT LATER";
|
|
15609
|
+
var number_of_conversations$3 = "Number of conversations";
|
|
15610
|
+
var number_of_expected_conversations_based_on_the_goal$3 = "Number of expected conversations based on the goal";
|
|
15344
15611
|
var lang_es = {
|
|
15345
15612
|
dashboard: dashboard$3,
|
|
15346
15613
|
user: user$3,
|
|
@@ -15358,7 +15625,7 @@ var lang_es = {
|
|
|
15358
15625
|
readiness_to_learn: readiness_to_learn$3,
|
|
15359
15626
|
high_impact_learning_strategies: high_impact_learning_strategies$3,
|
|
15360
15627
|
"1_to_1": "1 a 1",
|
|
15361
|
-
check_in: check_in$
|
|
15628
|
+
check_in: check_in$3,
|
|
15362
15629
|
check_ins: check_ins$3,
|
|
15363
15630
|
reflection: reflection$3,
|
|
15364
15631
|
conferences: conferences$3,
|
|
@@ -17570,11 +17837,50 @@ var lang_es = {
|
|
|
17570
17837
|
type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$3,
|
|
17571
17838
|
please_add_title_note: please_add_title_note$3,
|
|
17572
17839
|
notes_and_logs: notes_and_logs$3,
|
|
17840
|
+
survey_portal: survey_portal$3,
|
|
17841
|
+
integrations: integrations$3,
|
|
17842
|
+
external_api: external_api$3,
|
|
17843
|
+
teacher_well_being: teacher_well_being$3,
|
|
17844
|
+
frequency_and_setup: frequency_and_setup$3,
|
|
17845
|
+
well_being_dashboard: well_being_dashboard$3,
|
|
17846
|
+
go_to_dashboard: go_to_dashboard$3,
|
|
17847
|
+
your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey: your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey$3,
|
|
17848
|
+
you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time: you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time$3,
|
|
17849
|
+
remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership: remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership$3,
|
|
17850
|
+
check_in_complete: check_in_complete$3,
|
|
17851
|
+
schedule_a_conversation: schedule_a_conversation$3,
|
|
17852
|
+
select_a_contact_to_speak_with: select_a_contact_to_speak_with$3,
|
|
17853
|
+
what_would_you_like_to_discuss: what_would_you_like_to_discuss$3,
|
|
17854
|
+
please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have: please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have$3,
|
|
17855
|
+
wellbeing_sections: wellbeing_sections$3,
|
|
17573
17856
|
school_monthly_usage: school_monthly_usage$3,
|
|
17574
17857
|
location: location$4,
|
|
17575
17858
|
edit_my_profile: edit_my_profile$3,
|
|
17576
17859
|
save_new_password: save_new_password$3,
|
|
17577
|
-
teacher_code: teacher_code$3
|
|
17860
|
+
teacher_code: teacher_code$3,
|
|
17861
|
+
my_well_being: my_well_being$3,
|
|
17862
|
+
my_well_Being_check_in: my_well_Being_check_in$3,
|
|
17863
|
+
my_sessions: my_sessions$3,
|
|
17864
|
+
your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$3,
|
|
17865
|
+
school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$3,
|
|
17866
|
+
save_filters: save_filters$3,
|
|
17867
|
+
clear_all_filters: clear_all_filters$3,
|
|
17868
|
+
my_well_being_check_in: my_well_being_check_in$3,
|
|
17869
|
+
unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$3,
|
|
17870
|
+
physical_well_being: physical_well_being$3,
|
|
17871
|
+
emotional_well_being: emotional_well_being$3,
|
|
17872
|
+
"self_care_&_balance": "Self-Care & Balance",
|
|
17873
|
+
social_well_being_relationships: social_well_being_relationships$3,
|
|
17874
|
+
social_well_being_environment: social_well_being_environment$3,
|
|
17875
|
+
intellectual_well_being: intellectual_well_being$3,
|
|
17876
|
+
colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$3,
|
|
17877
|
+
wellbeing_finished: wellbeing_finished$3,
|
|
17878
|
+
take_a_moment_for_you: take_a_moment_for_you$3,
|
|
17879
|
+
it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve: it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve$3,
|
|
17880
|
+
start_check_in_now: start_check_in_now$3,
|
|
17881
|
+
i_ll_do_it_later: i_ll_do_it_later$3,
|
|
17882
|
+
number_of_conversations: number_of_conversations$3,
|
|
17883
|
+
number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$3
|
|
17578
17884
|
};
|
|
17579
17885
|
|
|
17580
17886
|
var dashboard$4 = "仪表板";
|
|
@@ -17592,7 +17898,7 @@ var cancel$4 = "取消";
|
|
|
17592
17898
|
var hey$4 = "您好";
|
|
17593
17899
|
var readiness_to_learn$4 = "准备学习";
|
|
17594
17900
|
var high_impact_learning_strategies$4 = "高效学习策略";
|
|
17595
|
-
var check_in$
|
|
17901
|
+
var check_in$4 = "签到";
|
|
17596
17902
|
var check_ins$4 = "签到";
|
|
17597
17903
|
var reflection$4 = "反思";
|
|
17598
17904
|
var conferences$4 = "讨论会";
|
|
@@ -19679,7 +19985,7 @@ var add_1_1_conversation_notes$4 = "Add 1-1 Conversation notes";
|
|
|
19679
19985
|
var save_data$4 = "Save data";
|
|
19680
19986
|
var please_select_date_1_1_conversation$4 = "Please select date 1-1 conversation!";
|
|
19681
19987
|
var please_write_something_to_this_1_1_conversation$4 = "Please write something to this 1-1 conversation!";
|
|
19682
|
-
var data_1_1_conversation_cannot_exceed_300_characters$4 = "Data 1-1 conversation cannot exceed
|
|
19988
|
+
var data_1_1_conversation_cannot_exceed_300_characters$4 = "Data 1-1 conversation cannot exceed 1000 characters!";
|
|
19683
19989
|
var no_need_for_it$4 = "No need for it";
|
|
19684
19990
|
var conversation_saved$4 = "Conversation saved!";
|
|
19685
19991
|
var what_did_you_and_the_student_choose_as_an_action_step_would_you_like_to_add_it_as_a_goal$4 = "What did you and the student choose as an action step?<br/>Would you like to add it as a Goal?";
|
|
@@ -19696,7 +20002,7 @@ var yes_view_student_goals$4 = "Yes, view student goals";
|
|
|
19696
20002
|
var please_set_time_1_1_conversation$4 = "Please set time 1-1 conversation";
|
|
19697
20003
|
var type_your_answer_here$4 = "Type your answer here...";
|
|
19698
20004
|
var delete_bulk$4 = "Delete Bulk";
|
|
19699
|
-
var number_of_students_with_at_least_one_very_low_metric$4 = "
|
|
20005
|
+
var number_of_students_with_at_least_one_very_low_metric$4 = "Students with concerning metrics";
|
|
19700
20006
|
var this_flags_if_the_student_is_not_ready_to_learn_or_has_at_least_one_success_or_readiness_to_learn_metrics_under_40$4 = "This flags if the student is not ready to learn or has at least one success, or readiness to learn metrics under 40%";
|
|
19701
20007
|
var of_students_have_concerned_metrics$4 = "of students have concerned metrics";
|
|
19702
20008
|
var have_metrics_40$4 = "have metrics <40%";
|
|
@@ -19751,11 +20057,49 @@ var save_note$4 = "Save note";
|
|
|
19751
20057
|
var type_the_main_focus_of_this_session$4 = "Type the main focus of this session";
|
|
19752
20058
|
var please_add_title_note$4 = "Please add note title";
|
|
19753
20059
|
var notes_and_logs$4 = "Notes and Logs";
|
|
20060
|
+
var survey_portal$4 = "Survey Portal";
|
|
20061
|
+
var integrations$4 = "Integrations";
|
|
20062
|
+
var external_api$4 = "External Api";
|
|
20063
|
+
var teacher_well_being$4 = "Teacher Well-Being";
|
|
20064
|
+
var frequency_and_setup$4 = "Frequency and Setup";
|
|
20065
|
+
var well_being_dashboard$4 = "Well-Being Dashboard";
|
|
20066
|
+
var go_to_dashboard$4 = "Go to dashboard";
|
|
20067
|
+
var your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey$4 = "Your responses have been recorded and will help us better understand and support your well-being journey.";
|
|
20068
|
+
var you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time$4 = "You can view your personal well-being dashboard anytime to track your progress over time.";
|
|
20069
|
+
var remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership$4 = "Remember: Your individual responses remain private and confidential. Only aggregated data is shared with school leadership.";
|
|
20070
|
+
var check_in_complete$4 = "Check-in Complete!";
|
|
20071
|
+
var schedule_a_conversation$4 = "Schedule a Conversation";
|
|
20072
|
+
var select_a_contact_to_speak_with$4 = "Select a contact to speak with";
|
|
20073
|
+
var what_would_you_like_to_discuss$4 = "What would you like to discuss?";
|
|
20074
|
+
var please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have$4 = "Please describe what you'd like to talk about or any specific concerns you have...";
|
|
20075
|
+
var wellbeing_sections$4 = "Wellbeing Sections";
|
|
19754
20076
|
var school_monthly_usage$4 = "School Monthly Usage";
|
|
19755
20077
|
var location$5 = "Location";
|
|
19756
20078
|
var edit_my_profile$4 = "Edit My Profile";
|
|
19757
20079
|
var save_new_password$4 = "Save new password";
|
|
19758
20080
|
var teacher_code$4 = "Teacher code";
|
|
20081
|
+
var my_well_being$4 = "My Well-being";
|
|
20082
|
+
var my_well_Being_check_in$4 = "My Well-Being Check-in";
|
|
20083
|
+
var my_sessions$4 = "My Sessions";
|
|
20084
|
+
var your_personal_data_will_not_be_shared_with_anyone_else$4 = "Your personal data will <strong>not be shared</strong> with anyone else.";
|
|
20085
|
+
var school_leadership_will_only_see_aggregated_data$4 = "School leadership will only see aggregated data.";
|
|
20086
|
+
var save_filters$4 = "Save Filters";
|
|
20087
|
+
var clear_all_filters$4 = "Clear All Filters";
|
|
20088
|
+
var my_well_being_check_in$4 = "My Well-Being Check-in";
|
|
20089
|
+
var unless_you_specifically_choose_to_do_this$4 = "unless you specifically choose to do this.";
|
|
20090
|
+
var physical_well_being$4 = "Physical Well-Being";
|
|
20091
|
+
var emotional_well_being$4 = "Emotional Well-Being";
|
|
20092
|
+
var social_well_being_relationships$4 = "Social Well-Being - Relationships";
|
|
20093
|
+
var social_well_being_environment$4 = "Social Well-Being - Environment";
|
|
20094
|
+
var intellectual_well_being$4 = "Intellectual Well-Being";
|
|
20095
|
+
var colleague_or_staff_member_you_like_to_praise_or_thank$4 = "Colleague or staff member you'd like to praise or thank?";
|
|
20096
|
+
var wellbeing_finished$4 = "Wellbeing Finished";
|
|
20097
|
+
var take_a_moment_for_you$4 = "Take a Moment for You";
|
|
20098
|
+
var it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve$4 = "It’s time to take care of yourself. Start your Well-Being Check-In to reflect on how you’re doing and receive the support you deserve.";
|
|
20099
|
+
var start_check_in_now$4 = "START CHECK-IN NOW";
|
|
20100
|
+
var i_ll_do_it_later$4 = "I'LL DO IT LATER";
|
|
20101
|
+
var number_of_conversations$4 = "Number of conversations";
|
|
20102
|
+
var number_of_expected_conversations_based_on_the_goal$4 = "Number of expected conversations based on the goal";
|
|
19759
20103
|
var lang_zh = {
|
|
19760
20104
|
dashboard: dashboard$4,
|
|
19761
20105
|
user: user$4,
|
|
@@ -19773,7 +20117,7 @@ var lang_zh = {
|
|
|
19773
20117
|
readiness_to_learn: readiness_to_learn$4,
|
|
19774
20118
|
high_impact_learning_strategies: high_impact_learning_strategies$4,
|
|
19775
20119
|
"1_to_1": "一对一",
|
|
19776
|
-
check_in: check_in$
|
|
20120
|
+
check_in: check_in$4,
|
|
19777
20121
|
check_ins: check_ins$4,
|
|
19778
20122
|
reflection: reflection$4,
|
|
19779
20123
|
conferences: conferences$4,
|
|
@@ -21985,11 +22329,50 @@ var lang_zh = {
|
|
|
21985
22329
|
type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$4,
|
|
21986
22330
|
please_add_title_note: please_add_title_note$4,
|
|
21987
22331
|
notes_and_logs: notes_and_logs$4,
|
|
22332
|
+
survey_portal: survey_portal$4,
|
|
22333
|
+
integrations: integrations$4,
|
|
22334
|
+
external_api: external_api$4,
|
|
22335
|
+
teacher_well_being: teacher_well_being$4,
|
|
22336
|
+
frequency_and_setup: frequency_and_setup$4,
|
|
22337
|
+
well_being_dashboard: well_being_dashboard$4,
|
|
22338
|
+
go_to_dashboard: go_to_dashboard$4,
|
|
22339
|
+
your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey: your_responses_have_been_recorded_and_will_help_us_better_understand_and_support_your_well_being_journey$4,
|
|
22340
|
+
you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time: you_can_view_your_personal_well_being_dashboard_anytime_to_track_your_progress_over_time$4,
|
|
22341
|
+
remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership: remember_your_individual_responses_remain_private_and_confidential_only_aggregated_data_is_shared_with_school_leadership$4,
|
|
22342
|
+
check_in_complete: check_in_complete$4,
|
|
22343
|
+
schedule_a_conversation: schedule_a_conversation$4,
|
|
22344
|
+
select_a_contact_to_speak_with: select_a_contact_to_speak_with$4,
|
|
22345
|
+
what_would_you_like_to_discuss: what_would_you_like_to_discuss$4,
|
|
22346
|
+
please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have: please_describe_what_you_d_like_to_talk_about_or_any_specific_concerns_you_have$4,
|
|
22347
|
+
wellbeing_sections: wellbeing_sections$4,
|
|
21988
22348
|
school_monthly_usage: school_monthly_usage$4,
|
|
21989
22349
|
location: location$5,
|
|
21990
22350
|
edit_my_profile: edit_my_profile$4,
|
|
21991
22351
|
save_new_password: save_new_password$4,
|
|
21992
|
-
teacher_code: teacher_code$4
|
|
22352
|
+
teacher_code: teacher_code$4,
|
|
22353
|
+
my_well_being: my_well_being$4,
|
|
22354
|
+
my_well_Being_check_in: my_well_Being_check_in$4,
|
|
22355
|
+
my_sessions: my_sessions$4,
|
|
22356
|
+
your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$4,
|
|
22357
|
+
school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$4,
|
|
22358
|
+
save_filters: save_filters$4,
|
|
22359
|
+
clear_all_filters: clear_all_filters$4,
|
|
22360
|
+
my_well_being_check_in: my_well_being_check_in$4,
|
|
22361
|
+
unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$4,
|
|
22362
|
+
physical_well_being: physical_well_being$4,
|
|
22363
|
+
emotional_well_being: emotional_well_being$4,
|
|
22364
|
+
"self_care_&_balance": "Self-Care & Balance",
|
|
22365
|
+
social_well_being_relationships: social_well_being_relationships$4,
|
|
22366
|
+
social_well_being_environment: social_well_being_environment$4,
|
|
22367
|
+
intellectual_well_being: intellectual_well_being$4,
|
|
22368
|
+
colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$4,
|
|
22369
|
+
wellbeing_finished: wellbeing_finished$4,
|
|
22370
|
+
take_a_moment_for_you: take_a_moment_for_you$4,
|
|
22371
|
+
it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve: it_s_time_to_take_care_of_yourself_start_your_well_being_check_in_to_reflect_on_how_you_re_doing_and_receive_the_support_you_deserve$4,
|
|
22372
|
+
start_check_in_now: start_check_in_now$4,
|
|
22373
|
+
i_ll_do_it_later: i_ll_do_it_later$4,
|
|
22374
|
+
number_of_conversations: number_of_conversations$4,
|
|
22375
|
+
number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$4
|
|
21993
22376
|
};
|
|
21994
22377
|
|
|
21995
22378
|
var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
|
|
@@ -39578,6 +39961,7 @@ var showMenuBar = toolkit.createAction("common/showMenuBar");
|
|
|
39578
39961
|
var showFontSize = toolkit.createAction("common/showFontSize");
|
|
39579
39962
|
var setEnableIEP = toolkit.createAction("common/setEnableIEP");
|
|
39580
39963
|
var setEnableSurvey = toolkit.createAction("common/setEnableSurvey");
|
|
39964
|
+
var setEnableWellBeing = toolkit.createAction("common/setEnableWellBeing");
|
|
39581
39965
|
var setEnableMarioAi = toolkit.createAction("common/setEnableMarioAi");
|
|
39582
39966
|
var setSandboxMode = toolkit.createAction("common/setSandboxMode");
|
|
39583
39967
|
var setConversationOneToOne = toolkit.createAction("common/setConversationOneToOne");
|
|
@@ -41860,6 +42244,212 @@ var TheHeaderDropdown = function TheHeaderDropdown(_ref) {
|
|
|
41860
42244
|
})), t("log_out")))));
|
|
41861
42245
|
};
|
|
41862
42246
|
|
|
42247
|
+
var apiGetLanguage = function apiGetLanguage() {
|
|
42248
|
+
return api.get(BASE_URL + "/api/language");
|
|
42249
|
+
};
|
|
42250
|
+
|
|
42251
|
+
var apiUpdateLanguage = function apiUpdateLanguage(lang) {
|
|
42252
|
+
return api.put(BASE_URL + "/api/language?lang=" + lang);
|
|
42253
|
+
};
|
|
42254
|
+
|
|
42255
|
+
var LANGUAGE_SYSTEM = "LANGUAGE_SYSTEM";
|
|
42256
|
+
|
|
42257
|
+
var useLanguages = function useLanguages() {
|
|
42258
|
+
var dispatch = reactRedux.useDispatch();
|
|
42259
|
+
|
|
42260
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
42261
|
+
i18n = _useTranslation.i18n;
|
|
42262
|
+
|
|
42263
|
+
var language = reactRedux.useSelector(function (state) {
|
|
42264
|
+
return state.common.language;
|
|
42265
|
+
});
|
|
42266
|
+
var defaultLanguage = getCookieValue(LANGUAGE_SYSTEM) != null ? getCookieValue(LANGUAGE_SYSTEM) : DEFAULT_LANGUAGE_CODE;
|
|
42267
|
+
|
|
42268
|
+
var _useState = React.useState([]),
|
|
42269
|
+
languageList = _useState[0],
|
|
42270
|
+
setLanguageList = _useState[1];
|
|
42271
|
+
|
|
42272
|
+
var _useState2 = React.useState(false),
|
|
42273
|
+
dropdownOpen = _useState2[0],
|
|
42274
|
+
setDropdownOpen = _useState2[1];
|
|
42275
|
+
|
|
42276
|
+
var _useState3 = React.useState(defaultLanguage),
|
|
42277
|
+
currentLang = _useState3[0],
|
|
42278
|
+
setCurrentLang = _useState3[1];
|
|
42279
|
+
|
|
42280
|
+
var toggle = function toggle() {
|
|
42281
|
+
return setDropdownOpen(function (prevState) {
|
|
42282
|
+
return !prevState;
|
|
42283
|
+
});
|
|
42284
|
+
};
|
|
42285
|
+
|
|
42286
|
+
var changeLanguageApp = function changeLanguageApp(lang) {
|
|
42287
|
+
try {
|
|
42288
|
+
var _temp3 = function _temp3() {
|
|
42289
|
+
dispatch(setLoading(false));
|
|
42290
|
+
};
|
|
42291
|
+
|
|
42292
|
+
dispatch(setLoading(true));
|
|
42293
|
+
|
|
42294
|
+
var _temp4 = _catch(function () {
|
|
42295
|
+
return Promise.resolve(apiUpdateLanguage(lang)).then(function () {
|
|
42296
|
+
i18n.changeLanguage(lang);
|
|
42297
|
+
setCurrentLang(lang);
|
|
42298
|
+
dispatch(setLanguage(lang));
|
|
42299
|
+
});
|
|
42300
|
+
}, function (err) {
|
|
42301
|
+
var _err$response, _err$response$data;
|
|
42302
|
+
|
|
42303
|
+
dispatch(setAlert({
|
|
42304
|
+
type: "danger",
|
|
42305
|
+
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
|
|
42306
|
+
}));
|
|
42307
|
+
});
|
|
42308
|
+
|
|
42309
|
+
return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp3) : _temp3(_temp4));
|
|
42310
|
+
} catch (e) {
|
|
42311
|
+
return Promise.reject(e);
|
|
42312
|
+
}
|
|
42313
|
+
};
|
|
42314
|
+
|
|
42315
|
+
var getListLanguage = function getListLanguage() {
|
|
42316
|
+
try {
|
|
42317
|
+
var _temp6 = _catch(function () {
|
|
42318
|
+
return Promise.resolve(apiGetLanguage()).then(function (res) {
|
|
42319
|
+
setLanguageList(res.data);
|
|
42320
|
+
});
|
|
42321
|
+
}, function (err) {
|
|
42322
|
+
var _err$response2, _err$response2$data;
|
|
42323
|
+
|
|
42324
|
+
dispatch(setAlert({
|
|
42325
|
+
type: "danger",
|
|
42326
|
+
message: ((_err$response2 = err.response) === null || _err$response2 === void 0 ? void 0 : (_err$response2$data = _err$response2.data) === null || _err$response2$data === void 0 ? void 0 : _err$response2$data.title) || err.message
|
|
42327
|
+
}));
|
|
42328
|
+
});
|
|
42329
|
+
|
|
42330
|
+
return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
|
|
42331
|
+
} catch (e) {
|
|
42332
|
+
return Promise.reject(e);
|
|
42333
|
+
}
|
|
42334
|
+
};
|
|
42335
|
+
|
|
42336
|
+
React.useEffect(function () {
|
|
42337
|
+
defaultLanguage != language && changeLanguageApp(defaultLanguage);
|
|
42338
|
+
getListLanguage();
|
|
42339
|
+
}, []);
|
|
42340
|
+
return {
|
|
42341
|
+
languageList: languageList,
|
|
42342
|
+
toggle: toggle,
|
|
42343
|
+
dropdownOpen: dropdownOpen,
|
|
42344
|
+
currentLang: currentLang,
|
|
42345
|
+
changeLanguageApp: changeLanguageApp,
|
|
42346
|
+
setCurrentLang: setCurrentLang
|
|
42347
|
+
};
|
|
42348
|
+
};
|
|
42349
|
+
|
|
42350
|
+
var TheLanguageDropdown = function TheLanguageDropdown() {
|
|
42351
|
+
var _useLanguages = useLanguages(),
|
|
42352
|
+
languageList = _useLanguages.languageList,
|
|
42353
|
+
toggle = _useLanguages.toggle,
|
|
42354
|
+
dropdownOpen = _useLanguages.dropdownOpen,
|
|
42355
|
+
currentLang = _useLanguages.currentLang,
|
|
42356
|
+
changeLanguageApp = _useLanguages.changeLanguageApp;
|
|
42357
|
+
|
|
42358
|
+
var currentLanguage = React.useMemo(function () {
|
|
42359
|
+
var current = languageList.find(function (i) {
|
|
42360
|
+
return i.code === currentLang;
|
|
42361
|
+
});
|
|
42362
|
+
if (!current) return null;
|
|
42363
|
+
return React__default.createElement(React__default.Fragment, null, React__default.createElement("img", {
|
|
42364
|
+
className: "mr-2 " + styles['dropdown-menu-flag'],
|
|
42365
|
+
src: "" + getStaticFileUrl(current.image)
|
|
42366
|
+
}), " ", current.name);
|
|
42367
|
+
}, [currentLang, languageList]);
|
|
42368
|
+
return React__default.createElement(reactstrap.Dropdown, {
|
|
42369
|
+
isOpen: dropdownOpen,
|
|
42370
|
+
toggle: toggle,
|
|
42371
|
+
className: "" + styles["dropdown-menu"]
|
|
42372
|
+
}, React__default.createElement(reactstrap.DropdownToggle, {
|
|
42373
|
+
className: styles["header-avatar"] + " d-flex align-items-center"
|
|
42374
|
+
}, React__default.createElement("span", {
|
|
42375
|
+
style: {
|
|
42376
|
+
color: "#000",
|
|
42377
|
+
textTransform: "capitalize",
|
|
42378
|
+
display: 'flex',
|
|
42379
|
+
alignItems: 'center'
|
|
42380
|
+
}
|
|
42381
|
+
}, currentLanguage, React__default.createElement(bs.BsChevronDown, {
|
|
42382
|
+
className: "ml-2",
|
|
42383
|
+
style: {
|
|
42384
|
+
fontSize: '10px'
|
|
42385
|
+
}
|
|
42386
|
+
}))), React__default.createElement(reactstrap.DropdownMenu, {
|
|
42387
|
+
className: styles["dropdown-content-language"]
|
|
42388
|
+
}, !!languageList && languageList.length > 0 && languageList.map(function (lang, index) {
|
|
42389
|
+
return React__default.createElement(reactstrap.DropdownItem, {
|
|
42390
|
+
key: lang.code,
|
|
42391
|
+
className: styles["dropdown-change"] + " px-0 py-0 " + (index === languageList.length - 1 ? "pb-2" : "pt-2"),
|
|
42392
|
+
onClick: function onClick() {
|
|
42393
|
+
return changeLanguageApp(lang.code);
|
|
42394
|
+
}
|
|
42395
|
+
}, React__default.createElement("div", {
|
|
42396
|
+
className: styles["dropdown-item-language"] + " " + styles["item-logout"] + " " + (currentLang == lang.code ? styles['dropdown-item-language-active'] : "") + " d-flex align-items-center w-100"
|
|
42397
|
+
}, React__default.createElement("span", {
|
|
42398
|
+
className: "mr-2 d-flex hover-opacity"
|
|
42399
|
+
}, React__default.createElement("img", {
|
|
42400
|
+
style: {
|
|
42401
|
+
width: "30px",
|
|
42402
|
+
height: "25px",
|
|
42403
|
+
borderRadius: "5px"
|
|
42404
|
+
},
|
|
42405
|
+
src: getStaticFileUrl(lang.image)
|
|
42406
|
+
})), lang.name));
|
|
42407
|
+
})));
|
|
42408
|
+
};
|
|
42409
|
+
|
|
42410
|
+
var TheHeader = function TheHeader(_ref) {
|
|
42411
|
+
var onToggleModel = _ref.onToggleModel;
|
|
42412
|
+
var dispatch = reactRedux.useDispatch();
|
|
42413
|
+
var sidebarShow = reactRedux.useSelector(function (state) {
|
|
42414
|
+
return state.common.sidebarShow;
|
|
42415
|
+
});
|
|
42416
|
+
|
|
42417
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
42418
|
+
t = _useTranslation.t;
|
|
42419
|
+
|
|
42420
|
+
var toggleSidebarMobile = function toggleSidebarMobile() {
|
|
42421
|
+
var val = [false, "responsive"].includes(sidebarShow) ? true : "responsive";
|
|
42422
|
+
dispatch(setSidebar(val));
|
|
42423
|
+
};
|
|
42424
|
+
|
|
42425
|
+
var isDistrict = window.location.host.includes("-district");
|
|
42426
|
+
return React__default.createElement(react.CHeader, {
|
|
42427
|
+
withSubheader: true,
|
|
42428
|
+
className: "d-flex align-items-center justify-content-end"
|
|
42429
|
+
}, React__default.createElement(react.CToggler, {
|
|
42430
|
+
inHeader: true,
|
|
42431
|
+
className: "ml-md-3 d-lg-none",
|
|
42432
|
+
onClick: toggleSidebarMobile
|
|
42433
|
+
}), React__default.createElement(react.CHeaderBrand, {
|
|
42434
|
+
className: "mx-auto flex-grow-1 d-lg-none",
|
|
42435
|
+
to: "/"
|
|
42436
|
+
}, React__default.createElement("img", {
|
|
42437
|
+
src: getStaticFileUrl(Images.LOGO_HEADER),
|
|
42438
|
+
className: styles["header-logo"]
|
|
42439
|
+
})), React__default.createElement(react.CHeaderNav, {
|
|
42440
|
+
className: "pr-3"
|
|
42441
|
+
}, React__default.createElement(TheLanguageDropdown, null), React__default.createElement("a", {
|
|
42442
|
+
className: "mr-3",
|
|
42443
|
+
style: {
|
|
42444
|
+
color: '#000'
|
|
42445
|
+
},
|
|
42446
|
+
href: '/privacy-policy',
|
|
42447
|
+
target: "blank"
|
|
42448
|
+
}, t("privacy_policy")), !isDistrict && React__default.createElement(NotificationButton, null), React__default.createElement(TheHeaderDropdown, {
|
|
42449
|
+
onToggleModel: onToggleModel
|
|
42450
|
+
})));
|
|
42451
|
+
};
|
|
42452
|
+
|
|
41863
42453
|
var TITLE$3 = "Not found";
|
|
41864
42454
|
|
|
41865
42455
|
var NotFound = function NotFound() {
|
|
@@ -41917,6 +42507,258 @@ var TheContent = function TheContent(_ref) {
|
|
|
41917
42507
|
|
|
41918
42508
|
var TheContent$1 = React__default.memo(TheContent);
|
|
41919
42509
|
|
|
42510
|
+
var loadingStyle = {
|
|
42511
|
+
minWidth: "100vw",
|
|
42512
|
+
minHeight: "100vh",
|
|
42513
|
+
position: "fixed",
|
|
42514
|
+
top: 0,
|
|
42515
|
+
left: 0,
|
|
42516
|
+
zIndex: 999999999,
|
|
42517
|
+
backgroundColor: "rgba(0, 0, 0, 0.4)",
|
|
42518
|
+
display: "flex",
|
|
42519
|
+
justifyContent: "center",
|
|
42520
|
+
alignItems: "center"
|
|
42521
|
+
};
|
|
42522
|
+
|
|
42523
|
+
var Loading = function Loading() {
|
|
42524
|
+
var isLoading = reactRedux.useSelector(function (state) {
|
|
42525
|
+
return state.common.isLoading;
|
|
42526
|
+
});
|
|
42527
|
+
localStorage.setItem("LAST_TIME_REQUETST", moment().utc().format("YYYY-MM-DD HH:mm:ss"));
|
|
42528
|
+
return isLoading ? React__default.createElement("div", {
|
|
42529
|
+
style: loadingStyle
|
|
42530
|
+
}, React__default.createElement("div", {
|
|
42531
|
+
className: "spinner-border text-secondary",
|
|
42532
|
+
role: "status"
|
|
42533
|
+
}, React__default.createElement("span", {
|
|
42534
|
+
className: "sr-only"
|
|
42535
|
+
}, "Loading..."))) : null;
|
|
42536
|
+
};
|
|
42537
|
+
|
|
42538
|
+
var firstCheckToken = function firstCheckToken() {
|
|
42539
|
+
return Promise.resolve(_catch(function () {
|
|
42540
|
+
var token = getAccessToken();
|
|
42541
|
+
return token ? Promise.resolve(checkToken(token)).then(function (tokenStatus) {
|
|
42542
|
+
return tokenStatus.data ? true : false;
|
|
42543
|
+
}) : false;
|
|
42544
|
+
}, function () {
|
|
42545
|
+
return false;
|
|
42546
|
+
}));
|
|
42547
|
+
};
|
|
42548
|
+
|
|
42549
|
+
var canAccess = function canAccess(userRoles, componentRoles) {
|
|
42550
|
+
if (!Array.isArray(userRoles)) {
|
|
42551
|
+
return false;
|
|
42552
|
+
}
|
|
42553
|
+
|
|
42554
|
+
if (Array.isArray(componentRoles)) {
|
|
42555
|
+
var intersects = userRoles.filter(function (i) {
|
|
42556
|
+
return componentRoles.includes(i);
|
|
42557
|
+
});
|
|
42558
|
+
return intersects.length > 0;
|
|
42559
|
+
}
|
|
42560
|
+
|
|
42561
|
+
return true;
|
|
42562
|
+
};
|
|
42563
|
+
|
|
42564
|
+
var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
42565
|
+
var _handleUserRole;
|
|
42566
|
+
|
|
42567
|
+
var open = _ref.open,
|
|
42568
|
+
onToggleModel = _ref.onToggleModel;
|
|
42569
|
+
var dispatch = reactRedux.useDispatch();
|
|
42570
|
+
|
|
42571
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
42572
|
+
t = _useTranslation.t;
|
|
42573
|
+
|
|
42574
|
+
var history = reactRouterDom.useHistory();
|
|
42575
|
+
var pathname = window.location.pathname;
|
|
42576
|
+
var user = reactRedux.useSelector(function (state) {
|
|
42577
|
+
return state.common.user;
|
|
42578
|
+
});
|
|
42579
|
+
var roles = user === null || user === void 0 ? void 0 : user.roles;
|
|
42580
|
+
|
|
42581
|
+
var handleSelectUserRoles = function handleSelectUserRoles(roles) {
|
|
42582
|
+
dispatch(setLoading(true));
|
|
42583
|
+
var roleSelect = roles.includes("Teacher/Assistant") ? ["Teacher", "Assistant"] : roles;
|
|
42584
|
+
dispatch(setUser(_extends({}, user, {
|
|
42585
|
+
roles: roleSelect
|
|
42586
|
+
})));
|
|
42587
|
+
localStorage.setItem("ROLES", roleSelect.toString());
|
|
42588
|
+
onToggleModel();
|
|
42589
|
+
|
|
42590
|
+
if (roles.includes("Parent")) {
|
|
42591
|
+
history.push("/parent");
|
|
42592
|
+
} else if (roles.includes("Admin")) {
|
|
42593
|
+
history.push("/admin/home");
|
|
42594
|
+
} else {
|
|
42595
|
+
pathname !== "/home" ? history.push("/home") : window.location.reload();
|
|
42596
|
+
}
|
|
42597
|
+
};
|
|
42598
|
+
|
|
42599
|
+
return React__default.createElement(reactstrap.Modal, {
|
|
42600
|
+
isOpen: open,
|
|
42601
|
+
toggle: function toggle() {
|
|
42602
|
+
return onToggleModel();
|
|
42603
|
+
},
|
|
42604
|
+
className: "" + styles["model-switch-roles"],
|
|
42605
|
+
centered: true
|
|
42606
|
+
}, React__default.createElement("p", {
|
|
42607
|
+
className: "" + styles["title"]
|
|
42608
|
+
}, t("continue_as")), React__default.createElement("div", null, (_handleUserRole = handleUserRole(user === null || user === void 0 ? void 0 : user.roles)) === null || _handleUserRole === void 0 ? void 0 : _handleUserRole.map(function (r) {
|
|
42609
|
+
return React__default.createElement("p", {
|
|
42610
|
+
key: r,
|
|
42611
|
+
className: styles["item-select-role"] + " " + styles[roles.includes("Teacher") && roles.includes("Assistant") && r === "Teacher/Assistant" && !roles.includes("Admin") || roles.includes("Admin") && r === "Admin" || roles.includes(r) && !roles.includes("Admin") ? "item-role-active" : ""],
|
|
42612
|
+
onClick: function onClick() {
|
|
42613
|
+
return handleSelectUserRoles([r]);
|
|
42614
|
+
}
|
|
42615
|
+
}, r == "SecondaryTeacher" ? "Support Teacher" : r);
|
|
42616
|
+
})));
|
|
42617
|
+
};
|
|
42618
|
+
|
|
42619
|
+
var TheLayout = function TheLayout(_ref) {
|
|
42620
|
+
var routes = _ref.routes,
|
|
42621
|
+
navigation = _ref.navigation;
|
|
42622
|
+
var history = reactRouterDom.useHistory();
|
|
42623
|
+
var dispatch = reactRedux.useDispatch();
|
|
42624
|
+
var user = reactRedux.useSelector(function (state) {
|
|
42625
|
+
return state.common.user;
|
|
42626
|
+
});
|
|
42627
|
+
var language = reactRedux.useSelector(function (state) {
|
|
42628
|
+
return state.common.language;
|
|
42629
|
+
});
|
|
42630
|
+
|
|
42631
|
+
var _useState = React.useState(false),
|
|
42632
|
+
openModelSelectRole = _useState[0],
|
|
42633
|
+
setOpenModelSelectRole = _useState[1];
|
|
42634
|
+
|
|
42635
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
42636
|
+
t = _useTranslation.t;
|
|
42637
|
+
|
|
42638
|
+
var location = reactRouterDom.useLocation();
|
|
42639
|
+
var isNotification = location.pathname.includes("notifications");
|
|
42640
|
+
var isDistrict = window.location.host.includes("-district");
|
|
42641
|
+
|
|
42642
|
+
var handleToggleModel = function handleToggleModel() {
|
|
42643
|
+
setOpenModelSelectRole(!openModelSelectRole);
|
|
42644
|
+
};
|
|
42645
|
+
|
|
42646
|
+
var authRoutes = React.useMemo(function () {
|
|
42647
|
+
return routes.filter(function (route) {
|
|
42648
|
+
return canAccess(user === null || user === void 0 ? void 0 : user.roles, route.roles);
|
|
42649
|
+
}).filter(function (route) {
|
|
42650
|
+
return !!route.isDistrict === isDistrict;
|
|
42651
|
+
});
|
|
42652
|
+
}, [user, language]);
|
|
42653
|
+
var authNavigations = React.useMemo(function () {
|
|
42654
|
+
return navigation.map(function (item) {
|
|
42655
|
+
var _item$_children, _item$_children2;
|
|
42656
|
+
|
|
42657
|
+
return _extends({}, item, {
|
|
42658
|
+
name: t(item.name),
|
|
42659
|
+
_children: item !== null && item !== void 0 && (_item$_children = item._children) !== null && _item$_children !== void 0 && _item$_children.length ? item === null || item === void 0 ? void 0 : (_item$_children2 = item._children) === null || _item$_children2 === void 0 ? void 0 : _item$_children2.map(function (x) {
|
|
42660
|
+
return _extends({}, x, {
|
|
42661
|
+
name: t(x.name)
|
|
42662
|
+
});
|
|
42663
|
+
}) : undefined
|
|
42664
|
+
});
|
|
42665
|
+
}).filter(function (nav) {
|
|
42666
|
+
return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
|
|
42667
|
+
}).filter(function (nav) {
|
|
42668
|
+
return !!nav.isDistrict === isDistrict;
|
|
42669
|
+
});
|
|
42670
|
+
}, [user, language]);
|
|
42671
|
+
|
|
42672
|
+
var getInformationSetting = function getInformationSetting() {
|
|
42673
|
+
try {
|
|
42674
|
+
var _temp2 = _catch(function () {
|
|
42675
|
+
return Promise.resolve(getSchoolSettings()).then(function (res) {
|
|
42676
|
+
dispatch(setSandboxMode(res.data.isSandboxMode));
|
|
42677
|
+
});
|
|
42678
|
+
}, function (err) {
|
|
42679
|
+
console.error(err);
|
|
42680
|
+
});
|
|
42681
|
+
|
|
42682
|
+
return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(function () {}) : void 0);
|
|
42683
|
+
} catch (e) {
|
|
42684
|
+
return Promise.reject(e);
|
|
42685
|
+
}
|
|
42686
|
+
};
|
|
42687
|
+
|
|
42688
|
+
React.useEffect(function () {
|
|
42689
|
+
checkAuthentication();
|
|
42690
|
+
}, []);
|
|
42691
|
+
React.useEffect(function () {
|
|
42692
|
+
getInformationSetting();
|
|
42693
|
+
}, [location.pathname]);
|
|
42694
|
+
|
|
42695
|
+
var checkAuthentication = function checkAuthentication() {
|
|
42696
|
+
try {
|
|
42697
|
+
var _temp4 = _catch(function () {
|
|
42698
|
+
return Promise.resolve(firstCheckToken()).then(function (tokenStatus) {
|
|
42699
|
+
tokenStatus ? loadInfo() : resetAuth();
|
|
42700
|
+
});
|
|
42701
|
+
}, function () {
|
|
42702
|
+
resetAuth();
|
|
42703
|
+
});
|
|
42704
|
+
|
|
42705
|
+
return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(function () {}) : void 0);
|
|
42706
|
+
} catch (e) {
|
|
42707
|
+
return Promise.reject(e);
|
|
42708
|
+
}
|
|
42709
|
+
};
|
|
42710
|
+
|
|
42711
|
+
var loadInfo = function loadInfo() {
|
|
42712
|
+
try {
|
|
42713
|
+
var _temp6 = _catch(function () {
|
|
42714
|
+
return Promise.resolve(getInfo()).then(function (info) {
|
|
42715
|
+
var _info$data, _info$data$roles;
|
|
42716
|
+
|
|
42717
|
+
if (!info || !(info !== null && info !== void 0 && (_info$data = info.data) !== null && _info$data !== void 0 && (_info$data$roles = _info$data.roles) !== null && _info$data$roles !== void 0 && _info$data$roles.includes("Admin"))) {
|
|
42718
|
+
resetAuth();
|
|
42719
|
+
}
|
|
42720
|
+
|
|
42721
|
+
dispatch(setUser(info.data));
|
|
42722
|
+
});
|
|
42723
|
+
}, function () {
|
|
42724
|
+
resetAuth();
|
|
42725
|
+
});
|
|
42726
|
+
|
|
42727
|
+
return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
|
|
42728
|
+
} catch (e) {
|
|
42729
|
+
return Promise.reject(e);
|
|
42730
|
+
}
|
|
42731
|
+
};
|
|
42732
|
+
|
|
42733
|
+
var resetAuth = function resetAuth() {
|
|
42734
|
+
localStorage.removeItem(ACCESS_TOKEN);
|
|
42735
|
+
sessionStorage.removeItem(ACCESS_TOKEN);
|
|
42736
|
+
localStorage.removeItem("ROLES");
|
|
42737
|
+
history.push("/");
|
|
42738
|
+
};
|
|
42739
|
+
|
|
42740
|
+
if (!user) {
|
|
42741
|
+
return React__default.createElement(Loading, null);
|
|
42742
|
+
}
|
|
42743
|
+
|
|
42744
|
+
return React__default.createElement("div", {
|
|
42745
|
+
className: "c-app c-default-layout"
|
|
42746
|
+
}, !isNotification && React__default.createElement(TheSidebar, {
|
|
42747
|
+
navigation: authNavigations
|
|
42748
|
+
}), React__default.createElement("div", {
|
|
42749
|
+
className: "c-wrapper"
|
|
42750
|
+
}, !isNotification && React__default.createElement(TheHeader, {
|
|
42751
|
+
onToggleModel: handleToggleModel
|
|
42752
|
+
}), React__default.createElement("div", {
|
|
42753
|
+
className: "c-body bg-white"
|
|
42754
|
+
}, React__default.createElement(TheContent$1, {
|
|
42755
|
+
routes: authRoutes
|
|
42756
|
+
}))), React__default.createElement(ModelSelectRole, {
|
|
42757
|
+
open: openModelSelectRole,
|
|
42758
|
+
onToggleModel: handleToggleModel
|
|
42759
|
+
}));
|
|
42760
|
+
};
|
|
42761
|
+
|
|
41920
42762
|
var buttonTextStyle = {
|
|
41921
42763
|
fontWeight: 500
|
|
41922
42764
|
};
|
|
@@ -51263,34 +52105,6 @@ var UserDetail = function UserDetail() {
|
|
|
51263
52105
|
});
|
|
51264
52106
|
};
|
|
51265
52107
|
|
|
51266
|
-
var loadingStyle = {
|
|
51267
|
-
minWidth: "100vw",
|
|
51268
|
-
minHeight: "100vh",
|
|
51269
|
-
position: "fixed",
|
|
51270
|
-
top: 0,
|
|
51271
|
-
left: 0,
|
|
51272
|
-
zIndex: 999999999,
|
|
51273
|
-
backgroundColor: "rgba(0, 0, 0, 0.4)",
|
|
51274
|
-
display: "flex",
|
|
51275
|
-
justifyContent: "center",
|
|
51276
|
-
alignItems: "center"
|
|
51277
|
-
};
|
|
51278
|
-
|
|
51279
|
-
var Loading = function Loading() {
|
|
51280
|
-
var isLoading = reactRedux.useSelector(function (state) {
|
|
51281
|
-
return state.common.isLoading;
|
|
51282
|
-
});
|
|
51283
|
-
localStorage.setItem("LAST_TIME_REQUETST", moment().utc().format("YYYY-MM-DD HH:mm:ss"));
|
|
51284
|
-
return isLoading ? React__default.createElement("div", {
|
|
51285
|
-
style: loadingStyle
|
|
51286
|
-
}, React__default.createElement("div", {
|
|
51287
|
-
className: "spinner-border text-secondary",
|
|
51288
|
-
role: "status"
|
|
51289
|
-
}, React__default.createElement("span", {
|
|
51290
|
-
className: "sr-only"
|
|
51291
|
-
}, "Loading..."))) : null;
|
|
51292
|
-
};
|
|
51293
|
-
|
|
51294
52108
|
var ScrollToTop = function ScrollToTop() {
|
|
51295
52109
|
var _useLocation = reactRouterDom.useLocation(),
|
|
51296
52110
|
pathname = _useLocation.pathname;
|
|
@@ -53386,6 +54200,8 @@ var commonReducer = toolkit.createReducer(initialState, function (builder) {
|
|
|
53386
54200
|
state.isEnableIEP = action.payload;
|
|
53387
54201
|
}).addCase(setEnableSurvey, function (state, action) {
|
|
53388
54202
|
state.isEnableSurvey = action.payload;
|
|
54203
|
+
}).addCase(setEnableWellBeing, function (state, action) {
|
|
54204
|
+
state.isEnableWellBeing = action.payload;
|
|
53389
54205
|
}).addCase(setEnableMarioAi, function (state, action) {
|
|
53390
54206
|
state.isEnableMarioAi = action.payload;
|
|
53391
54207
|
}).addCase(setConversationOneToOne, function (state, action) {
|
|
@@ -54314,32 +55130,6 @@ var store = toolkit.configureStore({
|
|
|
54314
55130
|
}
|
|
54315
55131
|
});
|
|
54316
55132
|
|
|
54317
|
-
var firstCheckToken = function firstCheckToken() {
|
|
54318
|
-
return Promise.resolve(_catch(function () {
|
|
54319
|
-
var token = getAccessToken();
|
|
54320
|
-
return token ? Promise.resolve(checkToken(token)).then(function (tokenStatus) {
|
|
54321
|
-
return tokenStatus.data ? true : false;
|
|
54322
|
-
}) : false;
|
|
54323
|
-
}, function () {
|
|
54324
|
-
return false;
|
|
54325
|
-
}));
|
|
54326
|
-
};
|
|
54327
|
-
|
|
54328
|
-
var canAccess = function canAccess(userRoles, componentRoles) {
|
|
54329
|
-
if (!Array.isArray(userRoles)) {
|
|
54330
|
-
return false;
|
|
54331
|
-
}
|
|
54332
|
-
|
|
54333
|
-
if (Array.isArray(componentRoles)) {
|
|
54334
|
-
var intersects = userRoles.filter(function (i) {
|
|
54335
|
-
return componentRoles.includes(i);
|
|
54336
|
-
});
|
|
54337
|
-
return intersects.length > 0;
|
|
54338
|
-
}
|
|
54339
|
-
|
|
54340
|
-
return true;
|
|
54341
|
-
};
|
|
54342
|
-
|
|
54343
55133
|
var isInViewport = function isInViewport(el) {
|
|
54344
55134
|
var rect = el === null || el === void 0 ? void 0 : el.getBoundingClientRect();
|
|
54345
55135
|
return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth);
|
|
@@ -54373,410 +55163,6 @@ var generateRandomString = (function () {
|
|
|
54373
55163
|
return (Math.random() + 1).toString(36).substring(7);
|
|
54374
55164
|
});
|
|
54375
55165
|
|
|
54376
|
-
var apiGetLanguage = function apiGetLanguage() {
|
|
54377
|
-
return api.get(BASE_URL + "/api/language");
|
|
54378
|
-
};
|
|
54379
|
-
|
|
54380
|
-
var apiUpdateLanguage = function apiUpdateLanguage(lang) {
|
|
54381
|
-
return api.put(BASE_URL + "/api/language?lang=" + lang);
|
|
54382
|
-
};
|
|
54383
|
-
|
|
54384
|
-
var LANGUAGE_SYSTEM = "LANGUAGE_SYSTEM";
|
|
54385
|
-
|
|
54386
|
-
var useLanguages = function useLanguages() {
|
|
54387
|
-
var dispatch = reactRedux.useDispatch();
|
|
54388
|
-
|
|
54389
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
54390
|
-
i18n = _useTranslation.i18n;
|
|
54391
|
-
|
|
54392
|
-
var language = reactRedux.useSelector(function (state) {
|
|
54393
|
-
return state.common.language;
|
|
54394
|
-
});
|
|
54395
|
-
var defaultLanguage = getCookieValue(LANGUAGE_SYSTEM) != null ? getCookieValue(LANGUAGE_SYSTEM) : DEFAULT_LANGUAGE_CODE;
|
|
54396
|
-
|
|
54397
|
-
var _useState = React.useState([]),
|
|
54398
|
-
languageList = _useState[0],
|
|
54399
|
-
setLanguageList = _useState[1];
|
|
54400
|
-
|
|
54401
|
-
var _useState2 = React.useState(false),
|
|
54402
|
-
dropdownOpen = _useState2[0],
|
|
54403
|
-
setDropdownOpen = _useState2[1];
|
|
54404
|
-
|
|
54405
|
-
var _useState3 = React.useState(defaultLanguage),
|
|
54406
|
-
currentLang = _useState3[0],
|
|
54407
|
-
setCurrentLang = _useState3[1];
|
|
54408
|
-
|
|
54409
|
-
var toggle = function toggle() {
|
|
54410
|
-
return setDropdownOpen(function (prevState) {
|
|
54411
|
-
return !prevState;
|
|
54412
|
-
});
|
|
54413
|
-
};
|
|
54414
|
-
|
|
54415
|
-
var changeLanguageApp = function changeLanguageApp(lang) {
|
|
54416
|
-
try {
|
|
54417
|
-
var _temp3 = function _temp3() {
|
|
54418
|
-
dispatch(setLoading(false));
|
|
54419
|
-
};
|
|
54420
|
-
|
|
54421
|
-
dispatch(setLoading(true));
|
|
54422
|
-
|
|
54423
|
-
var _temp4 = _catch(function () {
|
|
54424
|
-
return Promise.resolve(apiUpdateLanguage(lang)).then(function () {
|
|
54425
|
-
i18n.changeLanguage(lang);
|
|
54426
|
-
setCurrentLang(lang);
|
|
54427
|
-
dispatch(setLanguage(lang));
|
|
54428
|
-
});
|
|
54429
|
-
}, function (err) {
|
|
54430
|
-
var _err$response, _err$response$data;
|
|
54431
|
-
|
|
54432
|
-
dispatch(setAlert({
|
|
54433
|
-
type: "danger",
|
|
54434
|
-
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
|
|
54435
|
-
}));
|
|
54436
|
-
});
|
|
54437
|
-
|
|
54438
|
-
return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp3) : _temp3(_temp4));
|
|
54439
|
-
} catch (e) {
|
|
54440
|
-
return Promise.reject(e);
|
|
54441
|
-
}
|
|
54442
|
-
};
|
|
54443
|
-
|
|
54444
|
-
var getListLanguage = function getListLanguage() {
|
|
54445
|
-
try {
|
|
54446
|
-
var _temp6 = _catch(function () {
|
|
54447
|
-
return Promise.resolve(apiGetLanguage()).then(function (res) {
|
|
54448
|
-
setLanguageList(res.data);
|
|
54449
|
-
});
|
|
54450
|
-
}, function (err) {
|
|
54451
|
-
var _err$response2, _err$response2$data;
|
|
54452
|
-
|
|
54453
|
-
dispatch(setAlert({
|
|
54454
|
-
type: "danger",
|
|
54455
|
-
message: ((_err$response2 = err.response) === null || _err$response2 === void 0 ? void 0 : (_err$response2$data = _err$response2.data) === null || _err$response2$data === void 0 ? void 0 : _err$response2$data.title) || err.message
|
|
54456
|
-
}));
|
|
54457
|
-
});
|
|
54458
|
-
|
|
54459
|
-
return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
|
|
54460
|
-
} catch (e) {
|
|
54461
|
-
return Promise.reject(e);
|
|
54462
|
-
}
|
|
54463
|
-
};
|
|
54464
|
-
|
|
54465
|
-
React.useEffect(function () {
|
|
54466
|
-
defaultLanguage != language && changeLanguageApp(defaultLanguage);
|
|
54467
|
-
getListLanguage();
|
|
54468
|
-
}, []);
|
|
54469
|
-
return {
|
|
54470
|
-
languageList: languageList,
|
|
54471
|
-
toggle: toggle,
|
|
54472
|
-
dropdownOpen: dropdownOpen,
|
|
54473
|
-
currentLang: currentLang,
|
|
54474
|
-
changeLanguageApp: changeLanguageApp,
|
|
54475
|
-
setCurrentLang: setCurrentLang
|
|
54476
|
-
};
|
|
54477
|
-
};
|
|
54478
|
-
|
|
54479
|
-
var TheLanguageDropdown = function TheLanguageDropdown() {
|
|
54480
|
-
var _useLanguages = useLanguages(),
|
|
54481
|
-
languageList = _useLanguages.languageList,
|
|
54482
|
-
toggle = _useLanguages.toggle,
|
|
54483
|
-
dropdownOpen = _useLanguages.dropdownOpen,
|
|
54484
|
-
currentLang = _useLanguages.currentLang,
|
|
54485
|
-
changeLanguageApp = _useLanguages.changeLanguageApp;
|
|
54486
|
-
|
|
54487
|
-
var currentLanguage = React.useMemo(function () {
|
|
54488
|
-
var current = languageList.find(function (i) {
|
|
54489
|
-
return i.code === currentLang;
|
|
54490
|
-
});
|
|
54491
|
-
if (!current) return null;
|
|
54492
|
-
return React__default.createElement(React__default.Fragment, null, React__default.createElement("img", {
|
|
54493
|
-
className: "mr-2 " + styles['dropdown-menu-flag'],
|
|
54494
|
-
src: "" + getStaticFileUrl(current.image)
|
|
54495
|
-
}), " ", current.name);
|
|
54496
|
-
}, [currentLang, languageList]);
|
|
54497
|
-
return React__default.createElement(reactstrap.Dropdown, {
|
|
54498
|
-
isOpen: dropdownOpen,
|
|
54499
|
-
toggle: toggle,
|
|
54500
|
-
className: "" + styles["dropdown-menu"]
|
|
54501
|
-
}, React__default.createElement(reactstrap.DropdownToggle, {
|
|
54502
|
-
className: styles["header-avatar"] + " d-flex align-items-center"
|
|
54503
|
-
}, React__default.createElement("span", {
|
|
54504
|
-
style: {
|
|
54505
|
-
color: "#000",
|
|
54506
|
-
textTransform: "capitalize",
|
|
54507
|
-
display: 'flex',
|
|
54508
|
-
alignItems: 'center'
|
|
54509
|
-
}
|
|
54510
|
-
}, currentLanguage, React__default.createElement(bs.BsChevronDown, {
|
|
54511
|
-
className: "ml-2",
|
|
54512
|
-
style: {
|
|
54513
|
-
fontSize: '10px'
|
|
54514
|
-
}
|
|
54515
|
-
}))), React__default.createElement(reactstrap.DropdownMenu, {
|
|
54516
|
-
className: styles["dropdown-content-language"]
|
|
54517
|
-
}, !!languageList && languageList.length > 0 && languageList.map(function (lang, index) {
|
|
54518
|
-
return React__default.createElement(reactstrap.DropdownItem, {
|
|
54519
|
-
key: lang.code,
|
|
54520
|
-
className: styles["dropdown-change"] + " px-0 py-0 " + (index === languageList.length - 1 ? "pb-2" : "pt-2"),
|
|
54521
|
-
onClick: function onClick() {
|
|
54522
|
-
return changeLanguageApp(lang.code);
|
|
54523
|
-
}
|
|
54524
|
-
}, React__default.createElement("div", {
|
|
54525
|
-
className: styles["dropdown-item-language"] + " " + styles["item-logout"] + " " + (currentLang == lang.code ? styles['dropdown-item-language-active'] : "") + " d-flex align-items-center w-100"
|
|
54526
|
-
}, React__default.createElement("span", {
|
|
54527
|
-
className: "mr-2 d-flex hover-opacity"
|
|
54528
|
-
}, React__default.createElement("img", {
|
|
54529
|
-
style: {
|
|
54530
|
-
width: "30px",
|
|
54531
|
-
height: "25px",
|
|
54532
|
-
borderRadius: "5px"
|
|
54533
|
-
},
|
|
54534
|
-
src: getStaticFileUrl(lang.image)
|
|
54535
|
-
})), lang.name));
|
|
54536
|
-
})));
|
|
54537
|
-
};
|
|
54538
|
-
|
|
54539
|
-
var TheHeader = function TheHeader(_ref) {
|
|
54540
|
-
var onToggleModel = _ref.onToggleModel;
|
|
54541
|
-
var dispatch = reactRedux.useDispatch();
|
|
54542
|
-
var sidebarShow = reactRedux.useSelector(function (state) {
|
|
54543
|
-
return state.common.sidebarShow;
|
|
54544
|
-
});
|
|
54545
|
-
|
|
54546
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
54547
|
-
t = _useTranslation.t;
|
|
54548
|
-
|
|
54549
|
-
var toggleSidebarMobile = function toggleSidebarMobile() {
|
|
54550
|
-
var val = [false, "responsive"].includes(sidebarShow) ? true : "responsive";
|
|
54551
|
-
dispatch(setSidebar(val));
|
|
54552
|
-
};
|
|
54553
|
-
|
|
54554
|
-
var isDistrict = window.location.host.includes("-district");
|
|
54555
|
-
return React__default.createElement(react.CHeader, {
|
|
54556
|
-
withSubheader: true,
|
|
54557
|
-
className: "d-flex align-items-center justify-content-end"
|
|
54558
|
-
}, React__default.createElement(react.CToggler, {
|
|
54559
|
-
inHeader: true,
|
|
54560
|
-
className: "ml-md-3 d-lg-none",
|
|
54561
|
-
onClick: toggleSidebarMobile
|
|
54562
|
-
}), React__default.createElement(react.CHeaderBrand, {
|
|
54563
|
-
className: "mx-auto flex-grow-1 d-lg-none",
|
|
54564
|
-
to: "/"
|
|
54565
|
-
}, React__default.createElement("img", {
|
|
54566
|
-
src: getStaticFileUrl(Images.LOGO_HEADER),
|
|
54567
|
-
className: styles["header-logo"]
|
|
54568
|
-
})), React__default.createElement(react.CHeaderNav, {
|
|
54569
|
-
className: "pr-3"
|
|
54570
|
-
}, React__default.createElement(TheLanguageDropdown, null), React__default.createElement("a", {
|
|
54571
|
-
className: "mr-3",
|
|
54572
|
-
style: {
|
|
54573
|
-
color: '#000'
|
|
54574
|
-
},
|
|
54575
|
-
href: '/privacy-policy',
|
|
54576
|
-
target: "blank"
|
|
54577
|
-
}, t("privacy_policy")), !isDistrict && React__default.createElement(NotificationButton, null), React__default.createElement(TheHeaderDropdown, {
|
|
54578
|
-
onToggleModel: onToggleModel
|
|
54579
|
-
})));
|
|
54580
|
-
};
|
|
54581
|
-
|
|
54582
|
-
var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
54583
|
-
var _handleUserRole;
|
|
54584
|
-
|
|
54585
|
-
var open = _ref.open,
|
|
54586
|
-
onToggleModel = _ref.onToggleModel;
|
|
54587
|
-
var dispatch = reactRedux.useDispatch();
|
|
54588
|
-
|
|
54589
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
54590
|
-
t = _useTranslation.t;
|
|
54591
|
-
|
|
54592
|
-
var history = reactRouterDom.useHistory();
|
|
54593
|
-
var pathname = window.location.pathname;
|
|
54594
|
-
var user = reactRedux.useSelector(function (state) {
|
|
54595
|
-
return state.common.user;
|
|
54596
|
-
});
|
|
54597
|
-
var roles = user === null || user === void 0 ? void 0 : user.roles;
|
|
54598
|
-
|
|
54599
|
-
var handleSelectUserRoles = function handleSelectUserRoles(roles) {
|
|
54600
|
-
dispatch(setLoading(true));
|
|
54601
|
-
var roleSelect = roles.includes("Teacher/Assistant") ? ["Teacher", "Assistant"] : roles;
|
|
54602
|
-
dispatch(setUser(_extends({}, user, {
|
|
54603
|
-
roles: roleSelect
|
|
54604
|
-
})));
|
|
54605
|
-
localStorage.setItem("ROLES", roleSelect.toString());
|
|
54606
|
-
onToggleModel();
|
|
54607
|
-
|
|
54608
|
-
if (roles.includes("Parent")) {
|
|
54609
|
-
history.push("/parent");
|
|
54610
|
-
} else if (roles.includes("Admin")) {
|
|
54611
|
-
history.push("/admin/home");
|
|
54612
|
-
} else {
|
|
54613
|
-
pathname !== "/home" ? history.push("/home") : window.location.reload();
|
|
54614
|
-
}
|
|
54615
|
-
};
|
|
54616
|
-
|
|
54617
|
-
return React__default.createElement(reactstrap.Modal, {
|
|
54618
|
-
isOpen: open,
|
|
54619
|
-
toggle: function toggle() {
|
|
54620
|
-
return onToggleModel();
|
|
54621
|
-
},
|
|
54622
|
-
className: "" + styles["model-switch-roles"],
|
|
54623
|
-
centered: true
|
|
54624
|
-
}, React__default.createElement("p", {
|
|
54625
|
-
className: "" + styles["title"]
|
|
54626
|
-
}, t("continue_as")), React__default.createElement("div", null, (_handleUserRole = handleUserRole(user === null || user === void 0 ? void 0 : user.roles)) === null || _handleUserRole === void 0 ? void 0 : _handleUserRole.map(function (r) {
|
|
54627
|
-
return React__default.createElement("p", {
|
|
54628
|
-
key: r,
|
|
54629
|
-
className: styles["item-select-role"] + " " + styles[roles.includes("Teacher") && roles.includes("Assistant") && r === "Teacher/Assistant" && !roles.includes("Admin") || roles.includes("Admin") && r === "Admin" || roles.includes(r) && !roles.includes("Admin") ? "item-role-active" : ""],
|
|
54630
|
-
onClick: function onClick() {
|
|
54631
|
-
return handleSelectUserRoles([r]);
|
|
54632
|
-
}
|
|
54633
|
-
}, r == "SecondaryTeacher" ? "Support Teacher" : r);
|
|
54634
|
-
})));
|
|
54635
|
-
};
|
|
54636
|
-
|
|
54637
|
-
var TheLayout = function TheLayout(_ref) {
|
|
54638
|
-
var routes = _ref.routes,
|
|
54639
|
-
navigation = _ref.navigation;
|
|
54640
|
-
var history = reactRouterDom.useHistory();
|
|
54641
|
-
var dispatch = reactRedux.useDispatch();
|
|
54642
|
-
var user = reactRedux.useSelector(function (state) {
|
|
54643
|
-
return state.common.user;
|
|
54644
|
-
});
|
|
54645
|
-
var language = reactRedux.useSelector(function (state) {
|
|
54646
|
-
return state.common.language;
|
|
54647
|
-
});
|
|
54648
|
-
|
|
54649
|
-
var _useState = React.useState(false),
|
|
54650
|
-
openModelSelectRole = _useState[0],
|
|
54651
|
-
setOpenModelSelectRole = _useState[1];
|
|
54652
|
-
|
|
54653
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
54654
|
-
t = _useTranslation.t;
|
|
54655
|
-
|
|
54656
|
-
var location = reactRouterDom.useLocation();
|
|
54657
|
-
var isNotification = location.pathname.includes("notifications");
|
|
54658
|
-
var isDistrict = window.location.host.includes("-district");
|
|
54659
|
-
|
|
54660
|
-
var handleToggleModel = function handleToggleModel() {
|
|
54661
|
-
setOpenModelSelectRole(!openModelSelectRole);
|
|
54662
|
-
};
|
|
54663
|
-
|
|
54664
|
-
var authRoutes = React.useMemo(function () {
|
|
54665
|
-
return routes.filter(function (route) {
|
|
54666
|
-
return canAccess(user === null || user === void 0 ? void 0 : user.roles, route.roles);
|
|
54667
|
-
}).filter(function (route) {
|
|
54668
|
-
return !!route.isDistrict === isDistrict;
|
|
54669
|
-
});
|
|
54670
|
-
}, [user, language]);
|
|
54671
|
-
var authNavigations = React.useMemo(function () {
|
|
54672
|
-
return navigation.map(function (item) {
|
|
54673
|
-
var _item$_children, _item$_children2;
|
|
54674
|
-
|
|
54675
|
-
return _extends({}, item, {
|
|
54676
|
-
name: t(item.name),
|
|
54677
|
-
_children: item !== null && item !== void 0 && (_item$_children = item._children) !== null && _item$_children !== void 0 && _item$_children.length ? item === null || item === void 0 ? void 0 : (_item$_children2 = item._children) === null || _item$_children2 === void 0 ? void 0 : _item$_children2.map(function (x) {
|
|
54678
|
-
return _extends({}, x, {
|
|
54679
|
-
name: t(x.name)
|
|
54680
|
-
});
|
|
54681
|
-
}) : undefined
|
|
54682
|
-
});
|
|
54683
|
-
}).filter(function (nav) {
|
|
54684
|
-
return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
|
|
54685
|
-
}).filter(function (nav) {
|
|
54686
|
-
return !!nav.isDistrict === isDistrict;
|
|
54687
|
-
});
|
|
54688
|
-
}, [user, language]);
|
|
54689
|
-
|
|
54690
|
-
var getInformationSetting = function getInformationSetting() {
|
|
54691
|
-
try {
|
|
54692
|
-
var _temp2 = _catch(function () {
|
|
54693
|
-
return Promise.resolve(getSchoolSettings()).then(function (res) {
|
|
54694
|
-
dispatch(setSandboxMode(res.data.isSandboxMode));
|
|
54695
|
-
});
|
|
54696
|
-
}, function (err) {
|
|
54697
|
-
console.error(err);
|
|
54698
|
-
});
|
|
54699
|
-
|
|
54700
|
-
return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(function () {}) : void 0);
|
|
54701
|
-
} catch (e) {
|
|
54702
|
-
return Promise.reject(e);
|
|
54703
|
-
}
|
|
54704
|
-
};
|
|
54705
|
-
|
|
54706
|
-
React.useEffect(function () {
|
|
54707
|
-
checkAuthentication();
|
|
54708
|
-
}, []);
|
|
54709
|
-
React.useEffect(function () {
|
|
54710
|
-
getInformationSetting();
|
|
54711
|
-
}, [location.pathname]);
|
|
54712
|
-
|
|
54713
|
-
var checkAuthentication = function checkAuthentication() {
|
|
54714
|
-
try {
|
|
54715
|
-
var _temp4 = _catch(function () {
|
|
54716
|
-
return Promise.resolve(firstCheckToken()).then(function (tokenStatus) {
|
|
54717
|
-
tokenStatus ? loadInfo() : resetAuth();
|
|
54718
|
-
});
|
|
54719
|
-
}, function () {
|
|
54720
|
-
resetAuth();
|
|
54721
|
-
});
|
|
54722
|
-
|
|
54723
|
-
return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(function () {}) : void 0);
|
|
54724
|
-
} catch (e) {
|
|
54725
|
-
return Promise.reject(e);
|
|
54726
|
-
}
|
|
54727
|
-
};
|
|
54728
|
-
|
|
54729
|
-
var loadInfo = function loadInfo() {
|
|
54730
|
-
try {
|
|
54731
|
-
var _temp6 = _catch(function () {
|
|
54732
|
-
return Promise.resolve(getInfo()).then(function (info) {
|
|
54733
|
-
var _info$data, _info$data$roles;
|
|
54734
|
-
|
|
54735
|
-
if (!info || !(info !== null && info !== void 0 && (_info$data = info.data) !== null && _info$data !== void 0 && (_info$data$roles = _info$data.roles) !== null && _info$data$roles !== void 0 && _info$data$roles.includes("Admin"))) {
|
|
54736
|
-
resetAuth();
|
|
54737
|
-
}
|
|
54738
|
-
|
|
54739
|
-
dispatch(setUser(info.data));
|
|
54740
|
-
});
|
|
54741
|
-
}, function () {
|
|
54742
|
-
resetAuth();
|
|
54743
|
-
});
|
|
54744
|
-
|
|
54745
|
-
return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
|
|
54746
|
-
} catch (e) {
|
|
54747
|
-
return Promise.reject(e);
|
|
54748
|
-
}
|
|
54749
|
-
};
|
|
54750
|
-
|
|
54751
|
-
var resetAuth = function resetAuth() {
|
|
54752
|
-
localStorage.removeItem(ACCESS_TOKEN);
|
|
54753
|
-
sessionStorage.removeItem(ACCESS_TOKEN);
|
|
54754
|
-
localStorage.removeItem("ROLES");
|
|
54755
|
-
history.push("/");
|
|
54756
|
-
};
|
|
54757
|
-
|
|
54758
|
-
if (!user) {
|
|
54759
|
-
return React__default.createElement(Loading, null);
|
|
54760
|
-
}
|
|
54761
|
-
|
|
54762
|
-
return React__default.createElement("div", {
|
|
54763
|
-
className: "c-app c-default-layout"
|
|
54764
|
-
}, !isNotification && React__default.createElement(TheSidebar, {
|
|
54765
|
-
navigation: authNavigations
|
|
54766
|
-
}), React__default.createElement("div", {
|
|
54767
|
-
className: "c-wrapper"
|
|
54768
|
-
}, !isNotification && React__default.createElement(TheHeader, {
|
|
54769
|
-
onToggleModel: handleToggleModel
|
|
54770
|
-
}), React__default.createElement("div", {
|
|
54771
|
-
className: "c-body bg-white"
|
|
54772
|
-
}, React__default.createElement(TheContent$1, {
|
|
54773
|
-
routes: authRoutes
|
|
54774
|
-
}))), React__default.createElement(ModelSelectRole, {
|
|
54775
|
-
open: openModelSelectRole,
|
|
54776
|
-
onToggleModel: handleToggleModel
|
|
54777
|
-
}));
|
|
54778
|
-
};
|
|
54779
|
-
|
|
54780
55166
|
var amplitudeClient = amplitude;
|
|
54781
55167
|
|
|
54782
55168
|
Object.defineProperty(exports, 'I18nextProvider', {
|
|
@@ -54910,6 +55296,7 @@ exports.setEditItemQuesion = setEditItemQuesion;
|
|
|
54910
55296
|
exports.setEnableIEP = setEnableIEP;
|
|
54911
55297
|
exports.setEnableMarioAi = setEnableMarioAi;
|
|
54912
55298
|
exports.setEnableSurvey = setEnableSurvey;
|
|
55299
|
+
exports.setEnableWellBeing = setEnableWellBeing;
|
|
54913
55300
|
exports.setFeedbackList = setFeedbackList;
|
|
54914
55301
|
exports.setFilterWidget = setFilterWidget;
|
|
54915
55302
|
exports.setGoalExampleList = setGoalExampleList;
|