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