mario-core 2.9.434-feedback → 2.10.0-feedback

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.js CHANGED
@@ -2183,6 +2183,42 @@ 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";
@@ -2190,7 +2226,6 @@ var save_new_password = "Save new password";
2190
2226
  var teacher_code = "Teacher code";
2191
2227
  var number_of_conversations = "Number of conversations";
2192
2228
  var number_of_expected_conversations_based_on_the_goal = "Number of expected conversations based on the goal";
2193
- var check_in = "Check-in";
2194
2229
  var search_for_a_student = "Search for a student";
2195
2230
  var survey_resulting_in_scheduled_sessions = "Survey resulting in scheduled sessions";
2196
2231
  var current_class_grade = "Current Class Grade";
@@ -2201,13 +2236,36 @@ var the_note_will_be_visible_to_the_student_and_all_connected_educators = "The n
2201
2236
  var _unless_you_check_the_make_this_a_private_note_box = " unless you check the \"Make this a private note\" box";
2202
2237
  var do_you_still_wish_to_save = "Do you still wish to save?";
2203
2238
  var yes_im_sure = "yes, i'm sure!";
2204
- var start_check_in_now = "START CHECK-IN NOW";
2205
2239
  var delete_survey = "Delete survey";
2206
2240
  var are_you_sure_to_delete_selected_survey = "Are you sure to delete {{number}} survey(s)?";
2207
2241
  var delete_1_1 = "Delete 1-1";
2208
2242
  var are_you_sure_to_delete_this_one_to_one = "Are you sure to delete this one to one?";
2209
2243
  var delete_conversation = "Delete conversation";
2210
2244
  var are_you_sure_to_delete_this_conversation = "Are you sure to delete this conversation?";
