mario-core 2.9.415-feedback → 2.9.415-wellbeing

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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,6 +2226,30 @@ 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";
2229
+ var teachers_well_being_dashboard = "Teachers' Well-Being Dashboard";
2230
+ var my_well_being_dashboard = "My Well-Being Dashboard";
2231
+ var understand_the_metrics_about_the_educators_wellness_and_environment = "Understand the metrics about the educator's wellness and environment";
2232
+ var understand_the_metrics_about_my_wellness_and_environment = "Understand the metrics about my wellness and environment";
2233
+ var engagement = "Engagement";
2234
+ var total_1_1_conversations = "Total 1-1 Conversations";
2235
+ var educators_without_check_ins = "Educators without<br/>check-ins";
2236
+ var educators_without_check_ins_not_br = "Educators without Check-ins";
2237
+ var educators_havent_completed_check_ins_in_the_last_30_days = "educators haven't completed check-ins in the last 30 days";
2238
+ var you_can_send_individual_requests_or_bulk_reminders_to_all_educators = "You can send individual requests or bulk reminders to all educators";
2239
+ var department = "Department";
2240
+ var last_check_in_normal = "Last check-in";
2241
+ var request_check_in_wellbeing = "Request check-in";
2242
+ var send_bulk_reminder = "Send bulk reminder";
2243
+ var physical = "Physical";
2244
+ var self_care = "Self-care";
2245
+ var relationships_well_being = "Relationships Well-Being";
2246
+ var self_care_well_being = "Self-Care Well-Being";
2247
+ var environment = "Environment";
2248
+ var environment_well_being = "Environment Well-Being";
2249
+ var intellectual = "Intellectual";
2250
+ var the_data_presented_here_comes_from_the_check_ins = "The data presented here comes from the check-ins.";
2251
+ var charts_will_appear_once_over_20_of_educators = "Charts will appear once over 20% of educators<br/>have completed their check-ins.";
2252
+ var total_1_1_requested = "Total 1-1 Requested";
2193
2253
  var lang_us = {
2194
2254
  dashboard: dashboard,
2195
2255
  user: user,
@@ -4389,13 +4449,74 @@ var lang_us = {
4389
4449
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session,
4390
4450
  please_add_title_note: please_add_title_note,
4391
4451
  notes_and_logs: notes_and_logs,
4452
+ my_well_being: my_well_being,
4453
+ my_well_Being_check_in: my_well_Being_check_in,
4454
+ my_sessions: my_sessions,
4455
+ your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else,
4456
+ school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data,
4457
+ save_filters: save_filters,
4458
+ clear_all_filters: clear_all_filters,
4459
+ my_well_being_check_in: my_well_being_check_in,
4460
+ unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this,
4461
+ physical_well_being: physical_well_being,
4462
+ emotional_well_being: emotional_well_being,
4463
+ "self_care_&_balance": "Self-Care & Balance",
4464
+ social_well_being_relationships: social_well_being_relationships,
4465
+ social_well_being_environment: social_well_being_environment,
4466
+ intellectual_well_being: intellectual_well_being,
4467
+ colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank,
4468
+ wellbeing_finished: wellbeing_finished,
4469
+ check_in: check_in,
4470
+ take_a_moment_for_you: take_a_moment_for_you,
4471
+ 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,
4472
+ start_check_in_now: start_check_in_now,
4473
+ i_ll_do_it_later: i_ll_do_it_later,
4474
+ survey_portal: survey_portal,
4475
+ external_api: external_api,
4476
+ teacher_well_being: teacher_well_being,
4477
+ frequency_and_setup: frequency_and_setup,
4478
+ well_being_dashboard: well_being_dashboard,
4479
+ go_to_dashboard: go_to_dashboard,
4480
+ 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,
4481
+ 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,
4482
+ 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,
4483
+ check_in_complete: check_in_complete,
4484
+ schedule_a_conversation: schedule_a_conversation,
4485
+ select_a_contact_to_speak_with: select_a_contact_to_speak_with,
4486
+ what_would_you_like_to_discuss: what_would_you_like_to_discuss,
4487
+ 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,
4488
+ wellbeing_sections: wellbeing_sections,
4392
4489
  school_monthly_usage: school_monthly_usage,
4393
4490
  location: location$1,
4394
4491
  edit_my_profile: edit_my_profile,
4395
4492
  save_new_password: save_new_password,
4396
4493
  teacher_code: teacher_code,
4397
4494
  number_of_conversations: number_of_conversations,
4398
- number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal
4495
+ number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal,
4496
+ teachers_well_being_dashboard: teachers_well_being_dashboard,
4497
+ my_well_being_dashboard: my_well_being_dashboard,
4498
+ understand_the_metrics_about_the_educators_wellness_and_environment: understand_the_metrics_about_the_educators_wellness_and_environment,
4499
+ understand_the_metrics_about_my_wellness_and_environment: understand_the_metrics_about_my_wellness_and_environment,
4500
+ engagement: engagement,
4501
+ total_1_1_conversations: total_1_1_conversations,
4502
+ educators_without_check_ins: educators_without_check_ins,
4503
+ educators_without_check_ins_not_br: educators_without_check_ins_not_br,
4504
+ educators_havent_completed_check_ins_in_the_last_30_days: educators_havent_completed_check_ins_in_the_last_30_days,
4505
+ you_can_send_individual_requests_or_bulk_reminders_to_all_educators: you_can_send_individual_requests_or_bulk_reminders_to_all_educators,
4506
+ department: department,
4507
+ last_check_in_normal: last_check_in_normal,
4508
+ request_check_in_wellbeing: request_check_in_wellbeing,
4509
+ send_bulk_reminder: send_bulk_reminder,
4510
+ physical: physical,
4511
+ self_care: self_care,
4512
+ relationships_well_being: relationships_well_being,
4513
+ self_care_well_being: self_care_well_being,
4514
+ environment: environment,
4515
+ environment_well_being: environment_well_being,
4516
+ intellectual: intellectual,
4517
+ the_data_presented_here_comes_from_the_check_ins: the_data_presented_here_comes_from_the_check_ins,
4518
+ charts_will_appear_once_over_20_of_educators: charts_will_appear_once_over_20_of_educators,
4519
+ total_1_1_requested: total_1_1_requested
4399
4520
  };
4400
4521
 
4401
4522
  var dashboard$1 = "Dashboard";
@@ -4413,7 +4534,7 @@ var cancel$1 = "Cancel";
4413
4534
  var hey$1 = "Hey";
4414
4535
  var readiness_to_learn$1 = "Readiness to Learn";
4415
4536
  var high_impact_learning_strategies$1 = "High Impact Learning Strategies";
4416
- var check_in = "Check In";
4537
+ var check_in$1 = "Check In";
4417
4538
  var check_ins$1 = "Check Ins";
4418
4539
  var reflection$1 = "Reflection";
4419
4540
  var conferences$1 = "Conferences";
@@ -6542,13 +6663,72 @@ var save_note$1 = "Save note";
6542
6663
  var type_the_main_focus_of_this_session$1 = "Type the main focus of this session";
6543
6664
  var please_add_title_note$1 = "Please add note title";
6544
6665
  var notes_and_logs$1 = "Notes and Logs";
6666
+ var survey_portal$1 = "Survey Portal";
6667
+ var external_api$1 = "External Api";
6668
+ var teacher_well_being$1 = "Teacher Well-Being";
6669
+ var frequency_and_setup$1 = "Frequency and Setup";
6670
+ var well_being_dashboard$1 = "Well-Being Dashboard";
6671
+ var go_to_dashboard$1 = "Go to dashboard";
6672
+ 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.";
6673
+ 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.";
6674
+ 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.";
6675
+ var check_in_complete$1 = "Check-in Complete!";
6676
+ var schedule_a_conversation$1 = "Schedule a Conversation";
6677
+ var select_a_contact_to_speak_with$1 = "Select a contact to speak with";
6678
+ var what_would_you_like_to_discuss$1 = "What would you like to discuss?";
6679
+ 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...";
6680
+ var wellbeing_sections$1 = "Wellbeing Sections";
6545
6681
  var school_monthly_usage$1 = "School Monthly Usage";
6546
6682
  var location$2 = "Location";
6547
6683
  var edit_my_profile$1 = "Edit My Profile";
6548
6684
  var save_new_password$1 = "Save new password";
6549
6685
  var teacher_code$1 = "Teacher code";
6686
+ var my_well_being$1 = "My Well-being";
6687
+ var my_well_Being_check_in$1 = "My Well-Being Check-in";
6688
+ var my_sessions$1 = "My Sessions";
6689
+ var your_personal_data_will_not_be_shared_with_anyone_else$1 = "Your personal data will <strong>not be shared</strong> with anyone else";
6690
+ var school_leadership_will_only_see_aggregated_data$1 = "School leadership will only see aggregated data.";
6691
+ var save_filters$1 = "Save Filters";
6692
+ var clear_all_filters$1 = "Clear All Filters";
6693
+ var my_well_being_check_in$1 = "My Well-Being Check-in";
6694
+ var unless_you_specifically_choose_to_do_this$1 = "unless you specifically choose to do this.";
6695
+ var physical_well_being$1 = "Physical Well-Being";
6696
+ var emotional_well_being$1 = "Emotional Well-Being";
6697
+ var social_well_being_relationships$1 = "Social Well-Being - Relationships";
6698
+ var social_well_being_environment$1 = "Social Well-Being - Environment";
6699
+ var intellectual_well_being$1 = "Intellectual Well-Being";
6700
+ var colleague_or_staff_member_you_like_to_praise_or_thank$1 = "Colleague or staff member you'd like to praise or thank?";
6701
+ var wellbeing_finished$1 = "Wellbeing Finished";
6702
+ var take_a_moment_for_you$1 = "Take a Moment for You";
6703
+ 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.";
6704
+ var start_check_in_now$1 = "START CHECK-IN NOW";
6705
+ var i_ll_do_it_later$1 = "I'LL DO IT LATER";
6550
6706
  var number_of_conversations$1 = "Number of conversations";
6551
6707
  var number_of_expected_conversations_based_on_the_goal$1 = "Number of expected conversations based on the goal";
6708
+ var teachers_well_being_dashboard$1 = "Teachers' Well-Being Dashboard";
6709
+ var my_well_being_dashboard$1 = "My Well-Being Dashboard";
6710
+ var understand_the_metrics_about_the_educators_wellness_and_environment$1 = "Understand the metrics about the educator's wellness and environment";
6711
+ var understand_the_metrics_about_my_wellness_and_environment$1 = "Understand the metrics about my wellness and environment";
6712
+ var engagement$1 = "Engagement";
6713
+ var total_1_1_conversations$1 = "Total 1-1 Conversations";
6714
+ var educators_without_check_ins$1 = "Educators without<br/>check-ins";
6715
+ var educators_without_check_ins_not_br$1 = "Educators without Check-ins";
6716
+ var educators_havent_completed_check_ins_in_the_last_30_days$1 = "educators haven't completed check-ins in the last 30 days";
6717
+ var you_can_send_individual_requests_or_bulk_reminders_to_all_educators$1 = "You can send individual requests or bulk reminders to all educators";
6718
+ var department$1 = "Department";
6719
+ var last_check_in_normal$1 = "Last check-in";
6720
+ var request_check_in_wellbeing$1 = "Request check-in";
6721
+ var send_bulk_reminder$1 = "Send bulk reminder";
6722
+ var physical$1 = "Physical";
6723
+ var self_care$1 = "Self-care";
6724
+ var relationships_well_being$1 = "Relationships Well-Being";
6725
+ var self_care_well_being$1 = "Self-Care Well-Being";
6726
+ var environment$1 = "Environment";
6727
+ var environment_well_being$1 = "Environment Well-Being";
6728
+ var intellectual$1 = "Intellectual";
6729
+ var the_data_presented_here_comes_from_the_check_ins$1 = "The data presented here comes from the check-ins.";
6730
+ var charts_will_appear_once_over_20_of_educators$1 = "Charts will appear once over 20% of educators<br/>have completed their check-ins.";
6731
+ var total_1_1_requested$1 = "Total 1-1 Requested";
6552
6732
  var lang_uk = {
6553
6733
  dashboard: dashboard$1,
6554
6734
  user: user$1,
@@ -6566,7 +6746,7 @@ var lang_uk = {
6566
6746
  readiness_to_learn: readiness_to_learn$1,
6567
6747
  high_impact_learning_strategies: high_impact_learning_strategies$1,
6568
6748
  "1_to_1": "1 to 1",
6569
- check_in: check_in,
6749
+ check_in: check_in$1,
6570
6750
  check_ins: check_ins$1,
6571
6751
  reflection: reflection$1,
6572
6752
  conferences: conferences$1,
@@ -8746,13 +8926,73 @@ var lang_uk = {
8746
8926
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$1,
8747
8927
  please_add_title_note: please_add_title_note$1,
8748
8928
  notes_and_logs: notes_and_logs$1,
8929
+ survey_portal: survey_portal$1,
8930
+ external_api: external_api$1,
8931
+ teacher_well_being: teacher_well_being$1,
8932
+ frequency_and_setup: frequency_and_setup$1,
8933
+ well_being_dashboard: well_being_dashboard$1,
8934
+ go_to_dashboard: go_to_dashboard$1,
8935
+ 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,
8936
+ 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,
8937
+ 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,
8938
+ check_in_complete: check_in_complete$1,
8939
+ schedule_a_conversation: schedule_a_conversation$1,
8940
+ select_a_contact_to_speak_with: select_a_contact_to_speak_with$1,
8941
+ what_would_you_like_to_discuss: what_would_you_like_to_discuss$1,
8942
+ 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,
8943
+ wellbeing_sections: wellbeing_sections$1,
8749
8944
  school_monthly_usage: school_monthly_usage$1,
8750
8945
  location: location$2,
8751
8946
  edit_my_profile: edit_my_profile$1,
8752
8947
  save_new_password: save_new_password$1,
8753
8948
  teacher_code: teacher_code$1,
8949
+ my_well_being: my_well_being$1,
8950
+ my_well_Being_check_in: my_well_Being_check_in$1,
8951
+ my_sessions: my_sessions$1,
8952
+ your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$1,
8953
+ school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$1,
8954
+ save_filters: save_filters$1,
8955
+ clear_all_filters: clear_all_filters$1,
8956
+ my_well_being_check_in: my_well_being_check_in$1,
8957
+ unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$1,
8958
+ physical_well_being: physical_well_being$1,
8959
+ emotional_well_being: emotional_well_being$1,
8960
+ "self_care_&_balance": "Self-Care & Balance",
8961
+ social_well_being_relationships: social_well_being_relationships$1,
8962
+ social_well_being_environment: social_well_being_environment$1,
8963
+ intellectual_well_being: intellectual_well_being$1,
8964
+ colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$1,
8965
+ wellbeing_finished: wellbeing_finished$1,
8966
+ take_a_moment_for_you: take_a_moment_for_you$1,
8967
+ 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,
8968
+ start_check_in_now: start_check_in_now$1,
8969
+ i_ll_do_it_later: i_ll_do_it_later$1,
8754
8970
  number_of_conversations: number_of_conversations$1,
8755
- number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$1
8971
+ number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$1,
8972
+ teachers_well_being_dashboard: teachers_well_being_dashboard$1,
8973
+ my_well_being_dashboard: my_well_being_dashboard$1,
8974
+ understand_the_metrics_about_the_educators_wellness_and_environment: understand_the_metrics_about_the_educators_wellness_and_environment$1,
8975
+ understand_the_metrics_about_my_wellness_and_environment: understand_the_metrics_about_my_wellness_and_environment$1,
8976
+ engagement: engagement$1,
8977
+ total_1_1_conversations: total_1_1_conversations$1,
8978
+ educators_without_check_ins: educators_without_check_ins$1,
8979
+ educators_without_check_ins_not_br: educators_without_check_ins_not_br$1,
8980
+ educators_havent_completed_check_ins_in_the_last_30_days: educators_havent_completed_check_ins_in_the_last_30_days$1,
8981
+ you_can_send_individual_requests_or_bulk_reminders_to_all_educators: you_can_send_individual_requests_or_bulk_reminders_to_all_educators$1,
8982
+ department: department$1,
8983
+ last_check_in_normal: last_check_in_normal$1,
8984
+ request_check_in_wellbeing: request_check_in_wellbeing$1,
8985
+ send_bulk_reminder: send_bulk_reminder$1,
8986
+ physical: physical$1,
8987
+ self_care: self_care$1,
8988
+ relationships_well_being: relationships_well_being$1,
8989
+ self_care_well_being: self_care_well_being$1,
8990
+ environment: environment$1,
8991
+ environment_well_being: environment_well_being$1,
8992
+ intellectual: intellectual$1,
8993
+ the_data_presented_here_comes_from_the_check_ins: the_data_presented_here_comes_from_the_check_ins$1,
8994
+ charts_will_appear_once_over_20_of_educators: charts_will_appear_once_over_20_of_educators$1,
8995
+ total_1_1_requested: total_1_1_requested$1
8756
8996
  };
8757
8997
 
8758
8998
  var dashboard$2 = "لوحة المعلومات";
@@ -8770,7 +9010,7 @@ var cancel$2 = "إلغاء";
8770
9010
  var hey$2 = "مرحبًا";
8771
9011
  var readiness_to_learn$2 = "الاستعداد للتعلم";
8772
9012
  var high_impact_learning_strategies$2 = "استراتيجيات التعلم عالية التأثير";
8773
- var check_in$1 = "تسجيل الحضور";
9013
+ var check_in$2 = "تسجيل الحضور";
8774
9014
  var check_ins$2 = "عمليات تسجيل الحضور";
8775
9015
  var reflection$2 = "التفكير";
8776
9016
  var conferences$2 = "اللقاءات";
@@ -10929,13 +11169,73 @@ var save_note$2 = "Save note";
10929
11169
  var type_the_main_focus_of_this_session$2 = "Type the main focus of this session";
10930
11170
  var please_add_title_note$2 = "Please add note title";
10931
11171
  var notes_and_logs$2 = "Notes and Logs";
11172
+ var survey_portal$2 = "Survey Portal";
11173
+ var integrations$2 = "Integrations";
11174
+ var external_api$2 = "External Api";
11175
+ var teacher_well_being$2 = "Teacher Well-Being";
11176
+ var frequency_and_setup$2 = "Frequency and Setup";
11177
+ var well_being_dashboard$2 = "Well-Being Dashboard";
11178
+ var go_to_dashboard$2 = "Go to dashboard";
11179
+ 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.";
11180
+ 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.";
11181
+ 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.";
11182
+ var check_in_complete$2 = "Check-in Complete!";
11183
+ var schedule_a_conversation$2 = "Schedule a Conversation";
11184
+ var select_a_contact_to_speak_with$2 = "Select a contact to speak with";
11185
+ var what_would_you_like_to_discuss$2 = "What would you like to discuss?";
11186
+ 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...";
11187
+ var wellbeing_sections$2 = "Wellbeing Sections";
10932
11188
  var school_monthly_usage$2 = "School Monthly Usage";
10933
11189
  var location$3 = "Location";
10934
11190
  var edit_my_profile$2 = "Edit My Profile";
10935
11191
  var save_new_password$2 = "Save new password";
10936
11192
  var teacher_code$2 = "Teacher code";
11193
+ var my_well_being$2 = "My Well-being";
11194
+ var my_well_Being_check_in$2 = "My Well-Being Check-in";
11195
+ var my_sessions$2 = "My Sessions";
11196
+ var your_personal_data_will_not_be_shared_with_anyone_else$2 = "Your personal data will <strong>not be shared</strong> with anyone else";
11197
+ var school_leadership_will_only_see_aggregated_data$2 = "School leadership will only see aggregated data.";
11198
+ var save_filters$2 = "Save Filters";
11199
+ var clear_all_filters$2 = "Clear All Filters";
11200
+ var my_well_being_check_in$2 = "My Well-Being Check-in";
11201
+ var unless_you_specifically_choose_to_do_this$2 = "unless you specifically choose to do this.";
11202
+ var physical_well_being$2 = "Physical Well-Being";
11203
+ var emotional_well_being$2 = "Emotional Well-Being";
11204
+ var social_well_being_relationships$2 = "Social Well-Being - Relationships";
11205
+ var social_well_being_environment$2 = "Social Well-Being - Environment";
11206
+ var intellectual_well_being$2 = "Intellectual Well-Being";
11207
+ var colleague_or_staff_member_you_like_to_praise_or_thank$2 = "Colleague or staff member you'd like to praise or thank?";
11208
+ var wellbeing_finished$2 = "Wellbeing Finished";
11209
+ var take_a_moment_for_you$2 = "Take a Moment for You";
11210
+ 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.";
11211
+ var start_check_in_now$2 = "START CHECK-IN NOW";
11212
+ var i_ll_do_it_later$2 = "I'LL DO IT LATER";
10937
11213
  var number_of_conversations$2 = "Number of conversations";
10938
11214
  var number_of_expected_conversations_based_on_the_goal$2 = "Number of expected conversations based on the goal";
11215
+ var teachers_well_being_dashboard$2 = "Teachers' Well-Being Dashboard";
11216
+ var my_well_being_dashboard$2 = "My Well-Being Dashboard";
11217
+ var understand_the_metrics_about_the_educators_wellness_and_environment$2 = "Understand the metrics about the educator's wellness and environment";
11218
+ var understand_the_metrics_about_my_wellness_and_environment$2 = "Understand the metrics about my wellness and environment";
11219
+ var engagement$2 = "Engagement";
11220
+ var total_1_1_conversations$2 = "Total 1-1 Conversations";
11221
+ var educators_without_check_ins$2 = "Educators without<br/>check-ins";
11222
+ var educators_without_check_ins_not_br$2 = "Educators without Check-ins";
11223
+ var educators_havent_completed_check_ins_in_the_last_30_days$2 = "educators haven't completed check-ins in the last 30 days";
11224
+ var you_can_send_individual_requests_or_bulk_reminders_to_all_educators$2 = "You can send individual requests or bulk reminders to all educators";
11225
+ var department$2 = "Department";
11226
+ var last_check_in_normal$2 = "Last check-in";
11227
+ var request_check_in_wellbeing$2 = "Request check-in";
11228
+ var send_bulk_reminder$2 = "Send bulk reminder";
11229
+ var physical$2 = "Physical";
11230
+ var self_care$2 = "Self-care";
11231
+ var relationships_well_being$2 = "Relationships Well-Being";
11232
+ var self_care_well_being$2 = "Self-Care Well-Being";
11233
+ var environment$2 = "Environment";
11234
+ var environment_well_being$2 = "Environment Well-Being";
11235
+ var intellectual$2 = "Intellectual";
11236
+ var the_data_presented_here_comes_from_the_check_ins$2 = "The data presented here comes from the check-ins.";
11237
+ var charts_will_appear_once_over_20_of_educators$2 = "Charts will appear once over 20% of educators<br/>have completed their check-ins.";
11238
+ var total_1_1_requested$2 = "Total 1-1 Requested";
10939
11239
  var lang_ar = {
10940
11240
  dashboard: dashboard$2,
10941
11241
  user: user$2,
@@ -10953,7 +11253,7 @@ var lang_ar = {
10953
11253
  readiness_to_learn: readiness_to_learn$2,
10954
11254
  high_impact_learning_strategies: high_impact_learning_strategies$2,
10955
11255
  "1_to_1": "1 إلى 1",
10956
- check_in: check_in$1,
11256
+ check_in: check_in$2,
10957
11257
  check_ins: check_ins$2,
10958
11258
  reflection: reflection$2,
10959
11259
  conferences: conferences$2,
@@ -13165,13 +13465,74 @@ var lang_ar = {
13165
13465
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$2,
13166
13466
  please_add_title_note: please_add_title_note$2,
13167
13467
  notes_and_logs: notes_and_logs$2,
13468
+ survey_portal: survey_portal$2,
13469
+ integrations: integrations$2,
13470
+ external_api: external_api$2,
13471
+ teacher_well_being: teacher_well_being$2,
13472
+ frequency_and_setup: frequency_and_setup$2,
13473
+ well_being_dashboard: well_being_dashboard$2,
13474
+ go_to_dashboard: go_to_dashboard$2,
13475
+ 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,
13476
+ 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,
13477
+ 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,
13478
+ check_in_complete: check_in_complete$2,
13479
+ schedule_a_conversation: schedule_a_conversation$2,
13480
+ select_a_contact_to_speak_with: select_a_contact_to_speak_with$2,
13481
+ what_would_you_like_to_discuss: what_would_you_like_to_discuss$2,
13482
+ 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,
13483
+ wellbeing_sections: wellbeing_sections$2,
13168
13484
  school_monthly_usage: school_monthly_usage$2,
13169
13485
  location: location$3,
13170
13486
  edit_my_profile: edit_my_profile$2,
13171
13487
  save_new_password: save_new_password$2,
13172
13488
  teacher_code: teacher_code$2,
13489
+ my_well_being: my_well_being$2,
13490
+ my_well_Being_check_in: my_well_Being_check_in$2,
13491
+ my_sessions: my_sessions$2,
13492
+ your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$2,
13493
+ school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$2,
13494
+ save_filters: save_filters$2,
13495
+ clear_all_filters: clear_all_filters$2,
13496
+ my_well_being_check_in: my_well_being_check_in$2,
13497
+ unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$2,
13498
+ physical_well_being: physical_well_being$2,
13499
+ emotional_well_being: emotional_well_being$2,
13500
+ "self_care_&_balance": "Self-Care & Balance",
13501
+ social_well_being_relationships: social_well_being_relationships$2,
13502
+ social_well_being_environment: social_well_being_environment$2,
13503
+ intellectual_well_being: intellectual_well_being$2,
13504
+ colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$2,
13505
+ wellbeing_finished: wellbeing_finished$2,
13506
+ take_a_moment_for_you: take_a_moment_for_you$2,
13507
+ 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,
13508
+ start_check_in_now: start_check_in_now$2,
13509
+ i_ll_do_it_later: i_ll_do_it_later$2,
13173
13510
  number_of_conversations: number_of_conversations$2,
13174
- number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$2
13511
+ number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$2,
13512
+ teachers_well_being_dashboard: teachers_well_being_dashboard$2,
13513
+ my_well_being_dashboard: my_well_being_dashboard$2,
13514
+ understand_the_metrics_about_the_educators_wellness_and_environment: understand_the_metrics_about_the_educators_wellness_and_environment$2,
13515
+ understand_the_metrics_about_my_wellness_and_environment: understand_the_metrics_about_my_wellness_and_environment$2,
13516
+ engagement: engagement$2,
13517
+ total_1_1_conversations: total_1_1_conversations$2,
13518
+ educators_without_check_ins: educators_without_check_ins$2,
13519
+ educators_without_check_ins_not_br: educators_without_check_ins_not_br$2,
13520
+ educators_havent_completed_check_ins_in_the_last_30_days: educators_havent_completed_check_ins_in_the_last_30_days$2,
13521
+ you_can_send_individual_requests_or_bulk_reminders_to_all_educators: you_can_send_individual_requests_or_bulk_reminders_to_all_educators$2,
13522
+ department: department$2,
13523
+ last_check_in_normal: last_check_in_normal$2,
13524
+ request_check_in_wellbeing: request_check_in_wellbeing$2,
13525
+ send_bulk_reminder: send_bulk_reminder$2,
13526
+ physical: physical$2,
13527
+ self_care: self_care$2,
13528
+ relationships_well_being: relationships_well_being$2,
13529
+ self_care_well_being: self_care_well_being$2,
13530
+ environment: environment$2,
13531
+ environment_well_being: environment_well_being$2,
13532
+ intellectual: intellectual$2,
13533
+ the_data_presented_here_comes_from_the_check_ins: the_data_presented_here_comes_from_the_check_ins$2,
13534
+ charts_will_appear_once_over_20_of_educators: charts_will_appear_once_over_20_of_educators$2,
13535
+ total_1_1_requested: total_1_1_requested$2
13175
13536
  };
13176
13537
 
13177
13538
  var dashboard$3 = "Cuadro de mandos";
@@ -13189,7 +13550,7 @@ var cancel$3 = "Cancelar";
13189
13550
  var hey$3 = "Hola";
13190
13551
  var readiness_to_learn$3 = "Preparación para el aprendizaje";
13191
13552
  var high_impact_learning_strategies$3 = "Estrategias de aprendizaje de alto impacto";
13192
- var check_in$2 = "Registro";
13553
+ var check_in$3 = "Registro";
13193
13554
  var check_ins$3 = "Registro de entrada";
13194
13555
  var reflection$3 = "Reflexión";
13195
13556
  var conferences$3 = "Conferencias";
@@ -15348,13 +15709,73 @@ var save_note$3 = "Save note";
15348
15709
  var type_the_main_focus_of_this_session$3 = "Type the main focus of this session";
15349
15710
  var please_add_title_note$3 = "Please add note title";
15350
15711
  var notes_and_logs$3 = "Notes and Logs";
15712
+ var survey_portal$3 = "Survey Portal";
15713
+ var integrations$3 = "Integrations";
15714
+ var external_api$3 = "External Api";
15715
+ var teacher_well_being$3 = "Teacher Well-Being";
15716
+ var frequency_and_setup$3 = "Frequency and Setup";
15717
+ var well_being_dashboard$3 = "Well-Being Dashboard";
15718
+ var go_to_dashboard$3 = "Go to dashboard";
15719
+ 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.";
15720
+ 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.";
15721
+ 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.";
15722
+ var check_in_complete$3 = "Check-in Complete!";
15723
+ var schedule_a_conversation$3 = "Schedule a Conversation";
15724
+ var select_a_contact_to_speak_with$3 = "Select a contact to speak with";
15725
+ var what_would_you_like_to_discuss$3 = "What would you like to discuss?";
15726
+ 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...";
15727
+ var wellbeing_sections$3 = "Wellbeing Sections";
15351
15728
  var school_monthly_usage$3 = "School Monthly Usage";
15352
15729
  var location$4 = "Location";
15353
15730
  var edit_my_profile$3 = "Edit My Profile";
15354
15731
  var save_new_password$3 = "Save new password";
15355
15732
  var teacher_code$3 = "Teacher code";
15733
+ var my_well_being$3 = "My Well-being";
15734
+ var my_well_Being_check_in$3 = "My Well-Being Check-in";
15735
+ var my_sessions$3 = "My Sessions";
15736
+ var your_personal_data_will_not_be_shared_with_anyone_else$3 = "Your personal data will <strong>not be shared</strong> with anyone else";
15737
+ var school_leadership_will_only_see_aggregated_data$3 = "School leadership will only see aggregated data.";
15738
+ var save_filters$3 = "Save Filters";
15739
+ var clear_all_filters$3 = "Clear All Filters";
15740
+ var my_well_being_check_in$3 = "My Well-Being Check-in";
15741
+ var unless_you_specifically_choose_to_do_this$3 = "unless you specifically choose to do this.";
15742
+ var physical_well_being$3 = "Physical Well-Being";
15743
+ var emotional_well_being$3 = "Emotional Well-Being";
15744
+ var social_well_being_relationships$3 = "Social Well-Being - Relationships";
15745
+ var social_well_being_environment$3 = "Social Well-Being - Environment";
15746
+ var intellectual_well_being$3 = "Intellectual Well-Being";
15747
+ var colleague_or_staff_member_you_like_to_praise_or_thank$3 = "Colleague or staff member you'd like to praise or thank?";
15748
+ var wellbeing_finished$3 = "Wellbeing Finished";
15749
+ var take_a_moment_for_you$3 = "Take a Moment for You";
15750
+ 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.";
15751
+ var start_check_in_now$3 = "START CHECK-IN NOW";
15752
+ var i_ll_do_it_later$3 = "I'LL DO IT LATER";
15356
15753
  var number_of_conversations$3 = "Number of conversations";
15357
15754
  var number_of_expected_conversations_based_on_the_goal$3 = "Number of expected conversations based on the goal";
15755
+ var teachers_well_being_dashboard$3 = "Teachers' Well-Being Dashboard";
15756
+ var my_well_being_dashboard$3 = "My Well-Being Dashboard";
15757
+ var understand_the_metrics_about_the_educators_wellness_and_environment$3 = "Understand the metrics about the educator's wellness and environment";
15758
+ var understand_the_metrics_about_my_wellness_and_environment$3 = "Understand the metrics about my wellness and environment";
15759
+ var engagement$3 = "Engagement";
15760
+ var total_1_1_conversations$3 = "Total 1-1 Conversations";
15761
+ var educators_without_check_ins$3 = "Educators without<br/>check-ins";
15762
+ var educators_without_check_ins_not_br$3 = "Educators without Check-ins";
15763
+ var educators_havent_completed_check_ins_in_the_last_30_days$3 = "educators haven't completed check-ins in the last 30 days";
15764
+ var you_can_send_individual_requests_or_bulk_reminders_to_all_educators$3 = "You can send individual requests or bulk reminders to all educators";
15765
+ var department$3 = "Department";
15766
+ var last_check_in_normal$3 = "Last check-in";
15767
+ var request_check_in_wellbeing$3 = "Request check-in";
15768
+ var send_bulk_reminder$3 = "Send bulk reminder";
15769
+ var physical$3 = "Physical";
15770
+ var self_care$3 = "Self-care";
15771
+ var relationships_well_being$3 = "Relationships Well-Being";
15772
+ var self_care_well_being$3 = "Self-Care Well-Being";
15773
+ var environment$3 = "Environment";
15774
+ var environment_well_being$3 = "Environment Well-Being";
15775
+ var intellectual$3 = "Intellectual";
15776
+ var the_data_presented_here_comes_from_the_check_ins$3 = "The data presented here comes from the check-ins.";
15777
+ var charts_will_appear_once_over_20_of_educators$3 = "Charts will appear once over 20% of educators<br/>have completed their check-ins.";
15778
+ var total_1_1_requested$3 = "Total 1-1 Requested";
15358
15779
  var lang_es = {
15359
15780
  dashboard: dashboard$3,
15360
15781
  user: user$3,
@@ -15372,7 +15793,7 @@ var lang_es = {
15372
15793
  readiness_to_learn: readiness_to_learn$3,
15373
15794
  high_impact_learning_strategies: high_impact_learning_strategies$3,
15374
15795
  "1_to_1": "1 a 1",
15375
- check_in: check_in$2,
15796
+ check_in: check_in$3,
15376
15797
  check_ins: check_ins$3,
15377
15798
  reflection: reflection$3,
15378
15799
  conferences: conferences$3,
@@ -17584,13 +18005,74 @@ var lang_es = {
17584
18005
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$3,
17585
18006
  please_add_title_note: please_add_title_note$3,
17586
18007
  notes_and_logs: notes_and_logs$3,
18008
+ survey_portal: survey_portal$3,
18009
+ integrations: integrations$3,
18010
+ external_api: external_api$3,
18011
+ teacher_well_being: teacher_well_being$3,
18012
+ frequency_and_setup: frequency_and_setup$3,
18013
+ well_being_dashboard: well_being_dashboard$3,
18014
+ go_to_dashboard: go_to_dashboard$3,
18015
+ 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,
18016
+ 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,
18017
+ 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,
18018
+ check_in_complete: check_in_complete$3,
18019
+ schedule_a_conversation: schedule_a_conversation$3,
18020
+ select_a_contact_to_speak_with: select_a_contact_to_speak_with$3,
18021
+ what_would_you_like_to_discuss: what_would_you_like_to_discuss$3,
18022
+ 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,
18023
+ wellbeing_sections: wellbeing_sections$3,
17587
18024
  school_monthly_usage: school_monthly_usage$3,
17588
18025
  location: location$4,
17589
18026
  edit_my_profile: edit_my_profile$3,
17590
18027
  save_new_password: save_new_password$3,
17591
18028
  teacher_code: teacher_code$3,
18029
+ my_well_being: my_well_being$3,
18030
+ my_well_Being_check_in: my_well_Being_check_in$3,
18031
+ my_sessions: my_sessions$3,
18032
+ your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$3,
18033
+ school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$3,
18034
+ save_filters: save_filters$3,
18035
+ clear_all_filters: clear_all_filters$3,
18036
+ my_well_being_check_in: my_well_being_check_in$3,
18037
+ unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$3,
18038
+ physical_well_being: physical_well_being$3,
18039
+ emotional_well_being: emotional_well_being$3,
18040
+ "self_care_&_balance": "Self-Care & Balance",
18041
+ social_well_being_relationships: social_well_being_relationships$3,
18042
+ social_well_being_environment: social_well_being_environment$3,
18043
+ intellectual_well_being: intellectual_well_being$3,
18044
+ colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$3,
18045
+ wellbeing_finished: wellbeing_finished$3,
18046
+ take_a_moment_for_you: take_a_moment_for_you$3,
18047
+ 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,
18048
+ start_check_in_now: start_check_in_now$3,
18049
+ i_ll_do_it_later: i_ll_do_it_later$3,
17592
18050
  number_of_conversations: number_of_conversations$3,
17593
- number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$3
18051
+ number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$3,
18052
+ teachers_well_being_dashboard: teachers_well_being_dashboard$3,
18053
+ my_well_being_dashboard: my_well_being_dashboard$3,
18054
+ understand_the_metrics_about_the_educators_wellness_and_environment: understand_the_metrics_about_the_educators_wellness_and_environment$3,
18055
+ understand_the_metrics_about_my_wellness_and_environment: understand_the_metrics_about_my_wellness_and_environment$3,
18056
+ engagement: engagement$3,
18057
+ total_1_1_conversations: total_1_1_conversations$3,
18058
+ educators_without_check_ins: educators_without_check_ins$3,
18059
+ educators_without_check_ins_not_br: educators_without_check_ins_not_br$3,
18060
+ educators_havent_completed_check_ins_in_the_last_30_days: educators_havent_completed_check_ins_in_the_last_30_days$3,
18061
+ you_can_send_individual_requests_or_bulk_reminders_to_all_educators: you_can_send_individual_requests_or_bulk_reminders_to_all_educators$3,
18062
+ department: department$3,
18063
+ last_check_in_normal: last_check_in_normal$3,
18064
+ request_check_in_wellbeing: request_check_in_wellbeing$3,
18065
+ send_bulk_reminder: send_bulk_reminder$3,
18066
+ physical: physical$3,
18067
+ self_care: self_care$3,
18068
+ relationships_well_being: relationships_well_being$3,
18069
+ self_care_well_being: self_care_well_being$3,
18070
+ environment: environment$3,
18071
+ environment_well_being: environment_well_being$3,
18072
+ intellectual: intellectual$3,
18073
+ the_data_presented_here_comes_from_the_check_ins: the_data_presented_here_comes_from_the_check_ins$3,
18074
+ charts_will_appear_once_over_20_of_educators: charts_will_appear_once_over_20_of_educators$3,
18075
+ total_1_1_requested: total_1_1_requested$3
17594
18076
  };
17595
18077
 
17596
18078
  var dashboard$4 = "仪表板";
@@ -17608,7 +18090,7 @@ var cancel$4 = "取消";
17608
18090
  var hey$4 = "您好";
17609
18091
  var readiness_to_learn$4 = "准备学习";
17610
18092
  var high_impact_learning_strategies$4 = "高效学习策略";
17611
- var check_in$3 = "签到";
18093
+ var check_in$4 = "签到";
17612
18094
  var check_ins$4 = "签到";
17613
18095
  var reflection$4 = "反思";
17614
18096
  var conferences$4 = "讨论会";
@@ -19767,13 +20249,73 @@ var save_note$4 = "Save note";
19767
20249
  var type_the_main_focus_of_this_session$4 = "Type the main focus of this session";
19768
20250
  var please_add_title_note$4 = "Please add note title";
19769
20251
  var notes_and_logs$4 = "Notes and Logs";
20252
+ var survey_portal$4 = "Survey Portal";
20253
+ var integrations$4 = "Integrations";
20254
+ var external_api$4 = "External Api";
20255
+ var teacher_well_being$4 = "Teacher Well-Being";
20256
+ var frequency_and_setup$4 = "Frequency and Setup";
20257
+ var well_being_dashboard$4 = "Well-Being Dashboard";
20258
+ var go_to_dashboard$4 = "Go to dashboard";
20259
+ 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.";
20260
+ 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.";
20261
+ 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.";
20262
+ var check_in_complete$4 = "Check-in Complete!";
20263
+ var schedule_a_conversation$4 = "Schedule a Conversation";
20264
+ var select_a_contact_to_speak_with$4 = "Select a contact to speak with";
20265
+ var what_would_you_like_to_discuss$4 = "What would you like to discuss?";
20266
+ 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...";
20267
+ var wellbeing_sections$4 = "Wellbeing Sections";
19770
20268
  var school_monthly_usage$4 = "School Monthly Usage";
19771
20269
  var location$5 = "Location";
19772
20270
  var edit_my_profile$4 = "Edit My Profile";
19773
20271
  var save_new_password$4 = "Save new password";
19774
20272
  var teacher_code$4 = "Teacher code";
20273
+ var my_well_being$4 = "My Well-being";
20274
+ var my_well_Being_check_in$4 = "My Well-Being Check-in";
20275
+ var my_sessions$4 = "My Sessions";
20276
+ var your_personal_data_will_not_be_shared_with_anyone_else$4 = "Your personal data will <strong>not be shared</strong> with anyone else";
20277
+ var school_leadership_will_only_see_aggregated_data$4 = "School leadership will only see aggregated data.";
20278
+ var save_filters$4 = "Save Filters";
20279
+ var clear_all_filters$4 = "Clear All Filters";
20280
+ var my_well_being_check_in$4 = "My Well-Being Check-in";
20281
+ var unless_you_specifically_choose_to_do_this$4 = "unless you specifically choose to do this.";
20282
+ var physical_well_being$4 = "Physical Well-Being";
20283
+ var emotional_well_being$4 = "Emotional Well-Being";
20284
+ var social_well_being_relationships$4 = "Social Well-Being - Relationships";
20285
+ var social_well_being_environment$4 = "Social Well-Being - Environment";
20286
+ var intellectual_well_being$4 = "Intellectual Well-Being";
20287
+ var colleague_or_staff_member_you_like_to_praise_or_thank$4 = "Colleague or staff member you'd like to praise or thank?";
20288
+ var wellbeing_finished$4 = "Wellbeing Finished";
20289
+ var take_a_moment_for_you$4 = "Take a Moment for You";
20290
+ 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.";
20291
+ var start_check_in_now$4 = "START CHECK-IN NOW";
20292
+ var i_ll_do_it_later$4 = "I'LL DO IT LATER";
19775
20293
  var number_of_conversations$4 = "Number of conversations";
19776
20294
  var number_of_expected_conversations_based_on_the_goal$4 = "Number of expected conversations based on the goal";
20295
+ var teachers_well_being_dashboard$4 = "Teachers' Well-Being Dashboard";
20296
+ var my_well_being_dashboard$4 = "My Well-Being Dashboard";
20297
+ var understand_the_metrics_about_the_educators_wellness_and_environment$4 = "Understand the metrics about the educator's wellness and environment";
20298
+ var understand_the_metrics_about_my_wellness_and_environment$4 = "Understand the metrics about my wellness and environment";
20299
+ var engagement$4 = "Engagement";
20300
+ var total_1_1_conversations$4 = "Total 1-1 Conversations";
20301
+ var educators_without_check_ins$4 = "Educators without<br/>check-ins";
20302
+ var educators_without_check_ins_not_br$4 = "Educators without Check-ins";
20303
+ var educators_havent_completed_check_ins_in_the_last_30_days$4 = "educators haven't completed check-ins in the last 30 days";
20304
+ var you_can_send_individual_requests_or_bulk_reminders_to_all_educators$4 = "You can send individual requests or bulk reminders to all educators";
20305
+ var department$4 = "Department";
20306
+ var last_check_in_normal$4 = "Last check-in";
20307
+ var request_check_in_wellbeing$4 = "Request check-in";
20308
+ var send_bulk_reminder$4 = "Send bulk reminder";
20309
+ var physical$4 = "Physical";
20310
+ var self_care$4 = "Self-care";
20311
+ var relationships_well_being$4 = "Relationships Well-Being";
20312
+ var self_care_well_being$4 = "Self-Care Well-Being";
20313
+ var environment$4 = "Environment";
20314
+ var environment_well_being$4 = "Environment Well-Being";
20315
+ var intellectual$4 = "Intellectual";
20316
+ var the_data_presented_here_comes_from_the_check_ins$4 = "The data presented here comes from the check-ins.";
20317
+ var charts_will_appear_once_over_20_of_educators$4 = "Charts will appear once over 20% of educators<br/>have completed their check-ins.";
20318
+ var total_1_1_requested$4 = "Total 1-1 Requested";
19777
20319
  var lang_zh = {
19778
20320
  dashboard: dashboard$4,
19779
20321
  user: user$4,
@@ -19791,7 +20333,7 @@ var lang_zh = {
19791
20333
  readiness_to_learn: readiness_to_learn$4,
19792
20334
  high_impact_learning_strategies: high_impact_learning_strategies$4,
19793
20335
  "1_to_1": "一对一",
19794
- check_in: check_in$3,
20336
+ check_in: check_in$4,
19795
20337
  check_ins: check_ins$4,
19796
20338
  reflection: reflection$4,
19797
20339
  conferences: conferences$4,
@@ -22003,13 +22545,74 @@ var lang_zh = {
22003
22545
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$4,
22004
22546
  please_add_title_note: please_add_title_note$4,
22005
22547
  notes_and_logs: notes_and_logs$4,
22548
+ survey_portal: survey_portal$4,
22549
+ integrations: integrations$4,
22550
+ external_api: external_api$4,
22551
+ teacher_well_being: teacher_well_being$4,
22552
+ frequency_and_setup: frequency_and_setup$4,
22553
+ well_being_dashboard: well_being_dashboard$4,
22554
+ go_to_dashboard: go_to_dashboard$4,
22555
+ 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,
22556
+ 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,
22557
+ 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,
22558
+ check_in_complete: check_in_complete$4,
22559
+ schedule_a_conversation: schedule_a_conversation$4,
22560
+ select_a_contact_to_speak_with: select_a_contact_to_speak_with$4,
22561
+ what_would_you_like_to_discuss: what_would_you_like_to_discuss$4,
22562
+ 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,
22563
+ wellbeing_sections: wellbeing_sections$4,
22006
22564
  school_monthly_usage: school_monthly_usage$4,
22007
22565
  location: location$5,
22008
22566
  edit_my_profile: edit_my_profile$4,
22009
22567
  save_new_password: save_new_password$4,
22010
22568
  teacher_code: teacher_code$4,
22569
+ my_well_being: my_well_being$4,
22570
+ my_well_Being_check_in: my_well_Being_check_in$4,
22571
+ my_sessions: my_sessions$4,
22572
+ your_personal_data_will_not_be_shared_with_anyone_else: your_personal_data_will_not_be_shared_with_anyone_else$4,
22573
+ school_leadership_will_only_see_aggregated_data: school_leadership_will_only_see_aggregated_data$4,
22574
+ save_filters: save_filters$4,
22575
+ clear_all_filters: clear_all_filters$4,
22576
+ my_well_being_check_in: my_well_being_check_in$4,
22577
+ unless_you_specifically_choose_to_do_this: unless_you_specifically_choose_to_do_this$4,
22578
+ physical_well_being: physical_well_being$4,
22579
+ emotional_well_being: emotional_well_being$4,
22580
+ "self_care_&_balance": "Self-Care & Balance",
22581
+ social_well_being_relationships: social_well_being_relationships$4,
22582
+ social_well_being_environment: social_well_being_environment$4,
22583
+ intellectual_well_being: intellectual_well_being$4,
22584
+ colleague_or_staff_member_you_like_to_praise_or_thank: colleague_or_staff_member_you_like_to_praise_or_thank$4,
22585
+ wellbeing_finished: wellbeing_finished$4,
22586
+ take_a_moment_for_you: take_a_moment_for_you$4,
22587
+ 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,
22588
+ start_check_in_now: start_check_in_now$4,
22589
+ i_ll_do_it_later: i_ll_do_it_later$4,
22011
22590
  number_of_conversations: number_of_conversations$4,
22012
- number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$4
22591
+ number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal$4,
22592
+ teachers_well_being_dashboard: teachers_well_being_dashboard$4,
22593
+ my_well_being_dashboard: my_well_being_dashboard$4,
22594
+ understand_the_metrics_about_the_educators_wellness_and_environment: understand_the_metrics_about_the_educators_wellness_and_environment$4,
22595
+ understand_the_metrics_about_my_wellness_and_environment: understand_the_metrics_about_my_wellness_and_environment$4,
22596
+ engagement: engagement$4,
22597
+ total_1_1_conversations: total_1_1_conversations$4,
22598
+ educators_without_check_ins: educators_without_check_ins$4,
22599
+ educators_without_check_ins_not_br: educators_without_check_ins_not_br$4,
22600
+ educators_havent_completed_check_ins_in_the_last_30_days: educators_havent_completed_check_ins_in_the_last_30_days$4,
22601
+ you_can_send_individual_requests_or_bulk_reminders_to_all_educators: you_can_send_individual_requests_or_bulk_reminders_to_all_educators$4,
22602
+ department: department$4,
22603
+ last_check_in_normal: last_check_in_normal$4,
22604
+ request_check_in_wellbeing: request_check_in_wellbeing$4,
22605
+ send_bulk_reminder: send_bulk_reminder$4,
22606
+ physical: physical$4,
22607
+ self_care: self_care$4,
22608
+ relationships_well_being: relationships_well_being$4,
22609
+ self_care_well_being: self_care_well_being$4,
22610
+ environment: environment$4,
22611
+ environment_well_being: environment_well_being$4,
22612
+ intellectual: intellectual$4,
22613
+ the_data_presented_here_comes_from_the_check_ins: the_data_presented_here_comes_from_the_check_ins$4,
22614
+ charts_will_appear_once_over_20_of_educators: charts_will_appear_once_over_20_of_educators$4,
22615
+ total_1_1_requested: total_1_1_requested$4
22013
22616
  };
22014
22617
 
22015
22618
  var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
@@ -39598,6 +40201,7 @@ var showMenuBar = toolkit.createAction("common/showMenuBar");
39598
40201
  var showFontSize = toolkit.createAction("common/showFontSize");
39599
40202
  var setEnableIEP = toolkit.createAction("common/setEnableIEP");
39600
40203
  var setEnableSurvey = toolkit.createAction("common/setEnableSurvey");
40204
+ var setEnableWellBeing = toolkit.createAction("common/setEnableWellBeing");
39601
40205
  var setEnableMarioAi = toolkit.createAction("common/setEnableMarioAi");
39602
40206
  var setSandboxMode = toolkit.createAction("common/setSandboxMode");
39603
40207
  var setConversationOneToOne = toolkit.createAction("common/setConversationOneToOne");
@@ -41880,212 +42484,6 @@ var TheHeaderDropdown = function TheHeaderDropdown(_ref) {
41880
42484
  })), t("log_out")))));
41881
42485
  };
41882
42486
 
41883
- var apiGetLanguage = function apiGetLanguage() {
41884
- return api.get(BASE_URL + "/api/language");
41885
- };
41886
-
41887
- var apiUpdateLanguage = function apiUpdateLanguage(lang) {
41888
- return api.put(BASE_URL + "/api/language?lang=" + lang);
41889
- };
41890
-
41891
- var LANGUAGE_SYSTEM = "LANGUAGE_SYSTEM";
41892
-
41893
- var useLanguages = function useLanguages() {
41894
- var dispatch = reactRedux.useDispatch();
41895
-
41896
- var _useTranslation = reactI18next.useTranslation(),
41897
- i18n = _useTranslation.i18n;
41898
-
41899
- var language = reactRedux.useSelector(function (state) {
41900
- return state.common.language;
41901
- });
41902
- var defaultLanguage = getCookieValue(LANGUAGE_SYSTEM) != null ? getCookieValue(LANGUAGE_SYSTEM) : DEFAULT_LANGUAGE_CODE;
41903
-
41904
- var _useState = React.useState([]),
41905
- languageList = _useState[0],
41906
- setLanguageList = _useState[1];
41907
-
41908
- var _useState2 = React.useState(false),
41909
- dropdownOpen = _useState2[0],
41910
- setDropdownOpen = _useState2[1];
41911
-
41912
- var _useState3 = React.useState(defaultLanguage),
41913
- currentLang = _useState3[0],
41914
- setCurrentLang = _useState3[1];
41915
-
41916
- var toggle = function toggle() {
41917
- return setDropdownOpen(function (prevState) {
41918
- return !prevState;
41919
- });
41920
- };
41921
-
41922
- var changeLanguageApp = function changeLanguageApp(lang) {
41923
- try {
41924
- var _temp3 = function _temp3() {
41925
- dispatch(setLoading(false));
41926
- };
41927
-
41928
- dispatch(setLoading(true));
41929
-
41930
- var _temp4 = _catch(function () {
41931
- return Promise.resolve(apiUpdateLanguage(lang)).then(function () {
41932
- i18n.changeLanguage(lang);
41933
- setCurrentLang(lang);
41934
- dispatch(setLanguage(lang));
41935
- });
41936
- }, function (err) {
41937
- var _err$response, _err$response$data;
41938
-
41939
- dispatch(setAlert({
41940
- type: "danger",
41941
- 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
41942
- }));
41943
- });
41944
-
41945
- return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp3) : _temp3(_temp4));
41946
- } catch (e) {
41947
- return Promise.reject(e);
41948
- }
41949
- };
41950
-
41951
- var getListLanguage = function getListLanguage() {
41952
- try {
41953
- var _temp6 = _catch(function () {
41954
- return Promise.resolve(apiGetLanguage()).then(function (res) {
41955
- setLanguageList(res.data);
41956
- });
41957
- }, function (err) {
41958
- var _err$response2, _err$response2$data;
41959
-
41960
- dispatch(setAlert({
41961
- type: "danger",
41962
- 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
41963
- }));
41964
- });
41965
-
41966
- return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
41967
- } catch (e) {
41968
- return Promise.reject(e);
41969
- }
41970
- };
41971
-
41972
- React.useEffect(function () {
41973
- defaultLanguage != language && changeLanguageApp(defaultLanguage);
41974
- getListLanguage();
41975
- }, []);
41976
- return {
41977
- languageList: languageList,
41978
- toggle: toggle,
41979
- dropdownOpen: dropdownOpen,
41980
- currentLang: currentLang,
41981
- changeLanguageApp: changeLanguageApp,
41982
- setCurrentLang: setCurrentLang
41983
- };
41984
- };
41985
-
41986
- var TheLanguageDropdown = function TheLanguageDropdown() {
41987
- var _useLanguages = useLanguages(),
41988
- languageList = _useLanguages.languageList,
41989
- toggle = _useLanguages.toggle,
41990
- dropdownOpen = _useLanguages.dropdownOpen,
41991
- currentLang = _useLanguages.currentLang,
41992
- changeLanguageApp = _useLanguages.changeLanguageApp;
41993
-
41994
- var currentLanguage = React.useMemo(function () {
41995
- var current = languageList.find(function (i) {
41996
- return i.code === currentLang;
41997
- });
41998
- if (!current) return null;
41999
- return React__default.createElement(React__default.Fragment, null, React__default.createElement("img", {
42000
- className: "mr-2 " + styles['dropdown-menu-flag'],
42001
- src: "" + getStaticFileUrl(current.image)
42002
- }), " ", current.name);
42003
- }, [currentLang, languageList]);
42004
- return React__default.createElement(reactstrap.Dropdown, {
42005
- isOpen: dropdownOpen,
42006
- toggle: toggle,
42007
- className: "" + styles["dropdown-menu"]
42008
- }, React__default.createElement(reactstrap.DropdownToggle, {
42009
- className: styles["header-avatar"] + " d-flex align-items-center"
42010
- }, React__default.createElement("span", {
42011
- style: {
42012
- color: "#000",
42013
- textTransform: "capitalize",
42014
- display: 'flex',
42015
- alignItems: 'center'
42016
- }
42017
- }, currentLanguage, React__default.createElement(bs.BsChevronDown, {
42018
- className: "ml-2",
42019
- style: {
42020
- fontSize: '10px'
42021
- }
42022
- }))), React__default.createElement(reactstrap.DropdownMenu, {
42023
- className: styles["dropdown-content-language"]
42024
- }, !!languageList && languageList.length > 0 && languageList.map(function (lang, index) {
42025
- return React__default.createElement(reactstrap.DropdownItem, {
42026
- key: lang.code,
42027
- className: styles["dropdown-change"] + " px-0 py-0 " + (index === languageList.length - 1 ? "pb-2" : "pt-2"),
42028
- onClick: function onClick() {
42029
- return changeLanguageApp(lang.code);
42030
- }
42031
- }, React__default.createElement("div", {
42032
- className: styles["dropdown-item-language"] + " " + styles["item-logout"] + " " + (currentLang == lang.code ? styles['dropdown-item-language-active'] : "") + " d-flex align-items-center w-100"
42033
- }, React__default.createElement("span", {
42034
- className: "mr-2 d-flex hover-opacity"
42035
- }, React__default.createElement("img", {
42036
- style: {
42037
- width: "30px",
42038
- height: "25px",
42039
- borderRadius: "5px"
42040
- },
42041
- src: getStaticFileUrl(lang.image)
42042
- })), lang.name));
42043
- })));
42044
- };
42045
-
42046
- var TheHeader = function TheHeader(_ref) {
42047
- var onToggleModel = _ref.onToggleModel;
42048
- var dispatch = reactRedux.useDispatch();
42049
- var sidebarShow = reactRedux.useSelector(function (state) {
42050
- return state.common.sidebarShow;
42051
- });
42052
-
42053
- var _useTranslation = reactI18next.useTranslation(),
42054
- t = _useTranslation.t;
42055
-
42056
- var toggleSidebarMobile = function toggleSidebarMobile() {
42057
- var val = [false, "responsive"].includes(sidebarShow) ? true : "responsive";
42058
- dispatch(setSidebar(val));
42059
- };
42060
-
42061
- var isDistrict = window.location.host.includes("-district");
42062
- return React__default.createElement(react.CHeader, {
42063
- withSubheader: true,
42064
- className: "d-flex align-items-center justify-content-end"
42065
- }, React__default.createElement(react.CToggler, {
42066
- inHeader: true,
42067
- className: "ml-md-3 d-lg-none",
42068
- onClick: toggleSidebarMobile
42069
- }), React__default.createElement(react.CHeaderBrand, {
42070
- className: "mx-auto flex-grow-1 d-lg-none",
42071
- to: "/"
42072
- }, React__default.createElement("img", {
42073
- src: getStaticFileUrl(Images.LOGO_HEADER),
42074
- className: styles["header-logo"]
42075
- })), React__default.createElement(react.CHeaderNav, {
42076
- className: "pr-3"
42077
- }, React__default.createElement(TheLanguageDropdown, null), React__default.createElement("a", {
42078
- className: "mr-3",
42079
- style: {
42080
- color: '#000'
42081
- },
42082
- href: '/privacy-policy',
42083
- target: "blank"
42084
- }, t("privacy_policy")), !isDistrict && React__default.createElement(NotificationButton, null), React__default.createElement(TheHeaderDropdown, {
42085
- onToggleModel: onToggleModel
42086
- })));
42087
- };
42088
-
42089
42487
  var TITLE$3 = "Not found";
