mario-core 2.9.37-lang → 2.9.39-admin
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/components/Loading/LoadLanguage.d.ts +3 -0
- package/dist/index.d.ts +2 -4
- package/dist/index.js +57 -637
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +71 -638
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/TheLayout.d.ts +0 -1
- package/dist/redux/commons/action.d.ts +0 -1
- package/package.json +1 -3
package/dist/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
2
2
|
|
|
3
3
|
require('bootstrap/dist/css/bootstrap.min.css');
|
|
4
|
-
var i18n = _interopDefault(require('i18next'));
|
|
5
|
-
var reactI18next = require('react-i18next');
|
|
6
4
|
var React = require('react');
|
|
7
5
|
var React__default = _interopDefault(React);
|
|
8
6
|
var reactstrap = require('reactstrap');
|
|
@@ -33,479 +31,6 @@ require('react-notifications-component/dist/theme.css');
|
|
|
33
31
|
var ai = require('react-icons/ai');
|
|
34
32
|
var moment = _interopDefault(require('moment'));
|
|
35
33
|
|
|
36
|
-
var Dashboard = "Dashboard us";
|
|
37
|
-
var User = "User us";
|
|
38
|
-
var Cancel = "Cancel";
|
|
39
|
-
var Hey = "Hey";
|
|
40
|
-
var Reflection = "Reflection";
|
|
41
|
-
var Conferences = "Conferences";
|
|
42
|
-
var Safety = "Safety";
|
|
43
|
-
var Calendar = "Calendar";
|
|
44
|
-
var Gender = "Gender";
|
|
45
|
-
var Grade = "Grade";
|
|
46
|
-
var Name = "Name";
|
|
47
|
-
var Email = "Email";
|
|
48
|
-
var Age = "Age";
|
|
49
|
-
var Role = "Role";
|
|
50
|
-
var Action = "Action";
|
|
51
|
-
var Active = "Active";
|
|
52
|
-
var Inactive = "Inactive";
|
|
53
|
-
var Create = "Create";
|
|
54
|
-
var Update = "Update";
|
|
55
|
-
var Roles = "Roles";
|
|
56
|
-
var Status = "Status";
|
|
57
|
-
var Save = "Save";
|
|
58
|
-
var Category = "Category";
|
|
59
|
-
var Students = "Students";
|
|
60
|
-
var Description = "Description";
|
|
61
|
-
var skill = "skill";
|
|
62
|
-
var Color = "Color";
|
|
63
|
-
var subject = "subject";
|
|
64
|
-
var Question = "Question";
|
|
65
|
-
var Detail = "Detail";
|
|
66
|
-
var strategy = "strategy";
|
|
67
|
-
var Icon = "Icon";
|
|
68
|
-
var badge = "badge";
|
|
69
|
-
var semester = "semester";
|
|
70
|
-
var Label = "Label";
|
|
71
|
-
var Value = "Value";
|
|
72
|
-
var Level = "Level";
|
|
73
|
-
var Destinations = "Destinations";
|
|
74
|
-
var Confirm = "Confirm";
|
|
75
|
-
var lang_us = {
|
|
76
|
-
Dashboard: Dashboard,
|
|
77
|
-
User: User,
|
|
78
|
-
"Question bank": "Question bank",
|
|
79
|
-
"Email template": "Email template",
|
|
80
|
-
"Custom alert": "Custom alert",
|
|
81
|
-
"Set up": "Set up",
|
|
82
|
-
"Media Gallery": "Media Gallery",
|
|
83
|
-
"District school list": "District school list",
|
|
84
|
-
"Export to PDF": "Export to PDF us",
|
|
85
|
-
"The data is taken from the home screen.": "The data is taken from the home screen. us",
|
|
86
|
-
"Make sure everything is set correctly before exporting.": "Make sure everything is set correctly before exporting.",
|
|
87
|
-
Cancel: Cancel,
|
|
88
|
-
Hey: Hey,
|
|
89
|
-
"Readiness to Learn": "Readiness to Learn",
|
|
90
|
-
"High Impact Learning Strategies": "High Impact Learning Strategies",
|
|
91
|
-
"1 To 1": "1 To 1",
|
|
92
|
-
Reflection: Reflection,
|
|
93
|
-
Conferences: Conferences,
|
|
94
|
-
Safety: Safety,
|
|
95
|
-
"Student by Age": "Student by Age",
|
|
96
|
-
"Students by Designation": "Students by Designation",
|
|
97
|
-
Calendar: Calendar,
|
|
98
|
-
Gender: Gender,
|
|
99
|
-
Grade: Grade,
|
|
100
|
-
"Current Grade": "Current Grade",
|
|
101
|
-
"Student name": "Student name",
|
|
102
|
-
"Teacher name": "Teacher name",
|
|
103
|
-
"Start Date": "Start Date",
|
|
104
|
-
"End Date": "End Date",
|
|
105
|
-
"The represenation of individual student responses to their own feelings of Energy, Focus, Happiness, Safety, and Stress at the time administered. Note that scores are set on a 1-100 scale with the exception of Stress which optimum stress is set at '0' to get a sense of High Stress vs Low Stress.": "The represenation of individual student responses to their own feelings of Energy, Focus, Happiness, Safety, and Stress at the time administered. Note that scores are set on a 1-100 scale with the exception of Stress which optimum stress is set at '0' to get a sense of High Stress vs Low Stress.",
|
|
106
|
-
"Both the composite of individual students reporting their perceived use of John Hattie's High Impact Learning Strategies measured against the actual application with a teacher in total.": "Both the composite of individual students reporting their perceived use of John Hattie's High Impact Learning Strategies measured against the actual application with a teacher in total.",
|
|
107
|
-
"The composite results of the survey completed by individual students assessing their own perception of performance in the 6 key areas followed by 3 specific areas of well being over time.": "The composite results of the survey completed by individual students assessing their own perception of performance in the 6 key areas followed by 3 specific areas of well being over time.",
|
|
108
|
-
"The result of surveys sent to any individual (external or internal) that connects with the student to assist in measuring the individual student's: Productivity, Happiness, Energy, Focus, and Stress over time.": "The result of surveys sent to any individual (external or internal) that connects with the student to assist in measuring the individual student's: Productivity, Happiness, Energy, Focus, and Stress over time.",
|
|
109
|
-
"The composite representation of individual aggregate scores located at the bottom of individual Conferences conducted between Teachers and Students over time. Note that scores of 'Not Applicable' do not get measured.": "The composite representation of individual aggregate scores located at the bottom of individual Conferences conducted between Teachers and Students over time. Note that scores of 'Not Applicable' do not get measured.",
|
|
110
|
-
"The visual represenation of all the responses from the question asking students to rate their perceived level of safety for themselves at your school over time.": "The visual represenation of all the responses from the question asking students to rate their perceived level of safety for themselves at your school over time.",
|
|
111
|
-
"The specific representation of students by gender and grade level at your school.": "The specific representation of students by gender and grade level at your school.",
|
|
112
|
-
"The composite representation of students by individual grades in your school with specific designations.": "The composite representation of students by individual grades in your school with specific designations.",
|
|
113
|
-
"Total 1-to-1": "Total 1-to-1",
|
|
114
|
-
"Total 1-to-1 Time": "Total 1-to-1 Time",
|
|
115
|
-
"Total Conferences": "Total Conferences",
|
|
116
|
-
"Total Conferences Time": "Total Conferences Time",
|
|
117
|
-
"Total Class Reflection Check-ins": "Total Class Reflection Check-ins",
|
|
118
|
-
"Create user": "Create user us",
|
|
119
|
-
"Edit user": "Edit user",
|
|
120
|
-
"Change password": "Change password",
|
|
121
|
-
"Type something to search by user name": "Type something to search by user name",
|
|
122
|
-
"Total of users": "Total of users",
|
|
123
|
-
Name: Name,
|
|
124
|
-
Email: Email,
|
|
125
|
-
Age: Age,
|
|
126
|
-
Role: Role,
|
|
127
|
-
"Active status": "Active status",
|
|
128
|
-
Action: Action,
|
|
129
|
-
Active: Active,
|
|
130
|
-
Inactive: Inactive,
|
|
131
|
-
Create: Create,
|
|
132
|
-
Update: Update,
|
|
133
|
-
"First name": "First name",
|
|
134
|
-
"Date of birth": "Date of birth",
|
|
135
|
-
"Last name": "Last name",
|
|
136
|
-
Roles: Roles,
|
|
137
|
-
Status: Status,
|
|
138
|
-
"Send forgot password link": "Send forgot password link",
|
|
139
|
-
"Download user data": "Download user data",
|
|
140
|
-
"Current password": "Current password",
|
|
141
|
-
"New password": "New password",
|
|
142
|
-
"Confirm password": "Confirm password",
|
|
143
|
-
Save: Save,
|
|
144
|
-
"Type something to Search question": "Type something to Search question",
|
|
145
|
-
"Total of questions": "Total of questions",
|
|
146
|
-
"Create question": "Create question us",
|
|
147
|
-
"Edit question": "Edit question us",
|
|
148
|
-
"Question Type": "Question Type",
|
|
149
|
-
Category: Category,
|
|
150
|
-
"Question text": "Question text",
|
|
151
|
-
"Is default question for one-to-one": "Is default question for one-to-one",
|
|
152
|
-
"Default question for students or teachers": "Default question for students or teachers",
|
|
153
|
-
"Is default question general class": "Is default question general class",
|
|
154
|
-
"Default question general for students or teachers": "Default question general for students or teachers",
|
|
155
|
-
"Before session": "Before session",
|
|
156
|
-
"Edit custom alert": "Edit custom alert",
|
|
157
|
-
"Create custom alert": "Create custom alert us",
|
|
158
|
-
"Total of custom alert": "Total of custom alert",
|
|
159
|
-
"Number of sessions": "Number of sessions",
|
|
160
|
-
"Number of students": "Number of students",
|
|
161
|
-
"Begin date": "Begin date",
|
|
162
|
-
"Duration (days)": "Duration (days)",
|
|
163
|
-
Students: Students,
|
|
164
|
-
"Create skill": "Create skill us",
|
|
165
|
-
"Edit skill": "Edit skill",
|
|
166
|
-
"Total of skills": "Total of skills",
|
|
167
|
-
Description: Description,
|
|
168
|
-
skill: skill,
|
|
169
|
-
"Parent category": "Parent category us",
|
|
170
|
-
"Edit subject": "Edit subject us",
|
|
171
|
-
"Create subject": "Create subject us",
|
|
172
|
-
"Total of subjects": "Total of subjects",
|
|
173
|
-
Color: Color,
|
|
174
|
-
subject: subject,
|
|
175
|
-
"Create learning support category": "Create learning support category us",
|
|
176
|
-
"Edit learning support category": "Edit learning support category us",
|
|
177
|
-
"Create category": "Create category",
|
|
178
|
-
"Total of learning support categories": "Total of learning support categories",
|
|
179
|
-
"Default Color": "Default Color",
|
|
180
|
-
"Edit strategy": "Edit strategy",
|
|
181
|
-
"Create strategy": "Create strategy",
|
|
182
|
-
"Create learning strategy": "Create learning strategy",
|
|
183
|
-
"Total of strategies": "Total of strategies",
|
|
184
|
-
"Strategy name": "Strategy name",
|
|
185
|
-
Question: Question,
|
|
186
|
-
Detail: Detail,
|
|
187
|
-
strategy: strategy,
|
|
188
|
-
"Best fit": "Best fit",
|
|
189
|
-
"Create goal example": "Create goal example",
|
|
190
|
-
"Edit goal example": "Edit goal example",
|
|
191
|
-
"Total of goal examples": "Total of goal examples",
|
|
192
|
-
"Short term target examples": "Short term target examples",
|
|
193
|
-
"goal example": "goal example",
|
|
194
|
-
"Edit badge": "Edit badge",
|
|
195
|
-
"Create badge": "Create badge",
|
|
196
|
-
"Total of badges": "Total of badges",
|
|
197
|
-
Icon: Icon,
|
|
198
|
-
badge: badge,
|
|
199
|
-
"Badge image": "Badge image",
|
|
200
|
-
"Edit semester": "Edit semester",
|
|
201
|
-
"Create semester": "Create semester",
|
|
202
|
-
"Update school break month": "Update school break month",
|
|
203
|
-
"Total of semesters": "Total of semesters",
|
|
204
|
-
semester: semester,
|
|
205
|
-
"Breaking month": "Breaking month",
|
|
206
|
-
"Change breaking month": "Change breaking month",
|
|
207
|
-
"School year break month": "School year break month",
|
|
208
|
-
"Start date": "Start date",
|
|
209
|
-
"End date": "End date",
|
|
210
|
-
"Edit blank day": "Edit blank day",
|
|
211
|
-
"Create blank day": "Create blank day",
|
|
212
|
-
"Total of blank days": "Total of blank days",
|
|
213
|
-
"Start time": "Start time",
|
|
214
|
-
"End time": "End time",
|
|
215
|
-
"school blank day": "school blank day",
|
|
216
|
-
"Edit point": "Edit point",
|
|
217
|
-
"Create new point": "Create new point",
|
|
218
|
-
"Total of point": "Total of point",
|
|
219
|
-
Label: Label,
|
|
220
|
-
Value: Value,
|
|
221
|
-
"Break point": "Break point",
|
|
222
|
-
"Update break point": "Update break point",
|
|
223
|
-
"Maximum number of admins": "Maximum number of admins",
|
|
224
|
-
"Maximum number of assistants": "Maximum number of assistants",
|
|
225
|
-
"Maximum number of students": "Maximum number of students",
|
|
226
|
-
"Maximum number of teachers": "Maximum number of teachers",
|
|
227
|
-
"Request to this plan": "Request to this plan",
|
|
228
|
-
"Type something to search reflection result": "Type something to search reflection result",
|
|
229
|
-
"User deleted": "User deleted",
|
|
230
|
-
"Export user data": "Export user data",
|
|
231
|
-
"Download user's data": "Download user's data",
|
|
232
|
-
"All data of this user will be permanently deleted from the system. Please export before continuing": "All data of this user will be permanently deleted from the system. Please export before continuing",
|
|
233
|
-
"Delete user": "Delete user",
|
|
234
|
-
"A teacher must be selected before deleting this teacher. We will transfer the entire class and students to this teacher before deleting all of this teacher's data.": "A teacher must be selected before deleting this teacher. We will transfer the entire class and students to this teacher before deleting all of this teacher's data.",
|
|
235
|
-
"List Students": "List Students",
|
|
236
|
-
"Student Name": "Student Name",
|
|
237
|
-
"Student Email": "Student Email",
|
|
238
|
-
"Current Teacher Name": "Current Teacher Name",
|
|
239
|
-
"Current Teacher Email": "Current Teacher Email",
|
|
240
|
-
"Change Save": "Change Save",
|
|
241
|
-
"Select teacher change": "Select teacher change",
|
|
242
|
-
"Current Assistant Name": "Current Assistant Name",
|
|
243
|
-
"Current Assistant Email": "Current Assistant Email",
|
|
244
|
-
"Remove Assistant": "Remove Assistant",
|
|
245
|
-
"Switch Assistant": "Switch Assistant",
|
|
246
|
-
"Select Assistant change": "Select Assistant change",
|
|
247
|
-
"Welcome Email Re-send": "Welcome Email Re-send",
|
|
248
|
-
"Send for selected users": "Send for selected users",
|
|
249
|
-
"User Name": "User Name",
|
|
250
|
-
"User Email": "User Email",
|
|
251
|
-
Level: Level,
|
|
252
|
-
"Use for": "Use for",
|
|
253
|
-
"Teacher training": "Teacher training",
|
|
254
|
-
"Student training": "Student training",
|
|
255
|
-
"Create Destination": "Create Destination",
|
|
256
|
-
"Total of Designation": "Total of Designation",
|
|
257
|
-
Destinations: Destinations,
|
|
258
|
-
"Edit Destination": "Edit Destination",
|
|
259
|
-
Confirm: Confirm
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
var Dashboard$1 = "Dashboard uk";
|
|
263
|
-
var User$1 = "User";
|
|
264
|
-
var Cancel$1 = "Cancel";
|
|
265
|
-
var Hey$1 = "Hey";
|
|
266
|
-
var Reflection$1 = "Reflection";
|
|
267
|
-
var Conferences$1 = "Conferences";
|
|
268
|
-
var Safety$1 = "Safety";
|
|
269
|
-
var Calendar$1 = "Calendar";
|
|
270
|
-
var Gender$1 = "Gender";
|
|
271
|
-
var Grade$1 = "Grade";
|
|
272
|
-
var Name$1 = "Name";
|
|
273
|
-
var Email$1 = "Email";
|
|
274
|
-
var Age$1 = "Age";
|
|
275
|
-
var Role$1 = "Role";
|
|
276
|
-
var Action$1 = "Action";
|
|
277
|
-
var Active$1 = "Active";
|
|
278
|
-
var Inactive$1 = "Inactive";
|
|
279
|
-
var Create$1 = "Create";
|
|
280
|
-
var Update$1 = "Update";
|
|
281
|
-
var Roles$1 = "Roles";
|
|
282
|
-
var Status$1 = "Status";
|
|
283
|
-
var Save$1 = "Save";
|
|
284
|
-
var Category$1 = "Category";
|
|
285
|
-
var Students$1 = "Students";
|
|
286
|
-
var Description$1 = "Description";
|
|
287
|
-
var skill$1 = "skill";
|
|
288
|
-
var Color$1 = "Color";
|
|
289
|
-
var subject$1 = "subject";
|
|
290
|
-
var Question$1 = "Question";
|
|
291
|
-
var Detail$1 = "Detail";
|
|
292
|
-
var strategy$1 = "strategy";
|
|
293
|
-
var Icon$1 = "Icon";
|
|
294
|
-
var badge$1 = "badge";
|
|
295
|
-
var semester$1 = "semester";
|
|
296
|
-
var Label$1 = "Label";
|
|
297
|
-
var Value$1 = "Value";
|
|
298
|
-
var Level$1 = "Level";
|
|
299
|
-
var Destinations$1 = "Destinations";
|
|
300
|
-
var Confirm$1 = "Confirm";
|
|
301
|
-
var lang_uk = {
|
|
302
|
-
Dashboard: Dashboard$1,
|
|
303
|
-
User: User$1,
|
|
304
|
-
"Question bank": "Question bank",
|
|
305
|
-
"Email template": "Email template",
|
|
306
|
-
"Custom alert": "Custom alert",
|
|
307
|
-
"Set up": "Set up",
|
|
308
|
-
"Media Gallery": "Media Gallery",
|
|
309
|
-
"District school list": "District school list",
|
|
310
|
-
"Export to PDF": "Export to PDF uk",
|
|
311
|
-
"The data is taken from the home screen.": "The data is taken from the home screen. uk",
|
|
312
|
-
"Make sure everything is set correctly before exporting.": "Make sure everything is set correctly before exporting.",
|
|
313
|
-
Cancel: Cancel$1,
|
|
314
|
-
Hey: Hey$1,
|
|
315
|
-
"Readiness to Learn": "Readiness to Learn",
|
|
316
|
-
"High Impact Learning Strategies": "High Impact Learning Strategies",
|
|
317
|
-
"1 To 1": "1 To 1",
|
|
318
|
-
Reflection: Reflection$1,
|
|
319
|
-
Conferences: Conferences$1,
|
|
320
|
-
Safety: Safety$1,
|
|
321
|
-
"Student by Age": "Student by Age",
|
|
322
|
-
"Students by Designation": "Students by Designation",
|
|
323
|
-
Calendar: Calendar$1,
|
|
324
|
-
Gender: Gender$1,
|
|
325
|
-
Grade: Grade$1,
|
|
326
|
-
"Current Grade": "Current Grade",
|
|
327
|
-
"Student name": "Student name",
|
|
328
|
-
"Teacher name": "Teacher name",
|
|
329
|
-
"Start Date": "Start Date",
|
|
330
|
-
"End Date": "End Date",
|
|
331
|
-
"The represenation of individual student responses to their own feelings of Energy, Focus, Happiness, Safety, and Stress at the time administered. Note that scores are set on a 1-100 scale with the exception of Stress which optimum stress is set at '0' to get a sense of High Stress vs Low Stress.": "The represenation of individual student responses to their own feelings of Energy, Focus, Happiness, Safety, and Stress at the time administered. Note that scores are set on a 1-100 scale with the exception of Stress which optimum stress is set at '0' to get a sense of High Stress vs Low Stress.",
|
|
332
|
-
"Both the composite of individual students reporting their perceived use of John Hattie's High Impact Learning Strategies measured against the actual application with a teacher in total.": "Both the composite of individual students reporting their perceived use of John Hattie's High Impact Learning Strategies measured against the actual application with a teacher in total.",
|
|
333
|
-
"The composite results of the survey completed by individual students assessing their own perception of performance in the 6 key areas followed by 3 specific areas of well being over time.": "The composite results of the survey completed by individual students assessing their own perception of performance in the 6 key areas followed by 3 specific areas of well being over time.",
|
|
334
|
-
"The result of surveys sent to any individual (external or internal) that connects with the student to assist in measuring the individual student's: Productivity, Happiness, Energy, Focus, and Stress over time.": "The result of surveys sent to any individual (external or internal) that connects with the student to assist in measuring the individual student's: Productivity, Happiness, Energy, Focus, and Stress over time.",
|
|
335
|
-
"The composite representation of individual aggregate scores located at the bottom of individual Conferences conducted between Teachers and Students over time. Note that scores of 'Not Applicable' do not get measured.": "The composite representation of individual aggregate scores located at the bottom of individual Conferences conducted between Teachers and Students over time. Note that scores of 'Not Applicable' do not get measured.",
|
|
336
|
-
"The visual represenation of all the responses from the question asking students to rate their perceived level of safety for themselves at your school over time.": "The visual represenation of all the responses from the question asking students to rate their perceived level of safety for themselves at your school over time.",
|
|
337
|
-
"The specific representation of students by gender and grade level at your school.": "The specific representation of students by gender and grade level at your school.",
|
|
338
|
-
"The composite representation of students by individual grades in your school with specific designations.": "The composite representation of students by individual grades in your school with specific designations.",
|
|
339
|
-
"Total 1-to-1": "Total 1-to-1",
|
|
340
|
-
"Total 1-to-1 Time": "Total 1-to-1 Time",
|
|
341
|
-
"Total Conferences": "Total Conferences",
|
|
342
|
-
"Total Conferences Time": "Total Conferences Time",
|
|
343
|
-
"Total Class Reflection Check-ins": "Total Class Reflection Check-ins",
|
|
344
|
-
"Create user": "Create user",
|
|
345
|
-
"Edit user": "Edit user",
|
|
346
|
-
"Change password": "Change password",
|
|
347
|
-
"Type something to search by user name": "Type something to search by user name",
|
|
348
|
-
"Total of users": "Total of users",
|
|
349
|
-
Name: Name$1,
|
|
350
|
-
Email: Email$1,
|
|
351
|
-
Age: Age$1,
|
|
352
|
-
Role: Role$1,
|
|
353
|
-
"Active status": "Active status",
|
|
354
|
-
Action: Action$1,
|
|
355
|
-
Active: Active$1,
|
|
356
|
-
Inactive: Inactive$1,
|
|
357
|
-
Create: Create$1,
|
|
358
|
-
Update: Update$1,
|
|
359
|
-
"First name": "First name",
|
|
360
|
-
"Date of birth": "Date of birth",
|
|
361
|
-
"Last name": "Last name",
|
|
362
|
-
Roles: Roles$1,
|
|
363
|
-
Status: Status$1,
|
|
364
|
-
"Send forgot password link": "Send forgot password link",
|
|
365
|
-
"Download user data": "Download user data",
|
|
366
|
-
"Current password": "Current password",
|
|
367
|
-
"New password": "New password",
|
|
368
|
-
"Confirm password": "Confirm password",
|
|
369
|
-
Save: Save$1,
|
|
370
|
-
"Type something to Search question": "Type something to Search question",
|
|
371
|
-
"Total of questions": "Total of questions",
|
|
372
|
-
"Create question": "Create question uk",
|
|
373
|
-
"Edit question": "Edit question uk",
|
|
374
|
-
"Question Type": "Question Type",
|
|
375
|
-
Category: Category$1,
|
|
376
|
-
"Question text": "Question text",
|
|
377
|
-
"Is default question for one-to-one": "Is default question for one-to-one",
|
|
378
|
-
"Default question for students or teachers": "Default question for students or teachers",
|
|
379
|
-
"Is default question general class": "Is default question general class",
|
|
380
|
-
"Default question general for students or teachers": "Default question general for students or teachers",
|
|
381
|
-
"Before session": "Before session",
|
|
382
|
-
"Edit custom alert": "Edit custom alert",
|
|
383
|
-
"Create custom alert": "Create custom alert uk",
|
|
384
|
-
"Total of custom alert": "Total of custom alert",
|
|
385
|
-
"Number of sessions": "Number of sessions",
|
|
386
|
-
"Number of students": "Number of students",
|
|
387
|
-
"Begin date": "Begin date",
|
|
388
|
-
"Duration (days)": "Duration (days)",
|
|
389
|
-
Students: Students$1,
|
|
390
|
-
"Create skill": "Create skill uk",
|
|
391
|
-
"Edit skill": "Edit skill",
|
|
392
|
-
"Total of skills": "Total of skills",
|
|
393
|
-
Description: Description$1,
|
|
394
|
-
skill: skill$1,
|
|
395
|
-
"Parent category": "Parent category uk",
|
|
396
|
-
"Edit subject": "Edit subject uk",
|
|
397
|
-
"Create subject": "Create subject uk",
|
|
398
|
-
"Total of subjects": "Total of subjects",
|
|
399
|
-
Color: Color$1,
|
|
400
|
-
subject: subject$1,
|
|
401
|
-
"Create learning support category": "Create learning support category us",
|
|
402
|
-
"Edit learning support category": "Edit learning support category us",
|
|
403
|
-
"Create category": "Create category",
|
|
404
|
-
"Total of learning support categories": "Total of learning support categories",
|
|
405
|
-
"Default Color": "Default Color",
|
|
406
|
-
"Edit strategy": "Edit strategy",
|
|
407
|
-
"Create strategy": "Create strategy",
|
|
408
|
-
"Create learning strategy": "Create learning strategy",
|
|
409
|
-
"Total of strategies": "Total of strategies",
|
|
410
|
-
"Strategy name": "Strategy name",
|
|
411
|
-
Question: Question$1,
|
|
412
|
-
Detail: Detail$1,
|
|
413
|
-
strategy: strategy$1,
|
|
414
|
-
"Best fit": "Best fit",
|
|
415
|
-
"Create goal example": "Create goal example",
|
|
416
|
-
"Edit goal example": "Edit goal example",
|
|
417
|
-
"Total of goal examples": "Total of goal examples",
|
|
418
|
-
"Short term target examples": "Short term target examples",
|
|
419
|
-
"goal example": "goal example",
|
|
420
|
-
"Edit badge": "Edit badge",
|
|
421
|
-
"Create badge": "Create badge",
|
|
422
|
-
"Total of badges": "Total of badges",
|
|
423
|
-
Icon: Icon$1,
|
|
424
|
-
badge: badge$1,
|
|
425
|
-
"Badge image": "Badge image",
|
|
426
|
-
"Edit semester": "Edit semester",
|
|
427
|
-
"Create semester": "Create semester",
|
|
428
|
-
"Update school break month": "Update school break month",
|
|
429
|
-
"Total of semesters": "Total of semesters",
|
|
430
|
-
semester: semester$1,
|
|
431
|
-
"Breaking month": "Breaking month",
|
|
432
|
-
"Change breaking month": "Change breaking month",
|
|
433
|
-
"School year break month": "School year break month",
|
|
434
|
-
"Start date": "Start date",
|
|
435
|
-
"End date": "End date",
|
|
436
|
-
"Edit blank day": "Edit blank day",
|
|
437
|
-
"Create blank day": "Create blank day",
|
|
438
|
-
"Total of blank days": "Total of blank days",
|
|
439
|
-
"Start time": "Start time",
|
|
440
|
-
"End time": "End time",
|
|
441
|
-
"school blank day": "school blank day",
|
|
442
|
-
"Edit point": "Edit point",
|
|
443
|
-
"Create new point": "Create new point",
|
|
444
|
-
"Total of point": "Total of point",
|
|
445
|
-
Label: Label$1,
|
|
446
|
-
Value: Value$1,
|
|
447
|
-
"Break point": "Break point",
|
|
448
|
-
"Update break point": "Update break point",
|
|
449
|
-
"Maximum number of admins": "Maximum number of admins",
|
|
450
|
-
"Maximum number of assistants": "Maximum number of assistants",
|
|
451
|
-
"Maximum number of students": "Maximum number of students",
|
|
452
|
-
"Maximum number of teachers": "Maximum number of teachers",
|
|
453
|
-
"Request to this plan": "Request to this plan",
|
|
454
|
-
"Type something to search reflection result": "Type something to search reflection result",
|
|
455
|
-
"User deleted": "User deleted",
|
|
456
|
-
"Export user data": "Export user data",
|
|
457
|
-
"Download user's data": "Download user's data",
|
|
458
|
-
"All data of this user will be permanently deleted from the system. Please export before continuing": "All data of this user will be permanently deleted from the system. Please export before continuing",
|
|
459
|
-
"Delete user": "Delete user",
|
|
460
|
-
"A teacher must be selected before deleting this teacher. We will transfer the entire class and students to this teacher before deleting all of this teacher's data.": "A teacher must be selected before deleting this teacher. We will transfer the entire class and students to this teacher before deleting all of this teacher's data.",
|
|
461
|
-
"List Students": "List Students",
|
|
462
|
-
"Student Name": "Student Name",
|
|
463
|
-
"Student Email": "Student Email",
|
|
464
|
-
"Current Teacher Name": "Current Teacher Name",
|
|
465
|
-
"Current Teacher Email": "Current Teacher Email",
|
|
466
|
-
"Change Save": "Change Save",
|
|
467
|
-
"Select teacher change": "Select teacher change",
|
|
468
|
-
"Current Assistant Name": "Current Assistant Name",
|
|
469
|
-
"Current Assistant Email": "Current Assistant Email",
|
|
470
|
-
"Remove Assistant": "Remove Assistant",
|
|
471
|
-
"Switch Assistant": "Switch Assistant",
|
|
472
|
-
"Select Assistant change": "Select Assistant change",
|
|
473
|
-
"Welcome Email Re-send": "Welcome Email Re-send",
|
|
474
|
-
"Send for selected users": "Send for selected users",
|
|
475
|
-
"User Name": "User Name",
|
|
476
|
-
"User Email": "User Email",
|
|
477
|
-
Level: Level$1,
|
|
478
|
-
"Use for": "Use for",
|
|
479
|
-
"Teacher training": "Teacher training",
|
|
480
|
-
"Student training": "Student training",
|
|
481
|
-
"Create Destination": "Create Destination",
|
|
482
|
-
"Total of Designation": "Total of Designation",
|
|
483
|
-
Destinations: Destinations$1,
|
|
484
|
-
"Edit Destination": "Edit Destination",
|
|
485
|
-
Confirm: Confirm$1
|
|
486
|
-
};
|
|
487
|
-
|
|
488
|
-
var DEFAULT_LANGUAGE = localStorage.getItem("language") !== null ? localStorage.getItem("language") : "en";
|
|
489
|
-
console.log({
|
|
490
|
-
lang: localStorage.getItem("language")
|
|
491
|
-
});
|
|
492
|
-
i18n.use(reactI18next.initReactI18next).init({
|
|
493
|
-
resources: {
|
|
494
|
-
en: {
|
|
495
|
-
translation: lang_us
|
|
496
|
-
},
|
|
497
|
-
es: {
|
|
498
|
-
translation: lang_uk
|
|
499
|
-
}
|
|
500
|
-
},
|
|
501
|
-
lng: DEFAULT_LANGUAGE,
|
|
502
|
-
fallbackLng: DEFAULT_LANGUAGE,
|
|
503
|
-
keySeparator: false,
|
|
504
|
-
interpolation: {
|
|
505
|
-
escapeValue: false
|
|
506
|
-
}
|
|
507
|
-
});
|
|
508
|
-
|
|
509
34
|
// A type of promise-like that resolves synchronously and supports only one observer
|
|
510
35
|
|
|
511
36
|
const _iteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator"))) : "@@iterator";
|
|
@@ -594,6 +119,9 @@ var DEFAULT_PAGE_SIZE_VALUES = [{
|
|
|
594
119
|
}, {
|
|
595
120
|
label: "30",
|
|
596
121
|
value: 30
|
|
122
|
+
}, {
|
|
123
|
+
label: "50",
|
|
124
|
+
value: 50
|
|
597
125
|
}];
|
|
598
126
|
var DEFAULT_PAGE_SIZE = {
|
|
599
127
|
label: "10",
|
|
@@ -721,7 +249,6 @@ var showMenuBar = toolkit.createAction("common/showMenuBar");
|
|
|
721
249
|
var showFontSize = toolkit.createAction("common/showFontSize");
|
|
722
250
|
var setEnableIEP = toolkit.createAction("common/setEnableIEP");
|
|
723
251
|
var setConversationOneToOne = toolkit.createAction("common/setConversationOneToOne");
|
|
724
|
-
var setLanguage = toolkit.createAction("common/setLanguage");
|
|
725
252
|
var setCurrentStudentId = toolkit.createAction("common/setCurrentStudentId");
|
|
726
253
|
var setCurrentStudentUserId = toolkit.createAction("common/setCurrentStudentUserId");
|
|
727
254
|
var setCurrentStudentName = toolkit.createAction("common/setCurrentStudentName");
|
|
@@ -1988,7 +1515,7 @@ var HOME_STUDENT = "/home";
|
|
|
1988
1515
|
var DASHBOARD_TITLE = "Dashboard";
|
|
1989
1516
|
var ROOT_TITLE = "Mario Framework";
|
|
1990
1517
|
|
|
1991
|
-
var Dashboard
|
|
1518
|
+
var Dashboard = function Dashboard() {
|
|
1992
1519
|
var user = reactRedux.useSelector(function (state) {
|
|
1993
1520
|
return state.common.user;
|
|
1994
1521
|
});
|
|
@@ -2304,75 +1831,6 @@ var TheHeaderDropdown = function TheHeaderDropdown() {
|
|
|
2304
1831
|
})), "LOGOUT"))));
|
|
2305
1832
|
};
|
|
2306
1833
|
|
|
2307
|
-
var TheLanguageDropdown = function TheLanguageDropdown() {
|
|
2308
|
-
var defaultLanguage = localStorage.getItem("language") !== null ? localStorage.getItem("language") : "en";
|
|
2309
|
-
var dispatch = reactRedux.useDispatch();
|
|
2310
|
-
|
|
2311
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
2312
|
-
i18n = _useTranslation.i18n;
|
|
2313
|
-
|
|
2314
|
-
var _useState = React.useState(false),
|
|
2315
|
-
dropdownOpen = _useState[0],
|
|
2316
|
-
setDropdownOpen = _useState[1];
|
|
2317
|
-
|
|
2318
|
-
var _useState2 = React.useState(defaultLanguage),
|
|
2319
|
-
language = _useState2[0],
|
|
2320
|
-
setItemLanguage = _useState2[1];
|
|
2321
|
-
|
|
2322
|
-
var toggle = function toggle() {
|
|
2323
|
-
return setDropdownOpen(function (prevState) {
|
|
2324
|
-
return !prevState;
|
|
2325
|
-
});
|
|
2326
|
-
};
|
|
2327
|
-
|
|
2328
|
-
var changeLanguageApp = function changeLanguageApp(lang) {
|
|
2329
|
-
i18n.changeLanguage(lang);
|
|
2330
|
-
localStorage.setItem("language", lang);
|
|
2331
|
-
setItemLanguage(lang);
|
|
2332
|
-
dispatch(setLanguage(lang));
|
|
2333
|
-
location.reload();
|
|
2334
|
-
};
|
|
2335
|
-
|
|
2336
|
-
return React__default.createElement(reactstrap.Dropdown, {
|
|
2337
|
-
isOpen: dropdownOpen,
|
|
2338
|
-
toggle: toggle,
|
|
2339
|
-
className: "" + styles["dropdown-menu"]
|
|
2340
|
-
}, React__default.createElement(reactstrap.DropdownToggle, {
|
|
2341
|
-
className: styles["header-avatar"] + " "
|
|
2342
|
-
}, React__default.createElement("i", {
|
|
2343
|
-
className: "fas fa-language"
|
|
2344
|
-
}), React__default.createElement("span", {
|
|
2345
|
-
style: {
|
|
2346
|
-
color: "#000",
|
|
2347
|
-
textTransform: "capitalize"
|
|
2348
|
-
}
|
|
2349
|
-
}, language)), React__default.createElement(reactstrap.DropdownMenu, {
|
|
2350
|
-
className: styles["dropdown-content"]
|
|
2351
|
-
}, React__default.createElement(reactstrap.DropdownItem, {
|
|
2352
|
-
className: styles["dropdown-change"] + " px-0 " + (language == 'en' ? 'active' : ''),
|
|
2353
|
-
onClick: function onClick() {
|
|
2354
|
-
return changeLanguageApp('en');
|
|
2355
|
-
}
|
|
2356
|
-
}, React__default.createElement("div", {
|
|
2357
|
-
className: styles["item-address"] + " " + styles["item-logout"] + " d-flex align-items-center w-100"
|
|
2358
|
-
}, React__default.createElement("span", {
|
|
2359
|
-
className: "mr-2 d-flex hover-opacity"
|
|
2360
|
-
}, React__default.createElement("i", {
|
|
2361
|
-
className: "fas fa-power-off h6 mb-0"
|
|
2362
|
-
})), "Language EN")), React__default.createElement(reactstrap.DropdownItem, {
|
|
2363
|
-
className: styles["dropdown-change"] + " px-0 " + (language == 'es' ? 'active' : ''),
|
|
2364
|
-
onClick: function onClick() {
|
|
2365
|
-
return changeLanguageApp('es');
|
|
2366
|
-
}
|
|
2367
|
-
}, React__default.createElement("div", {
|
|
2368
|
-
className: styles["item-address"] + " " + styles["item-logout"] + " d-flex align-items-center w-100"
|
|
2369
|
-
}, React__default.createElement("span", {
|
|
2370
|
-
className: "mr-2 d-flex hover-opacity"
|
|
2371
|
-
}, React__default.createElement("i", {
|
|
2372
|
-
className: "fas fa-power-off h6 mb-0"
|
|
2373
|
-
})), "Language ES"))));
|
|
2374
|
-
};
|
|
2375
|
-
|
|
2376
1834
|
var TheHeader = function TheHeader() {
|
|
2377
1835
|
var isDistrict = window.location.host.includes("-district");
|
|
2378
1836
|
return React__default.createElement(react.CHeader, {
|
|
@@ -2393,7 +1851,7 @@ var TheHeader = function TheHeader() {
|
|
|
2393
1851
|
},
|
|
2394
1852
|
href: '/privacy-policy',
|
|
2395
1853
|
target: "blank"
|
|
2396
|
-
}, "Privacy Policy"), !isDistrict && React__default.createElement(NotificationButton, null), React__default.createElement(
|
|
1854
|
+
}, "Privacy Policy"), !isDistrict && React__default.createElement(NotificationButton, null), React__default.createElement(TheHeaderDropdown, null)));
|
|
2397
1855
|
};
|
|
2398
1856
|
|
|
2399
1857
|
var TITLE$2 = "Not found";
|
|
@@ -2513,10 +1971,6 @@ var TheLayout = function TheLayout(_ref) {
|
|
|
2513
1971
|
var user = reactRedux.useSelector(function (state) {
|
|
2514
1972
|
return state.common.user;
|
|
2515
1973
|
});
|
|
2516
|
-
|
|
2517
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
2518
|
-
t = _useTranslation.t;
|
|
2519
|
-
|
|
2520
1974
|
var location = reactRouterDom.useLocation();
|
|
2521
1975
|
var isNotification = location.pathname.includes("notifications");
|
|
2522
1976
|
var isDistrict = window.location.host.includes("-district");
|
|
@@ -2528,11 +1982,7 @@ var TheLayout = function TheLayout(_ref) {
|
|
|
2528
1982
|
});
|
|
2529
1983
|
}, [user]);
|
|
2530
1984
|
var authNavigations = React.useMemo(function () {
|
|
2531
|
-
return navigation.
|
|
2532
|
-
return _extends({}, item, {
|
|
2533
|
-
name: t(item.name)
|
|
2534
|
-
});
|
|
2535
|
-
}).filter(function (nav) {
|
|
1985
|
+
return navigation.filter(function (nav) {
|
|
2536
1986
|
return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
|
|
2537
1987
|
}).filter(function (nav) {
|
|
2538
1988
|
return !!nav.isDistrict === isDistrict;
|
|
@@ -4407,10 +3857,6 @@ var SkillDetailModal = function SkillDetailModal(props, ref) {
|
|
|
4407
3857
|
setEditedTrue = props.setEditedTrue,
|
|
4408
3858
|
setEditedFalse = props.setEditedFalse,
|
|
4409
3859
|
isDisabled = props.isDisabled;
|
|
4410
|
-
|
|
4411
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
4412
|
-
t = _useTranslation.t;
|
|
4413
|
-
|
|
4414
3860
|
return React__default.createElement(formik.Formik, {
|
|
4415
3861
|
initialValues: skillDetail,
|
|
4416
3862
|
enableReinitialize: true,
|
|
@@ -4444,10 +3890,10 @@ var SkillDetailModal = function SkillDetailModal(props, ref) {
|
|
|
4444
3890
|
md: 12,
|
|
4445
3891
|
className: "mb-2"
|
|
4446
3892
|
}, React__default.createElement(RequiredLabel$1, {
|
|
4447
|
-
text:
|
|
3893
|
+
text: "Name"
|
|
4448
3894
|
}), React__default.createElement(reactstrap.Input, {
|
|
4449
3895
|
name: "name",
|
|
4450
|
-
placeholder:
|
|
3896
|
+
placeholder: "Name",
|
|
4451
3897
|
value: values.name,
|
|
4452
3898
|
onChange: function onChange(e) {
|
|
4453
3899
|
handleChange(e);
|
|
@@ -4459,11 +3905,11 @@ var SkillDetailModal = function SkillDetailModal(props, ref) {
|
|
|
4459
3905
|
})), React__default.createElement(reactstrap.Col, {
|
|
4460
3906
|
md: 12,
|
|
4461
3907
|
className: "mb-2"
|
|
4462
|
-
}, React__default.createElement(reactstrap.Label, null,
|
|
3908
|
+
}, React__default.createElement(reactstrap.Label, null, "Description"), React__default.createElement(reactstrap.Input, {
|
|
4463
3909
|
type: "textarea",
|
|
4464
3910
|
rows: 5,
|
|
4465
3911
|
name: "description",
|
|
4466
|
-
placeholder:
|
|
3912
|
+
placeholder: "Description",
|
|
4467
3913
|
value: values.description,
|
|
4468
3914
|
onChange: function onChange(e) {
|
|
4469
3915
|
handleChange(e);
|
|
@@ -4473,7 +3919,7 @@ var SkillDetailModal = function SkillDetailModal(props, ref) {
|
|
|
4473
3919
|
})), React__default.createElement(reactstrap.Col, {
|
|
4474
3920
|
md: 12,
|
|
4475
3921
|
className: "mb-2"
|
|
4476
|
-
}, React__default.createElement(reactstrap.Label, null,
|
|
3922
|
+
}, React__default.createElement(reactstrap.Label, null, "Parent category"), React__default.createElement(SkillSelector, {
|
|
4477
3923
|
isDisabled: isDisabled,
|
|
4478
3924
|
onChange: function onChange(e) {
|
|
4479
3925
|
formikProps.setFieldValue("parentSkillId", e.value);
|
|
@@ -4726,9 +4172,6 @@ var useSkillDetail = function useSkillDetail() {
|
|
|
4726
4172
|
var SkillList = function SkillList() {
|
|
4727
4173
|
var modal = React.useRef();
|
|
4728
4174
|
|
|
4729
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
4730
|
-
t = _useTranslation.t;
|
|
4731
|
-
|
|
4732
4175
|
var _useSkillList = useSkillList(),
|
|
4733
4176
|
skillList = _useSkillList.skillList,
|
|
4734
4177
|
totalItems = _useSkillList.totalItems,
|
|
@@ -4773,8 +4216,8 @@ var SkillList = function SkillList() {
|
|
|
4773
4216
|
className: "fadeIn animated"
|
|
4774
4217
|
}, React__default.createElement(SkillDetailModal$1, {
|
|
4775
4218
|
ref: modal,
|
|
4776
|
-
header: !!id ?
|
|
4777
|
-
confirmText: !!id ?
|
|
4219
|
+
header: !!id ? "Edit skill" : "Create skill",
|
|
4220
|
+
confirmText: !!id ? "Update" : "Create",
|
|
4778
4221
|
onCancel: onCancel,
|
|
4779
4222
|
onConfirm: onConfirm,
|
|
4780
4223
|
skillDetail: skillDetail,
|
|
@@ -4790,14 +4233,14 @@ var SkillList = function SkillList() {
|
|
|
4790
4233
|
}, React__default.createElement(reactstrap.Col, {
|
|
4791
4234
|
md: 4
|
|
4792
4235
|
}, React__default.createElement(AddButton, {
|
|
4793
|
-
text:
|
|
4236
|
+
text: "Create skill",
|
|
4794
4237
|
onClick: function onClick() {
|
|
4795
4238
|
return openModal();
|
|
4796
4239
|
}
|
|
4797
4240
|
})), React__default.createElement(reactstrap.Col, {
|
|
4798
4241
|
md: 4,
|
|
4799
4242
|
className: "d-flex align-items-center justify-content-end"
|
|
4800
|
-
},
|
|
4243
|
+
}, "Total of skills: ", totalItems)), React__default.createElement(reactstrap.Row, {
|
|
4801
4244
|
className: "mb-2"
|
|
4802
4245
|
}, React__default.createElement(reactstrap.Col, {
|
|
4803
4246
|
md: 8
|
|
@@ -4809,11 +4252,11 @@ var SkillList = function SkillList() {
|
|
|
4809
4252
|
size: "sm"
|
|
4810
4253
|
}, React__default.createElement("thead", null, React__default.createElement("tr", null, React__default.createElement("th", {
|
|
4811
4254
|
className: "align-top"
|
|
4812
|
-
},
|
|
4255
|
+
}, "Name"), React__default.createElement("th", {
|
|
4813
4256
|
className: "align-top"
|
|
4814
|
-
},
|
|
4257
|
+
}, "Description"), React__default.createElement("th", {
|
|
4815
4258
|
className: "text-center"
|
|
4816
|
-
},
|
|
4259
|
+
}, "Action"))), React__default.createElement("tbody", null, skillList.map(function (record) {
|
|
4817
4260
|
return React__default.createElement("tr", {
|
|
4818
4261
|
key: record.id
|
|
4819
4262
|
}, React__default.createElement("td", {
|
|
@@ -4835,7 +4278,7 @@ var SkillList = function SkillList() {
|
|
|
4835
4278
|
}
|
|
4836
4279
|
})));
|
|
4837
4280
|
}))) : React__default.createElement(EmptyDataAlert, {
|
|
4838
|
-
label:
|
|
4281
|
+
label: "skill"
|
|
4839
4282
|
})), React__default.createElement(reactstrap.Col, {
|
|
4840
4283
|
md: 8,
|
|
4841
4284
|
className: "text-right"
|
|
@@ -5090,19 +4533,16 @@ var UserList = function UserList() {
|
|
|
5090
4533
|
changeFilters = _useUserList.changeFilters,
|
|
5091
4534
|
reDirectDetailPage = _useUserList.reDirectDetailPage;
|
|
5092
4535
|
|
|
5093
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
5094
|
-
t = _useTranslation.t;
|
|
5095
|
-
|
|
5096
4536
|
return React__default.createElement("div", {
|
|
5097
4537
|
className: "fadeIn animated"
|
|
5098
4538
|
}, React__default.createElement("h5", {
|
|
5099
4539
|
className: "mb-2"
|
|
5100
|
-
},
|
|
4540
|
+
}, header$2), React__default.createElement(reactstrap.Row, {
|
|
5101
4541
|
className: "my-2"
|
|
5102
4542
|
}, React__default.createElement(reactstrap.Col, {
|
|
5103
4543
|
md: 8
|
|
5104
4544
|
}, React__default.createElement(SearchBoxContainer, {
|
|
5105
|
-
text:
|
|
4545
|
+
text: "Create user",
|
|
5106
4546
|
onClick: function onClick() {
|
|
5107
4547
|
return reDirectDetailPage();
|
|
5108
4548
|
},
|
|
@@ -5112,11 +4552,11 @@ var UserList = function UserList() {
|
|
|
5112
4552
|
searchString: searchString
|
|
5113
4553
|
});
|
|
5114
4554
|
},
|
|
5115
|
-
placeholder:
|
|
4555
|
+
placeholder: "Type something to search by user name"
|
|
5116
4556
|
})), React__default.createElement(reactstrap.Col, {
|
|
5117
4557
|
md: 4,
|
|
5118
4558
|
className: "d-flex justify-content-end align-items-center"
|
|
5119
|
-
},
|
|
4559
|
+
}, "Total of users: ", totalItems)), React__default.createElement(reactstrap.Row, {
|
|
5120
4560
|
className: "mb-2"
|
|
5121
4561
|
}, React__default.createElement(reactstrap.Col, {
|
|
5122
4562
|
md: 12
|
|
@@ -5128,17 +4568,17 @@ var UserList = function UserList() {
|
|
|
5128
4568
|
size: "sm"
|
|
5129
4569
|
}, React__default.createElement("thead", null, React__default.createElement("tr", null, React__default.createElement("th", {
|
|
5130
4570
|
className: "align-top"
|
|
5131
|
-
},
|
|
4571
|
+
}, "Name"), React__default.createElement("th", {
|
|
5132
4572
|
className: "align-top"
|
|
5133
|
-
},
|
|
4573
|
+
}, "Email"), React__default.createElement("th", {
|
|
5134
4574
|
className: "align-top"
|
|
5135
|
-
},
|
|
4575
|
+
}, "Age"), React__default.createElement("th", {
|
|
5136
4576
|
className: "align-top"
|
|
5137
|
-
},
|
|
4577
|
+
}, "Role"), React__default.createElement("th", {
|
|
5138
4578
|
className: "align-top"
|
|
5139
|
-
},
|
|
4579
|
+
}, "Active status"), React__default.createElement("th", {
|
|
5140
4580
|
className: "text-center"
|
|
5141
|
-
},
|
|
4581
|
+
}, "Action"))), React__default.createElement("tbody", null, userList.map(function (record) {
|
|
5142
4582
|
return React__default.createElement("tr", {
|
|
5143
4583
|
key: record.id
|
|
5144
4584
|
}, React__default.createElement("td", {
|
|
@@ -5156,7 +4596,7 @@ var UserList = function UserList() {
|
|
|
5156
4596
|
className: "align-middle"
|
|
5157
4597
|
}, !!record.roles && record.roles.join(", ")), React__default.createElement("td", {
|
|
5158
4598
|
className: "align-middle"
|
|
5159
|
-
}, record.isActive ?
|
|
4599
|
+
}, record.isActive ? "Active" : "Inactive"), React__default.createElement("td", {
|
|
5160
4600
|
className: "text-center align-middle"
|
|
5161
4601
|
}, React__default.createElement(DeleteButtonIcon, {
|
|
5162
4602
|
onClick: function onClick() {
|
|
@@ -5164,7 +4604,7 @@ var UserList = function UserList() {
|
|
|
5164
4604
|
}
|
|
5165
4605
|
})));
|
|
5166
4606
|
})))) : React__default.createElement(EmptyDataAlert, {
|
|
5167
|
-
label:
|
|
4607
|
+
label: "user"
|
|
5168
4608
|
})), React__default.createElement(reactstrap.Col, {
|
|
5169
4609
|
md: 12
|
|
5170
4610
|
}, React__default.createElement(CustomPagination, {
|
|
@@ -5508,9 +4948,6 @@ var UserDetail = function UserDetail() {
|
|
|
5508
4948
|
return state.common.user;
|
|
5509
4949
|
});
|
|
5510
4950
|
|
|
5511
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
5512
|
-
t = _useTranslation.t;
|
|
5513
|
-
|
|
5514
4951
|
var _useUserDetail = useUserDetail(id),
|
|
5515
4952
|
userDetail = _useUserDetail.userDetail,
|
|
5516
4953
|
backToList = _useUserDetail.backToList,
|
|
@@ -5528,8 +4965,8 @@ var UserDetail = function UserDetail() {
|
|
|
5528
4965
|
newPassword: "",
|
|
5529
4966
|
confirmedNewPassword: ""
|
|
5530
4967
|
};
|
|
5531
|
-
var header = !!id ?
|
|
5532
|
-
var confirmText = !!id ?
|
|
4968
|
+
var header = !!id ? EDIT_USER_HEADER : CREATE_USER;
|
|
4969
|
+
var confirmText = !!id ? "Update" : "Create";
|
|
5533
4970
|
|
|
5534
4971
|
var getFile = function getFile() {
|
|
5535
4972
|
var url = window.location.origin + "/api/ExportDataUser/" + id;
|
|
@@ -5598,7 +5035,7 @@ var UserDetail = function UserDetail() {
|
|
|
5598
5035
|
}, React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5599
5036
|
md: 6
|
|
5600
5037
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5601
|
-
text:
|
|
5038
|
+
text: "First name"
|
|
5602
5039
|
}), React__default.createElement(reactstrap.Input, {
|
|
5603
5040
|
name: "firstName",
|
|
5604
5041
|
value: values.firstName,
|
|
@@ -5607,13 +5044,13 @@ var UserDetail = function UserDetail() {
|
|
|
5607
5044
|
setEditedTrue();
|
|
5608
5045
|
},
|
|
5609
5046
|
onBlur: handleBlur("subject"),
|
|
5610
|
-
placeholder:
|
|
5047
|
+
placeholder: "First name"
|
|
5611
5048
|
}), touched.firstName && errors.firstName && React__default.createElement(ErrorHandler, {
|
|
5612
5049
|
text: errors.firstName
|
|
5613
5050
|
}))), React__default.createElement(reactstrap.Col, {
|
|
5614
5051
|
md: 6
|
|
5615
5052
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5616
|
-
text:
|
|
5053
|
+
text: "Date of birth"
|
|
5617
5054
|
}), React__default.createElement("div", null, React__default.createElement(DatePicker, {
|
|
5618
5055
|
value: values.dateOfBirth,
|
|
5619
5056
|
todayButton: "Today",
|
|
@@ -5626,20 +5063,20 @@ var UserDetail = function UserDetail() {
|
|
|
5626
5063
|
formProps.setFieldValue("dateOfBirth", dateFns.format(e, DATE_FORMAT));
|
|
5627
5064
|
setEditedTrue();
|
|
5628
5065
|
},
|
|
5629
|
-
placeholderText:
|
|
5066
|
+
placeholderText: "Date of birth",
|
|
5630
5067
|
customInput: React__default.createElement(reactstrap.Input, {
|
|
5631
5068
|
type: "text",
|
|
5632
5069
|
style: {
|
|
5633
5070
|
width: "maxContent"
|
|
5634
5071
|
},
|
|
5635
|
-
placeholder:
|
|
5072
|
+
placeholder: "Date of birth"
|
|
5636
5073
|
})
|
|
5637
5074
|
})), touched.dateOfBirth && errors.dateOfBirth && React__default.createElement(ErrorHandler, {
|
|
5638
5075
|
text: errors.dateOfBirth
|
|
5639
5076
|
})))), React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5640
5077
|
md: 6
|
|
5641
5078
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5642
|
-
text:
|
|
5079
|
+
text: "Last name"
|
|
5643
5080
|
}), React__default.createElement(reactstrap.Input, {
|
|
5644
5081
|
name: "lastName",
|
|
5645
5082
|
value: values.lastName,
|
|
@@ -5648,13 +5085,13 @@ var UserDetail = function UserDetail() {
|
|
|
5648
5085
|
setEditedTrue();
|
|
5649
5086
|
},
|
|
5650
5087
|
onBlur: handleBlur("lastName"),
|
|
5651
|
-
placeholder:
|
|
5088
|
+
placeholder: "Last name"
|
|
5652
5089
|
}), touched.lastName && errors.lastName && React__default.createElement(ErrorHandler, {
|
|
5653
5090
|
text: errors.lastName
|
|
5654
5091
|
}))), React__default.createElement(reactstrap.Col, {
|
|
5655
5092
|
md: 6
|
|
5656
5093
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5657
|
-
text:
|
|
5094
|
+
text: "Roles"
|
|
5658
5095
|
}), React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5659
5096
|
md: 12,
|
|
5660
5097
|
className: "d-flex flex-wrap align-items-center"
|
|
@@ -5678,7 +5115,7 @@ var UserDetail = function UserDetail() {
|
|
|
5678
5115
|
})))), React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5679
5116
|
md: 6
|
|
5680
5117
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5681
|
-
text:
|
|
5118
|
+
text: "Email"
|
|
5682
5119
|
}), React__default.createElement(reactstrap.Input, {
|
|
5683
5120
|
name: "email",
|
|
5684
5121
|
value: values.email,
|
|
@@ -5687,20 +5124,20 @@ var UserDetail = function UserDetail() {
|
|
|
5687
5124
|
setEditedTrue();
|
|
5688
5125
|
},
|
|
5689
5126
|
onBlur: handleBlur("email"),
|
|
5690
|
-
placeholder:
|
|
5127
|
+
placeholder: "Email"
|
|
5691
5128
|
}), touched.email && errors.email && React__default.createElement(ErrorHandler, {
|
|
5692
5129
|
text: errors.email
|
|
5693
5130
|
}))), React__default.createElement(reactstrap.Col, {
|
|
5694
5131
|
md: 6
|
|
5695
5132
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5696
|
-
text:
|
|
5133
|
+
text: "Status"
|
|
5697
5134
|
}), React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5698
5135
|
md: 3
|
|
5699
5136
|
}, React__default.createElement(reactstrap.CustomInput, {
|
|
5700
5137
|
id: "role-checkbox-active",
|
|
5701
5138
|
type: "radio",
|
|
5702
5139
|
name: "active",
|
|
5703
|
-
label:
|
|
5140
|
+
label: "Active",
|
|
5704
5141
|
checked: !!values && !!values.isActive,
|
|
5705
5142
|
onChange: function onChange() {
|
|
5706
5143
|
setFieldValue("isActive", true);
|
|
@@ -5712,7 +5149,7 @@ var UserDetail = function UserDetail() {
|
|
|
5712
5149
|
id: "role-checkbox-inActive",
|
|
5713
5150
|
type: "radio",
|
|
5714
5151
|
name: "active",
|
|
5715
|
-
label:
|
|
5152
|
+
label: "Inactive",
|
|
5716
5153
|
checked: !!values && !values.isActive,
|
|
5717
5154
|
onChange: function onChange() {
|
|
5718
5155
|
return setFieldValue("isActive", false);
|
|
@@ -5726,13 +5163,13 @@ var UserDetail = function UserDetail() {
|
|
|
5726
5163
|
onClick: function onClick() {
|
|
5727
5164
|
onResetPw(values.email || "");
|
|
5728
5165
|
}
|
|
5729
|
-
},
|
|
5166
|
+
}, "Send forgot password link"), React__default.createElement(reactstrap.Button, {
|
|
5730
5167
|
color: "success",
|
|
5731
5168
|
onClick: function onClick() {
|
|
5732
5169
|
getFile();
|
|
5733
5170
|
},
|
|
5734
5171
|
className: "ml-4"
|
|
5735
|
-
},
|
|
5172
|
+
}, "Download user data")))), React__default.createElement(reactstrap.Col, {
|
|
5736
5173
|
md: 4
|
|
5737
5174
|
}, React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5738
5175
|
md: 8
|
|
@@ -5753,7 +5190,7 @@ var UserDetail = function UserDetail() {
|
|
|
5753
5190
|
}
|
|
5754
5191
|
}))))), user.id === id ? React__default.createElement("div", null, React__default.createElement("h5", {
|
|
5755
5192
|
className: "mt-3"
|
|
5756
|
-
},
|
|
5193
|
+
}, CHANGE_PASSWORD$1), React__default.createElement(formik.Formik, {
|
|
5757
5194
|
initialValues: initialValueForm,
|
|
5758
5195
|
enableReinitialize: true,
|
|
5759
5196
|
validationSchema: changePasswordSchema,
|
|
@@ -5771,7 +5208,7 @@ var UserDetail = function UserDetail() {
|
|
|
5771
5208
|
}, React__default.createElement(reactstrap.Col, {
|
|
5772
5209
|
md: 7
|
|
5773
5210
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5774
|
-
text:
|
|
5211
|
+
text: "Current password"
|
|
5775
5212
|
}), React__default.createElement(reactstrap.Input, {
|
|
5776
5213
|
name: "oldPassword",
|
|
5777
5214
|
type: "password",
|
|
@@ -5781,13 +5218,13 @@ var UserDetail = function UserDetail() {
|
|
|
5781
5218
|
setEditedTrue();
|
|
5782
5219
|
},
|
|
5783
5220
|
onBlur: handleBlur("subject"),
|
|
5784
|
-
placeholder:
|
|
5221
|
+
placeholder: "Current password"
|
|
5785
5222
|
}), touched.oldPassword && errors.oldPassword && React__default.createElement(ErrorHandler, {
|
|
5786
5223
|
text: errors.oldPassword
|
|
5787
5224
|
}))), React__default.createElement(reactstrap.Col, {
|
|
5788
5225
|
md: 7
|
|
5789
5226
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5790
|
-
text:
|
|
5227
|
+
text: "New password"
|
|
5791
5228
|
}), React__default.createElement(reactstrap.Input, {
|
|
5792
5229
|
name: "newPassword",
|
|
5793
5230
|
type: "password",
|
|
@@ -5797,13 +5234,13 @@ var UserDetail = function UserDetail() {
|
|
|
5797
5234
|
setEditedTrue();
|
|
5798
5235
|
},
|
|
5799
5236
|
onBlur: handleBlur("subject"),
|
|
5800
|
-
placeholder:
|
|
5237
|
+
placeholder: "New password"
|
|
5801
5238
|
}), touched.newPassword && errors.newPassword && React__default.createElement(ErrorHandler, {
|
|
5802
5239
|
text: errors.newPassword
|
|
5803
5240
|
}))), React__default.createElement(reactstrap.Col, {
|
|
5804
5241
|
md: 7
|
|
5805
5242
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5806
|
-
text:
|
|
5243
|
+
text: "Confirm password"
|
|
5807
5244
|
}), React__default.createElement(reactstrap.Input, {
|
|
5808
5245
|
name: "confirmedNewPassword",
|
|
5809
5246
|
type: "password",
|
|
@@ -5813,7 +5250,7 @@ var UserDetail = function UserDetail() {
|
|
|
5813
5250
|
setEditedTrue();
|
|
5814
5251
|
},
|
|
5815
5252
|
onBlur: handleBlur("subject"),
|
|
5816
|
-
placeholder:
|
|
5253
|
+
placeholder: "Confirm password"
|
|
5817
5254
|
}), touched.confirmedNewPassword && errors.confirmedNewPassword && React__default.createElement(ErrorHandler, {
|
|
5818
5255
|
text: errors.confirmedNewPassword
|
|
5819
5256
|
}))), React__default.createElement(reactstrap.Col, {
|
|
@@ -5825,7 +5262,7 @@ var UserDetail = function UserDetail() {
|
|
|
5825
5262
|
onClick: function onClick() {
|
|
5826
5263
|
return handleSubmit();
|
|
5827
5264
|
}
|
|
5828
|
-
},
|
|
5265
|
+
}, "Save")));
|
|
5829
5266
|
})) : null, React__default.createElement(DetailActionButtons, {
|
|
5830
5267
|
confirmText: confirmText,
|
|
5831
5268
|
onConfirm: handleSubmit,
|
|
@@ -7701,7 +7138,6 @@ var initialState = {
|
|
|
7701
7138
|
defaultFontSize: 16,
|
|
7702
7139
|
isEnableIEP: true,
|
|
7703
7140
|
isConversationOneToOne: false,
|
|
7704
|
-
language: "en",
|
|
7705
7141
|
amplitude: {
|
|
7706
7142
|
user_id: "",
|
|
7707
7143
|
status: "",
|
|
@@ -7746,8 +7182,6 @@ var commonReducer = toolkit.createReducer(initialState, function (builder) {
|
|
|
7746
7182
|
state.isEnableIEP = action.payload;
|
|
7747
7183
|
}).addCase(setConversationOneToOne, function (state, action) {
|
|
7748
7184
|
state.isConversationOneToOne = action.payload;
|
|
7749
|
-
}).addCase(setLanguage, function (state, action) {
|
|
7750
|
-
state.language = action.payload;
|
|
7751
7185
|
}).addCase(showFontSize, function (state, action) {
|
|
7752
7186
|
state.defaultFontSize = action.payload;
|
|
7753
7187
|
}).addCase(initAmplitude, function (state, action) {
|
|
@@ -8681,18 +8115,6 @@ var generateRandomString = (function () {
|
|
|
8681
8115
|
|
|
8682
8116
|
var amplitudeClient = amplitude.getInstance();
|
|
8683
8117
|
|
|
8684
|
-
Object.defineProperty(exports, 'I18nextProvider', {
|
|
8685
|
-
enumerable: true,
|
|
8686
|
-
get: function () {
|
|
8687
|
-
return reactI18next.I18nextProvider;
|
|
8688
|
-
}
|
|
8689
|
-
});
|
|
8690
|
-
Object.defineProperty(exports, 'useTranslation', {
|
|
8691
|
-
enumerable: true,
|
|
8692
|
-
get: function () {
|
|
8693
|
-
return reactI18next.useTranslation;
|
|
8694
|
-
}
|
|
8695
|
-
});
|
|
8696
8118
|
exports.ACCESS_TOKEN = ACCESS_TOKEN;
|
|
8697
8119
|
exports.ANSWER_EDITOR_HEIGHT = ANSWER_EDITOR_HEIGHT;
|
|
8698
8120
|
exports.AcademicClassSelector = AcademicClassSelector;
|
|
@@ -8709,7 +8131,7 @@ exports.CustomTab = CustomTabs;
|
|
|
8709
8131
|
exports.DATE_FORMAT = DATE_FORMAT;
|
|
8710
8132
|
exports.DATE_RESULT = DATE_RESULT;
|
|
8711
8133
|
exports.DEFAULT_FILTER = DEFAULT_FILTER;
|
|
8712
|
-
exports.Dashboard = Dashboard
|
|
8134
|
+
exports.Dashboard = Dashboard;
|
|
8713
8135
|
exports.DeleteButtonIcon = DeleteButtonIcon;
|
|
8714
8136
|
exports.DetailActionButtons = DetailActionButtons;
|
|
8715
8137
|
exports.EMOTIONS = EMOTIONS;
|
|
@@ -8775,7 +8197,6 @@ exports.generateRandomString = generateRandomString;
|
|
|
8775
8197
|
exports.getFileUrl = getFileUrl;
|
|
8776
8198
|
exports.getInfo = getInfo;
|
|
8777
8199
|
exports.getTextFromHTML = getTextFromHTML;
|
|
8778
|
-
exports.i18n = i18n;
|
|
8779
8200
|
exports.initAmplitude = initAmplitude;
|
|
8780
8201
|
exports.isInViewport = isInViewport;
|
|
8781
8202
|
exports.reset = reset;
|
|
@@ -8800,7 +8221,6 @@ exports.setFeedbackList = setFeedbackList;
|
|
|
8800
8221
|
exports.setFilterWidget = setFilterWidget;
|
|
8801
8222
|
exports.setGoalExampleList = setGoalExampleList;
|
|
8802
8223
|
exports.setImproveMyClass = setImproveMyClass;
|
|
8803
|
-
exports.setLanguage = setLanguage;
|
|
8804
8224
|
exports.setLearningSupportCategoryList = setLearningSupportCategoryList;
|
|
8805
8225
|
exports.setLoading = setLoading;
|
|
8806
8226
|
exports.setMailCategory = setMailCategory;
|