2245
+ var teachers_well_being_dashboard = "Teachers' Well-Being Dashboard";
2246
+ var my_well_being_dashboard = "My Well-Being Dashboard";
2247
+ var understand_the_metrics_about_the_educators_wellness_and_environment = "Understand the metrics about the educator's wellness and environment";
2248
+ var understand_the_metrics_about_my_wellness_and_environment = "Understand the metrics about my wellness and environment";
2249
+ var engagement = "Engagement";
2250
+ var total_1_1_conversations = "Total 1-1 Conversations";
2251
+ var educators_without_check_ins = "Educators without<br/>check-ins";
2252
+ var educators_without_check_ins_not_br = "Educators without Check-ins";
2253
+ var educators_havent_completed_check_ins_in_the_last_30_days = "educators haven't completed check-ins in the last 30 days";
2254
+ var you_can_send_individual_requests_or_bulk_reminders_to_all_educators = "You can send individual requests or bulk reminders to all educators";
2255
+ var department = "Department";
2256
+ var last_check_in_normal = "Last check-in";
2257
+ var request_check_in_wellbeing = "Request check-in";
2258
+ var send_bulk_reminder = "Send bulk reminder";
2259
+ var physical = "Physical";
2260
+ var self_care = "Self-care";
2261
+ var relationships_well_being = "Relationships Well-Being";
2262
+ var self_care_well_being = "Self-Care Well-Being";
2263
+ var environment = "Environment";
2264
+ var environment_well_being = "Environment Well-Being";
2265
+ var intellectual = "Intellectual";
2266
+ var the_data_presented_here_comes_from_the_check_ins = "The data presented here comes from the check-ins.";
2267
+ var charts_will_appear_once_over_20_of_educators = "Charts will appear once over 20% of educators<br/>have completed their check-ins.";
2268
+ var total_1_1_requested = "Total 1-1 Requested";
2211
2269
  var lang_us = {
2212
2270
  dashboard: dashboard,
2213
2271
  user: user,
@@ -4407,6 +4465,43 @@ var lang_us = {
4407
4465
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session,
4408
4466
  please_add_title_note: please_add_title_note,
4409
4467
  notes_and_logs: notes_and_logs,
4468
+ my_well_being: my_well_being,
4469
+ my_well_Being_check_in: my_well_Being_check_in,
4470
+ my_sessions: my_sessions,
4471
+ your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else,
4472
+ school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data,
4473
+ save_filters: save_filters,
4474
+ clear_all_filters: clear_all_filters,
4475
+ my_well_being_check_in: my_well_being_check_in,
4476
+ unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this,
4477
+ physical_well_being: physical_well_being,
4478
+ emotional_well_being: emotional_well_being,
4479
+ "self_care_&_balance": "Self-Care & Balance",
4480
+ social_well_being_relationships: social_well_being_relationships,
4481
+ social_well_being_environment: social_well_being_environment,
4482
+ intellectual_well_being: intellectual_well_being,
4483
+ colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank,
4484
+ wellbeing_finished: wellbeing_finished,
4485
+ check_in: check_in,
4486
+ take_a_moment_for_you: take_a_moment_for_you,
4487
+ 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,
4488
+ start_check_in_now: start_check_in_now,
4489
+ i_ll_do_it_later: i_ll_do_it_later,
4490
+ survey_portal: survey_portal,
4491
+ external_api: external_api,
4492
+ teacher_well_being: teacher_well_being,
4493
+ frequency_and_setup: frequency_and_setup,
4494
+ well_being_dashboard: well_being_dashboard,
4495
+ go_to_dashboard: go_to_dashboard,
4496
+ 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,
4497
+ 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,
4498
+ 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,
4499
+ check_in_complete: check_in_complete,
4500
+ schedule_a_conversation: schedule_a_conversation,
4501
+ select_a_contact_to_speak_with: select_a_contact_to_speak_with,
4502
+ what_would_you_like_to_discuss: what_would_you_like_to_discuss,
4503
+ 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,
4504
+ wellbeing_sections: wellbeing_sections,
4410
4505
  school_monthly_usage: school_monthly_usage,
4411
4506
  location: location$1,
4412
4507
  edit_my_profile: edit_my_profile,
@@ -4414,7 +4509,6 @@ var lang_us = {
4414
4509
  teacher_code: teacher_code,
4415
4510
  number_of_conversations: number_of_conversations,
4416
4511
  number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal,
4417
- check_in: check_in,
4418
4512
  search_for_a_student: search_for_a_student,
4419
4513
  survey_resulting_in_scheduled_sessions: survey_resulting_in_scheduled_sessions,
4420
4514
  current_class_grade: current_class_grade,
@@ -4425,13 +4519,36 @@ var lang_us = {
4425
4519
  _unless_you_check_the_make_this_a_private_note_box: _unless_you_check_the_make_this_a_private_note_box,
4426
4520
  do_you_still_wish_to_save: do_you_still_wish_to_save,
4427
4521
  yes_im_sure: yes_im_sure,
4428
- start_check_in_now: start_check_in_now,
4429
4522
  delete_survey: delete_survey,
4430
4523
  are_you_sure_to_delete_selected_survey: are_you_sure_to_delete_selected_survey,
4431
4524
  delete_1_1: delete_1_1,
4432
4525
  are_you_sure_to_delete_this_one_to_one: are_you_sure_to_delete_this_one_to_one,
4433
4526
  delete_conversation: delete_conversation,
4434
- are_you_sure_to_delete_this_conversation: are_you_sure_to_delete_this_conversation
4527
+ are_you_sure_to_delete_this_conversation: are_you_sure_to_delete_this_conversation,
4528
+ teachers_well_being_dashboard: teachers_well_being_dashboard,
4529
+ my_well_being_dashboard: my_well_being_dashboard,
4530
+ understand_the_metrics_about_the_educators_wellness_and_environment: understand_the_metrics_about_the_educators_wellness_and_environment,
4531
+ understand_the_metrics_about_my_wellness_and_environment: understand_the_metrics_about_my_wellness_and_environment,
4532
+ engagement: engagement,
4533
+ total_1_1_conversations: total_1_1_conversations,
4534
+ educators_without_check_ins: educators_without_check_ins,
4535
+ educators_without_check_ins_not_br: educators_without_check_ins_not_br,
4536
+ educators_havent_completed_check_ins_in_the_last_30_days: educators_havent_completed_check_ins_in_the_last_30_days,
4537
+ you_can_send_individual_requests_or_bulk_reminders_to_all_educators: you_can_send_individual_requests_or_bulk_reminders_to_all_educators,
4538
+ department: department,
4539
+ last_check_in_normal: last_check_in_normal,
4540
+ request_check_in_wellbeing: request_check_in_wellbeing,
4541
+ send_bulk_reminder: send_bulk_reminder,
4542
+ physical: physical,
4543
+ self_care: self_care,
4544
+ relationships_well_being: relationships_well_being,
4545
+ self_care_well_being: self_care_well_being,
4546
+ environment: environment,
4547
+ environment_well_being: environment_well_being,
4548
+ intellectual: intellectual,
4549
+ the_data_presented_here_comes_from_the_check_ins: the_data_presented_here_comes_from_the_check_ins,
4550
+ charts_will_appear_once_over_20_of_educators: charts_will_appear_once_over_20_of_educators,
4551
+ total_1_1_requested: total_1_1_requested
4435
4552
  };
4436
4553
 
4437
4554
  var dashboard$1 = "Dashboard";
@@ -6578,11 +6695,46 @@ var save_note$1 = "Save note";
6578
6695
  var type_the_main_focus_of_this_session$1 = "Type the main focus of this session";
6579
6696
  var please_add_title_note$1 = "Please add note title";
6580
6697
  var notes_and_logs$1 = "Notes and Logs";
6698
+ var survey_portal$1 = "Survey Portal";
6699
+ var external_api$1 = "External Api";
6700
+ var teacher_well_being$1 = "Teacher Well-Being";
6701
+ var frequency_and_setup$1 = "Frequency and Setup";
6702
+ var well_being_dashboard$1 = "Well-Being Dashboard";
6703
+ var go_to_dashboard$1 = "Go to dashboard";
6704
+ 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.";
6705
+ 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.";
6706
+ 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.";
6707
+ var check_in_complete$1 = "Check-in Complete!";
6708
+ var schedule_a_conversation$1 = "Schedule a Conversation";
6709
+ var select_a_contact_to_speak_with$1 = "Select a contact to speak with";
6710
+ var what_would_you_like_to_discuss$1 = "What would you like to discuss?";
6711
+ 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...";
6712
+ var wellbeing_sections$1 = "Wellbeing Sections";
6581
6713
  var school_monthly_usage$1 = "School Monthly Usage";
6582
6714
  var location$2 = "Location";
6583
6715
  var edit_my_profile$1 = "Edit My Profile";
6584
6716
  var save_new_password$1 = "Save new password";
6585
6717
  var teacher_code$1 = "Teacher code";
6718
+ var my_well_being$1 = "My Well-being";
6719
+ var my_well_Being_check_in$1 = "My Well-Being Check-in";
6720
+ var my_sessions$1 = "My Sessions";
6721
+ var your_personal_data_will_not_be_shared_with_anyone_else$1 = "Your personal data will <strong>not be shared</strong> with anyone else";
6722
+ var school_leadership_will_only_see_aggregated_data$1 = "School leadership will only see aggregated data.";
6723
+ var save_filters$1 = "Save Filters";
6724
+ var clear_all_filters$1 = "Clear All Filters";
6725
+ var my_well_being_check_in$1 = "My Well-Being Check-in";
6726
+ var unless_you_specifically_choose_to_do_this$1 = "unless you specifically choose to do this.";
6727
+ var physical_well_being$1 = "Physical Well-Being";
6728
+ var emotional_well_being$1 = "Emotional Well-Being";
6729
+ var social_well_being_relationships$1 = "Social Well-Being - Relationships";
6730
+ var social_well_being_environment$1 = "Social Well-Being - Environment";
6731
+ var intellectual_well_being$1 = "Intellectual Well-Being";
6732
+ var colleague_or_staff_member_you_like_to_praise_or_thank$1 = "Colleague or staff member you'd like to praise or thank?";
6733
+ var wellbeing_finished$1 = "Wellbeing Finished";
6734
+ var take_a_moment_for_you$1 = "Take a Moment for You";
6735
+ 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.";
6736
+ var start_check_in_now$1 = "START CHECK-IN NOW";
6737
+ var i_ll_do_it_later$1 = "I'LL DO IT LATER";
6586
6738
  var number_of_conversations$1 = "Number of conversations";
6587
6739
  var number_of_expected_conversations_based_on_the_goal$1 = "Number of expected conversations based on the goal";
6588
6740
  var search_for_a_student$1 = "Search for a student";
@@ -6595,13 +6747,36 @@ var the_note_will_be_visible_to_the_student_and_all_connected_educators$1 = "The
6595
6747
  var _unless_you_check_the_make_this_a_private_note_box$1 = " unless you check the \"Make this a private note\" box";
6596
6748
  var do_you_still_wish_to_save$1 = "Do you still wish to save?";
6597
6749
  var yes_im_sure$1 = "yes, i'm sure!";
6598
- var start_check_in_now$1 = "START CHECK-IN NOW";
6599
6750
  var delete_survey$1 = "Delete survey";
6600
6751
  var are_you_sure_to_delete_selected_survey$1 = "Are you sure to delete {{number}} survey(s)?";
6601
6752
  var delete_1_1$1 = "Delete 1-1";
6602
6753
  var are_you_sure_to_delete_this_one_to_one$1 = "Are you sure to delete this one to one?";
6603
6754
  var delete_conversation$1 = "Delete conversation";
6604
6755
  var are_you_sure_to_delete_this_conversation$1 = "Are you sure to delete this conversation?";
6756
+ var teachers_well_being_dashboard$1 = "Teachers' Well-Being Dashboard";
6757
+ var my_well_being_dashboard$1 = "My Well-Being Dashboard";
6758
+ var understand_the_metrics_about_the_educators_wellness_and_environment$1 = "Understand the metrics about the educator's wellness and environment";
6759
+ var understand_the_metrics_about_my_wellness_and_environment$1 = "Understand the metrics about my wellness and environment";
6760
+ var engagement$1 = "Engagement";
6761
+ var total_1_1_conversations$1 = "Total 1-1 Conversations";
6762
+ var educators_without_check_ins$1 = "Educators without<br/>check-ins";
6763
+ var educators_without_check_ins_not_br$1 = "Educators without Check-ins";
6764
+ var educators_havent_completed_check_ins_in_the_last_30_days$1 = "educators haven't completed check-ins in the last 30 days";
6765
+ var you_can_send_individual_requests_or_bulk_reminders_to_all_educators$1 = "You can send individual requests or bulk reminders to all educators";
6766
+ var department$1 = "Department";
6767
+ var last_check_in_normal$1 = "Last check-in";
6768
+ var request_check_in_wellbeing$1 = "Request check-in";
6769
+ var send_bulk_reminder$1 = "Send bulk reminder";
6770
+ var physical$1 = "Physical";
6771
+ var self_care$1 = "Self-care";
6772
+ var relationships_well_being$1 = "Relationships Well-Being";
6773
+ var self_care_well_being$1 = "Self-Care Well-Being";
6774
+ var environment$1 = "Environment";
6775
+ var environment_well_being$1 = "Environment Well-Being";
6776
+ var intellectual$1 = "Intellectual";
6777
+ var the_data_presented_here_comes_from_the_check_ins$1 = "The data presented here comes from the check-ins.";
6778
+ var charts_will_appear_once_over_20_of_educators$1 = "Charts will appear once over 20% of educators<br/>have completed their check-ins.";
6779
+ var total_1_1_requested$1 = "Total 1-1 Requested";
6605
6780
  var lang_uk = {
6606
6781
  dashboard: dashboard$1,
6607
6782
  user: user$1,
@@ -8799,11 +8974,47 @@ var lang_uk = {
8799
8974
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$1,
8800
8975
  please_add_title_note: please_add_title_note$1,
8801
8976
  notes_and_logs: notes_and_logs$1,
8977
+ survey_portal: survey_portal$1,
8978
+ external_api: external_api$1,
8979
+ teacher_well_being: teacher_well_being$1,
8980
+ frequency_and_setup: frequency_and_setup$1,
8981
+ well_being_dashboard: well_being_dashboard$1,
8982
+ go_to_dashboard: go_to_dashboard$1,
8983
+ 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,
8984
+ 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,
8985
+ 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,
8986
+ check_in_complete: check_in_complete$1,
8987
+ schedule_a_conversation: schedule_a_conversation$1,
8988
+ select_a_contact_to_speak_with: select_a_contact_to_speak_with$1,
8989
+ what_would_you_like_to_discuss: what_would_you_like_to_discuss$1,
8990
+ 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,
8991
+ wellbeing_sections: wellbeing_sections$1,
8802
8992
  school_monthly_usage: school_monthly_usage$1,
8803
8993
  location: location$2,
8804
8994
  edit_my_profile: edit_my_profile$1,
8805
8995
  save_new_password: save_new_password$1,
8806
8996
  teacher_code: teacher_code$1,
8997
+ my_well_being: my_well_being$1,
8998
+ my_well_Being_check_in: my_well_Being_check_in$1,
8999
+ my_sessions: my_sessions$1,
9000
+ your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$1,
9001
+ school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$1,
9002
+ save_filters: save_filters$1,
9003
+ clear_all_filters: clear_all_filters$1,
9004
+ my_well_being_check_in: my_well_being_check_in$1,
9005
+ unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$1,
9006
+ physical_well_being: physical_well_being$1,
9007
+ emotional_well_being: emotional_well_being$1,
9008
+ "self_care_&_balance": "Self-Care & Balance",
9009
+ social_well_being_relationships: social_well_being_relationships$1,
9010
+ social_well_being_environment: social_well_being_environment$1,
9011
+ intellectual_well_being: intellectual_well_being$1,
9012
+ colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$1,
9013
+ wellbeing_finished: wellbeing_finished$1,
9014
+ take_a_moment_for_you: take_a_moment_for_you$1,
9015
+ 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,
9016
+ start_check_in_now: start_check_in_now$1,
9017
+ i_ll_do_it_later: i_ll_do_it_later$1,
8807
9018
  number_of_conversations: number_of_conversations$1,
8808
9019
  number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$1,
8809
9020
  search_for_a_student: search_for_a_student$1,
@@ -8816,13 +9027,36 @@ var lang_uk = {
8816
9027
  _unless_you_check_the_make_this_a_private_note_box: _unless_you_check_the_make_this_a_private_note_box$1,
8817
9028
  do_you_still_wish_to_save: do_you_still_wish_to_save$1,
8818
9029
  yes_im_sure: yes_im_sure$1,
8819
- start_check_in_now: start_check_in_now$1,
8820
9030
  delete_survey: delete_survey$1,
8821
9031
  are_you_sure_to_delete_selected_survey: are_you_sure_to_delete_selected_survey$1,
8822
9032
  delete_1_1: delete_1_1$1,
8823
9033
  are_you_sure_to_delete_this_one_to_one: are_you_sure_to_delete_this_one_to_one$1,
8824
9034
  delete_conversation: delete_conversation$1,
8825
- are_you_sure_to_delete_this_conversation: are_you_sure_to_delete_this_conversation$1
9035
+ are_you_sure_to_delete_this_conversation: are_you_sure_to_delete_this_conversation$1,
9036
+ teachers_well_being_dashboard: teachers_well_being_dashboard$1,
9037
+ my_well_being_dashboard: my_well_being_dashboard$1,
9038
+ understand_the_metrics_about_the_educators_wellness_and_environment: understand_the_metrics_about_the_educators_wellness_and_environment$1,
9039
+ understand_the_metrics_about_my_wellness_and_environment: understand_the_metrics_about_my_wellness_and_environment$1,
9040
+ engagement: engagement$1,
9041
+ total_1_1_conversations: total_1_1_conversations$1,
9042
+ educators_without_check_ins: educators_without_check_ins$1,
9043
+ educators_without_check_ins_not_br: educators_without_check_ins_not_br$1,
9044
+ educators_havent_completed_check_ins_in_the_last_30_days: educators_havent_completed_check_ins_in_the_last_30_days$1,
9045
+ you_can_send_individual_requests_or_bulk_reminders_to_all_educators: you_can_send_individual_requests_or_bulk_reminders_to_all_educators$1,
9046
+ department: department$1,
9047
+ last_check_in_normal: last_check_in_normal$1,
9048
+ request_check_in_wellbeing: request_check_in_wellbeing$1,
9049
+ send_bulk_reminder: send_bulk_reminder$1,
9050
+ physical: physical$1,
9051
+ self_care: self_care$1,
9052
+ relationships_well_being: relationships_well_being$1,
9053
+ self_care_well_being: self_care_well_being$1,
9054
+ environment: environment$1,
9055
+ environment_well_being: environment_well_being$1,
9056
+ intellectual: intellectual$1,
9057
+ the_data_presented_here_comes_from_the_check_ins: the_data_presented_here_comes_from_the_check_ins$1,
9058
+ charts_will_appear_once_over_20_of_educators: charts_will_appear_once_over_20_of_educators$1,
9059
+ total_1_1_requested: total_1_1_requested$1
8826
9060
  };
8827
9061
 
8828
9062
  var dashboard$2 = "لوحة المعلومات";
@@ -10999,11 +11233,47 @@ var save_note$2 = "Save note";
10999
11233
  var type_the_main_focus_of_this_session$2 = "Type the main focus of this session";
11000
11234
  var please_add_title_note$2 = "Please add note title";
11001
11235
  var notes_and_logs$2 = "Notes and Logs";
11236
+ var survey_portal$2 = "Survey Portal";
11237
+ var integrations$2 = "Integrations";
11238
+ var external_api$2 = "External Api";
11239
+ var teacher_well_being$2 = "Teacher Well-Being";
11240
+ var frequency_and_setup$2 = "Frequency and Setup";
11241
+ var well_being_dashboard$2 = "Well-Being Dashboard";
11242
+ var go_to_dashboard$2 = "Go to dashboard";
11243
+ 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.";
11244
+ 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.";
11245
+ 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.";
11246
+ var check_in_complete$2 = "Check-in Complete!";
11247
+ var schedule_a_conversation$2 = "Schedule a Conversation";
11248
+ var select_a_contact_to_speak_with$2 = "Select a contact to speak with";
11249
+ var what_would_you_like_to_discuss$2 = "What would you like to discuss?";
11250
+ 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...";
11251
+ var wellbeing_sections$2 = "Wellbeing Sections";
11002
11252
  var school_monthly_usage$2 = "School Monthly Usage";
11003
11253
  var location$3 = "Location";
11004
11254
  var edit_my_profile$2 = "Edit My Profile";
11005
11255
  var save_new_password$2 = "Save new password";
11006
11256
  var teacher_code$2 = "Teacher code";
11257
+ var my_well_being$2 = "My Well-being";
11258
+ var my_well_Being_check_in$2 = "My Well-Being Check-in";
11259
+ var my_sessions$2 = "My Sessions";
11260
+ var your_personal_data_will_not_be_shared_with_anyone_else$2 = "Your personal data will <strong>not be shared</strong> with anyone else";
11261
+ var school_leadership_will_only_see_aggregated_data$2 = "School leadership will only see aggregated data.";
11262
+ var save_filters$2 = "Save Filters";
11263
+ var clear_all_filters$2 = "Clear All Filters";
11264
+ var my_well_being_check_in$2 = "My Well-Being Check-in";
11265
+ var unless_you_specifically_choose_to_do_this$2 = "unless you specifically choose to do this.";
11266
+ var physical_well_being$2 = "Physical Well-Being";
11267
+ var emotional_well_being$2 = "Emotional Well-Being";
11268
+ var social_well_being_relationships$2 = "Social Well-Being - Relationships";
11269
+ var social_well_being_environment$2 = "Social Well-Being - Environment";
11270
+ var intellectual_well_being$2 = "Intellectual Well-Being";
11271
+ var colleague_or_staff_member_you_like_to_praise_or_thank$2 = "Colleague or staff member you'd like to praise or thank?";
11272
+ var wellbeing_finished$2 = "Wellbeing Finished";
11273
+ var take_a_moment_for_you$2 = "Take a Moment for You";
11274
+ 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.";
11275
+ var start_check_in_now$2 = "START CHECK-IN NOW";
11276
+ var i_ll_do_it_later$2 = "I'LL DO IT LATER";
11007
11277
  var number_of_conversations$2 = "Number of conversations";
11008
11278
  var number_of_expected_conversations_based_on_the_goal$2 = "Number of expected conversations based on the goal";
11009
11279
  var search_for_a_student$2 = "Search for a student";
@@ -11016,13 +11286,36 @@ var the_note_will_be_visible_to_the_student_and_all_connected_educators$2 = "The
11016
11286
  var _unless_you_check_the_make_this_a_private_note_box$2 = " unless you check the \"Make this a private note\" box";
11017
11287
  var do_you_still_wish_to_save$2 = "Do you still wish to save?";
11018
11288
  var yes_im_sure$2 = "yes, i'm sure!";
11019
- var start_check_in_now$2 = "START CHECK-IN NOW";
11020
11289
  var delete_survey$2 = "Delete survey";
11021
11290
  var are_you_sure_to_delete_selected_survey$2 = "Are you sure to delete {{number}} survey(s)?";
11022
11291
  var delete_1_1$2 = "Delete 1-1";
11023
11292
  var are_you_sure_to_delete_this_one_to_one$2 = "Are you sure to delete this one to one?";
11024
11293
  var delete_conversation$2 = "Delete conversation";
11025
11294
  var are_you_sure_to_delete_this_conversation$2 = "Are you sure to delete this conversation?";
11295
+ var teachers_well_being_dashboard$2 = "Teachers' Well-Being Dashboard";
11296
+ var my_well_being_dashboard$2 = "My Well-Being Dashboard";
11297
+ var understand_the_metrics_about_the_educators_wellness_and_environment$2 = "Understand the metrics about the educator's wellness and environment";
11298
+ var understand_the_metrics_about_my_wellness_and_environment$2 = "Understand the metrics about my wellness and environment";
11299
+ var engagement$2 = "Engagement";
11300
+ var total_1_1_conversations$2 = "Total 1-1 Conversations";
11301
+ var educators_without_check_ins$2 = "Educators without<br/>check-ins";
11302
+ var educators_without_check_ins_not_br$2 = "Educators without Check-ins";
11303
+ var educators_havent_completed_check_ins_in_the_last_30_days$2 = "educators haven't completed check-ins in the last 30 days";
11304
+ var you_can_send_individual_requests_or_bulk_reminders_to_all_educators$2 = "You can send individual requests or bulk reminders to all educators";
11305
+ var department$2 = "Department";
11306
+ var last_check_in_normal$2 = "Last check-in";
11307
+ var request_check_in_wellbeing$2 = "Request check-in";
11308
+ var send_bulk_reminder$2 = "Send bulk reminder";
11309
+ var physical$2 = "Physical";
11310
+ var self_care$2 = "Self-care";
11311
+ var relationships_well_being$2 = "Relationships Well-Being";
11312
+ var self_care_well_being$2 = "Self-Care Well-Being";
11313
+ var environment$2 = "Environment";
11314
+ var environment_well_being$2 = "Environment Well-Being";
11315
+ var intellectual$2 = "Intellectual";
11316
+ var the_data_presented_here_comes_from_the_check_ins$2 = "The data presented here comes from the check-ins.";
11317
+ var charts_will_appear_once_over_20_of_educators$2 = "Charts will appear once over 20% of educators<br/>have completed their check-ins.";
11318
+ var total_1_1_requested$2 = "Total 1-1 Requested";
11026
11319
  var lang_ar = {
11027
11320
  dashboard: dashboard$2,
11028
11321
  user: user$2,
@@ -13252,11 +13545,48 @@ var lang_ar = {
13252
13545
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$2,
13253
13546
  please_add_title_note: please_add_title_note$2,
13254
13547
  notes_and_logs: notes_and_logs$2,
13548
+ survey_portal: survey_portal$2,
13549
+ integrations: integrations$2,
13550
+ external_api: external_api$2,
13551
+ teacher_well_being: teacher_well_being$2,
13552
+ frequency_and_setup: frequency_and_setup$2,
13553
+ well_being_dashboard: well_being_dashboard$2,
13554
+ go_to_dashboard: go_to_dashboard$2,
13555
+ 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,
13556
+ 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,
13557
+ 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,
13558
+ check_in_complete: check_in_complete$2,
13559
+ schedule_a_conversation: schedule_a_conversation$2,
13560
+ select_a_contact_to_speak_with: select_a_contact_to_speak_with$2,
13561
+ what_would_you_like_to_discuss: what_would_you_like_to_discuss$2,
13562
+ 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,
13563
+ wellbeing_sections: wellbeing_sections$2,
13255
13564
  school_monthly_usage: school_monthly_usage$2,
13256
13565
  location: location$3,
13257
13566
  edit_my_profile: edit_my_profile$2,
13258
13567
  save_new_password: save_new_password$2,
13259
13568
  teacher_code: teacher_code$2,
13569
+ my_well_being: my_well_being$2,
13570
+ my_well_Being_check_in: my_well_Being_check_in$2,
13571
+ my_sessions: my_sessions$2,
13572
+ your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$2,
13573
+ school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$2,
13574
+ save_filters: save_filters$2,
13575
+ clear_all_filters: clear_all_filters$2,
13576
+ my_well_being_check_in: my_well_being_check_in$2,
13577
+ unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$2,
13578
+ physical_well_being: physical_well_being$2,
13579
+ emotional_well_being: emotional_well_being$2,
13580
+ "self_care_&_balance": "Self-Care & Balance",
13581
+ social_well_being_relationships: social_well_being_relationships$2,
13582
+ social_well_being_environment: social_well_being_environment$2,
13583
+ intellectual_well_being: intellectual_well_being$2,
13584
+ colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$2,
13585
+ wellbeing_finished: wellbeing_finished$2,
13586
+ take_a_moment_for_you: take_a_moment_for_you$2,
13587
+ 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,
13588
+ start_check_in_now: start_check_in_now$2,
13589
+ i_ll_do_it_later: i_ll_do_it_later$2,
13260
13590
  number_of_conversations: number_of_conversations$2,
13261
13591
  number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$2,
13262
13592
  search_for_a_student: search_for_a_student$2,
@@ -13269,13 +13599,36 @@ var lang_ar = {
13269
13599
  _unless_you_check_the_make_this_a_private_note_box: _unless_you_check_the_make_this_a_private_note_box$2,
13270
13600
  do_you_still_wish_to_save: do_you_still_wish_to_save$2,
13271
13601
  yes_im_sure: yes_im_sure$2,
13272
- start_check_in_now: start_check_in_now$2,
13273
13602
  delete_survey: delete_survey$2,
13274
13603
  are_you_sure_to_delete_selected_survey: are_you_sure_to_delete_selected_survey$2,
13275
13604
  delete_1_1: delete_1_1$2,
13276
13605
  are_you_sure_to_delete_this_one_to_one: are_you_sure_to_delete_this_one_to_one$2,
13277
13606
  delete_conversation: delete_conversation$2,
13278
- are_you_sure_to_delete_this_conversation: are_you_sure_to_delete_this_conversation$2
13607
+ are_you_sure_to_delete_this_conversation: are_you_sure_to_delete_this_conversation$2,
13608
+ teachers_well_being_dashboard: teachers_well_being_dashboard$2,
13609
+ my_well_being_dashboard: my_well_being_dashboard$2,
13610
+ understand_the_metrics_about_the_educators_wellness_and_environment: understand_the_metrics_about_the_educators_wellness_and_environment$2,
13611
+ understand_the_metrics_about_my_wellness_and_environment: understand_the_metrics_about_my_wellness_and_environment$2,
13612
+ engagement: engagement$2,
13613
+ total_1_1_conversations: total_1_1_conversations$2,
13614
+ educators_without_check_ins: educators_without_check_ins$2,
13615
+ educators_without_check_ins_not_br: educators_without_check_ins_not_br$2,
13616
+ educators_havent_completed_check_ins_in_the_last_30_days: educators_havent_completed_check_ins_in_the_last_30_days$2,
13617
+ you_can_send_individual_requests_or_bulk_reminders_to_all_educators: you_can_send_individual_requests_or_bulk_reminders_to_all_educators$2,
13618
+ department: department$2,
13619
+ last_check_in_normal: last_check_in_normal$2,
13620
+ request_check_in_wellbeing: request_check_in_wellbeing$2,
13621
+ send_bulk_reminder: send_bulk_reminder$2,
13622
+ physical: physical$2,
13623
+ self_care: self_care$2,
13624
+ relationships_well_being: relationships_well_being$2,
13625
+ self_care_well_being: self_care_well_being$2,
13626
+ environment: environment$2,
13627
+ environment_well_being: environment_well_being$2,
13628
+ intellectual: intellectual$2,
13629
+ the_data_presented_here_comes_from_the_check_ins: the_data_presented_here_comes_from_the_check_ins$2,
13630
+ charts_will_appear_once_over_20_of_educators: charts_will_appear_once_over_20_of_educators$2,
13631
+ total_1_1_requested: total_1_1_requested$2
13279
13632
  };
13280
13633
 
13281
13634
  var dashboard$3 = "Cuadro de mandos";
@@ -15452,11 +15805,47 @@ var save_note$3 = "Save note";
15452
15805
  var type_the_main_focus_of_this_session$3 = "Type the main focus of this session";
15453
15806
  var please_add_title_note$3 = "Please add note title";
15454
15807
  var notes_and_logs$3 = "Notes and Logs";
15808
+ var survey_portal$3 = "Survey Portal";
15809
+ var integrations$3 = "Integrations";
15810
+ var external_api$3 = "External Api";
15811
+ var teacher_well_being$3 = "Teacher Well-Being";
15812
+ var frequency_and_setup$3 = "Frequency and Setup";
15813
+ var well_being_dashboard$3 = "Well-Being Dashboard";
15814
+ var go_to_dashboard$3 = "Go to dashboard";
15815
+ 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.";
15816
+ 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.";
15817
+ 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.";
15818
+ var check_in_complete$3 = "Check-in Complete!";
15819
+ var schedule_a_conversation$3 = "Schedule a Conversation";
15820
+ var select_a_contact_to_speak_with$3 = "Select a contact to speak with";
15821
+ var what_would_you_like_to_discuss$3 = "What would you like to discuss?";
15822
+ 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...";
15823
+ var wellbeing_sections$3 = "Wellbeing Sections";
15455
15824
  var school_monthly_usage$3 = "School Monthly Usage";
15456
15825
  var location$4 = "Location";
15457
15826
  var edit_my_profile$3 = "Edit My Profile";
15458
15827
  var save_new_password$3 = "Save new password";
15459
15828
  var teacher_code$3 = "Teacher code";
15829
+ var my_well_being$3 = "My Well-being";
15830
+ var my_well_Being_check_in$3 = "My Well-Being Check-in";
15831
+ var my_sessions$3 = "My Sessions";
15832
+ var your_personal_data_will_not_be_shared_with_anyone_else$3 = "Your personal data will <strong>not be shared</strong> with anyone else";
15833
+ var school_leadership_will_only_see_aggregated_data$3 = "School leadership will only see aggregated data.";
15834
+ var save_filters$3 = "Save Filters";
15835
+ var clear_all_filters$3 = "Clear All Filters";
15836
+ var my_well_being_check_in$3 = "My Well-Being Check-in";
15837
+ var unless_you_specifically_choose_to_do_this$3 = "unless you specifically choose to do this.";
15838
+ var physical_well_being$3 = "Physical Well-Being";
15839
+ var emotional_well_being$3 = "Emotional Well-Being";
15840
+ var social_well_being_relationships$3 = "Social Well-Being - Relationships";
15841
+ var social_well_being_environment$3 = "Social Well-Being - Environment";
15842
+ var intellectual_well_being$3 = "Intellectual Well-Being";
15843
+ var colleague_or_staff_member_you_like_to_praise_or_thank$3 = "Colleague or staff member you'd like to praise or thank?";
15844
+ var wellbeing_finished$3 = "Wellbeing Finished";
15845
+ var take_a_moment_for_you$3 = "Take a Moment for You";
15846
+ 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.";
15847
+ var start_check_in_now$3 = "START CHECK-IN NOW";
15848
+ var i_ll_do_it_later$3 = "I'LL DO IT LATER";
15460
15849
  var number_of_conversations$3 = "Number of conversations";
15461
15850
  var number_of_expected_conversations_based_on_the_goal$3 = "Number of expected conversations based on the goal";
15462
15851
  var search_for_a_student$3 = "Search for a student";
@@ -15469,13 +15858,36 @@ var the_note_will_be_visible_to_the_student_and_all_connected_educators$3 = "The
15469
15858
  var _unless_you_check_the_make_this_a_private_note_box$3 = " unless you check the \"Make this a private note\" box";
15470
15859
  var do_you_still_wish_to_save$3 = "Do you still wish to save?";
15471
15860
  var yes_im_sure$3 = "yes, i'm sure!";
15472
- var start_check_in_now$3 = "START CHECK-IN NOW";
15473
15861
  var delete_survey$3 = "Delete survey";
15474
15862
  var are_you_sure_to_delete_selected_survey$3 = "Are you sure to delete {{number}} survey(s)?";
15475
15863
  var delete_1_1$3 = "Delete 1-1";
15476
15864
  var are_you_sure_to_delete_this_one_to_one$3 = "Are you sure to delete this one to one?";
15477
15865
  var delete_conversation$3 = "Delete conversation";
15478
15866
  var are_you_sure_to_delete_this_conversation$3 = "Are you sure to delete this conversation?";
15867
+ var teachers_well_being_dashboard$3 = "Teachers' Well-Being Dashboard";
15868
+ var my_well_being_dashboard$3 = "My Well-Being Dashboard";
15869
+ var understand_the_metrics_about_the_educators_wellness_and_environment$3 = "Understand the metrics about the educator's wellness and environment";
15870
+ var understand_the_metrics_about_my_wellness_and_environment$3 = "Understand the metrics about my wellness and environment";
15871
+ var engagement$3 = "Engagement";
15872
+ var total_1_1_conversations$3 = "Total 1-1 Conversations";
15873
+ var educators_without_check_ins$3 = "Educators without<br/>check-ins";
15874
+ var educators_without_check_ins_not_br$3 = "Educators without Check-ins";
15875
+ var educators_havent_completed_check_ins_in_the_last_30_days$3 = "educators haven't completed check-ins in the last 30 days";
15876
+ var you_can_send_individual_requests_or_bulk_reminders_to_all_educators$3 = "You can send individual requests or bulk reminders to all educators";
15877
+ var department$3 = "Department";
15878
+ var last_check_in_normal$3 = "Last check-in";
15879
+ var request_check_in_wellbeing$3 = "Request check-in";
15880
+ var send_bulk_reminder$3 = "Send bulk reminder";
15881
+ var physical$3 = "Physical";
15882
+ var self_care$3 = "Self-care";
15883
+ var relationships_well_being$3 = "Relationships Well-Being";
15884
+ var self_care_well_being$3 = "Self-Care Well-Being";
15885
+ var environment$3 = "Environment";
15886
+ var environment_well_being$3 = "Environment Well-Being";
15887
+ var intellectual$3 = "Intellectual";
15888
+ var the_data_presented_here_comes_from_the_check_ins$3 = "The data presented here comes from the check-ins.";
15889
+ var charts_will_appear_once_over_20_of_educators$3 = "Charts will appear once over 20% of educators<br/>have completed their check-ins.";
15890
+ var total_1_1_requested$3 = "Total 1-1 Requested";
15479
15891
  var lang_es = {
15480
15892
  dashboard: dashboard$3,
15481
15893
  user: user$3,
@@ -17705,11 +18117,48 @@ var lang_es = {
17705
18117
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$3,
17706
18118
  please_add_title_note: please_add_title_note$3,
17707
18119
  notes_and_logs: notes_and_logs$3,
18120
+ survey_portal: survey_portal$3,
18121
+ integrations: integrations$3,
18122
+ external_api: external_api$3,
18123
+ teacher_well_being: teacher_well_being$3,
18124
+ frequency_and_setup: frequency_and_setup$3,
18125
+ well_being_dashboard: well_being_dashboard$3,
18126
+ go_to_dashboard: go_to_dashboard$3,
18127
+ 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,
18128
+ 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,
18129
+ 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,
18130
+ check_in_complete: check_in_complete$3,
18131
+ schedule_a_conversation: schedule_a_conversation$3,
18132
+ select_a_contact_to_speak_with: select_a_contact_to_speak_with$3,
18133
+ what_would_you_like_to_discuss: what_would_you_like_to_discuss$3,
18134
+ 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,
18135
+ wellbeing_sections: wellbeing_sections$3,
17708
18136
  school_monthly_usage: school_monthly_usage$3,
17709
18137
  location: location$4,
17710
18138
  edit_my_profile: edit_my_profile$3,
17711
18139
  save_new_password: save_new_password$3,
17712
18140
  teacher_code: teacher_code$3,
18141
+ my_well_being: my_well_being$3,
18142
+ my_well_Being_check_in: my_well_Being_check_in$3,
18143
+ my_sessions: my_sessions$3,
18144
+ your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$3,
18145
+ school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$3,
18146
+ save_filters: save_filters$3,
18147
+ clear_all_filters: clear_all_filters$3,
18148
+ my_well_being_check_in: my_well_being_check_in$3,
18149
+ unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$3,
18150
+ physical_well_being: physical_well_being$3,
18151
+ emotional_well_being: emotional_well_being$3,
18152
+ "self_care_&_balance": "Self-Care & Balance",
18153
+ social_well_being_relationships: social_well_being_relationships$3,
18154
+ social_well_being_environment: social_well_being_environment$3,
18155
+ intellectual_well_being: intellectual_well_being$3,
18156
+ colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$3,
18157
+ wellbeing_finished: wellbeing_finished$3,
18158
+ take_a_moment_for_you: take_a_moment_for_you$3,
18159
+ 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,
18160
+ start_check_in_now: start_check_in_now$3,
18161
+ i_ll_do_it_later: i_ll_do_it_later$3,
17713
18162
  number_of_conversations: number_of_conversations$3,
17714
18163
  number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$3,
17715
18164
  search_for_a_student: search_for_a_student$3,
@@ -17722,13 +18171,36 @@ var lang_es = {
17722
18171
  _unless_you_check_the_make_this_a_private_note_box: _unless_you_check_the_make_this_a_private_note_box$3,
17723
18172
  do_you_still_wish_to_save: do_you_still_wish_to_save$3,
17724
18173
  yes_im_sure: yes_im_sure$3,
17725
- start_check_in_now: start_check_in_now$3,
17726
18174
  delete_survey: delete_survey$3,
17727
18175
  are_you_sure_to_delete_selected_survey: are_you_sure_to_delete_selected_survey$3,
17728
18176
  delete_1_1: delete_1_1$3,
17729
18177
  are_you_sure_to_delete_this_one_to_one: are_you_sure_to_delete_this_one_to_one$3,
17730
18178
  delete_conversation: delete_conversation$3,
17731
- are_you_sure_to_delete_this_conversation: are_you_sure_to_delete_this_conversation$3
18179
+ are_you_sure_to_delete_this_conversation: are_you_sure_to_delete_this_conversation$3,
18180
+ teachers_well_being_dashboard: teachers_well_being_dashboard$3,
18181
+ my_well_being_dashboard: my_well_being_dashboard$3,
18182
+ understand_the_metrics_about_the_educators_wellness_and_environment: understand_the_metrics_about_the_educators_wellness_and_environment$3,
18183
+ understand_the_metrics_about_my_wellness_and_environment: understand_the_metrics_about_my_wellness_and_environment$3,
18184
+ engagement: engagement$3,
18185
+ total_1_1_conversations: total_1_1_conversations$3,
18186
+ educators_without_check_ins: educators_without_check_ins$3,
18187
+ educators_without_check_ins_not_br: educators_without_check_ins_not_br$3,
18188
+ educators_havent_completed_check_ins_in_the_last_30_days: educators_havent_completed_check_ins_in_the_last_30_days$3,
18189
+ you_can_send_individual_requests_or_bulk_reminders_to_all_educators: you_can_send_individual_requests_or_bulk_reminders_to_all_educators$3,
18190
+ department: department$3,
18191
+ last_check_in_normal: last_check_in_normal$3,
18192
+ request_check_in_wellbeing: request_check_in_wellbeing$3,
18193
+ send_bulk_reminder: send_bulk_reminder$3,
18194
+ physical: physical$3,
18195
+ self_care: self_care$3,
18196
+ relationships_well_being: relationships_well_being$3,
18197
+ self_care_well_being: self_care_well_being$3,
18198
+ environment: environment$3,
18199
+ environment_well_being: environment_well_being$3,
18200
+ intellectual: intellectual$3,
18201
+ the_data_presented_here_comes_from_the_check_ins: the_data_presented_here_comes_from_the_check_ins$3,
18202
+ charts_will_appear_once_over_20_of_educators: charts_will_appear_once_over_20_of_educators$3,
18203
+ total_1_1_requested: total_1_1_requested$3
17732
18204
  };
17733
18205
 
17734
18206
  var dashboard$4 = "仪表板";
@@ -19905,11 +20377,47 @@ var save_note$4 = "Save note";
19905
20377
  var type_the_main_focus_of_this_session$4 = "Type the main focus of this session";
19906
20378
  var please_add_title_note$4 = "Please add note title";
19907
20379
  var notes_and_logs$4 = "Notes and Logs";
20380
+ var survey_portal$4 = "Survey Portal";
20381
+ var integrations$4 = "Integrations";
20382
+ var external_api$4 = "External Api";
20383
+ var teacher_well_being$4 = "Teacher Well-Being";
20384
+ var frequency_and_setup$4 = "Frequency and Setup";
20385
+ var well_being_dashboard$4 = "Well-Being Dashboard";
20386
+ var go_to_dashboard$4 = "Go to dashboard";
20387
+ 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.";
20388
+ 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.";
20389
+ 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.";
20390
+ var check_in_complete$4 = "Check-in Complete!";
20391
+ var schedule_a_conversation$4 = "Schedule a Conversation";
20392
+ var select_a_contact_to_speak_with$4 = "Select a contact to speak with";
20393
+ var what_would_you_like_to_discuss$4 = "What would you like to discuss?";
20394
+ 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...";
20395
+ var wellbeing_sections$4 = "Wellbeing Sections";
19908
20396
  var school_monthly_usage$4 = "School Monthly Usage";
19909
20397
  var location$5 = "Location";
19910
20398
  var edit_my_profile$4 = "Edit My Profile";
19911
20399
  var save_new_password$4 = "Save new password";
19912
20400
  var teacher_code$4 = "Teacher code";
20401
+ var my_well_being$4 = "My Well-being";
20402
+ var my_well_Being_check_in$4 = "My Well-Being Check-in";
20403
+ var my_sessions$4 = "My Sessions";
20404
+ var your_personal_data_will_not_be_shared_with_anyone_else$4 = "Your personal data will <strong>not be shared</strong> with anyone else";
20405
+ var school_leadership_will_only_see_aggregated_data$4 = "School leadership will only see aggregated data.";
20406
+ var save_filters$4 = "Save Filters";
20407
+ var clear_all_filters$4 = "Clear All Filters";
20408
+ var my_well_being_check_in$4 = "My Well-Being Check-in";
20409
+ var unless_you_specifically_choose_to_do_this$4 = "unless you specifically choose to do this.";
20410
+ var physical_well_being$4 = "Physical Well-Being";
20411
+ var emotional_well_being$4 = "Emotional Well-Being";
20412
+ var social_well_being_relationships$4 = "Social Well-Being - Relationships";
20413
+ var social_well_being_environment$4 = "Social Well-Being - Environment";
20414
+ var intellectual_well_being$4 = "Intellectual Well-Being";
20415
+ var colleague_or_staff_member_you_like_to_praise_or_thank$4 = "Colleague or staff member you'd like to praise or thank?";
20416
+ var wellbeing_finished$4 = "Wellbeing Finished";
20417
+ var take_a_moment_for_you$4 = "Take a Moment for You";
20418
+ 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.";
20419
+ var start_check_in_now$4 = "START CHECK-IN NOW";
20420
+ var i_ll_do_it_later$4 = "I'LL DO IT LATER";
19913
20421
  var number_of_conversations$4 = "Number of conversations";
19914
20422
  var number_of_expected_conversations_based_on_the_goal$4 = "Number of expected conversations based on the goal";
19915
20423
  var search_for_a_student$4 = "Search for a student";
@@ -19922,13 +20430,36 @@ var the_note_will_be_visible_to_the_student_and_all_connected_educators$4 = "The
19922
20430
  var _unless_you_check_the_make_this_a_private_note_box$4 = " unless you check the \"Make this a private note\" box";
19923
20431
  var do_you_still_wish_to_save$4 = "Do you still wish to save?";
19924
20432
  var yes_im_sure$4 = "yes, i'm sure!";
19925
- var start_check_in_now$4 = "START CHECK-IN NOW";
19926
20433
  var delete_survey$4 = "Delete survey";
19927
20434
  var are_you_sure_to_delete_selected_survey$4 = "Are you sure to delete {{number}} survey(s)?";
19928
20435
  var delete_1_1$4 = "Delete 1-1";
19929
20436
  var are_you_sure_to_delete_this_one_to_one$4 = "Are you sure to delete this one to one?";
19930
20437
  var delete_conversation$4 = "Delete conversation";
19931
20438
  var are_you_sure_to_delete_this_conversation$4 = "Are you sure to delete this conversation?";
20439
+ var teachers_well_being_dashboard$4 = "Teachers' Well-Being Dashboard";
20440
+ var my_well_being_dashboard$4 = "My Well-Being Dashboard";
20441
+ var understand_the_metrics_about_the_educators_wellness_and_environment$4 = "Understand the metrics about the educator's wellness and environment";
20442
+ var understand_the_metrics_about_my_wellness_and_environment$4 = "Understand the metrics about my wellness and environment";
20443
+ var engagement$4 = "Engagement";
20444
+ var total_1_1_conversations$4 = "Total 1-1 Conversations";
20445
+ var educators_without_check_ins$4 = "Educators without<br/>check-ins";
20446
+ var educators_without_check_ins_not_br$4 = "Educators without Check-ins";
20447
+ var educators_havent_completed_check_ins_in_the_last_30_days$4 = "educators haven't completed check-ins in the last 30 days";
20448
+ var you_can_send_individual_requests_or_bulk_reminders_to_all_educators$4 = "You can send individual requests or bulk reminders to all educators";
20449
+ var department$4 = "Department";
20450
+ var last_check_in_normal$4 = "Last check-in";
20451
+ var request_check_in_wellbeing$4 = "Request check-in";
20452
+ var send_bulk_reminder$4 = "Send bulk reminder";
20453
+ var physical$4 = "Physical";
20454
+ var self_care$4 = "Self-care";
20455
+ var relationships_well_being$4 = "Relationships Well-Being";
20456
+ var self_care_well_being$4 = "Self-Care Well-Being";
20457
+ var environment$4 = "Environment";
20458
+ var environment_well_being$4 = "Environment Well-Being";
20459
+ var intellectual$4 = "Intellectual";
20460
+ var the_data_presented_here_comes_from_the_check_ins$4 = "The data presented here comes from the check-ins.";
20461
+ var charts_will_appear_once_over_20_of_educators$4 = "Charts will appear once over 20% of educators<br/>have completed their check-ins.";
20462
+ var total_1_1_requested$4 = "Total 1-1 Requested";
19932
20463
  var lang_zh = {
19933
20464
  dashboard: dashboard$4,
19934
20465
  user: user$4,
@@ -22158,11 +22689,48 @@ var lang_zh = {
22158
22689
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$4,
22159
22690
  please_add_title_note: please_add_title_note$4,
22160
22691
  notes_and_logs: notes_and_logs$4,
22692
+ survey_portal: survey_portal$4,
22693
+ integrations: integrations$4,
22694
+ external_api: external_api$4,
22695
+ teacher_well_being: teacher_well_being$4,
22696
+ frequency_and_setup: frequency_and_setup$4,
22697
+ well_being_dashboard: well_being_dashboard$4,
22698
+ go_to_dashboard: go_to_dashboard$4,
22699
+ 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,
22700
+ 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,
22701
+ 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,
22702
+ check_in_complete: check_in_complete$4,
22703
+ schedule_a_conversation: schedule_a_conversation$4,
22704
+ select_a_contact_to_speak_with: select_a_contact_to_speak_with$4,
22705
+ what_would_you_like_to_discuss: what_would_you_like_to_discuss$4,
22706
+ 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,
22707
+ wellbeing_sections: wellbeing_sections$4,
22161
22708
  school_monthly_usage: school_monthly_usage$4,
22162
22709
  location: location$5,
22163
22710
  edit_my_profile: edit_my_profile$4,
22164
22711
  save_new_password: save_new_password$4,
22165
22712
  teacher_code: teacher_code$4,
22713
+ my_well_being: my_well_being$4,
22714
+ my_well_Being_check_in: my_well_Being_check_in$4,
22715
+ my_sessions: my_sessions$4,
22716
+ your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$4,
22717
+ school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$4,
22718
+ save_filters: save_filters$4,
22719
+ clear_all_filters: clear_all_filters$4,
22720
+ my_well_being_check_in: my_well_being_check_in$4,
22721
+ unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$4,
22722
+ physical_well_being: physical_well_being$4,
22723
+ emotional_well_being: emotional_well_being$4,
22724
+ "self_care_&_balance": "Self-Care & Balance",
22725
+ social_well_being_relationships: social_well_being_relationships$4,
22726
+ social_well_being_environment: social_well_being_environment$4,
22727
+ intellectual_well_being: intellectual_well_being$4,
22728
+ colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$4,
22729
+ wellbeing_finished: wellbeing_finished$4,
22730
+ take_a_moment_for_you: take_a_moment_for_you$4,
22731
+ 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,
22732
+ start_check_in_now: start_check_in_now$4,
22733
+ i_ll_do_it_later: i_ll_do_it_later$4,
22166
22734
  number_of_conversations: number_of_conversations$4,
22167
22735
  number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$4,
22168
22736
  search_for_a_student: search_for_a_student$4,
@@ -22175,13 +22743,36 @@ var lang_zh = {
22175
22743
  _unless_you_check_the_make_this_a_private_note_box: _unless_you_check_the_make_this_a_private_note_box$4,
22176
22744
  do_you_still_wish_to_save: do_you_still_wish_to_save$4,
22177
22745
  yes_im_sure: yes_im_sure$4,
22178
- start_check_in_now: start_check_in_now$4,
22179
22746
  delete_survey: delete_survey$4,
22180
22747
  are_you_sure_to_delete_selected_survey: are_you_sure_to_delete_selected_survey$4,
22181
22748
  delete_1_1: delete_1_1$4,
22182
22749
  are_you_sure_to_delete_this_one_to_one: are_you_sure_to_delete_this_one_to_one$4,
22183
22750
  delete_conversation: delete_conversation$4,
22184
- are_you_sure_to_delete_this_conversation: are_you_sure_to_delete_this_conversation$4
22751
+ are_you_sure_to_delete_this_conversation: are_you_sure_to_delete_this_conversation$4,
22752
+ teachers_well_being_dashboard: teachers_well_being_dashboard$4,
22753
+ my_well_being_dashboard: my_well_being_dashboard$4,
22754
+ understand_the_metrics_about_the_educators_wellness_and_environment: understand_the_metrics_about_the_educators_wellness_and_environment$4,
22755
+ understand_the_metrics_about_my_wellness_and_environment: understand_the_metrics_about_my_wellness_and_environment$4,
22756
+ engagement: engagement$4,
22757
+ total_1_1_conversations: total_1_1_conversations$4,
22758
+ educators_without_check_ins: educators_without_check_ins$4,
22759
+ educators_without_check_ins_not_br: educators_without_check_ins_not_br$4,
22760
+ educators_havent_completed_check_ins_in_the_last_30_days: educators_havent_completed_check_ins_in_the_last_30_days$4,
22761
+ you_can_send_individual_requests_or_bulk_reminders_to_all_educators: you_can_send_individual_requests_or_bulk_reminders_to_all_educators$4,
22762
+ department: department$4,
22763
+ last_check_in_normal: last_check_in_normal$4,
22764
+ request_check_in_wellbeing: request_check_in_wellbeing$4,
22765
+ send_bulk_reminder: send_bulk_reminder$4,
22766
+ physical: physical$4,
22767
+ self_care: self_care$4,
22768
+ relationships_well_being: relationships_well_being$4,
22769
+ self_care_well_being: self_care_well_being$4,
22770
+ environment: environment$4,
22771
+ environment_well_being: environment_well_being$4,
22772
+ intellectual: intellectual$4,
22773
+ the_data_presented_here_comes_from_the_check_ins: the_data_presented_here_comes_from_the_check_ins$4,
22774
+ charts_will_appear_once_over_20_of_educators: charts_will_appear_once_over_20_of_educators$4,
22775
+ total_1_1_requested: total_1_1_requested$4
22185
22776
  };
22186
22777
 
22187
22778
  var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
@@ -39782,6 +40373,7 @@ var showMenuBar = toolkit.createAction("common/showMenuBar");
39782
40373
  var showFontSize = toolkit.createAction("common/showFontSize");
39783
40374
  var setEnableIEP = toolkit.createAction("common/setEnableIEP");
39784
40375
  var setEnableSurvey = toolkit.createAction("common/setEnableSurvey");
40376
+ var setEnableWellBeing = toolkit.createAction("common/setEnableWellBeing");
39785
40377
  var setEnableMarioAi = toolkit.createAction("common/setEnableMarioAi");
39786
40378
  var setSandboxMode = toolkit.createAction("common/setSandboxMode");
39787
40379
  var setConversationOneToOne = toolkit.createAction("common/setConversationOneToOne");
@@ -42097,6 +42689,212 @@ var TheHeaderDropdown = function TheHeaderDropdown(_ref) {
42097
42689
  })), t("log_out")))));
42098
42690
  };
42099
42691
 
42692
+ var apiGetLanguage = function apiGetLanguage() {
42693
+ return api.get(BASE_URL + "/api/language");
42694
+ };
42695
+
42696
+ var apiUpdateLanguage = function apiUpdateLanguage(lang) {
42697
+ return api.put(BASE_URL + "/api/language?lang=" + lang);
42698
+ };
42699
+
42700
+ var LANGUAGE_SYSTEM = "LANGUAGE_SYSTEM";
42701
+
42702
+ var useLanguages = function useLanguages() {
42703
+ var dispatch = reactRedux.useDispatch();
42704
+
42705
+ var _useTranslation = reactI18next.useTranslation(),
42706
+ i18n = _useTranslation.i18n;
42707
+
42708
+ var language = reactRedux.useSelector(function (state) {
42709
+ return state.common.language;
42710
+ });
42711
+ var defaultLanguage = getCookieValue(LANGUAGE_SYSTEM) != null ? getCookieValue(LANGUAGE_SYSTEM) : DEFAULT_LANGUAGE_CODE;
42712
+
42713
+ var _useState = React.useState([]),
42714
+ languageList = _useState[0],
42715
+ setLanguageList = _useState[1];
42716
+
42717
+ var _useState2 = React.useState(false),
42718
+ dropdownOpen = _useState2[0],
42719
+ setDropdownOpen = _useState2[1];
42720
+
42721
+ var _useState3 = React.useState(defaultLanguage),
42722
+ currentLang = _useState3[0],
42723
+ setCurrentLang = _useState3[1];
42724
+
42725
+ var toggle = function toggle() {
42726
+ return setDropdownOpen(function (prevState) {
42727
+ return !prevState;
42728
+ });
42729
+ };
42730
+
42731
+ var changeLanguageApp = function changeLanguageApp(lang) {
42732
+ try {
42733
+ var _temp3 = function _temp3() {
42734
+ dispatch(setLoading(false));
42735
+ };
42736
+
42737
+ dispatch(setLoading(true));
42738
+
42739
+ var _temp4 = _catch(function () {
42740
+ return Promise.resolve(apiUpdateLanguage(lang)).then(function () {
42741
+ i18n.changeLanguage(lang);
42742
+ setCurrentLang(lang);
42743
+ dispatch(setLanguage(lang));
42744
+ });
42745
+ }, function (err) {
42746
+ var _err$response, _err$response$data;
42747
+
42748
+ dispatch(setAlert({
42749
+ type: "danger",
42750
+ 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
42751
+ }));
42752
+ });
42753
+
42754
+ return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp3) : _temp3(_temp4));
42755
+ } catch (e) {
42756
+ return Promise.reject(e);
42757
+ }
42758
+ };
42759
+
42760
+ var getListLanguage = function getListLanguage() {
42761
+ try {
42762
+ var _temp6 = _catch(function () {
42763
+ return Promise.resolve(apiGetLanguage()).then(function (res) {
42764
+ setLanguageList(res.data);
42765
+ });
42766
+ }, function (err) {
42767
+ var _err$response2, _err$response2$data;
42768
+
42769
+ dispatch(setAlert({
42770
+ type: "danger",
42771
+ 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
42772
+ }));
42773
+ });
42774
+
42775
+ return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
42776
+ } catch (e) {
42777
+ return Promise.reject(e);
42778
+ }
42779
+ };
42780
+
42781
+ React.useEffect(function () {
42782
+ defaultLanguage != language && changeLanguageApp(defaultLanguage);
42783
+ getListLanguage();
42784
+ }, []);
42785
+ return {
42786
+ languageList: languageList,
42787
+ toggle: toggle,
42788
+ dropdownOpen: dropdownOpen,
42789
+ currentLang: currentLang,
42790
+ changeLanguageApp: changeLanguageApp,
42791
+ setCurrentLang: setCurrentLang
42792
+ };
42793
+ };
42794
+
42795
+ var TheLanguageDropdown = function TheLanguageDropdown() {
42796
+ var _useLanguages = useLanguages(),
42797
+ languageList = _useLanguages.languageList,
42798
+ toggle = _useLanguages.toggle,
42799
+ dropdownOpen = _useLanguages.dropdownOpen,
42800
+ currentLang = _useLanguages.currentLang,
42801
+ changeLanguageApp = _useLanguages.changeLanguageApp;
42802
+
42803
+ var currentLanguage = React.useMemo(function () {
42804
+ var current = languageList.find(function (i) {
42805
+ return i.code === currentLang;
42806
+ });
42807
+ if (!current) return null;
42808
+ return React__default.createElement(React__default.Fragment, null, React__default.createElement("img", {
42809
+ className: "mr-2 " + styles['dropdown-menu-flag'],
42810
+ src: "" + getStaticFileUrl(current.image)
42811
+ }), " ", current.name);
42812
+ }, [currentLang, languageList]);
42813
+ return React__default.createElement(reactstrap.Dropdown, {
42814
+ isOpen: dropdownOpen,
42815
+ toggle: toggle,
42816
+ className: "" + styles["dropdown-menu"]
42817
+ }, React__default.createElement(reactstrap.DropdownToggle, {
42818
+ className: styles["header-avatar"] + " d-flex align-items-center"
42819
+ }, React__default.createElement("span", {
42820
+ style: {
42821
+ color: "#000",
42822
+ textTransform: "capitalize",
42823
+ display: 'flex',
42824
+ alignItems: 'center'
42825
+ }
42826
+ }, currentLanguage, React__default.createElement(bs.BsChevronDown, {
42827
+ className: "ml-2",
42828
+ style: {
42829
+ fontSize: '10px'
42830
+ }
42831
+ }))), React__default.createElement(reactstrap.DropdownMenu, {
42832
+ className: styles["dropdown-content-language"]
42833
+ }, !!languageList && languageList.length > 0 && languageList.map(function (lang, index) {
42834
+ return React__default.createElement(reactstrap.DropdownItem, {
42835
+ key: lang.code,
42836
+ className: styles["dropdown-change"] + " px-0 py-0 " + (index === languageList.length - 1 ? "pb-2" : "pt-2"),
42837
+ onClick: function onClick() {
42838
+ return changeLanguageApp(lang.code);
42839
+ }
42840
+ }, React__default.createElement("div", {
42841
+ className: styles["dropdown-item-language"] + " " + styles["item-logout"] + " " + (currentLang == lang.code ? styles['dropdown-item-language-active'] : "") + " d-flex align-items-center w-100"
42842
+ }, React__default.createElement("span", {
42843
+ className: "mr-2 d-flex hover-opacity"
42844
+ }, React__default.createElement("img", {
42845
+ style: {
42846
+ width: "30px",
42847
+ height: "25px",
42848
+ borderRadius: "5px"
42849
+ },
42850
+ src: getStaticFileUrl(lang.image)
42851
+ })), lang.name));
42852
+ })));
42853
+ };
42854
+
42855
+ var TheHeader = function TheHeader(_ref) {
42856
+ var onToggleModel = _ref.onToggleModel;
42857
+ var dispatch = reactRedux.useDispatch();
42858
+ var sidebarShow = reactRedux.useSelector(function (state) {
42859
+ return state.common.sidebarShow;
42860
+ });
42861
+
42862
+ var _useTranslation = reactI18next.useTranslation(),
42863
+ t = _useTranslation.t;
42864
+
42865
+ var toggleSidebarMobile = function toggleSidebarMobile() {
42866
+ var val = [false, "responsive"].includes(sidebarShow) ? true : "responsive";
42867
+ dispatch(setSidebar(val));
42868
+ };
42869
+
42870
+ var isDistrict = window.location.host.includes("-district");
42871
+ return React__default.createElement(react.CHeader, {
42872
+ withSubheader: true,
42873
+ className: "d-flex align-items-center justify-content-end"
42874
+ }, React__default.createElement(react.CToggler, {
42875
+ inHeader: true,
42876
+ className: "ml-md-3 d-lg-none",
42877
+ onClick: toggleSidebarMobile
42878
+ }), React__default.createElement(react.CHeaderBrand, {
42879
+ className: "mx-auto flex-grow-1 d-lg-none",
42880
+ to: "/"
42881
+ }, React__default.createElement("img", {
42882
+ src: getStaticFileUrl(Images.LOGO_HEADER),
42883
+ className: styles["header-logo"]
42884
+ })), React__default.createElement(react.CHeaderNav, {
42885
+ className: "pr-3"
42886
+ }, React__default.createElement(TheLanguageDropdown, null), React__default.createElement("a", {
42887
+ className: "mr-3",
42888
+ style: {
42889
+ color: '#000'
42890
+ },
42891
+ href: '/privacy-policy',
42892
+ target: "blank"
42893
+ }, t("privacy_policy")), !isDistrict && React__default.createElement(NotificationButton, null), React__default.createElement(TheHeaderDropdown, {
42894
+ onToggleModel: onToggleModel
42895
+ })));
42896
+ };
42897
+
42100
42898
  var TITLE$3 = "Not found";
42101
42899
 
42102
42900
  var NotFound = function NotFound() {
@@ -42154,6 +42952,258 @@ var TheContent = function TheContent(_ref) {
42154
42952
 
42155
42953
  var TheContent$1 = React__default.memo(TheContent);
42156
42954
 
42955
+ var loadingStyle = {
42956
+ minWidth: "100vw",
42957
+ minHeight: "100vh",
42958
+ position: "fixed",
42959
+ top: 0,
42960
+ left: 0,
42961
+ zIndex: 999999999,
42962
+ backgroundColor: "rgba(0, 0, 0, 0.4)",
42963
+ display: "flex",
42964
+ justifyContent: "center",
42965
+ alignItems: "center"
42966
+ };
42967
+
42968
+ var Loading = function Loading() {
42969
+ var isLoading = reactRedux.useSelector(function (state) {
42970
+ return state.common.isLoading;
42971
+ });
42972
+ localStorage.setItem("LAST_TIME_REQUETST", moment().utc().format("YYYY-MM-DD HH:mm:ss"));
42973
+ return isLoading ? React__default.createElement("div", {
42974
+ style: loadingStyle
42975
+ }, React__default.createElement("div", {
42976
+ className: "spinner-border text-secondary",
42977
+ role: "status"
42978
+ }, React__default.createElement("span", {
42979
+ className: "sr-only"
42980
+ }, "Loading..."))) : null;
42981
+ };
42982
+
42983
+ var firstCheckToken = function firstCheckToken() {
42984
+ return Promise.resolve(_catch(function () {
42985
+ var token = getAccessToken();
42986
+ return token ? Promise.resolve(checkToken(token)).then(function (tokenStatus) {
42987
+ return tokenStatus.data ? true : false;
42988
+ }) : false;
42989
+ }, function () {
42990
+ return false;
42991
+ }));
42992
+ };
42993
+
42994
+ var canAccess = function canAccess(userRoles, componentRoles) {
42995
+ if (!Array.isArray(userRoles)) {
42996
+ return false;
42997
+ }
42998
+
42999
+ if (Array.isArray(componentRoles)) {
43000
+ var intersects = userRoles.filter(function (i) {
43001
+ return componentRoles.includes(i);
43002
+ });
43003
+ return intersects.length > 0;
43004
+ }
43005
+
43006
+ return true;
43007
+ };
43008
+
43009
+ var ModelSelectRole = function ModelSelectRole(_ref) {
43010
+ var _handleUserRole;
43011
+
43012
+ var open = _ref.open,
43013
+ onToggleModel = _ref.onToggleModel;
43014
+ var dispatch = reactRedux.useDispatch();
43015
+
43016
+ var _useTranslation = reactI18next.useTranslation(),
43017
+ t = _useTranslation.t;
43018
+
43019
+ var history = reactRouterDom.useHistory();
43020
+ var pathname = window.location.pathname;
43021
+ var user = reactRedux.useSelector(function (state) {
43022
+ return state.common.user;
43023
+ });
43024
+ var roles = user === null || user === void 0 ? void 0 : user.roles;
43025
+
43026
+ var handleSelectUserRoles = function handleSelectUserRoles(roles) {
43027
+ dispatch(setLoading(true));
43028
+ var roleSelect = roles.includes("Teacher/Assistant") ? ["Teacher", "Assistant"] : roles;
43029
+ dispatch(setUser(_extends({}, user, {
43030
+ roles: roleSelect
43031
+ })));
43032
+ localStorage.setItem("ROLES", roleSelect.toString());
43033
+ onToggleModel();
43034
+
43035
+ if (roles.includes("Parent")) {
43036
+ history.push("/parent");
43037
+ } else if (roles.includes("Admin")) {
43038
+ history.push("/admin/home");
43039
+ } else {
43040
+ pathname !== "/home" ? history.push("/home") : window.location.reload();
43041
+ }
43042
+ };
43043
+
43044
+ return React__default.createElement(reactstrap.Modal, {
43045
+ isOpen: open,
43046
+ toggle: function toggle() {
43047
+ return onToggleModel();
43048
+ },
43049
+ className: "" + styles["model-switch-roles"],
43050
+ centered: true
43051
+ }, React__default.createElement("p", {
43052
+ className: "" + styles["title"]
43053
+ }, 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) {
43054
+ return React__default.createElement("p", {
43055
+ key: r,
43056
+ 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" : ""],
43057
+ onClick: function onClick() {
43058
+ return handleSelectUserRoles([r]);
43059
+ }
43060
+ }, r == "SecondaryTeacher" ? "Support Teacher" : r);
43061
+ })));
43062
+ };
43063
+
43064
+ var TheLayout = function TheLayout(_ref) {
43065
+ var routes = _ref.routes,
43066
+ navigation = _ref.navigation;
43067
+ var history = reactRouterDom.useHistory();
43068
+ var dispatch = reactRedux.useDispatch();
43069
+ var user = reactRedux.useSelector(function (state) {
43070
+ return state.common.user;
43071
+ });
43072
+ var language = reactRedux.useSelector(function (state) {
43073
+ return state.common.language;
43074
+ });
43075
+
43076
+ var _useState = React.useState(false),
43077
+ openModelSelectRole = _useState[0],
43078
+ setOpenModelSelectRole = _useState[1];
43079
+
43080
+ var _useTranslation = reactI18next.useTranslation(),
43081
+ t = _useTranslation.t;
43082
+
43083
+ var location = reactRouterDom.useLocation();
43084
+ var isNotification = location.pathname.includes("notifications");
43085
+ var isDistrict = window.location.host.includes("-district");
43086
+
43087
+ var handleToggleModel = function handleToggleModel() {
43088
+ setOpenModelSelectRole(!openModelSelectRole);
43089
+ };
43090
+
43091
+ var authRoutes = React.useMemo(function () {
43092
+ return routes.filter(function (route) {
43093
+ return canAccess(user === null || user === void 0 ? void 0 : user.roles, route.roles);
43094
+ }).filter(function (route) {
43095
+ return !!route.isDistrict === isDistrict;
43096
+ });
43097
+ }, [user, language]);
43098
+ var authNavigations = React.useMemo(function () {
43099
+ return navigation.map(function (item) {
43100
+ var _item$_children, _item$_children2;
43101
+
43102
+ return _extends({}, item, {
43103
+ name: t(item.name),
43104
+ _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) {
43105
+ return _extends({}, x, {
43106
+ name: t(x.name)
43107
+ });
43108
+ }) : undefined
43109
+ });
43110
+ }).filter(function (nav) {
43111
+ return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
43112
+ }).filter(function (nav) {
43113
+ return !!nav.isDistrict === isDistrict;
43114
+ });
43115
+ }, [user, language]);
43116
+
43117
+ var getInformationSetting = function getInformationSetting() {
43118
+ try {
43119
+ var _temp2 = _catch(function () {
43120
+ return Promise.resolve(getSchoolSettings()).then(function (res) {
43121
+ dispatch(setSandboxMode(res.data.isSandboxMode));
43122
+ });
43123
+ }, function (err) {
43124
+ console.error(err);
43125
+ });
43126
+
43127
+ return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(function () {}) : void 0);
43128
+ } catch (e) {
43129
+ return Promise.reject(e);
43130
+ }
43131
+ };
43132
+
43133
+ React.useEffect(function () {
43134
+ checkAuthentication();
43135
+ }, []);
43136
+ React.useEffect(function () {
43137
+ getInformationSetting();
43138
+ }, [location.pathname]);
43139
+
43140
+ var checkAuthentication = function checkAuthentication() {
43141
+ try {
43142
+ var _temp4 = _catch(function () {
43143
+ return Promise.resolve(firstCheckToken()).then(function (tokenStatus) {
43144
+ tokenStatus ? loadInfo() : resetAuth();
43145
+ });
43146
+ }, function () {
43147
+ resetAuth();
43148
+ });
43149
+
43150
+ return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(function () {}) : void 0);
43151
+ } catch (e) {
43152
+ return Promise.reject(e);
43153
+ }
43154
+ };
43155
+
43156
+ var loadInfo = function loadInfo() {
43157
+ try {
43158
+ var _temp6 = _catch(function () {
43159
+ return Promise.resolve(getInfo()).then(function (info) {
43160
+ var _info$data, _info$data$roles;
43161
+
43162
+ 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"))) {
43163
+ resetAuth();
43164
+ }
43165
+
43166
+ dispatch(setUser(info.data));
43167
+ });
43168
+ }, function () {
43169
+ resetAuth();
43170
+ });
43171
+
43172
+ return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
43173
+ } catch (e) {
43174
+ return Promise.reject(e);
43175
+ }
43176
+ };
43177
+
43178
+ var resetAuth = function resetAuth() {
43179
+ localStorage.removeItem(ACCESS_TOKEN);
43180
+ sessionStorage.removeItem(ACCESS_TOKEN);
43181
+ localStorage.removeItem("ROLES");
43182
+ history.push("/");
43183
+ };
43184
+
43185
+ if (!user) {
43186
+ return React__default.createElement(Loading, null);
43187
+ }
43188
+
43189
+ return React__default.createElement("div", {
43190
+ className: "c-app c-default-layout"
43191
+ }, !isNotification && React__default.createElement(TheSidebar, {
43192
+ navigation: authNavigations
43193
+ }), React__default.createElement("div", {
43194
+ className: "c-wrapper"
43195
+ }, !isNotification && React__default.createElement(TheHeader, {
43196
+ onToggleModel: handleToggleModel
43197
+ }), React__default.createElement("div", {
43198
+ className: "c-body bg-white"
43199
+ }, React__default.createElement(TheContent$1, {
43200
+ routes: authRoutes
43201
+ }))), React__default.createElement(ModelSelectRole, {
43202
+ open: openModelSelectRole,
43203
+ onToggleModel: handleToggleModel
43204
+ }));
43205
+ };
43206
+
42157
43207
  var buttonTextStyle = {
42158
43208
  fontWeight: 500
42159
43209
  };