42090
42488
 
42091
42489
  var NotFound = function NotFound() {
@@ -42143,258 +42541,6 @@ var TheContent = function TheContent(_ref) {
42143
42541
 
42144
42542
  var TheContent$1 = React__default.memo(TheContent);
42145
42543
 
42146
- var loadingStyle = {
42147
- minWidth: "100vw",
42148
- minHeight: "100vh",
42149
- position: "fixed",
42150
- top: 0,
42151
- left: 0,
42152
- zIndex: 999999999,
42153
- backgroundColor: "rgba(0, 0, 0, 0.4)",
42154
- display: "flex",
42155
- justifyContent: "center",
42156
- alignItems: "center"
42157
- };
42158
-
42159
- var Loading = function Loading() {
42160
- var isLoading = reactRedux.useSelector(function (state) {
42161
- return state.common.isLoading;
42162
- });
42163
- localStorage.setItem("LAST_TIME_REQUETST", moment().utc().format("YYYY-MM-DD HH:mm:ss"));
42164
- return isLoading ? React__default.createElement("div", {
42165
- style: loadingStyle
42166
- }, React__default.createElement("div", {
42167
- className: "spinner-border text-secondary",
42168
- role: "status"
42169
- }, React__default.createElement("span", {
42170
- className: "sr-only"
42171
- }, "Loading..."))) : null;
42172
- };
42173
-
42174
- var firstCheckToken = function firstCheckToken() {
42175
- return Promise.resolve(_catch(function () {
42176
- var token = getAccessToken();
42177
- return token ? Promise.resolve(checkToken(token)).then(function (tokenStatus) {
42178
- return tokenStatus.data ? true : false;
42179
- }) : false;
42180
- }, function () {
42181
- return false;
42182
- }));
42183
- };
42184
-
42185
- var canAccess = function canAccess(userRoles, componentRoles) {
42186
- if (!Array.isArray(userRoles)) {
42187
- return false;
42188
- }
42189
-
42190
- if (Array.isArray(componentRoles)) {
42191
- var intersects = userRoles.filter(function (i) {
42192
- return componentRoles.includes(i);
42193
- });
42194
- return intersects.length > 0;
42195
- }
42196
-
42197
- return true;
42198
- };
42199
-
42200
- var ModelSelectRole = function ModelSelectRole(_ref) {
42201
- var _handleUserRole;
42202
-
42203
- var open = _ref.open,
42204
- onToggleModel = _ref.onToggleModel;
42205
- var dispatch = reactRedux.useDispatch();
42206
-
42207
- var _useTranslation = reactI18next.useTranslation(),
42208
- t = _useTranslation.t;
42209
-
42210
- var history = reactRouterDom.useHistory();
42211
- var pathname = window.location.pathname;
42212
- var user = reactRedux.useSelector(function (state) {
42213
- return state.common.user;
42214
- });
42215
- var roles = user === null || user === void 0 ? void 0 : user.roles;
42216
-
42217
- var handleSelectUserRoles = function handleSelectUserRoles(roles) {
42218
- dispatch(setLoading(true));
42219
- var roleSelect = roles.includes("Teacher/Assistant") ? ["Teacher", "Assistant"] : roles;
42220
- dispatch(setUser(_extends({}, user, {
42221
- roles: roleSelect
42222
- })));
42223
- localStorage.setItem("ROLES", roleSelect.toString());
42224
- onToggleModel();
42225
-
42226
- if (roles.includes("Parent")) {
42227
- history.push("/parent");
42228
- } else if (roles.includes("Admin")) {
42229
- history.push("/admin/home");
42230
- } else {
42231
- pathname !== "/home" ? history.push("/home") : window.location.reload();
42232
- }
42233
- };
42234
-
42235
- return React__default.createElement(reactstrap.Modal, {
42236
- isOpen: open,
42237
- toggle: function toggle() {
42238
- return onToggleModel();
42239
- },
42240
- className: "" + styles["model-switch-roles"],
42241
- centered: true
42242
- }, React__default.createElement("p", {
42243
- className: "" + styles["title"]
42244
- }, 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) {
42245
- return React__default.createElement("p", {
42246
- key: r,
42247
- 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" : ""],
42248
- onClick: function onClick() {
42249
- return handleSelectUserRoles([r]);
42250
- }
42251
- }, r == "SecondaryTeacher" ? "Support Teacher" : r);
42252
- })));
42253
- };
42254
-
42255
- var TheLayout = function TheLayout(_ref) {
42256
- var routes = _ref.routes,
42257
- navigation = _ref.navigation;
42258
- var history = reactRouterDom.useHistory();
42259
- var dispatch = reactRedux.useDispatch();
42260
- var user = reactRedux.useSelector(function (state) {
42261
- return state.common.user;
42262
- });
42263
- var language = reactRedux.useSelector(function (state) {
42264
- return state.common.language;
42265
- });
42266
-
42267
- var _useState = React.useState(false),
42268
- openModelSelectRole = _useState[0],
42269
- setOpenModelSelectRole = _useState[1];
42270
-
42271
- var _useTranslation = reactI18next.useTranslation(),
42272
- t = _useTranslation.t;
42273
-
42274
- var location = reactRouterDom.useLocation();
42275
- var isNotification = location.pathname.includes("notifications");
42276
- var isDistrict = window.location.host.includes("-district");
42277
-
42278
- var handleToggleModel = function handleToggleModel() {
42279
- setOpenModelSelectRole(!openModelSelectRole);
42280
- };
42281
-
42282
- var authRoutes = React.useMemo(function () {
42283
- return routes.filter(function (route) {
42284
- return canAccess(user === null || user === void 0 ? void 0 : user.roles, route.roles);
42285
- }).filter(function (route) {
42286
- return !!route.isDistrict === isDistrict;
42287
- });
42288
- }, [user, language]);
42289
- var authNavigations = React.useMemo(function () {
42290
- return navigation.map(function (item) {
42291
- var _item$_children, _item$_children2;
42292
-
42293
- return _extends({}, item, {
42294
- name: t(item.name),
42295
- _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) {
42296
- return _extends({}, x, {
42297
- name: t(x.name)
42298
- });
42299
- }) : undefined
42300
- });
42301
- }).filter(function (nav) {
42302
- return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
42303
- }).filter(function (nav) {
42304
- return !!nav.isDistrict === isDistrict;
42305
- });
42306
- }, [user, language]);
42307
-
42308
- var getInformationSetting = function getInformationSetting() {
42309
- try {
42310
- var _temp2 = _catch(function () {
42311
- return Promise.resolve(getSchoolSettings()).then(function (res) {
42312
- dispatch(setSandboxMode(res.data.isSandboxMode));
42313
- });
42314
- }, function (err) {
42315
- console.error(err);
42316
- });
42317
-
42318
- return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(function () {}) : void 0);
42319
- } catch (e) {
42320
- return Promise.reject(e);
42321
- }
42322
- };
42323
-
42324
- React.useEffect(function () {
42325
- checkAuthentication();
42326
- }, []);
42327
- React.useEffect(function () {
42328
- getInformationSetting();
42329
- }, [location.pathname]);
42330
-
42331
- var checkAuthentication = function checkAuthentication() {
42332
- try {
42333
- var _temp4 = _catch(function () {
42334
- return Promise.resolve(firstCheckToken()).then(function (tokenStatus) {
42335
- tokenStatus ? loadInfo() : resetAuth();
42336
- });
42337
- }, function () {
42338
- resetAuth();
42339
- });
42340
-
42341
- return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(function () {}) : void 0);
42342
- } catch (e) {
42343
- return Promise.reject(e);
42344
- }
42345
- };
42346
-
42347
- var loadInfo = function loadInfo() {
42348
- try {
42349
- var _temp6 = _catch(function () {
42350
- return Promise.resolve(getInfo()).then(function (info) {
42351
- var _info$data, _info$data$roles;
42352
-
42353
- 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"))) {
42354
- resetAuth();
42355
- }
42356
-
42357
- dispatch(setUser(info.data));
42358
- });
42359
- }, function () {
42360
- resetAuth();
42361
- });
42362
-
42363
- return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
42364
- } catch (e) {
42365
- return Promise.reject(e);
42366
- }
42367
- };
42368
-
42369
- var resetAuth = function resetAuth() {
42370
- localStorage.removeItem(ACCESS_TOKEN);
42371
- sessionStorage.removeItem(ACCESS_TOKEN);
42372
- localStorage.removeItem("ROLES");
42373
- history.push("/");
42374
- };
42375
-
42376
- if (!user) {
42377
- return React__default.createElement(Loading, null);
42378
- }
42379
-
42380
- return React__default.createElement("div", {
42381
- className: "c-app c-default-layout"
42382
- }, !isNotification && React__default.createElement(TheSidebar, {
42383
- navigation: authNavigations
42384
- }), React__default.createElement("div", {
42385
- className: "c-wrapper"
42386
- }, !isNotification && React__default.createElement(TheHeader, {
42387
- onToggleModel: handleToggleModel
42388
- }), React__default.createElement("div", {
42389
- className: "c-body bg-white"
42390
- }, React__default.createElement(TheContent$1, {
42391
- routes: authRoutes
42392
- }))), React__default.createElement(ModelSelectRole, {
42393
- open: openModelSelectRole,
42394
- onToggleModel: handleToggleModel
42395
- }));
42396
- };
42397
-
42398
42544
  var buttonTextStyle = {
42399
42545
  fontWeight: 500
42400
42546
  };
