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