@@ -47905,8 +48955,6 @@ var useAssignStudent = function useAssignStudent(teacherSelected, assistantSelec
47905
48955
 
47906
48956
  var onAssignStaffToStudents = function onAssignStaffToStudents(listUserIds) {
47907
48957
  try {
47908
- var _userSelected$filter$, _userSelected$filter;
47909
-
47910
48958
  var _temp27 = function _temp27() {
47911
48959
  dispatch(setLoading(false));
47912
48960
  };
@@ -47927,20 +48975,6 @@ var useAssignStudent = function useAssignStudent(teacherSelected, assistantSelec
47927
48975
  return Promise.resolve();
47928
48976
  }
47929
48977
 
47930
- var allUsersHaveTeachers = (_userSelected$filter$ = userSelected === null || userSelected === void 0 ? void 0 : (_userSelected$filter = userSelected.filter(function (user) {
47931
- return listUserIds === null || listUserIds === void 0 ? void 0 : listUserIds.includes(user.id);
47932
- })) === null || _userSelected$filter === void 0 ? void 0 : _userSelected$filter.every(function (u) {
47933
- return Array.isArray(u.teachers) && u.teachers.length > 0;
47934
- })) != null ? _userSelected$filter$ : false;
47935
-
47936
- if (staffBulkAssign.teacher.length === 0 && !allUsersHaveTeachers) {
47937
- dispatch(setAlert({
47938
- type: "danger",
47939
- message: "Please assign a teacher to each student before giving other educators access to them"
47940
- }));
47941
- return Promise.resolve();
47942
- }
47943
-
47944
48978
  dispatch(setLoading(true));
47945
48979
 
47946
48980
  var _temp28 = _catch(function () {
@@ -51550,34 +52584,6 @@ var UserDetail = function UserDetail() {
51550
52584
  });
51551
52585
  };
51552
52586
 
51553
- var loadingStyle = {
51554
- minWidth: "100vw",
51555
- minHeight: "100vh",
51556
- position: "fixed",
51557
- top: 0,
51558
- left: 0,
51559
- zIndex: 999999999,
51560
- backgroundColor: "rgba(0, 0, 0, 0.4)",
51561
- display: "flex",
51562
- justifyContent: "center",
51563
- alignItems: "center"
51564
- };
51565
-
51566
- var Loading = function Loading() {
51567
- var isLoading = reactRedux.useSelector(function (state) {
51568
- return state.common.isLoading;
51569
- });
51570
- localStorage.setItem("LAST_TIME_REQUETST", moment().utc().format("YYYY-MM-DD HH:mm:ss"));
51571
- return isLoading ? React__default.createElement("div", {
51572
- style: loadingStyle
51573
- }, React__default.createElement("div", {
51574
- className: "spinner-border text-secondary",
51575
- role: "status"
51576
- }, React__default.createElement("span", {
51577
- className: "sr-only"
51578
- }, "Loading..."))) : null;
51579
- };
51580
-
51581
52587
  var ScrollToTop = function ScrollToTop() {
51582
52588
  var _useLocation = reactRouterDom.useLocation(),
51583
52589
  pathname = _useLocation.pathname;
@@ -51685,12 +52691,7 @@ var CommonHeader = function CommonHeader(_ref) {
51685
52691
  }, header))));
