mario-core 2.0.199-staging → 2.0.200-staging-hs
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/containers/User/constants/types.d.ts +0 -11
- package/dist/index.js +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/services/userService.d.ts +1 -2
- package/package.json +1 -1
- package/dist/Dashboard-CugiSdB4.mjs +0 -206
- package/dist/Dashboard-qf9npULl.js +0 -1
- package/dist/EmailTemplateDetail-CE5-c_QV.mjs +0 -443
- package/dist/EmailTemplateDetail-Dw0kixuP.js +0 -1
- package/dist/EmailTemplateList-CqDiiF7w.mjs +0 -170
- package/dist/EmailTemplateList-KPgrJG3v.js +0 -1
- package/dist/GalleryList-CDyQ-YQr.mjs +0 -329
- package/dist/GalleryList-Tvng07_L.js +0 -1
- package/dist/Login-BU84tWTC.js +0 -1
- package/dist/Login-BhGwJuBF.mjs +0 -1697
- package/dist/NotificationList-BR_hiPJL.mjs +0 -3982
- package/dist/NotificationList-C8xnm2xI.js +0 -2
- package/dist/SkillList-BorZlrS0.mjs +0 -386
- package/dist/SkillList-_vhtW0L1.js +0 -1
- package/dist/TeacherSelector-BdD7UGaq.mjs +0 -30
- package/dist/TeacherSelector-CCIZb5B_.js +0 -1
- package/dist/TheContent-BTkew2in.js +0 -1
- package/dist/TheContent-DqDPO5U6.mjs +0 -38
- package/dist/UserContainer-BxP5oe20.mjs +0 -2743
- package/dist/UserContainer-FIGPwpsK.js +0 -5
- package/dist/UserDetail-ZMauiyqY.js +0 -1
- package/dist/UserDetail-rip_IBbX.mjs +0 -912
- package/dist/UserList-17eutv2y.js +0 -7
- package/dist/UserList-CpXdnxrU.mjs +0 -1318
- package/dist/constants-D8xQCFQT.js +0 -1
- package/dist/constants-p5r1-3P5.mjs +0 -238
- package/dist/index-C7-4hJTS.mjs +0 -19467
- package/dist/index-FYIU3Vwz.js +0 -15
- package/dist/mailCategoryService-3ZwsuB_U.js +0 -1
- package/dist/mailCategoryService-BQH-Vp0v.mjs +0 -11
- package/dist/userService-CNPvg5WW.js +0 -1
- package/dist/userService-KTSglO8O.mjs +0 -47
|
@@ -64,17 +64,6 @@ export type StudentFilter = {
|
|
|
64
64
|
orderBy?: string;
|
|
65
65
|
isDescending?: boolean;
|
|
66
66
|
cursor?: string;
|
|
67
|
-
Teacher?: string[];
|
|
68
|
-
Assistant?: string[];
|
|
69
|
-
Counselor?: string[];
|
|
70
|
-
SecondaryTeacher?: string[];
|
|
71
|
-
Grade?: string[];
|
|
72
|
-
};
|
|
73
|
-
export type EducatorsOptionsResponse = {
|
|
74
|
-
teachers: IOptions[];
|
|
75
|
-
assistants: IOptions[];
|
|
76
|
-
counselors: IOptions[];
|
|
77
|
-
secondaryTeachers: IOptions[];
|
|
78
67
|
};
|
|
79
68
|
export type UserFilterField = {
|
|
80
69
|
currentPage?: number;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-shLViTKu.js"),t=require("react-i18next");require("react");require("@amplitude/analytics-browser");const s=require("i18next");exports.ACCESS_TOKEN=e.ACCESS_TOKEN;exports.ANSWER_EDITOR_HEIGHT=e.ANSWER_EDITOR_HEIGHT;exports.AcademicClassSelector=e.AcademicClassSelector;exports.AddButton=e.AddButton;exports.BASE_URL=e.BASE_URL;exports.CHAT_CHANNEL=e.CHAT_CHANNEL;exports.CURRICULUM_MAPPING_DATA=e.CURRICULUM_MAPPING_DATA;exports.CategorySelector=e.CategorySelector;exports.CommonAlert=e.CommonAlert;exports.CommonHeader=e.CommonHeader;exports.CommonModal=e.CommonModal;exports.CreatableSelector=e.CreatableSelector;exports.CustomPagination=e.CustomPagination;exports.CustomSelector=e.CustomSelector;exports.CustomTab=e.CustomTabs;exports.DATE_FORMAT=e.DATE_FORMAT;exports.DATE_RESULT=e.DATE_RESULT;exports.DEFAULT_FILTER=e.DEFAULT_FILTER;exports.DEFAULT_GRADE_YEAR_CONFIG=e.DEFAULT_GRADE_YEAR_CONFIG;exports.DEFAULT_LANGUAGE_CODE=e.DEFAULT_LANGUAGE_CODE;exports.Dashboard=e.Dashboard;exports.DeleteButtonIcon=e.DeleteButtonIcon;exports.DetailActionButtons=e.DetailActionButtons;exports.EMOTIONS=e.EMOTIONS;exports.ES_GRADES=e.ES_GRADES;exports.EditButtonIcon=e.EditButtonIcon;exports.EmailTemplateDetail=e.EmailTemplateDetail;exports.EmailTemplateList=e.EmailTemplateList;exports.EmptyDataAlert=e.EmptyDataAlert;exports.ErrorHandler=e.ErrorHandler;exports.FULL_DATE_RESULT=e.FULL_DATE_RESULT;exports.FileInput=e.InputFile;exports.GOOGLE_RECAPTCHA_KEY=e.GOOGLE_RECAPTCHA_KEY;exports.GalleryList=e.GalleryList;exports.GradeYearConfigProvider=e.GradeYearConfigProvider;exports.HS_GRADES=e.HS_GRADES;exports.INIT_AMPLITUDE_KEY_PROD=e.INIT_AMPLITUDE_KEY_PROD;exports.INIT_AMPLITUDE_KEY_STAGE=e.INIT_AMPLITUDE_KEY_STAGE;exports.IS_USER_SESSION_BROWSER=e.IS_USER_SESSION_BROWSER;exports.Images=e.Images;exports.LANGUAGES=e.LANGUAGES;exports.LICENSE_AGGRID=e.LICENSE_AGGRID;exports.LinkEditButton=e.LinkEditButton;exports.Loading=e.Loading;exports.Login=e.Login;exports.MS_GRADES=e.MS_GRADES;exports.NOTIFICATION_ALERT_KEY=e.NOTIFICATION_ALERT_KEY;exports.NOTIFICATION_CHANNEL=e.NOTIFICATION_CHANNEL;exports.NotFound=e.NotFound$1;exports.NotificationList=e.NotificationList;exports.NotificationLogoutModal=e.NotificationLogoutModal;exports.NotificationModal=e.NotificationModal;exports.QUESTION_TYPES=e.QUESTION_TYPES;exports.QUESTION_TYPES_OPTIONS=e.QUESTION_TYPES_OPTIONS;exports.QuestionCategorySelector=e.QuestionCategorySelector;exports.QuestionTypeSelector=e.QuestionTypeSelector;exports.QuitPrompt=e.QuitPrompt;exports.RequiredLabel=e.RequiredLabel;exports.SANDBOX_NOTIFICATION=e.SANDBOX_NOTIFICATION;exports.SUPPORTED_LANGUAGES_CODE=e.SUPPORTED_LANGUAGES_CODE;exports.SandboxAlert=e.SandboxAlert;exports.SchoolList=e.SchoolList;exports.ScrollToTop=e.ScrollToTop;exports.SearchBox=e.SearchBox;exports.SearchBoxContainer=e.SearchBoxContainer;exports.SkillList=e.SkillList;exports.StarRatingSelector=e.StarRatingSelector;exports.SuggestionCategorySelector=e.SuggestionCategorySelector;exports.TAB_COLORS=e.TAB_COLORS;exports.TINY_MCE_API_KEY=e.TINY_MCE_API_KEY;exports.TheContent=e.TheContent;exports.ToggleButton=e.ToggleButton;exports.UploadFileButton=e.UploadFileButton;exports.UserContainer=e.UserContainer;exports.UserDetail=e.UserDetail;exports.UserList=e.UserList;exports.addTab=e.addTab;exports.amplitudeClient=e.amplitudeClient;exports.answerQuestion=e.answerQuestion;exports.answerQuestionDataPlayer=e.answerQuestionDataPlayer;exports.api=e.api;exports.apiUpload=e.apiUpload;exports.canAccessRoute=e.canAccess;exports.changeNote=e.changeNote;exports.changeTags=e.changeTags;exports.clearTab=e.clearTab;exports.closeTab=e.closeTab;exports.debounce=e.debounce;exports.editTab=e.editTab;exports.editorConfig=e.editorConfig;exports.findCurriculumMappingItem=e.findCurriculumMappingItem;exports.firstCheckToken=e.firstCheckToken;exports.formatGradeCompactList=e.formatGradeCompactList;exports.formatGradeLabel=e.formatGradeLabel;exports.formatGradeList=e.formatGradeList;exports.generateRandomString=e.generateRandomString;exports.getAccessToken=e.getAccessToken;exports.getCookieValue=e.getCookieValue;exports.getFileUrl=e.getFileUrl;exports.getInfo=e.getInfo;exports.getStaticFileUrl=e.getStaticFileUrl;exports.getTextFromHTML=e.getTextFromHTML;exports.initAmplitude=e.initAmplitude;exports.isInViewport=e.isInViewport;exports.isLocalhost=e.isLocalhost;exports.navigateBySchoolLevel=e.navigateBySchoolLevel;exports.normalizeEducationalSystem=e.normalizeEducationalSystem;exports.reset=e.reset;exports.setAlert=e.setAlert;exports.setAssessmentList=e.setAssessmentList;exports.setAssignmentList=e.setAssignmentList;exports.setAssistantList=e.setAssistantList;exports.setBadgeList=e.setBadgeList;exports.setBandScoreList=e.setBandScoreList;exports.setCertificateList=e.setCertificateList;exports.setClassList=e.setClassList;exports.setConferenceRubricList=e.setConferenceRubricList;exports.setConversationOneToOne=e.setConversationOneToOne;exports.setCurrentStudentId=e.setCurrentStudentId;exports.setCurrentStudentName=e.setCurrentStudentName;exports.setCurrentStudentUserId=e.setCurrentStudentUserId;exports.setCustomAlertList=e.setCustomAlertList;exports.setDataPlayer=e.setDataPlayer;exports.setEditItemQuesion=e.setEditItemQuesion;exports.setEnableIEP=e.setEnableIEP;exports.setEnableMarioAi=e.setEnableMarioAi;exports.setEnableSurvey=e.setEnableSurvey;exports.setEnableWellBeing=e.setEnableWellBeing;exports.setEnvironment=e.setEnvironment;exports.setFeedbackList=e.setFeedbackList;exports.setFilterWidget=e.setFilterWidget;exports.setGoalExampleList=e.setGoalExampleList;exports.setGradeYearConfig=e.setGradeYearConfig;exports.setImproveMyClass=e.setImproveMyClass;exports.setLanguage=e.setLanguage;exports.setLearningSupportCategoryList=e.setLearningSupportCategoryList;exports.setLoading=e.setLoading;exports.setMailCategory=e.setMailCategory;exports.setModal=e.setModal;exports.setMoveItemQuestion=e.setMoveItemQuestion;exports.setMyStudent=e.setMyStudent;exports.setNewLog11Conversation=e.setNewLog11Conversation;exports.setOpenModelCongratulation=e.setOpenModelCongratulation;exports.setQuestionByCategory=e.setQuestionByCategory;exports.setQuestionCateList=e.setQuestionCateList;exports.setQuestionList=e.setQuestionList;exports.setReflectionList=e.setReflectionList;exports.setReflectionResultList=e.setReflectionResultList;exports.setResetQuestionList=e.setResetQuestionList;exports.setSandboxMode=e.setSandboxMode;exports.setSchoolBlankDayList=e.setSchoolBlankDayList;exports.setSelectQuestion=e.setSelectQuestion;exports.setSemesterList=e.setSemesterList;exports.setSessionPlayer=e.setSessionPlayer;exports.setSessionTemplateGeneralClassList=e.setSessionTemplateGeneralClassList;exports.setSessionTemplateList=e.setSessionTemplateList;exports.setStartTime=e.setStartTime;exports.setStrategyList=e.setStrategyList;exports.setStudentIdSelectedByTeacher=e.setStudentIdSelectedByTeacher;exports.setStudentList=e.setStudentList;exports.setSubjectList=e.setSubjectList;exports.setSuggestionList=e.setSuggestionList;exports.setTurnOffPassWhenChangeMode=e.setTurnOffPassWhenChangeMode;exports.setTutorialScreenList=e.setTutorialScreenList;exports.setUser=e.setUser;exports.setUserList=e.setUserList;exports.setWeeklyQuestList=e.setWeeklyQuestList;exports.showFontSize=e.showFontSize;exports.showMenuBar=e.showMenuBar;exports.store=e.store;exports.systemCertificateUpload=e.systemCertificateUpload;exports.systemStudentBadge=e.systemStudentBadge;exports.uploadFile=e.uploadFile;exports.useFilters=e.useFilters;exports.useGalleryList=e.useGalleryList;exports.useGradeLabel=e.useGradeLabel;exports.utcToLocalTime=e.formatLocalTime;Object.defineProperty(exports,"I18nextProvider",{enumerable:!0,get:()=>t.I18nextProvider});Object.defineProperty(exports,"useTranslation",{enumerable:!0,get:()=>t.useTranslation});exports.i18n=s;
|
package/dist/index.modern.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as o, aC as i, aD as n, Q as r, B as l, aE as c, aF as b, aG as S, aH as L, aI as u, a1 as E, aJ as T, V as d, a0 as C, a9 as A, ak as m, S as g, aK as I, aL as _, aM as N, aN as R, T as p, $ as O, aO as D, q as U, aP as G, aQ as y, aR as f, U as B, E as M, aS as P, aT as F, aU as h, aV as Q, aW as Y, ai as k, o as v, p as x, I as H, aA as K, aX as w, aY as W, R as V, aZ as j, a_ as q, a$ as z, N as X, b0 as Z, b1 as $, b2 as J, b3 as aa, b4 as sa, b5 as ea, b6 as ta, b7 as oa, b8 as ia, Y as na, Z as ra, b9 as la, ba as ca, bb as ba, bc as Sa, bd as La, a3 as ua, af as Ea, be as Ta, bf as da, bg as Ca, bh as Aa, bi as ma, bj as ga, bk as Ia, an as _a, bl as Na, bm as Ra, bn as pa, bo as Oa, bp as Da, bq as Ua, br as Ga, i as ya, a7 as fa, bs as Ba, bt as Ma, bu as Pa, bv as Fa, bw as ha, bx as Qa, by as Ya, _ as ka, bz as va, bA as xa, bB as Ha, bC as Ka, bD as wa, bE as Wa, g as Va, k as ja, m as qa, t as za, h as Xa, bF as Za, bG as $a, bH as Ja, j as as, C as ss, bI as es, bJ as ts, c as os, bK as is, bL as ns, bM as rs, bN as ls, bO as cs, bP as bs, bQ as Ss, bR as Ls, bS as us, bT as Es, bU as Ts, bV as ds, bW as Cs, bX as As, bY as ms, bZ as gs, b_ as Is, b$ as _s, c0 as Ns, c1 as Rs, c2 as ps, c3 as Os, c4 as Ds, c5 as Us, c6 as Gs, c7 as ys, c8 as fs, b as Bs, O as Ms, P as Ps, c9 as Fs, ca as hs, cb as Qs, cc as Ys, cd as ks, ce as vs, cf as xs, cg as Hs, ch as Ks, ci as ws, D as Ws, cj as Vs, ck as js, cl as qs, cm as zs, cn as Xs, co as Zs, cp as $s, cq as Js, cr as ae, cs as se, ct as ee, cu as te, cv as oe, cw as ie, n as ne, aa as re, cx as le, cy as ce, cz as be, cA as Se, cB as Le, cC as ue, cD as Ee, K as Te, aB as de, u as Ce, ae as Ae } from "./index-
|
|
1
|
+
import { d as o, aC as i, aD as n, Q as r, B as l, aE as c, aF as b, aG as S, aH as L, aI as u, a1 as E, aJ as T, V as d, a0 as C, a9 as A, ak as m, S as g, aK as I, aL as _, aM as N, aN as R, T as p, $ as O, aO as D, q as U, aP as G, aQ as y, aR as f, U as B, E as M, aS as P, aT as F, aU as h, aV as Q, aW as Y, ai as k, o as v, p as x, I as H, aA as K, aX as w, aY as W, R as V, aZ as j, a_ as q, a$ as z, N as X, b0 as Z, b1 as $, b2 as J, b3 as aa, b4 as sa, b5 as ea, b6 as ta, b7 as oa, b8 as ia, Y as na, Z as ra, b9 as la, ba as ca, bb as ba, bc as Sa, bd as La, a3 as ua, af as Ea, be as Ta, bf as da, bg as Ca, bh as Aa, bi as ma, bj as ga, bk as Ia, an as _a, bl as Na, bm as Ra, bn as pa, bo as Oa, bp as Da, bq as Ua, br as Ga, i as ya, a7 as fa, bs as Ba, bt as Ma, bu as Pa, bv as Fa, bw as ha, bx as Qa, by as Ya, _ as ka, bz as va, bA as xa, bB as Ha, bC as Ka, bD as wa, bE as Wa, g as Va, k as ja, m as qa, t as za, h as Xa, bF as Za, bG as $a, bH as Ja, j as as, C as ss, bI as es, bJ as ts, c as os, bK as is, bL as ns, bM as rs, bN as ls, bO as cs, bP as bs, bQ as Ss, bR as Ls, bS as us, bT as Es, bU as Ts, bV as ds, bW as Cs, bX as As, bY as ms, bZ as gs, b_ as Is, b$ as _s, c0 as Ns, c1 as Rs, c2 as ps, c3 as Os, c4 as Ds, c5 as Us, c6 as Gs, c7 as ys, c8 as fs, b as Bs, O as Ms, P as Ps, c9 as Fs, ca as hs, cb as Qs, cc as Ys, cd as ks, ce as vs, cf as xs, cg as Hs, ch as Ks, ci as ws, D as Ws, cj as Vs, ck as js, cl as qs, cm as zs, cn as Xs, co as Zs, cp as $s, cq as Js, cr as ae, cs as se, ct as ee, cu as te, cv as oe, cw as ie, n as ne, aa as re, cx as le, cy as ce, cz as be, cA as Se, cB as Le, cC as ue, cD as Ee, K as Te, aB as de, u as Ce, ae as Ae } from "./index-DY2l1uqh.mjs";
|
|
2
2
|
import { I18nextProvider as ge, useTranslation as Ie } from "react-i18next";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@amplitude/analytics-browser";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Filter, UserRosterFilter } from "../types/Filter";
|
|
2
2
|
import { ResetPasswordDto } from "../types/user";
|
|
3
|
-
import { AssignStudentDto,
|
|
3
|
+
import { AssignStudentDto, StudentFilter, UserFilter, UserFilterField } from "../containers/User/constants/types";
|
|
4
4
|
export declare const get: (filter: Filter) => Promise<import("axios").AxiosResponse<any, any, {}, Filter>>;
|
|
5
5
|
export declare const getRosterUser: (filter: UserFilter) => Promise<import("axios").AxiosResponse<any, any, {}, UserFilter>>;
|
|
6
6
|
export declare const getFilterRosterUser: (filter: UserFilterField) => Promise<import("axios").AxiosResponse<any, any, {}, UserFilterField>>;
|
|
@@ -39,7 +39,6 @@ export declare const syncRosterUsersApi: () => Promise<import("axios").AxiosResp
|
|
|
39
39
|
export declare const triggerAllRosterSyncApi: () => Promise<import("axios").AxiosResponse<any, any, {}, any>>;
|
|
40
40
|
export declare const resetPasswordForAdmin: (data: ResetPasswordDto) => Promise<import("axios").AxiosResponse<any, ResetPasswordDto, {}, any>>;
|
|
41
41
|
export declare const getAssignStudentApi: (filter: StudentFilter) => Promise<import("axios").AxiosResponse<any, any, {}, StudentFilter>>;
|
|
42
|
-
export declare const getEducatorsOptionsApi: () => Promise<import("axios").AxiosResponse<EducatorsOptionsResponse, any, {}, any>>;
|
|
43
42
|
export declare const getCounselors: () => Promise<import("axios").AxiosResponse<any, any, {}, any>>;
|
|
44
43
|
export declare const getAssistants: () => Promise<import("axios").AxiosResponse<any, any, {}, any>>;
|
|
45
44
|
export declare const getSecondaryTeachers: () => Promise<import("axios").AxiosResponse<any, any, {}, any>>;
|
package/package.json
CHANGED
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as N, useRef as I, useCallback as h, useEffect as f } from "react";
|
|
3
|
-
import { useSelector as k } from "react-redux";
|
|
4
|
-
import { Row as T, Col as u, Navbar as C, NavbarBrand as y, Collapse as E, Nav as A, NavItem as g, NavLink as p } from "reactstrap";
|
|
5
|
-
import { s as n, h as m, H } from "./index-C7-4hJTS.mjs";
|
|
6
|
-
import { Link as v } from "react-router-dom";
|
|
7
|
-
const M = () => /* @__PURE__ */ a("div", { className: `${n["content-quote"]}`, children: [
|
|
8
|
-
/* @__PURE__ */ a("div", { className: `${n["title-quote"]} d-block`, children: [
|
|
9
|
-
/* @__PURE__ */ e("p", { children: "Powerful" }),
|
|
10
|
-
/* @__PURE__ */ e("p", { children: "Personalized" }),
|
|
11
|
-
/* @__PURE__ */ e("p", { children: "Learning" })
|
|
12
|
-
] }),
|
|
13
|
-
/* @__PURE__ */ a(
|
|
14
|
-
"div",
|
|
15
|
-
{
|
|
16
|
-
className: `${n["descriptions-quote"]} d-block`,
|
|
17
|
-
children: [
|
|
18
|
-
/* @__PURE__ */ e("p", { children: "Focus on what matters most to you and" }),
|
|
19
|
-
/* @__PURE__ */ e("p", { children: "make learning meaningful." })
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
)
|
|
23
|
-
] }), w = ({ srcIcon: r, content: t }) => /* @__PURE__ */ a("div", { className: `${n["content-icon"]}`, children: [
|
|
24
|
-
/* @__PURE__ */ e("div", { className: `${n["title-icon"]}`, children: /* @__PURE__ */ e("img", { src: m(r), alt: "icon" }) }),
|
|
25
|
-
/* @__PURE__ */ e(
|
|
26
|
-
"div",
|
|
27
|
-
{
|
|
28
|
-
className: `${n["descriptions-icon"]}`,
|
|
29
|
-
dangerouslySetInnerHTML: { __html: t }
|
|
30
|
-
}
|
|
31
|
-
)
|
|
32
|
-
] }, t), D = [
|
|
33
|
-
{
|
|
34
|
-
scrIcon: "/images/ChatsTeardrop.svg",
|
|
35
|
-
content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
scrIcon: "/images/Student.svg",
|
|
39
|
-
content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
scrIcon: "/images/Confetti.svg",
|
|
43
|
-
content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
|
|
44
|
-
}
|
|
45
|
-
], L = ({}) => /* @__PURE__ */ a(T, { className: `${n["page-not-login"]}`, children: [
|
|
46
|
-
/* @__PURE__ */ e(u, { md: 12, children: /* @__PURE__ */ e(M, {}) }),
|
|
47
|
-
/* @__PURE__ */ e(u, { md: 12, className: `${n["box-content-home-page"]} d-flex align-items-center`, children: D.map((r) => /* @__PURE__ */ e(
|
|
48
|
-
w,
|
|
49
|
-
{
|
|
50
|
-
srcIcon: r.scrIcon,
|
|
51
|
-
content: r.content
|
|
52
|
-
},
|
|
53
|
-
r.scrIcon
|
|
54
|
-
)) })
|
|
55
|
-
] });
|
|
56
|
-
function O(r) {
|
|
57
|
-
return H({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z" } }] })(r);
|
|
58
|
-
}
|
|
59
|
-
const S = 1e4, _ = ({
|
|
60
|
-
data: r,
|
|
61
|
-
duration: t = S
|
|
62
|
-
}) => {
|
|
63
|
-
const [o, l] = N(r.length), s = I(null), d = h((c) => c === o ? `${n.active} ${n.show}` : "", [o]), $ = h((c) => o === 0 && c === r.length - 1 || c === o - 1 ? n.behind : "", [o, r.length]), b = h(() => {
|
|
64
|
-
s && s.current && clearInterval(s.current), s.current = setInterval(() => {
|
|
65
|
-
l((c) => c >= r.length - 1 ? 0 : c + 1);
|
|
66
|
-
}, t);
|
|
67
|
-
}, [t, r.length]);
|
|
68
|
-
return f(() => (b(), () => {
|
|
69
|
-
s && s.current && clearInterval(s.current);
|
|
70
|
-
}), [r.length, t]), /* @__PURE__ */ e("div", { className: `${n["bg-animate"]} position-absolute`, children: r.map((c, i) => /* @__PURE__ */ e(
|
|
71
|
-
"img",
|
|
72
|
-
{
|
|
73
|
-
alt: `Image ${i + 1}`,
|
|
74
|
-
className: `${$(i)} ${d(i)}`,
|
|
75
|
-
src: m(c)
|
|
76
|
-
},
|
|
77
|
-
i
|
|
78
|
-
)) });
|
|
79
|
-
}, j = "/admin/users/user-list", x = "/home", B = "/home", R = "Dashboard", U = "Mario Education", z = [
|
|
80
|
-
"images/landing-page.jpg",
|
|
81
|
-
"images/landing-page2.jpg",
|
|
82
|
-
"images/landing-page3.jpg"
|
|
83
|
-
], J = ({ version: r }) => {
|
|
84
|
-
const [t, o] = N(!1), l = k((d) => d.common.user), s = () => o(!t);
|
|
85
|
-
return f(() => {
|
|
86
|
-
l ? document.title = R : document.title = U;
|
|
87
|
-
}, [l]), /* @__PURE__ */ a(
|
|
88
|
-
"div",
|
|
89
|
-
{
|
|
90
|
-
className: `${n.login} ${n["red-background"]} position-relative`,
|
|
91
|
-
children: [
|
|
92
|
-
/* @__PURE__ */ e(
|
|
93
|
-
"span",
|
|
94
|
-
{
|
|
95
|
-
className: `${n["version-prod"]}`,
|
|
96
|
-
children: `v ${r}`
|
|
97
|
-
}
|
|
98
|
-
),
|
|
99
|
-
/* @__PURE__ */ e(_, { data: z }),
|
|
100
|
-
/* @__PURE__ */ a("div", { className: `${n["login-content"]}`, children: [
|
|
101
|
-
/* @__PURE__ */ a(C, { light: !0, expand: "md", children: [
|
|
102
|
-
/* @__PURE__ */ e(y, { href: "/", className: `${n["logo-home"]}`, children: /* @__PURE__ */ e(
|
|
103
|
-
"img",
|
|
104
|
-
{
|
|
105
|
-
src: m("/images/logo-white.svg"),
|
|
106
|
-
alt: "mario"
|
|
107
|
-
}
|
|
108
|
-
) }),
|
|
109
|
-
/* @__PURE__ */ e(
|
|
110
|
-
O,
|
|
111
|
-
{
|
|
112
|
-
onClick: s,
|
|
113
|
-
className: `${n["hide-in-desktop"]} ${n["hamburger-menu"]}`
|
|
114
|
-
}
|
|
115
|
-
),
|
|
116
|
-
/* @__PURE__ */ a(
|
|
117
|
-
E,
|
|
118
|
-
{
|
|
119
|
-
isOpen: t,
|
|
120
|
-
navbar: !0,
|
|
121
|
-
className: `${n["collapse-box"]}`,
|
|
122
|
-
children: [
|
|
123
|
-
/* @__PURE__ */ a(
|
|
124
|
-
A,
|
|
125
|
-
{
|
|
126
|
-
className: `${n["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,
|
|
127
|
-
navbar: !0,
|
|
128
|
-
children: [
|
|
129
|
-
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
130
|
-
p,
|
|
131
|
-
{
|
|
132
|
-
className: `${n["learn-more"]} align-self-md-center`,
|
|
133
|
-
href: "https://marioframework.com/software",
|
|
134
|
-
target: "blank",
|
|
135
|
-
children: "Learn More"
|
|
136
|
-
}
|
|
137
|
-
) }),
|
|
138
|
-
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
139
|
-
p,
|
|
140
|
-
{
|
|
141
|
-
className: `${n["learn-more"]} align-self-md-center`,
|
|
142
|
-
href: "mailto: Info@marioeducation.com",
|
|
143
|
-
target: "blank",
|
|
144
|
-
children: "Contact"
|
|
145
|
-
}
|
|
146
|
-
) }),
|
|
147
|
-
/* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
|
|
148
|
-
p,
|
|
149
|
-
{
|
|
150
|
-
className: `${n["learn-more"]} align-self-md-center`,
|
|
151
|
-
href: "/privacy-policy",
|
|
152
|
-
target: "blank",
|
|
153
|
-
children: "Privacy Policy"
|
|
154
|
-
}
|
|
155
|
-
) })
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
),
|
|
159
|
-
/* @__PURE__ */ e(
|
|
160
|
-
"div",
|
|
161
|
-
{
|
|
162
|
-
className: `${n["hide-in-mobile"]} d-flex justify-content-end`,
|
|
163
|
-
children: l ? /* @__PURE__ */ e(
|
|
164
|
-
v,
|
|
165
|
-
{
|
|
166
|
-
to: l.roles.includes("Admin") ? j : l.roles.includes("Teacher") ? x : B,
|
|
167
|
-
className: `${n["btn-trans-border"]}`,
|
|
168
|
-
children: "Dashboard"
|
|
169
|
-
}
|
|
170
|
-
) : /* @__PURE__ */ e(
|
|
171
|
-
v,
|
|
172
|
-
{
|
|
173
|
-
to: "/login",
|
|
174
|
-
className: `${n["btn-trans-border"]}`,
|
|
175
|
-
children: "Login"
|
|
176
|
-
}
|
|
177
|
-
)
|
|
178
|
-
}
|
|
179
|
-
)
|
|
180
|
-
]
|
|
181
|
-
}
|
|
182
|
-
)
|
|
183
|
-
] }),
|
|
184
|
-
/* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e(L, {}) }),
|
|
185
|
-
/* @__PURE__ */ e("div", { className: `${n["digital-privacy-icon"]}`, children: /* @__PURE__ */ e(
|
|
186
|
-
"a",
|
|
187
|
-
{
|
|
188
|
-
href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
|
|
189
|
-
target: "blank",
|
|
190
|
-
children: /* @__PURE__ */ e(
|
|
191
|
-
"img",
|
|
192
|
-
{
|
|
193
|
-
src: m("/images/STUDENT.png"),
|
|
194
|
-
alt: "icon"
|
|
195
|
-
}
|
|
196
|
-
)
|
|
197
|
-
}
|
|
198
|
-
) })
|
|
199
|
-
] })
|
|
200
|
-
]
|
|
201
|
-
}
|
|
202
|
-
);
|
|
203
|
-
};
|
|
204
|
-
export {
|
|
205
|
-
J as default
|
|
206
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),p=require("react-redux"),n=require("reactstrap"),s=require("./index-FYIU3Vwz.js"),g=require("react-router-dom"),j=()=>e.jsxs("div",{className:`${s.styles["content-quote"]}`,children:[e.jsxs("div",{className:`${s.styles["title-quote"]} d-block`,children:[e.jsx("p",{children:"Powerful"}),e.jsx("p",{children:"Personalized"}),e.jsx("p",{children:"Learning"})]}),e.jsxs("div",{className:`${s.styles["descriptions-quote"]} d-block`,children:[e.jsx("p",{children:"Focus on what matters most to you and"}),e.jsx("p",{children:"make learning meaningful."})]})]}),x=({srcIcon:t,content:a})=>e.jsxs("div",{className:`${s.styles["content-icon"]}`,children:[e.jsx("div",{className:`${s.styles["title-icon"]}`,children:e.jsx("img",{src:s.getStaticFileUrl(t),alt:"icon"})}),e.jsx("div",{className:`${s.styles["descriptions-icon"]}`,dangerouslySetInnerHTML:{__html:a}})]},a),v=[{scrIcon:"/images/ChatsTeardrop.svg",content:"<p>Understand yourself better through <span>helpful feedback</span>.</p>"},{scrIcon:"/images/Student.svg",content:"<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"},{scrIcon:"/images/Confetti.svg",content:"<p>Set, monitor, and achieve <span>your goals</span>.</p>"}],y=({})=>e.jsxs(n.Row,{className:`${s.styles["page-not-login"]}`,children:[e.jsx(n.Col,{md:12,children:e.jsx(j,{})}),e.jsx(n.Col,{md:12,className:`${s.styles["box-content-home-page"]} d-flex align-items-center`,children:v.map(t=>e.jsx(x,{srcIcon:t.scrIcon,content:t.content},t.scrIcon))})]});function N(t){return s.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(t)}const b=1e4,f=({data:t,duration:a=b})=>{const[i,o]=c.useState(t.length),r=c.useRef(null),d=c.useCallback(l=>l===i?`${s.styles.active} ${s.styles.show}`:"",[i]),h=c.useCallback(l=>i===0&&l===t.length-1||l===i-1?s.styles.behind:"",[i,t.length]),u=c.useCallback(()=>{r&&r.current&&clearInterval(r.current),r.current=setInterval(()=>{o(l=>l>=t.length-1?0:l+1)},a)},[a,t.length]);return c.useEffect(()=>(u(),()=>{r&&r.current&&clearInterval(r.current)}),[t.length,a]),e.jsx("div",{className:`${s.styles["bg-animate"]} position-absolute`,children:t.map((l,m)=>e.jsx("img",{alt:`Image ${m+1}`,className:`${h(m)} ${d(m)}`,src:s.getStaticFileUrl(l)},m))})},I="/admin/users/user-list",$="/home",k="/home",C="Dashboard",T="Mario Education",S=["images/landing-page.jpg","images/landing-page2.jpg","images/landing-page3.jpg"],E=({version:t})=>{const[a,i]=c.useState(!1),o=p.useSelector(d=>d.common.user),r=()=>i(!a);return c.useEffect(()=>{o?document.title=C:document.title=T},[o]),e.jsxs("div",{className:`${s.styles.login} ${s.styles["red-background"]} position-relative`,children:[e.jsx("span",{className:`${s.styles["version-prod"]}`,children:`v ${t}`}),e.jsx(f,{data:S}),e.jsxs("div",{className:`${s.styles["login-content"]}`,children:[e.jsxs(n.Navbar,{light:!0,expand:"md",children:[e.jsx(n.NavbarBrand,{href:"/",className:`${s.styles["logo-home"]}`,children:e.jsx("img",{src:s.getStaticFileUrl("/images/logo-white.svg"),alt:"mario"})}),e.jsx(N,{onClick:r,className:`${s.styles["hide-in-desktop"]} ${s.styles["hamburger-menu"]}`}),e.jsxs(n.Collapse,{isOpen:a,navbar:!0,className:`${s.styles["collapse-box"]}`,children:[e.jsxs(n.Nav,{className:`${s.styles["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,navbar:!0,children:[e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"https://marioframework.com/software",target:"blank",children:"Learn More"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"mailto: Info@marioeducation.com",target:"blank",children:"Contact"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"/privacy-policy",target:"blank",children:"Privacy Policy"})})]}),e.jsx("div",{className:`${s.styles["hide-in-mobile"]} d-flex justify-content-end`,children:o?e.jsx(g.Link,{to:o.roles.includes("Admin")?I:o.roles.includes("Teacher")?$:k,className:`${s.styles["btn-trans-border"]}`,children:"Dashboard"}):e.jsx(g.Link,{to:"/login",className:`${s.styles["btn-trans-border"]}`,children:"Login"})})]})]}),e.jsx("div",{className:"",children:e.jsx(y,{})}),e.jsx("div",{className:`${s.styles["digital-privacy-icon"]}`,children:e.jsx("a",{href:"https://cert.privo.com/#/companies/marioFrameworkLlc",target:"blank",children:e.jsx("img",{src:s.getStaticFileUrl("/images/STUDENT.png"),alt:"icon"})})})]})]})};exports.default=E;
|