@@ -51741,6 +51887,34 @@ var UserDetail = function UserDetail() {
51741
51887
  });
51742
51888
  };
51743
51889
 
51890
+ var loadingStyle = {
51891
+ minWidth: "100vw",
51892
+ minHeight: "100vh",
51893
+ position: "fixed",
51894
+ top: 0,
51895
+ left: 0,
51896
+ zIndex: 999999999,
51897
+ backgroundColor: "rgba(0, 0, 0, 0.4)",
51898
+ display: "flex",
51899
+ justifyContent: "center",
51900
+ alignItems: "center"
51901
+ };
51902
+
51903
+ var Loading = function Loading() {
51904
+ var isLoading = reactRedux.useSelector(function (state) {
51905
+ return state.common.isLoading;
51906
+ });
51907
+ localStorage.setItem("LAST_TIME_REQUETST", moment().utc().format("YYYY-MM-DD HH:mm:ss"));
51908
+ return isLoading ? React__default.createElement("div", {
51909
+ style: loadingStyle
51910
+ }, React__default.createElement("div", {
51911
+ className: "spinner-border text-secondary",
51912
+ role: "status"
51913
+ }, React__default.createElement("span", {
51914
+ className: "sr-only"
51915
+ }, "Loading..."))) : null;
51916
+ };
51917
+
51744
51918
  var ScrollToTop = function ScrollToTop() {
51745
51919
  var _useLocation = reactRouterDom.useLocation(),
51746
51920
  pathname = _useLocation.pathname;
@@ -53836,6 +54010,8 @@ var commonReducer = toolkit.createReducer(initialState, function (builder) {
53836
54010
  state.isEnableIEP = action.payload;
53837
54011
  }).addCase(setEnableSurvey, function (state, action) {
53838
54012
  state.isEnableSurvey = action.payload;
54013
+ }).addCase(setEnableWellBeing, function (state, action) {
54014
+ state.isEnableWellBeing = action.payload;
53839
54015
  }).addCase(setEnableMarioAi, function (state, action) {
53840
54016
  state.isEnableMarioAi = action.payload;
53841
54017
  }).addCase(setConversationOneToOne, function (state, action) {
@@ -54764,6 +54940,32 @@ var store = toolkit.configureStore({
54764
54940
  }
54765
54941
  });
54766
54942
 
54943
+ var firstCheckToken = function firstCheckToken() {
54944
+ return Promise.resolve(_catch(function () {
54945
+ var token = getAccessToken();
54946
+ return token ? Promise.resolve(checkToken(token)).then(function (tokenStatus) {
54947
+ return tokenStatus.data ? true : false;
54948
+ }) : false;
54949
+ }, function () {
54950
+ return false;
54951
+ }));
54952
+ };
54953
+
54954
+ var canAccess = function canAccess(userRoles, componentRoles) {
54955
+ if (!Array.isArray(userRoles)) {
54956
+ return false;
54957
+ }
54958
+
54959
+ if (Array.isArray(componentRoles)) {
54960
+ var intersects = userRoles.filter(function (i) {
54961
+ return componentRoles.includes(i);
54962
+ });
54963
+ return intersects.length > 0;
54964
+ }
54965
+
54966
+ return true;
54967
+ };
54968
+
54767
54969
  var isInViewport = function isInViewport(el) {
54768
54970
  var rect = el === null || el === void 0 ? void 0 : el.getBoundingClientRect();
54769
54971
  return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth);
@@ -54797,6 +54999,410 @@ var generateRandomString = (function () {
54797
54999
  return (Math.random() + 1).toString(36).substring(7);
54798
55000
  });
54799
55001
 
55002
+ var apiGetLanguage = function apiGetLanguage() {
55003
+ return api.get(BASE_URL + "/api/language");
55004
+ };
55005
+
55006
+ var apiUpdateLanguage = function apiUpdateLanguage(lang) {
55007
+ return api.put(BASE_URL + "/api/language?lang=" + lang);
55008
+ };
55009
+
55010
+ var LANGUAGE_SYSTEM = "LANGUAGE_SYSTEM";
55011
+
55012
+ var useLanguages = function useLanguages() {
55013
+ var dispatch = reactRedux.useDispatch();
55014
+
55015
+ var _useTranslation = reactI18next.useTranslation(),
55016
+ i18n = _useTranslation.i18n;
55017
+
55018
+ var language = reactRedux.useSelector(function (state) {
55019
+ return state.common.language;
55020
+ });
55021
+ var defaultLanguage = getCookieValue(LANGUAGE_SYSTEM) != null ? getCookieValue(LANGUAGE_SYSTEM) : DEFAULT_LANGUAGE_CODE;
55022
+
55023
+ var _useState = React.useState([]),
55024
+ languageList = _useState[0],
55025
+ setLanguageList = _useState[1];
55026
+
55027
+ var _useState2 = React.useState(false),
55028
+ dropdownOpen = _useState2[0],
55029
+ setDropdownOpen = _useState2[1];
55030
+
55031
+ var _useState3 = React.useState(defaultLanguage),
55032
+ currentLang = _useState3[0],
55033
+ setCurrentLang = _useState3[1];
55034
+
55035
+ var toggle = function toggle() {
55036
+ return setDropdownOpen(function (prevState) {
55037
+ return !prevState;
55038
+ });
55039
+ };
55040
+
55041
+ var changeLanguageApp = function changeLanguageApp(lang) {
55042
+ try {
55043
+ var _temp3 = function _temp3() {
55044
+ dispatch(setLoading(false));
55045
+ };
55046
+
55047
+ dispatch(setLoading(true));
55048
+
55049
+ var _temp4 = _catch(function () {
55050
+ return Promise.resolve(apiUpdateLanguage(lang)).then(function () {
55051
+ i18n.changeLanguage(lang);
55052
+ setCurrentLang(lang);
55053
+ dispatch(setLanguage(lang));
55054
+ });
55055
+ }, function (err) {
55056
+ var _err$response, _err$response$data;
55057
+
55058
+ dispatch(setAlert({
55059
+ type: "danger",
55060
+ 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
55061
+ }));
55062
+ });
55063
+
55064
+ return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp3) : _temp3(_temp4));
55065
+ } catch (e) {
55066
+ return Promise.reject(e);
55067
+ }
55068
+ };
55069
+
55070
+ var getListLanguage = function getListLanguage() {
55071
+ try {
55072
+ var _temp6 = _catch(function () {
55073
+ return Promise.resolve(apiGetLanguage()).then(function (res) {
55074
+ setLanguageList(res.data);
55075
+ });
55076
+ }, function (err) {
55077
+ var _err$response2, _err$response2$data;
55078
+
55079
+ dispatch(setAlert({
55080
+ type: "danger",
55081
+ 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
55082
+ }));
55083
+ });
55084
+
55085
+ return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
55086
+ } catch (e) {
55087
+ return Promise.reject(e);
55088
+ }
55089
+ };
55090
+
55091
+ React.useEffect(function () {
55092
+ defaultLanguage != language && changeLanguageApp(defaultLanguage);
55093
+ getListLanguage();
55094
+ }, []);
55095
+ return {
55096
+ languageList: languageList,
55097
+ toggle: toggle,
55098
+ dropdownOpen: dropdownOpen,
55099
+ currentLang: currentLang,
55100
+ changeLanguageApp: changeLanguageApp,
55101
+ setCurrentLang: setCurrentLang
55102
+ };
55103
+ };
55104
+
55105
+ var TheLanguageDropdown = function TheLanguageDropdown() {
55106
+ var _useLanguages = useLanguages(),
55107
+ languageList = _useLanguages.languageList,
55108
+ toggle = _useLanguages.toggle,
55109
+ dropdownOpen = _useLanguages.dropdownOpen,
55110
+ currentLang = _useLanguages.currentLang,
55111
+ changeLanguageApp = _useLanguages.changeLanguageApp;
55112
+
55113
+ var currentLanguage = React.useMemo(function () {
55114
+ var current = languageList.find(function (i) {
55115
+ return i.code === currentLang;
55116
+ });
55117
+ if (!current) return null;
55118
+ return React__default.createElement(React__default.Fragment, null, React__default.createElement("img", {
55119
+ className: "mr-2 " + styles['dropdown-menu-flag'],
55120
+ src: "" + getStaticFileUrl(current.image)
55121
+ }), " ", current.name);
55122
+ }, [currentLang, languageList]);
55123
+ return React__default.createElement(reactstrap.Dropdown, {
55124
+ isOpen: dropdownOpen,
55125
+ toggle: toggle,
55126
+ className: "" + styles["dropdown-menu"]
55127
+ }, React__default.createElement(reactstrap.DropdownToggle, {
55128
+ className: styles["header-avatar"] + " d-flex align-items-center"
55129
+ }, React__default.createElement("span", {
55130
+ style: {
55131
+ color: "#000",
55132
+ textTransform: "capitalize",
55133
+ display: 'flex',
55134
+ alignItems: 'center'
55135
+ }
55136
+ }, currentLanguage, React__default.createElement(bs.BsChevronDown, {
55137
+ className: "ml-2",
55138
+ style: {
55139
+ fontSize: '10px'
55140
+ }
55141
+ }))), React__default.createElement(reactstrap.DropdownMenu, {
55142
+ className: styles["dropdown-content-language"]
55143
+ }, !!languageList && languageList.length > 0 && languageList.map(function (lang, index) {
55144
+ return React__default.createElement(reactstrap.DropdownItem, {
55145
+ key: lang.code,
55146
+ className: styles["dropdown-change"] + " px-0 py-0 " + (index === languageList.length - 1 ? "pb-2" : "pt-2"),
55147
+ onClick: function onClick() {
55148
+ return changeLanguageApp(lang.code);
55149
+ }
55150
+ }, React__default.createElement("div", {
55151
+ className: styles["dropdown-item-language"] + " " + styles["item-logout"] + " " + (currentLang == lang.code ? styles['dropdown-item-language-active'] : "") + " d-flex align-items-center w-100"
55152
+ }, React__default.createElement("span", {
55153
+ className: "mr-2 d-flex hover-opacity"
55154
+ }, React__default.createElement("img", {
55155
+ style: {
55156
+ width: "30px",
55157
+ height: "25px",
55158
+ borderRadius: "5px"
55159
+ },
55160
+ src: getStaticFileUrl(lang.image)
55161
+ })), lang.name));
55162
+ })));
55163
+ };
55164
+
55165
+ var TheHeader = function TheHeader(_ref) {
55166
+ var onToggleModel = _ref.onToggleModel;
55167
+ var dispatch = reactRedux.useDispatch();
55168
+ var sidebarShow = reactRedux.useSelector(function (state) {
55169
+ return state.common.sidebarShow;
55170
+ });
55171
+
55172
+ var _useTranslation = reactI18next.useTranslation(),
55173
+ t = _useTranslation.t;
55174
+
55175
+ var toggleSidebarMobile = function toggleSidebarMobile() {
55176
+ var val = [false, "responsive"].includes(sidebarShow) ? true : "responsive";
55177
+ dispatch(setSidebar(val));
55178
+ };
55179
+
55180
+ var isDistrict = window.location.host.includes("-district");
55181
+ return React__default.createElement(react.CHeader, {
55182
+ withSubheader: true,
55183
+ className: "d-flex align-items-center justify-content-end"
55184
+ }, React__default.createElement(react.CToggler, {
55185
+ inHeader: true,
55186
+ className: "ml-md-3 d-lg-none",
55187
+ onClick: toggleSidebarMobile
55188
+ }), React__default.createElement(react.CHeaderBrand, {
55189
+ className: "mx-auto flex-grow-1 d-lg-none",
55190
+ to: "/"
55191
+ }, React__default.createElement("img", {
55192
+ src: getStaticFileUrl(Images.LOGO_HEADER),
55193
+ className: styles["header-logo"]
55194
+ })), React__default.createElement(react.CHeaderNav, {
55195
+ className: "pr-3"
55196
+ }, React__default.createElement(TheLanguageDropdown, null), React__default.createElement("a", {
55197
+ className: "mr-3",
55198
+ style: {
55199
+ color: '#000'
55200
+ },
55201
+ href: '/privacy-policy',
55202
+ target: "blank"
55203
+ }, t("privacy_policy")), !isDistrict && React__default.createElement(NotificationButton, null), React__default.createElement(TheHeaderDropdown, {
55204
+ onToggleModel: onToggleModel
55205
+ })));
55206
+ };
55207
+
55208
+ var ModelSelectRole = function ModelSelectRole(_ref) {
55209
+ var _handleUserRole;
55210
+
55211
+ var open = _ref.open,
55212
+ onToggleModel = _ref.onToggleModel;
55213
+ var dispatch = reactRedux.useDispatch();
55214
+
55215
+ var _useTranslation = reactI18next.useTranslation(),
55216
+ t = _useTranslation.t;
55217
+
55218
+ var history = reactRouterDom.useHistory();
55219
+ var pathname = window.location.pathname;
55220
+ var user = reactRedux.useSelector(function (state) {
55221
+ return state.common.user;
55222
+ });
55223
+ var roles = user === null || user === void 0 ? void 0 : user.roles;
55224
+
55225
+ var handleSelectUserRoles = function handleSelectUserRoles(roles) {
55226
+ dispatch(setLoading(true));
55227
+ var roleSelect = roles.includes("Teacher/Assistant") ? ["Teacher", "Assistant"] : roles;
55228
+ dispatch(setUser(_extends({}, user, {
55229
+ roles: roleSelect
55230
+ })));
55231
+ localStorage.setItem("ROLES", roleSelect.toString());
55232
+ onToggleModel();
55233
+
55234
+ if (roles.includes("Parent")) {
55235
+ history.push("/parent");
55236
+ } else if (roles.includes("Admin")) {
55237
+ history.push("/admin/home");
55238
+ } else {
55239
+ pathname !== "/home" ? history.push("/home") : window.location.reload();
55240
+ }
55241
+ };
55242
+
55243
+ return React__default.createElement(reactstrap.Modal, {
55244
+ isOpen: open,
55245
+ toggle: function toggle() {
55246
+ return onToggleModel();
55247
+ },
55248
+ className: "" + styles["model-switch-roles"],
55249
+ centered: true
55250
+ }, React__default.createElement("p", {
55251
+ className: "" + styles["title"]
55252
+ }, 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) {
55253
+ return React__default.createElement("p", {
55254
+ key: r,
55255
+ 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" : ""],
55256
+ onClick: function onClick() {
55257
+ return handleSelectUserRoles([r]);
55258
+ }
55259
+ }, r == "SecondaryTeacher" ? "Support Teacher" : r);
55260
+ })));
55261
+ };
55262
+
55263
+ var TheLayout = function TheLayout(_ref) {
55264
+ var routes = _ref.routes,
55265
+ navigation = _ref.navigation;
55266
+ var history = reactRouterDom.useHistory();
55267
+ var dispatch = reactRedux.useDispatch();
55268
+ var user = reactRedux.useSelector(function (state) {
55269
+ return state.common.user;
55270
+ });
55271
+ var language = reactRedux.useSelector(function (state) {
55272
+ return state.common.language;
55273
+ });
55274
+
55275
+ var _useState = React.useState(false),
55276
+ openModelSelectRole = _useState[0],
55277
+ setOpenModelSelectRole = _useState[1];
55278
+
55279
+ var _useTranslation = reactI18next.useTranslation(),
55280
+ t = _useTranslation.t;
55281
+
55282
+ var location = reactRouterDom.useLocation();
55283
+ var isNotification = location.pathname.includes("notifications");
55284
+ var isDistrict = window.location.host.includes("-district");
55285
+
55286
+ var handleToggleModel = function handleToggleModel() {
55287
+ setOpenModelSelectRole(!openModelSelectRole);
55288
+ };
55289
+
55290
+ var authRoutes = React.useMemo(function () {
55291
+ return routes.filter(function (route) {
55292
+ return canAccess(user === null || user === void 0 ? void 0 : user.roles, route.roles);
55293
+ }).filter(function (route) {
55294
+ return !!route.isDistrict === isDistrict;
55295
+ });
55296
+ }, [user, language]);
55297
+ var authNavigations = React.useMemo(function () {
55298
+ return navigation.map(function (item) {
55299
+ var _item$_children, _item$_children2;
55300
+
55301
+ return _extends({}, item, {
55302
+ name: t(item.name),
55303
+ _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) {
55304
+ return _extends({}, x, {
55305
+ name: t(x.name)
55306
+ });
55307
+ }) : undefined
55308
+ });
55309
+ }).filter(function (nav) {
55310
+ return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
55311
+ }).filter(function (nav) {
55312
+ return !!nav.isDistrict === isDistrict;
55313
+ });
55314
+ }, [user, language]);
55315
+
55316
+ var getInformationSetting = function getInformationSetting() {
55317
+ try {
55318
+ var _temp2 = _catch(function () {
55319
+ return Promise.resolve(getSchoolSettings()).then(function (res) {
55320
+ dispatch(setSandboxMode(res.data.isSandboxMode));
55321
+ });
55322
+ }, function (err) {
55323
+ console.error(err);
55324
+ });
55325
+
55326
+ return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(function () {}) : void 0);
55327
+ } catch (e) {
55328
+ return Promise.reject(e);
55329
+ }
55330
+ };
55331
+
55332
+ React.useEffect(function () {
55333
+ checkAuthentication();
55334
+ }, []);
55335
+ React.useEffect(function () {
55336
+ getInformationSetting();
55337
+ }, [location.pathname]);
55338
+
55339
+ var checkAuthentication = function checkAuthentication() {
55340
+ try {
55341
+ var _temp4 = _catch(function () {
55342
+ return Promise.resolve(firstCheckToken()).then(function (tokenStatus) {
55343
+ tokenStatus ? loadInfo() : resetAuth();
55344
+ });
55345
+ }, function () {
55346
+ resetAuth();
55347
+ });
55348
+
55349
+ return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(function () {}) : void 0);
55350
+ } catch (e) {
55351
+ return Promise.reject(e);
55352
+ }
55353
+ };
55354
+
55355
+ var loadInfo = function loadInfo() {
55356
+ try {
55357
+ var _temp6 = _catch(function () {
55358
+ return Promise.resolve(getInfo()).then(function (info) {
55359
+ var _info$data, _info$data$roles;
55360
+
55361
+ 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"))) {
55362
+ resetAuth();
55363
+ }
55364
+
55365
+ dispatch(setUser(info.data));
55366
+ });
55367
+ }, function () {
55368
+ resetAuth();
55369
+ });
55370
+
55371
+ return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
55372
+ } catch (e) {
55373
+ return Promise.reject(e);
55374
+ }
55375
+ };
55376
+
55377
+ var resetAuth = function resetAuth() {
55378
+ localStorage.removeItem(ACCESS_TOKEN);
55379
+ sessionStorage.removeItem(ACCESS_TOKEN);
55380
+ localStorage.removeItem("ROLES");
55381
+ history.push("/");
55382
+ };
55383
+
55384
+ if (!user) {
55385
+ return React__default.createElement(Loading, null);
55386
+ }
55387
+
55388
+ return React__default.createElement("div", {
55389
+ className: "c-app c-default-layout"
55390
+ }, !isNotification && React__default.createElement(TheSidebar, {
55391
+ navigation: authNavigations
55392
+ }), React__default.createElement("div", {
55393
+ className: "c-wrapper"
55394
+ }, !isNotification && React__default.createElement(TheHeader, {
55395
+ onToggleModel: handleToggleModel
55396
+ }), React__default.createElement("div", {
55397
+ className: "c-body bg-white"
55398
+ }, React__default.createElement(TheContent$1, {
55399
+ routes: authRoutes
55400
+ }))), React__default.createElement(ModelSelectRole, {
55401
+ open: openModelSelectRole,
55402
+ onToggleModel: handleToggleModel
55403
+ }));
55404
+ };
55405
+
54800
55406
  var amplitudeClient = amplitude;
54801
55407
 
54802
55408
  Object.defineProperty(exports, 'I18nextProvider', {
@@ -54930,6 +55536,7 @@ exports.setEditItemQuesion = setEditItemQuesion;
54930
55536
  exports.setEnableIEP = setEnableIEP;
54931
55537
  exports.setEnableMarioAi = setEnableMarioAi;
54932
55538
  exports.setEnableSurvey = setEnableSurvey;
55539
+ exports.setEnableWellBeing = setEnableWellBeing;
54933
55540
  exports.setFeedbackList = setFeedbackList;
54934
55541
  exports.setFilterWidget = setFilterWidget;
54935
55542
  exports.setGoalExampleList = setGoalExampleList;