51686
52692
  };
51687
52693
 
51688
- var IDLE_MINUTES_WARNING = 13;
51689
- var AUTO_LOGOUT_MINUTES = 15;
51690
-
51691
52694
  var NotificationLogoutModal = function NotificationLogoutModal() {
51692
- var history = reactRouterDom.useHistory();
51693
-
51694
52695
  var _useState = React.useState(false),
51695
52696
  isOpen = _useState[0],
51696
52697
  setIsOpen = _useState[1];
@@ -51702,65 +52703,37 @@ var NotificationLogoutModal = function NotificationLogoutModal() {
51702
52703
  objTime = _useState2[0],
51703
52704
  setObjTime = _useState2[1];
51704
52705
 
51705
- var getLastActivity = function getLastActivity() {
51706
- try {
51707
- var _localStorage$getItem, _localStorage, _localStorage$getItem2;
51708
-
51709
- return (_localStorage$getItem = (_localStorage = localStorage) === null || _localStorage === void 0 ? void 0 : (_localStorage$getItem2 = _localStorage.getItem) === null || _localStorage$getItem2 === void 0 ? void 0 : _localStorage$getItem2.call(_localStorage, "LAST_ACTIVITY_TIME")) != null ? _localStorage$getItem : null;
51710
- } catch (_unused) {
51711
- return null;
51712
- }
51713
- };
51714
-
51715
- var doLogout = function doLogout() {
51716
- localStorage.removeItem(ACCESS_TOKEN);
51717
- sessionStorage.removeItem(ACCESS_TOKEN);
51718
- localStorage.removeItem("ROLES");
51719
- localStorage.removeItem("LAST_ACTIVITY_TIME");
51720
- setIsOpen(false);
51721
- history.replace("/login");
51722
- };
51723
-
51724
52706
  var checkOpenModalLogout = function checkOpenModalLogout() {
51725
- var accessToken = getAccessToken();
51726
- if (!accessToken) return;
51727
- var lastActivity = getLastActivity();
51728
-
51729
- if (!lastActivity) {
51730
- var _localStorage2, _localStorage2$setIte;
51731
-
51732
- (_localStorage2 = localStorage) === null || _localStorage2 === void 0 ? void 0 : (_localStorage2$setIte = _localStorage2.setItem) === null || _localStorage2$setIte === void 0 ? void 0 : _localStorage2$setIte.call(_localStorage2, "LAST_ACTIVITY_TIME", new Date().toISOString());
51733
- return;
51734
- }
51735
-
51736
- var timeMoment = moment(lastActivity, "YYYY-MM-DD HH:mm");
52707
+ var lastTimeOut = localStorage.getItem("LAST_TIME_REQUETST");
52708
+ var timeMoment = moment(lastTimeOut, "YYYY-MM-DD HH:mm");
51737
52709
  var currentTime = moment(moment().utc().format("YYYY-MM-DD HH:mm"));
51738
52710
  var minutes = currentTime.diff(timeMoment, "minutes");
52711
+ var timeLogout = utcToLocalTime(currentTime.add(16 - minutes, 'minutes').format("YYYY-MM-DD HH:mm"), "HH:mm");
51739
52712
 
51740
- if (minutes >= AUTO_LOGOUT_MINUTES) {
51741
- doLogout();
51742
- return;
51743
- }
51744
-
51745
- var timeLogout = utcToLocalTime(currentTime.add(AUTO_LOGOUT_MINUTES - minutes, 'minutes').format("YYYY-MM-DD HH:mm"), "HH:mm");
51746
-
51747
- if (minutes >= IDLE_MINUTES_WARNING) {
51748
- setObjTime({
52713
+ if (minutes == 13) {
52714
+ var dataTime = {
51749
52715
  minutes: minutes,
51750
52716
  timeLogout: timeLogout
51751
- });
51752
- setIsOpen(true);
52717
+ };
52718
+ setObjTime(dataTime);
52719
+ onToggle();
51753
52720
  }
51754
52721
  };
51755
52722
 
51756
52723
  React.useEffect(function () {
51757
- var interval = setInterval(function () {
51758
- checkOpenModalLogout();
51759
- }, 60 * 1000);
51760
- return function () {
51761
- return clearInterval(interval);
51762
- };
51763
- }, []);
52724
+ var accessToken = getAccessToken();
52725
+
52726
+ if (accessToken) {
52727
+ var interval = setInterval(function () {
52728
+ checkOpenModalLogout();
52729
+ }, 60 * 1000);
52730
+ return function () {
52731
+ return clearInterval(interval);
52732
+ };
52733
+ }
52734
+
52735
+ return;
52736
+ }, [location.href]);
51764
52737
 
51765
52738
  var onToggle = function onToggle() {
51766
52739
  setIsOpen(!isOpen);
@@ -51772,7 +52745,7 @@ var NotificationLogoutModal = function NotificationLogoutModal() {
51772
52745
  size: "xs"
51773
52746
  }, React__default.createElement(reactstrap.ModalHeader, {
51774
52747
  toggle: onToggle
51775
- }, "Notification Logout"), React__default.createElement(reactstrap.ModalBody, null, "Are you still here? You have had no action for " + (objTime === null || objTime === void 0 ? void 0 : objTime.minutes) + " mins. \n Your account could be log out after " + (AUTO_LOGOUT_MINUTES - (objTime === null || objTime === void 0 ? void 0 : objTime.minutes)) + " mins at " + (objTime === null || objTime === void 0 ? void 0 : objTime.timeLogout) + " if you don't action."), React__default.createElement(reactstrap.ModalFooter, {
52748
+ }, "Notification Logout"), React__default.createElement(reactstrap.ModalBody, null, "Are you still here? You have had no action for " + (objTime === null || objTime === void 0 ? void 0 : objTime.minutes) + " mins. \n Your account could be log out after " + (15 - (objTime === null || objTime === void 0 ? void 0 : objTime.minutes)) + " mins at " + (objTime === null || objTime === void 0 ? void 0 : objTime.timeLogout) + " if you don't action."), React__default.createElement(reactstrap.ModalFooter, {
51776
52749
  className: "text-right"
51777
52750
  }, React__default.createElement(reactstrap.Button, {
51778
52751
  color: "primary",
@@ -53706,6 +54679,8 @@ var commonReducer = toolkit.createReducer(initialState, function (builder) {
53706
54679
  state.isEnableIEP = action.payload;
53707
54680
  }).addCase(setEnableSurvey, function (state, action) {
53708
54681
  state.isEnableSurvey = action.payload;
54682
+ }).addCase(setEnableWellBeing, function (state, action) {
54683
+ state.isEnableWellBeing = action.payload;
53709
54684
  }).addCase(setEnableMarioAi, function (state, action) {
53710
54685
  state.isEnableMarioAi = action.payload;
53711
54686
  }).addCase(setConversationOneToOne, function (state, action) {
@@ -54634,32 +55609,6 @@ var store = toolkit.configureStore({
54634
55609
  }
54635
55610
  });
54636
55611
 
54637
- var firstCheckToken = function firstCheckToken() {
54638
- return Promise.resolve(_catch(function () {
54639
- var token = getAccessToken();
54640
- return token ? Promise.resolve(checkToken(token)).then(function (tokenStatus) {
54641
- return tokenStatus.data ? true : false;
54642
- }) : false;
54643
- }, function () {
54644
- return false;
54645
- }));
54646
- };
54647
-
54648
- var canAccess = function canAccess(userRoles, componentRoles) {
54649
- if (!Array.isArray(userRoles)) {
54650
- return false;
54651
- }
54652
-
54653
- if (Array.isArray(componentRoles)) {
54654
- var intersects = userRoles.filter(function (i) {
54655
- return componentRoles.includes(i);
54656
- });
54657
- return intersects.length > 0;
54658
- }
54659
-
54660
- return true;
54661
- };
54662
-
54663
55612
  var isInViewport = function isInViewport(el) {
54664
55613
  var rect = el === null || el === void 0 ? void 0 : el.getBoundingClientRect();
54665
55614
  return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth);
@@ -54693,410 +55642,6 @@ var generateRandomString = (function () {
54693
55642
  return (Math.random() + 1).toString(36).substring(7);
54694
55643
  });
54695
55644
 
54696
- var apiGetLanguage = function apiGetLanguage() {
54697
- return api.get(BASE_URL + "/api/language");
54698
- };
54699
-
54700
- var apiUpdateLanguage = function apiUpdateLanguage(lang) {
54701
- return api.put(BASE_URL + "/api/language?lang=" + lang);
54702
- };
54703
-
54704
- var LANGUAGE_SYSTEM = "LANGUAGE_SYSTEM";
54705
-
54706
- var useLanguages = function useLanguages() {
54707
- var dispatch = reactRedux.useDispatch();
54708
-
54709
- var _useTranslation = reactI18next.useTranslation(),
54710
- i18n = _useTranslation.i18n;
54711
-
54712
- var language = reactRedux.useSelector(function (state) {
54713
- return state.common.language;
54714
- });
54715
- var defaultLanguage = getCookieValue(LANGUAGE_SYSTEM) != null ? getCookieValue(LANGUAGE_SYSTEM) : DEFAULT_LANGUAGE_CODE;
54716
-
54717
- var _useState = React.useState([]),
54718
- languageList = _useState[0],
54719
- setLanguageList = _useState[1];
54720
-
54721
- var _useState2 = React.useState(false),
54722
- dropdownOpen = _useState2[0],
54723
- setDropdownOpen = _useState2[1];
54724
-
54725
- var _useState3 = React.useState(defaultLanguage),
54726
- currentLang = _useState3[0],
54727
- setCurrentLang = _useState3[1];
54728
-
54729
- var toggle = function toggle() {
54730
- return setDropdownOpen(function (prevState) {
54731
- return !prevState;
54732
- });
54733
- };
54734
-
54735
- var changeLanguageApp = function changeLanguageApp(lang) {
54736
- try {
54737
- var _temp3 = function _temp3() {
54738
- dispatch(setLoading(false));
54739
- };
54740
-
54741
- dispatch(setLoading(true));
54742
-
54743
- var _temp4 = _catch(function () {
54744
- return Promise.resolve(apiUpdateLanguage(lang)).then(function () {
54745
- i18n.changeLanguage(lang);
54746
- setCurrentLang(lang);
54747
- dispatch(setLanguage(lang));
54748
- });
54749
- }, function (err) {
54750
- var _err$response, _err$response$data;
54751
-
54752
- dispatch(setAlert({
54753
- type: "danger",
54754
- 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
54755
- }));
54756
- });
54757
-
54758
- return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp3) : _temp3(_temp4));
54759
- } catch (e) {
54760
- return Promise.reject(e);
54761
- }
54762
- };
54763
-
54764
- var getListLanguage = function getListLanguage() {
54765
- try {
54766
- var _temp6 = _catch(function () {
54767
- return Promise.resolve(apiGetLanguage()).then(function (res) {
54768
- setLanguageList(res.data);
54769
- });
54770
- }, function (err) {
54771
- var _err$response2, _err$response2$data;
54772
-
54773
- dispatch(setAlert({
54774
- type: "danger",
54775
- 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
54776
- }));
54777
- });
54778
-
54779
- return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
54780
- } catch (e) {
54781
- return Promise.reject(e);
54782
- }
54783
- };
54784
-
54785
- React.useEffect(function () {
54786
- defaultLanguage != language && changeLanguageApp(defaultLanguage);
54787
- getListLanguage();
54788
- }, []);
54789
- return {
54790
- languageList: languageList,
54791
- toggle: toggle,
54792
- dropdownOpen: dropdownOpen,
54793
- currentLang: currentLang,
54794
- changeLanguageApp: changeLanguageApp,
54795
- setCurrentLang: setCurrentLang
54796
- };
54797
- };
54798
-
54799
- var TheLanguageDropdown = function TheLanguageDropdown() {
54800
- var _useLanguages = useLanguages(),
54801
- languageList = _useLanguages.languageList,
54802
- toggle = _useLanguages.toggle,
54803
- dropdownOpen = _useLanguages.dropdownOpen,
54804
- currentLang = _useLanguages.currentLang,
54805
- changeLanguageApp = _useLanguages.changeLanguageApp;
54806
-
54807
- var currentLanguage = React.useMemo(function () {
54808
- var current = languageList.find(function (i) {
54809
- return i.code === currentLang;
54810
- });
54811
- if (!current) return null;
54812
- return React__default.createElement(React__default.Fragment, null, React__default.createElement("img", {
54813
- className: "mr-2 " + styles['dropdown-menu-flag'],
54814
- src: "" + getStaticFileUrl(current.image)
54815
- }), " ", current.name);
54816
- }, [currentLang, languageList]);
54817
- return React__default.createElement(reactstrap.Dropdown, {
54818
- isOpen: dropdownOpen,
54819
- toggle: toggle,
54820
- className: "" + styles["dropdown-menu"]
54821
- }, React__default.createElement(reactstrap.DropdownToggle, {
54822
- className: styles["header-avatar"] + " d-flex align-items-center"
54823
- }, React__default.createElement("span", {
54824
- style: {
54825
- color: "#000",
54826
- textTransform: "capitalize",
54827
- display: 'flex',
54828
- alignItems: 'center'
54829
- }
54830
- }, currentLanguage, React__default.createElement(bs.BsChevronDown, {
54831
- className: "ml-2",
54832
- style: {
54833
- fontSize: '10px'
54834
- }
54835
- }))), React__default.createElement(reactstrap.DropdownMenu, {
54836
- className: styles["dropdown-content-language"]
54837
- }, !!languageList && languageList.length > 0 && languageList.map(function (lang, index) {
54838
- return React__default.createElement(reactstrap.DropdownItem, {
54839
- key: lang.code,
54840
- className: styles["dropdown-change"] + " px-0 py-0 " + (index === languageList.length - 1 ? "pb-2" : "pt-2"),
54841
- onClick: function onClick() {
54842
- return changeLanguageApp(lang.code);
54843
- }
54844
- }, React__default.createElement("div", {
54845
- className: styles["dropdown-item-language"] + " " + styles["item-logout"] + " " + (currentLang == lang.code ? styles['dropdown-item-language-active'] : "") + " d-flex align-items-center w-100"
54846
- }, React__default.createElement("span", {
54847
- className: "mr-2 d-flex hover-opacity"
54848
- }, React__default.createElement("img", {
54849
- style: {
54850
- width: "30px",
54851
- height: "25px",
54852
- borderRadius: "5px"
54853
- },
54854
- src: getStaticFileUrl(lang.image)
54855
- })), lang.name));
54856
- })));
54857
- };
54858
-
54859
- var TheHeader = function TheHeader(_ref) {
54860
- var onToggleModel = _ref.onToggleModel;
54861
- var dispatch = reactRedux.useDispatch();
54862
- var sidebarShow = reactRedux.useSelector(function (state) {
54863
- return state.common.sidebarShow;
54864
- });
54865
-
54866
- var _useTranslation = reactI18next.useTranslation(),
54867
- t = _useTranslation.t;
54868
-
54869
- var toggleSidebarMobile = function toggleSidebarMobile() {
54870
- var val = [false, "responsive"].includes(sidebarShow) ? true : "responsive";
54871
- dispatch(setSidebar(val));
54872
- };
54873
-
54874
- var isDistrict = window.location.host.includes("-district");
54875
- return React__default.createElement(react.CHeader, {
54876
- withSubheader: true,
54877
- className: "d-flex align-items-center justify-content-end"
54878
- }, React__default.createElement(react.CToggler, {
54879
- inHeader: true,
54880
- className: "ml-md-3 d-lg-none",
54881
- onClick: toggleSidebarMobile
54882
- }), React__default.createElement(react.CHeaderBrand, {
54883
- className: "mx-auto flex-grow-1 d-lg-none",
54884
- to: "/"
54885
- }, React__default.createElement("img", {
54886
- src: getStaticFileUrl(Images.LOGO_HEADER),
54887
- className: styles["header-logo"]
54888
- })), React__default.createElement(react.CHeaderNav, {
54889
- className: "pr-3"
54890
- }, React__default.createElement(TheLanguageDropdown, null), React__default.createElement("a", {
54891
- className: "mr-3",
54892
- style: {
54893
- color: '#000'
54894
- },
54895
- href: '/privacy-policy',
54896
- target: "blank"
54897
- }, t("privacy_policy")), !isDistrict && React__default.createElement(NotificationButton, null), React__default.createElement(TheHeaderDropdown, {
54898
- onToggleModel: onToggleModel
54899
- })));
54900
- };
54901
-
54902
- var ModelSelectRole = function ModelSelectRole(_ref) {
54903
- var _handleUserRole;
54904
-
54905
- var open = _ref.open,
54906
- onToggleModel = _ref.onToggleModel;
54907
- var dispatch = reactRedux.useDispatch();
54908
-
54909
- var _useTranslation = reactI18next.useTranslation(),
54910
- t = _useTranslation.t;
54911
-
54912
- var history = reactRouterDom.useHistory();
54913
- var pathname = window.location.pathname;
54914
- var user = reactRedux.useSelector(function (state) {
54915
- return state.common.user;
54916
- });
54917
- var roles = user === null || user === void 0 ? void 0 : user.roles;
54918
-
54919
- var handleSelectUserRoles = function handleSelectUserRoles(roles) {
54920
- dispatch(setLoading(true));
54921
- var roleSelect = roles.includes("Teacher/Assistant") ? ["Teacher", "Assistant"] : roles;
54922
- dispatch(setUser(_extends({}, user, {
54923
- roles: roleSelect
54924
- })));
54925
- localStorage.setItem("ROLES", roleSelect.toString());
54926
- onToggleModel();
54927
-
54928
- if (roles.includes("Parent")) {
54929
- history.push("/parent");
54930
- } else if (roles.includes("Admin")) {
54931
- history.push("/admin/home");
54932
- } else {
54933
- pathname !== "/home" ? history.push("/home") : window.location.reload();
54934
- }
54935
- };
54936
-
54937
- return React__default.createElement(reactstrap.Modal, {
54938
- isOpen: open,
54939
- toggle: function toggle() {
54940
- return onToggleModel();
54941
- },
54942
- className: "" + styles["model-switch-roles"],
54943
- centered: true
54944
- }, React__default.createElement("p", {
54945
- className: "" + styles["title"]
54946
- }, 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) {
54947
- return React__default.createElement("p", {
54948
- key: r,
54949
- 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" : ""],
54950
- onClick: function onClick() {
54951
- return handleSelectUserRoles([r]);
54952
- }
54953
- }, r == "SecondaryTeacher" ? "Support Teacher" : r);
54954
- })));
54955
- };
54956
-
54957
- var TheLayout = function TheLayout(_ref) {
54958
- var routes = _ref.routes,
54959
- navigation = _ref.navigation;
54960
- var history = reactRouterDom.useHistory();
54961
- var dispatch = reactRedux.useDispatch();
54962
- var user = reactRedux.useSelector(function (state) {
54963
- return state.common.user;
54964
- });
54965
- var language = reactRedux.useSelector(function (state) {
54966
- return state.common.language;
54967
- });
54968
-
54969
- var _useState = React.useState(false),
54970
- openModelSelectRole = _useState[0],
54971
- setOpenModelSelectRole = _useState[1];
54972
-
54973
- var _useTranslation = reactI18next.useTranslation(),
54974
- t = _useTranslation.t;
54975
-
54976
- var location = reactRouterDom.useLocation();
54977
- var isNotification = location.pathname.includes("notifications");
54978
- var isDistrict = window.location.host.includes("-district");
54979
-
54980
- var handleToggleModel = function handleToggleModel() {
54981
- setOpenModelSelectRole(!openModelSelectRole);
54982
- };
54983
-
54984
- var authRoutes = React.useMemo(function () {
54985
- return routes.filter(function (route) {
54986
- return canAccess(user === null || user === void 0 ? void 0 : user.roles, route.roles);
54987
- }).filter(function (route) {
54988
- return !!route.isDistrict === isDistrict;
54989
- });
54990
- }, [user, language]);
54991
- var authNavigations = React.useMemo(function () {
54992
- return navigation.map(function (item) {
54993
- var _item$_children, _item$_children2;
54994
-
54995
- return _extends({}, item, {
54996
- name: t(item.name),
54997
- _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) {
54998
- return _extends({}, x, {
54999
- name: t(x.name)
55000
- });
55001
- }) : undefined
55002
- });
55003
- }).filter(function (nav) {
55004
- return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
55005
- }).filter(function (nav) {
55006
- return !!nav.isDistrict === isDistrict;
55007
- });
55008
- }, [user, language]);
55009
-
55010
- var getInformationSetting = function getInformationSetting() {
55011
- try {
55012
- var _temp2 = _catch(function () {
55013
- return Promise.resolve(getSchoolSettings()).then(function (res) {
55014
- dispatch(setSandboxMode(res.data.isSandboxMode));
55015
- });
55016
- }, function (err) {
55017
- console.error(err);
55018
- });
55019
-
55020
- return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(function () {}) : void 0);
55021
- } catch (e) {
55022
- return Promise.reject(e);
55023
- }
55024
- };
55025
-
55026
- React.useEffect(function () {
55027
- checkAuthentication();
55028
- }, []);
55029
- React.useEffect(function () {
55030
- getInformationSetting();
55031
- }, [location.pathname]);
55032
-
55033
- var checkAuthentication = function checkAuthentication() {
55034
- try {
55035
- var _temp4 = _catch(function () {
55036
- return Promise.resolve(firstCheckToken()).then(function (tokenStatus) {
55037
- tokenStatus ? loadInfo() : resetAuth();
55038
- });
55039
- }, function () {
55040
- resetAuth();
55041
- });
55042
-
55043
- return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(function () {}) : void 0);
55044
- } catch (e) {
55045
- return Promise.reject(e);
55046
- }
55047
- };
55048
-
55049
- var loadInfo = function loadInfo() {
55050
- try {
55051
- var _temp6 = _catch(function () {
55052
- return Promise.resolve(getInfo()).then(function (info) {
55053
- var _info$data, _info$data$roles;
55054
-
55055
- 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"))) {
55056
- resetAuth();
55057
- }
55058
-
55059
- dispatch(setUser(info.data));
55060
- });
55061
- }, function () {
55062
- resetAuth();
55063
- });
55064
-
55065
- return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
55066
- } catch (e) {
55067
- return Promise.reject(e);
55068
- }
55069
- };
55070
-
55071
- var resetAuth = function resetAuth() {
55072
- localStorage.removeItem(ACCESS_TOKEN);
55073
- sessionStorage.removeItem(ACCESS_TOKEN);
55074
- localStorage.removeItem("ROLES");
55075
- history.push("/");
55076
- };
55077
-
55078
- if (!user) {
55079
- return React__default.createElement(Loading, null);
55080
- }
55081
-
55082
- return React__default.createElement("div", {
55083
- className: "c-app c-default-layout"
55084
- }, !isNotification && React__default.createElement(TheSidebar, {
55085
- navigation: authNavigations
55086
- }), React__default.createElement("div", {
55087
- className: "c-wrapper"
55088
- }, !isNotification && React__default.createElement(TheHeader, {
55089
- onToggleModel: handleToggleModel
55090
- }), React__default.createElement("div", {
55091
- className: "c-body bg-white"
55092
- }, React__default.createElement(TheContent$1, {
55093
- routes: authRoutes
55094
- }))), React__default.createElement(ModelSelectRole, {
55095
- open: openModelSelectRole,
55096
- onToggleModel: handleToggleModel
55097
- }));
55098
- };
55099
-
55100
55645
  var amplitudeClient = amplitude;
55101
55646
 
55102
55647
  Object.defineProperty(exports, 'I18nextProvider', {
@@ -55201,7 +55746,6 @@ exports.editTab = editTab;
55201
55746
  exports.editorConfig = editorConfig;
55202
55747
  exports.firstCheckToken = firstCheckToken;
55203
55748
  exports.generateRandomString = generateRandomString;
55204
- exports.getAccessToken = getAccessToken;
55205
55749
  exports.getCookieValue = getCookieValue;
55206
55750
  exports.getFileUrl = getFileUrl;
55207
55751
  exports.getInfo = getInfo;
@@ -55231,6 +55775,7 @@ exports.setEditItemQuesion = setEditItemQuesion;
55231
55775
  exports.setEnableIEP = setEnableIEP;
55232
55776
  exports.setEnableMarioAi = setEnableMarioAi;
55233
55777
  exports.setEnableSurvey = setEnableSurvey;
55778
+ exports.setEnableWellBeing = setEnableWellBeing;
55234
55779
  exports.setFeedbackList = setFeedbackList;
55235
55780
  exports.setFilterWidget = setFilterWidget;
55236
55781
  exports.setGoalExampleList = setGoalExampleList;