mario-core 2.9.37-lang → 2.9.38-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/index.d.ts +2 -4
- package/dist/index.js +54 -637
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +68 -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";
|
|
@@ -721,7 +246,6 @@ var showMenuBar = toolkit.createAction("common/showMenuBar");
|
|
|
721
246
|
var showFontSize = toolkit.createAction("common/showFontSize");
|
|
722
247
|
var setEnableIEP = toolkit.createAction("common/setEnableIEP");
|
|
723
248
|
var setConversationOneToOne = toolkit.createAction("common/setConversationOneToOne");
|
|
724
|
-
var setLanguage = toolkit.createAction("common/setLanguage");
|
|
725
249
|
var setCurrentStudentId = toolkit.createAction("common/setCurrentStudentId");
|
|
726
250
|
var setCurrentStudentUserId = toolkit.createAction("common/setCurrentStudentUserId");
|
|
727
251
|
var setCurrentStudentName = toolkit.createAction("common/setCurrentStudentName");
|
|
@@ -1988,7 +1512,7 @@ var HOME_STUDENT = "/home";
|
|
|
1988
1512
|
var DASHBOARD_TITLE = "Dashboard";
|
|
1989
1513
|
var ROOT_TITLE = "Mario Framework";
|
|
1990
1514
|
|
|
1991
|
-
var Dashboard
|
|
1515
|
+
var Dashboard = function Dashboard() {
|
|
1992
1516
|
var user = reactRedux.useSelector(function (state) {
|
|
1993
1517
|
return state.common.user;
|
|
1994
1518
|
});
|
|
@@ -2304,75 +1828,6 @@ var TheHeaderDropdown = function TheHeaderDropdown() {
|
|
|
2304
1828
|
})), "LOGOUT"))));
|
|
2305
1829
|
};
|
|
2306
1830
|
|
|
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
1831
|
var TheHeader = function TheHeader() {
|
|
2377
1832
|
var isDistrict = window.location.host.includes("-district");
|
|
2378
1833
|
return React__default.createElement(react.CHeader, {
|
|
@@ -2393,7 +1848,7 @@ var TheHeader = function TheHeader() {
|
|
|
2393
1848
|
},
|
|
2394
1849
|
href: '/privacy-policy',
|
|
2395
1850
|
target: "blank"
|
|
2396
|
-
}, "Privacy Policy"), !isDistrict && React__default.createElement(NotificationButton, null), React__default.createElement(
|
|
1851
|
+
}, "Privacy Policy"), !isDistrict && React__default.createElement(NotificationButton, null), React__default.createElement(TheHeaderDropdown, null)));
|
|
2397
1852
|
};
|
|
2398
1853
|
|
|
2399
1854
|
var TITLE$2 = "Not found";
|
|
@@ -2513,10 +1968,6 @@ var TheLayout = function TheLayout(_ref) {
|
|
|
2513
1968
|
var user = reactRedux.useSelector(function (state) {
|
|
2514
1969
|
return state.common.user;
|
|
2515
1970
|
});
|
|
2516
|
-
|
|
2517
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
2518
|
-
t = _useTranslation.t;
|
|
2519
|
-
|
|
2520
1971
|
var location = reactRouterDom.useLocation();
|
|
2521
1972
|
var isNotification = location.pathname.includes("notifications");
|
|
2522
1973
|
var isDistrict = window.location.host.includes("-district");
|
|
@@ -2528,11 +1979,7 @@ var TheLayout = function TheLayout(_ref) {
|
|
|
2528
1979
|
});
|
|
2529
1980
|
}, [user]);
|
|
2530
1981
|
var authNavigations = React.useMemo(function () {
|
|
2531
|
-
return navigation.
|
|
2532
|
-
return _extends({}, item, {
|
|
2533
|
-
name: t(item.name)
|
|
2534
|
-
});
|
|
2535
|
-
}).filter(function (nav) {
|
|
1982
|
+
return navigation.filter(function (nav) {
|
|
2536
1983
|
return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
|
|
2537
1984
|
}).filter(function (nav) {
|
|
2538
1985
|
return !!nav.isDistrict === isDistrict;
|
|
@@ -4407,10 +3854,6 @@ var SkillDetailModal = function SkillDetailModal(props, ref) {
|
|
|
4407
3854
|
setEditedTrue = props.setEditedTrue,
|
|
4408
3855
|
setEditedFalse = props.setEditedFalse,
|
|
4409
3856
|
isDisabled = props.isDisabled;
|
|
4410
|
-
|
|
4411
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
4412
|
-
t = _useTranslation.t;
|
|
4413
|
-
|
|
4414
3857
|
return React__default.createElement(formik.Formik, {
|
|
4415
3858
|
initialValues: skillDetail,
|
|
4416
3859
|
enableReinitialize: true,
|
|
@@ -4444,10 +3887,10 @@ var SkillDetailModal = function SkillDetailModal(props, ref) {
|
|
|
4444
3887
|
md: 12,
|
|
4445
3888
|
className: "mb-2"
|
|
4446
3889
|
}, React__default.createElement(RequiredLabel$1, {
|
|
4447
|
-
text:
|
|
3890
|
+
text: "Name"
|
|
4448
3891
|
}), React__default.createElement(reactstrap.Input, {
|
|
4449
3892
|
name: "name",
|
|
4450
|
-
placeholder:
|
|
3893
|
+
placeholder: "Name",
|
|
4451
3894
|
value: values.name,
|
|
4452
3895
|
onChange: function onChange(e) {
|
|
4453
3896
|
handleChange(e);
|
|
@@ -4459,11 +3902,11 @@ var SkillDetailModal = function SkillDetailModal(props, ref) {
|
|
|
4459
3902
|
})), React__default.createElement(reactstrap.Col, {
|
|
4460
3903
|
md: 12,
|
|
4461
3904
|
className: "mb-2"
|
|
4462
|
-
}, React__default.createElement(reactstrap.Label, null,
|
|
3905
|
+
}, React__default.createElement(reactstrap.Label, null, "Description"), React__default.createElement(reactstrap.Input, {
|
|
4463
3906
|
type: "textarea",
|
|
4464
3907
|
rows: 5,
|
|
4465
3908
|
name: "description",
|
|
4466
|
-
placeholder:
|
|
3909
|
+
placeholder: "Description",
|
|
4467
3910
|
value: values.description,
|
|
4468
3911
|
onChange: function onChange(e) {
|
|
4469
3912
|
handleChange(e);
|
|
@@ -4473,7 +3916,7 @@ var SkillDetailModal = function SkillDetailModal(props, ref) {
|
|
|
4473
3916
|
})), React__default.createElement(reactstrap.Col, {
|
|
4474
3917
|
md: 12,
|
|
4475
3918
|
className: "mb-2"
|
|
4476
|
-
}, React__default.createElement(reactstrap.Label, null,
|
|
3919
|
+
}, React__default.createElement(reactstrap.Label, null, "Parent category"), React__default.createElement(SkillSelector, {
|
|
4477
3920
|
isDisabled: isDisabled,
|
|
4478
3921
|
onChange: function onChange(e) {
|
|
4479
3922
|
formikProps.setFieldValue("parentSkillId", e.value);
|
|
@@ -4726,9 +4169,6 @@ var useSkillDetail = function useSkillDetail() {
|
|
|
4726
4169
|
var SkillList = function SkillList() {
|
|
4727
4170
|
var modal = React.useRef();
|
|
4728
4171
|
|
|
4729
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
4730
|
-
t = _useTranslation.t;
|
|
4731
|
-
|
|
4732
4172
|
var _useSkillList = useSkillList(),
|
|
4733
4173
|
skillList = _useSkillList.skillList,
|
|
4734
4174
|
totalItems = _useSkillList.totalItems,
|
|
@@ -4773,8 +4213,8 @@ var SkillList = function SkillList() {
|
|
|
4773
4213
|
className: "fadeIn animated"
|
|
4774
4214
|
}, React__default.createElement(SkillDetailModal$1, {
|
|
4775
4215
|
ref: modal,
|
|
4776
|
-
header: !!id ?
|
|
4777
|
-
confirmText: !!id ?
|
|
4216
|
+
header: !!id ? "Edit skill" : "Create skill",
|
|
4217
|
+
confirmText: !!id ? "Update" : "Create",
|
|
4778
4218
|
onCancel: onCancel,
|
|
4779
4219
|
onConfirm: onConfirm,
|
|
4780
4220
|
skillDetail: skillDetail,
|
|
@@ -4790,14 +4230,14 @@ var SkillList = function SkillList() {
|
|
|
4790
4230
|
}, React__default.createElement(reactstrap.Col, {
|
|
4791
4231
|
md: 4
|
|
4792
4232
|
}, React__default.createElement(AddButton, {
|
|
4793
|
-
text:
|
|
4233
|
+
text: "Create skill",
|
|
4794
4234
|
onClick: function onClick() {
|
|
4795
4235
|
return openModal();
|
|
4796
4236
|
}
|
|
4797
4237
|
})), React__default.createElement(reactstrap.Col, {
|
|
4798
4238
|
md: 4,
|
|
4799
4239
|
className: "d-flex align-items-center justify-content-end"
|
|
4800
|
-
},
|
|
4240
|
+
}, "Total of skills: ", totalItems)), React__default.createElement(reactstrap.Row, {
|
|
4801
4241
|
className: "mb-2"
|
|
4802
4242
|
}, React__default.createElement(reactstrap.Col, {
|
|
4803
4243
|
md: 8
|
|
@@ -4809,11 +4249,11 @@ var SkillList = function SkillList() {
|
|
|
4809
4249
|
size: "sm"
|
|
4810
4250
|
}, React__default.createElement("thead", null, React__default.createElement("tr", null, React__default.createElement("th", {
|
|
4811
4251
|
className: "align-top"
|
|
4812
|
-
},
|
|
4252
|
+
}, "Name"), React__default.createElement("th", {
|
|
4813
4253
|
className: "align-top"
|
|
4814
|
-
},
|
|
4254
|
+
}, "Description"), React__default.createElement("th", {
|
|
4815
4255
|
className: "text-center"
|
|
4816
|
-
},
|
|
4256
|
+
}, "Action"))), React__default.createElement("tbody", null, skillList.map(function (record) {
|
|
4817
4257
|
return React__default.createElement("tr", {
|
|
4818
4258
|
key: record.id
|
|
4819
4259
|
}, React__default.createElement("td", {
|
|
@@ -4835,7 +4275,7 @@ var SkillList = function SkillList() {
|
|
|
4835
4275
|
}
|
|
4836
4276
|
})));
|
|
4837
4277
|
}))) : React__default.createElement(EmptyDataAlert, {
|
|
4838
|
-
label:
|
|
4278
|
+
label: "skill"
|
|
4839
4279
|
})), React__default.createElement(reactstrap.Col, {
|
|
4840
4280
|
md: 8,
|
|
4841
4281
|
className: "text-right"
|
|
@@ -5090,19 +4530,16 @@ var UserList = function UserList() {
|
|
|
5090
4530
|
changeFilters = _useUserList.changeFilters,
|
|
5091
4531
|
reDirectDetailPage = _useUserList.reDirectDetailPage;
|
|
5092
4532
|
|
|
5093
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
5094
|
-
t = _useTranslation.t;
|
|
5095
|
-
|
|
5096
4533
|
return React__default.createElement("div", {
|
|
5097
4534
|
className: "fadeIn animated"
|
|
5098
4535
|
}, React__default.createElement("h5", {
|
|
5099
4536
|
className: "mb-2"
|
|
5100
|
-
},
|
|
4537
|
+
}, header$2), React__default.createElement(reactstrap.Row, {
|
|
5101
4538
|
className: "my-2"
|
|
5102
4539
|
}, React__default.createElement(reactstrap.Col, {
|
|
5103
4540
|
md: 8
|
|
5104
4541
|
}, React__default.createElement(SearchBoxContainer, {
|
|
5105
|
-
text:
|
|
4542
|
+
text: "Create user",
|
|
5106
4543
|
onClick: function onClick() {
|
|
5107
4544
|
return reDirectDetailPage();
|
|
5108
4545
|
},
|
|
@@ -5112,11 +4549,11 @@ var UserList = function UserList() {
|
|
|
5112
4549
|
searchString: searchString
|
|
5113
4550
|
});
|
|
5114
4551
|
},
|
|
5115
|
-
placeholder:
|
|
4552
|
+
placeholder: "Type something to search by user name"
|
|
5116
4553
|
})), React__default.createElement(reactstrap.Col, {
|
|
5117
4554
|
md: 4,
|
|
5118
4555
|
className: "d-flex justify-content-end align-items-center"
|
|
5119
|
-
},
|
|
4556
|
+
}, "Total of users: ", totalItems)), React__default.createElement(reactstrap.Row, {
|
|
5120
4557
|
className: "mb-2"
|
|
5121
4558
|
}, React__default.createElement(reactstrap.Col, {
|
|
5122
4559
|
md: 12
|
|
@@ -5128,17 +4565,17 @@ var UserList = function UserList() {
|
|
|
5128
4565
|
size: "sm"
|
|
5129
4566
|
}, React__default.createElement("thead", null, React__default.createElement("tr", null, React__default.createElement("th", {
|
|
5130
4567
|
className: "align-top"
|
|
5131
|
-
},
|
|
4568
|
+
}, "Name"), React__default.createElement("th", {
|
|
5132
4569
|
className: "align-top"
|
|
5133
|
-
},
|
|
4570
|
+
}, "Email"), React__default.createElement("th", {
|
|
5134
4571
|
className: "align-top"
|
|
5135
|
-
},
|
|
4572
|
+
}, "Age"), React__default.createElement("th", {
|
|
5136
4573
|
className: "align-top"
|
|
5137
|
-
},
|
|
4574
|
+
}, "Role"), React__default.createElement("th", {
|
|
5138
4575
|
className: "align-top"
|
|
5139
|
-
},
|
|
4576
|
+
}, "Active status"), React__default.createElement("th", {
|
|
5140
4577
|
className: "text-center"
|
|
5141
|
-
},
|
|
4578
|
+
}, "Action"))), React__default.createElement("tbody", null, userList.map(function (record) {
|
|
5142
4579
|
return React__default.createElement("tr", {
|
|
5143
4580
|
key: record.id
|
|
5144
4581
|
}, React__default.createElement("td", {
|
|
@@ -5156,7 +4593,7 @@ var UserList = function UserList() {
|
|
|
5156
4593
|
className: "align-middle"
|
|
5157
4594
|
}, !!record.roles && record.roles.join(", ")), React__default.createElement("td", {
|
|
5158
4595
|
className: "align-middle"
|
|
5159
|
-
}, record.isActive ?
|
|
4596
|
+
}, record.isActive ? "Active" : "Inactive"), React__default.createElement("td", {
|
|
5160
4597
|
className: "text-center align-middle"
|
|
5161
4598
|
}, React__default.createElement(DeleteButtonIcon, {
|
|
5162
4599
|
onClick: function onClick() {
|
|
@@ -5164,7 +4601,7 @@ var UserList = function UserList() {
|
|
|
5164
4601
|
}
|
|
5165
4602
|
})));
|
|
5166
4603
|
})))) : React__default.createElement(EmptyDataAlert, {
|
|
5167
|
-
label:
|
|
4604
|
+
label: "user"
|
|
5168
4605
|
})), React__default.createElement(reactstrap.Col, {
|
|
5169
4606
|
md: 12
|
|
5170
4607
|
}, React__default.createElement(CustomPagination, {
|
|
@@ -5508,9 +4945,6 @@ var UserDetail = function UserDetail() {
|
|
|
5508
4945
|
return state.common.user;
|
|
5509
4946
|
});
|
|
5510
4947
|
|
|
5511
|
-
var _useTranslation = reactI18next.useTranslation(),
|
|
5512
|
-
t = _useTranslation.t;
|
|
5513
|
-
|
|
5514
4948
|
var _useUserDetail = useUserDetail(id),
|
|
5515
4949
|
userDetail = _useUserDetail.userDetail,
|
|
5516
4950
|
backToList = _useUserDetail.backToList,
|
|
@@ -5528,8 +4962,8 @@ var UserDetail = function UserDetail() {
|
|
|
5528
4962
|
newPassword: "",
|
|
5529
4963
|
confirmedNewPassword: ""
|
|
5530
4964
|
};
|
|
5531
|
-
var header = !!id ?
|
|
5532
|
-
var confirmText = !!id ?
|
|
4965
|
+
var header = !!id ? EDIT_USER_HEADER : CREATE_USER;
|
|
4966
|
+
var confirmText = !!id ? "Update" : "Create";
|
|
5533
4967
|
|
|
5534
4968
|
var getFile = function getFile() {
|
|
5535
4969
|
var url = window.location.origin + "/api/ExportDataUser/" + id;
|
|
@@ -5598,7 +5032,7 @@ var UserDetail = function UserDetail() {
|
|
|
5598
5032
|
}, React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5599
5033
|
md: 6
|
|
5600
5034
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5601
|
-
text:
|
|
5035
|
+
text: "First name"
|
|
5602
5036
|
}), React__default.createElement(reactstrap.Input, {
|
|
5603
5037
|
name: "firstName",
|
|
5604
5038
|
value: values.firstName,
|
|
@@ -5607,13 +5041,13 @@ var UserDetail = function UserDetail() {
|
|
|
5607
5041
|
setEditedTrue();
|
|
5608
5042
|
},
|
|
5609
5043
|
onBlur: handleBlur("subject"),
|
|
5610
|
-
placeholder:
|
|
5044
|
+
placeholder: "First name"
|
|
5611
5045
|
}), touched.firstName && errors.firstName && React__default.createElement(ErrorHandler, {
|
|
5612
5046
|
text: errors.firstName
|
|
5613
5047
|
}))), React__default.createElement(reactstrap.Col, {
|
|
5614
5048
|
md: 6
|
|
5615
5049
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5616
|
-
text:
|
|
5050
|
+
text: "Date of birth"
|
|
5617
5051
|
}), React__default.createElement("div", null, React__default.createElement(DatePicker, {
|
|
5618
5052
|
value: values.dateOfBirth,
|
|
5619
5053
|
todayButton: "Today",
|
|
@@ -5626,20 +5060,20 @@ var UserDetail = function UserDetail() {
|
|
|
5626
5060
|
formProps.setFieldValue("dateOfBirth", dateFns.format(e, DATE_FORMAT));
|
|
5627
5061
|
setEditedTrue();
|
|
5628
5062
|
},
|
|
5629
|
-
placeholderText:
|
|
5063
|
+
placeholderText: "Date of birth",
|
|
5630
5064
|
customInput: React__default.createElement(reactstrap.Input, {
|
|
5631
5065
|
type: "text",
|
|
5632
5066
|
style: {
|
|
5633
5067
|
width: "maxContent"
|
|
5634
5068
|
},
|
|
5635
|
-
placeholder:
|
|
5069
|
+
placeholder: "Date of birth"
|
|
5636
5070
|
})
|
|
5637
5071
|
})), touched.dateOfBirth && errors.dateOfBirth && React__default.createElement(ErrorHandler, {
|
|
5638
5072
|
text: errors.dateOfBirth
|
|
5639
5073
|
})))), React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5640
5074
|
md: 6
|
|
5641
5075
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5642
|
-
text:
|
|
5076
|
+
text: "Last name"
|
|
5643
5077
|
}), React__default.createElement(reactstrap.Input, {
|
|
5644
5078
|
name: "lastName",
|
|
5645
5079
|
value: values.lastName,
|
|
@@ -5648,13 +5082,13 @@ var UserDetail = function UserDetail() {
|
|
|
5648
5082
|
setEditedTrue();
|
|
5649
5083
|
},
|
|
5650
5084
|
onBlur: handleBlur("lastName"),
|
|
5651
|
-
placeholder:
|
|
5085
|
+
placeholder: "Last name"
|
|
5652
5086
|
}), touched.lastName && errors.lastName && React__default.createElement(ErrorHandler, {
|
|
5653
5087
|
text: errors.lastName
|
|
5654
5088
|
}))), React__default.createElement(reactstrap.Col, {
|
|
5655
5089
|
md: 6
|
|
5656
5090
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5657
|
-
text:
|
|
5091
|
+
text: "Roles"
|
|
5658
5092
|
}), React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5659
5093
|
md: 12,
|
|
5660
5094
|
className: "d-flex flex-wrap align-items-center"
|
|
@@ -5678,7 +5112,7 @@ var UserDetail = function UserDetail() {
|
|
|
5678
5112
|
})))), React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5679
5113
|
md: 6
|
|
5680
5114
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5681
|
-
text:
|
|
5115
|
+
text: "Email"
|
|
5682
5116
|
}), React__default.createElement(reactstrap.Input, {
|
|
5683
5117
|
name: "email",
|
|
5684
5118
|
value: values.email,
|
|
@@ -5687,20 +5121,20 @@ var UserDetail = function UserDetail() {
|
|
|
5687
5121
|
setEditedTrue();
|
|
5688
5122
|
},
|
|
5689
5123
|
onBlur: handleBlur("email"),
|
|
5690
|
-
placeholder:
|
|
5124
|
+
placeholder: "Email"
|
|
5691
5125
|
}), touched.email && errors.email && React__default.createElement(ErrorHandler, {
|
|
5692
5126
|
text: errors.email
|
|
5693
5127
|
}))), React__default.createElement(reactstrap.Col, {
|
|
5694
5128
|
md: 6
|
|
5695
5129
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5696
|
-
text:
|
|
5130
|
+
text: "Status"
|
|
5697
5131
|
}), React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5698
5132
|
md: 3
|
|
5699
5133
|
}, React__default.createElement(reactstrap.CustomInput, {
|
|
5700
5134
|
id: "role-checkbox-active",
|
|
5701
5135
|
type: "radio",
|
|
5702
5136
|
name: "active",
|
|
5703
|
-
label:
|
|
5137
|
+
label: "Active",
|
|
5704
5138
|
checked: !!values && !!values.isActive,
|
|
5705
5139
|
onChange: function onChange() {
|
|
5706
5140
|
setFieldValue("isActive", true);
|
|
@@ -5712,7 +5146,7 @@ var UserDetail = function UserDetail() {
|
|
|
5712
5146
|
id: "role-checkbox-inActive",
|
|
5713
5147
|
type: "radio",
|
|
5714
5148
|
name: "active",
|
|
5715
|
-
label:
|
|
5149
|
+
label: "Inactive",
|
|
5716
5150
|
checked: !!values && !values.isActive,
|
|
5717
5151
|
onChange: function onChange() {
|
|
5718
5152
|
return setFieldValue("isActive", false);
|
|
@@ -5726,13 +5160,13 @@ var UserDetail = function UserDetail() {
|
|
|
5726
5160
|
onClick: function onClick() {
|
|
5727
5161
|
onResetPw(values.email || "");
|
|
5728
5162
|
}
|
|
5729
|
-
},
|
|
5163
|
+
}, "Send forgot password link"), React__default.createElement(reactstrap.Button, {
|
|
5730
5164
|
color: "success",
|
|
5731
5165
|
onClick: function onClick() {
|
|
5732
5166
|
getFile();
|
|
5733
5167
|
},
|
|
5734
5168
|
className: "ml-4"
|
|
5735
|
-
},
|
|
5169
|
+
}, "Download user data")))), React__default.createElement(reactstrap.Col, {
|
|
5736
5170
|
md: 4
|
|
5737
5171
|
}, React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
|
|
5738
5172
|
md: 8
|
|
@@ -5753,7 +5187,7 @@ var UserDetail = function UserDetail() {
|
|
|
5753
5187
|
}
|
|
5754
5188
|
}))))), user.id === id ? React__default.createElement("div", null, React__default.createElement("h5", {
|
|
5755
5189
|
className: "mt-3"
|
|
5756
|
-
},
|
|
5190
|
+
}, CHANGE_PASSWORD$1), React__default.createElement(formik.Formik, {
|
|
5757
5191
|
initialValues: initialValueForm,
|
|
5758
5192
|
enableReinitialize: true,
|
|
5759
5193
|
validationSchema: changePasswordSchema,
|
|
@@ -5771,7 +5205,7 @@ var UserDetail = function UserDetail() {
|
|
|
5771
5205
|
}, React__default.createElement(reactstrap.Col, {
|
|
5772
5206
|
md: 7
|
|
5773
5207
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5774
|
-
text:
|
|
5208
|
+
text: "Current password"
|
|
5775
5209
|
}), React__default.createElement(reactstrap.Input, {
|
|
5776
5210
|
name: "oldPassword",
|
|
5777
5211
|
type: "password",
|
|
@@ -5781,13 +5215,13 @@ var UserDetail = function UserDetail() {
|
|
|
5781
5215
|
setEditedTrue();
|
|
5782
5216
|
},
|
|
5783
5217
|
onBlur: handleBlur("subject"),
|
|
5784
|
-
placeholder:
|
|
5218
|
+
placeholder: "Current password"
|
|
5785
5219
|
}), touched.oldPassword && errors.oldPassword && React__default.createElement(ErrorHandler, {
|
|
5786
5220
|
text: errors.oldPassword
|
|
5787
5221
|
}))), React__default.createElement(reactstrap.Col, {
|
|
5788
5222
|
md: 7
|
|
5789
5223
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5790
|
-
text:
|
|
5224
|
+
text: "New password"
|
|
5791
5225
|
}), React__default.createElement(reactstrap.Input, {
|
|
5792
5226
|
name: "newPassword",
|
|
5793
5227
|
type: "password",
|
|
@@ -5797,13 +5231,13 @@ var UserDetail = function UserDetail() {
|
|
|
5797
5231
|
setEditedTrue();
|
|
5798
5232
|
},
|
|
5799
5233
|
onBlur: handleBlur("subject"),
|
|
5800
|
-
placeholder:
|
|
5234
|
+
placeholder: "New password"
|
|
5801
5235
|
}), touched.newPassword && errors.newPassword && React__default.createElement(ErrorHandler, {
|
|
5802
5236
|
text: errors.newPassword
|
|
5803
5237
|
}))), React__default.createElement(reactstrap.Col, {
|
|
5804
5238
|
md: 7
|
|
5805
5239
|
}, React__default.createElement(reactstrap.FormGroup, null, React__default.createElement(RequiredLabel$1, {
|
|
5806
|
-
text:
|
|
5240
|
+
text: "Confirm password"
|
|
5807
5241
|
}), React__default.createElement(reactstrap.Input, {
|
|
5808
5242
|
name: "confirmedNewPassword",
|
|
5809
5243
|
type: "password",
|
|
@@ -5813,7 +5247,7 @@ var UserDetail = function UserDetail() {
|
|
|
5813
5247
|
setEditedTrue();
|
|
5814
5248
|
},
|
|
5815
5249
|
onBlur: handleBlur("subject"),
|
|
5816
|
-
placeholder:
|
|
5250
|
+
placeholder: "Confirm password"
|
|
5817
5251
|
}), touched.confirmedNewPassword && errors.confirmedNewPassword && React__default.createElement(ErrorHandler, {
|
|
5818
5252
|
text: errors.confirmedNewPassword
|
|
5819
5253
|
}))), React__default.createElement(reactstrap.Col, {
|
|
@@ -5825,7 +5259,7 @@ var UserDetail = function UserDetail() {
|
|
|
5825
5259
|
onClick: function onClick() {
|
|
5826
5260
|
return handleSubmit();
|
|
5827
5261
|
}
|
|
5828
|
-
},
|
|
5262
|
+
}, "Save")));
|
|
5829
5263
|
})) : null, React__default.createElement(DetailActionButtons, {
|
|
5830
5264
|
confirmText: confirmText,
|
|
5831
5265
|
onConfirm: handleSubmit,
|
|
@@ -7701,7 +7135,6 @@ var initialState = {
|
|
|
7701
7135
|
defaultFontSize: 16,
|
|
7702
7136
|
isEnableIEP: true,
|
|
7703
7137
|
isConversationOneToOne: false,
|
|
7704
|
-
language: "en",
|
|
7705
7138
|
amplitude: {
|
|
7706
7139
|
user_id: "",
|
|
7707
7140
|
status: "",
|
|
@@ -7746,8 +7179,6 @@ var commonReducer = toolkit.createReducer(initialState, function (builder) {
|
|
|
7746
7179
|
state.isEnableIEP = action.payload;
|
|
7747
7180
|
}).addCase(setConversationOneToOne, function (state, action) {
|
|
7748
7181
|
state.isConversationOneToOne = action.payload;
|
|
7749
|
-
}).addCase(setLanguage, function (state, action) {
|
|
7750
|
-
state.language = action.payload;
|
|
7751
7182
|
}).addCase(showFontSize, function (state, action) {
|
|
7752
7183
|
state.defaultFontSize = action.payload;
|
|
7753
7184
|
}).addCase(initAmplitude, function (state, action) {
|
|
@@ -8681,18 +8112,6 @@ var generateRandomString = (function () {
|
|
|
8681
8112
|
|
|
8682
8113
|
var amplitudeClient = amplitude.getInstance();
|
|
8683
8114
|
|
|
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
8115
|
exports.ACCESS_TOKEN = ACCESS_TOKEN;
|
|
8697
8116
|
exports.ANSWER_EDITOR_HEIGHT = ANSWER_EDITOR_HEIGHT;
|
|
8698
8117
|
exports.AcademicClassSelector = AcademicClassSelector;
|
|
@@ -8709,7 +8128,7 @@ exports.CustomTab = CustomTabs;
|
|
|
8709
8128
|
exports.DATE_FORMAT = DATE_FORMAT;
|
|
8710
8129
|
exports.DATE_RESULT = DATE_RESULT;
|
|
8711
8130
|
exports.DEFAULT_FILTER = DEFAULT_FILTER;
|
|
8712
|
-
exports.Dashboard = Dashboard
|
|
8131
|
+
exports.Dashboard = Dashboard;
|
|
8713
8132
|
exports.DeleteButtonIcon = DeleteButtonIcon;
|
|
8714
8133
|
exports.DetailActionButtons = DetailActionButtons;
|
|
8715
8134
|
exports.EMOTIONS = EMOTIONS;
|
|
@@ -8775,7 +8194,6 @@ exports.generateRandomString = generateRandomString;
|
|
|
8775
8194
|
exports.getFileUrl = getFileUrl;
|
|
8776
8195
|
exports.getInfo = getInfo;
|
|
8777
8196
|
exports.getTextFromHTML = getTextFromHTML;
|
|
8778
|
-
exports.i18n = i18n;
|
|
8779
8197
|
exports.initAmplitude = initAmplitude;
|
|
8780
8198
|
exports.isInViewport = isInViewport;
|
|
8781
8199
|
exports.reset = reset;
|
|
@@ -8800,7 +8218,6 @@ exports.setFeedbackList = setFeedbackList;
|
|
|
8800
8218
|
exports.setFilterWidget = setFilterWidget;
|
|
8801
8219
|
exports.setGoalExampleList = setGoalExampleList;
|
|
8802
8220
|
exports.setImproveMyClass = setImproveMyClass;
|
|
8803
|
-
exports.setLanguage = setLanguage;
|
|
8804
8221
|
exports.setLearningSupportCategoryList = setLearningSupportCategoryList;
|
|
8805
8222
|
exports.setLoading = setLoading;
|
|
8806
8223
|
exports.setMailCategory = setMailCategory;
|