@cuemath/leap 3.3.26-m → 3.3.26
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/features/auth/account-selector/account-selector-styled.js +6 -5
- package/dist/features/auth/account-selector/account-selector-styled.js.map +1 -1
- package/dist/features/auth/account-selector/account-selector.js +52 -58
- package/dist/features/auth/account-selector/account-selector.js.map +1 -1
- package/dist/features/auth/account-selector/comps/compact-header/account-selector-header.js +31 -0
- package/dist/features/auth/account-selector/comps/compact-header/account-selector-header.js.map +1 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styled.js +1 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styled.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-list-styled.js +3 -2
- package/dist/features/auth/comps/user-list/user-list-styled.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js +1 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
- package/dist/features/journey/use-journey/constants.js +18 -2
- package/dist/features/journey/use-journey/constants.js.map +1 -1
- package/dist/features/journey/use-journey/use-journey.js +10 -7
- package/dist/features/journey/use-journey/use-journey.js.map +1 -1
- package/dist/features/parent-dashboard/comps/compact-header/compact-header.js +16 -16
- package/dist/features/parent-dashboard/comps/compact-header/compact-header.js.map +1 -1
- package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs-constants.js +29 -13
- package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs-constants.js.map +1 -1
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js +21 -19
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js.map +1 -1
- package/dist/features/parent-dashboard/hooks/use-fetch-parent-home.js +28 -0
- package/dist/features/parent-dashboard/hooks/use-fetch-parent-home.js.map +1 -0
- package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +35 -48
- package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -1
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js +11 -9
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js.map +1 -1
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js +6 -6
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js.map +1 -1
- package/dist/features/parent-dashboard/parent-dashboard-styled.js +2 -2
- package/dist/features/parent-dashboard/parent-dashboard-styled.js.map +1 -1
- package/dist/features/parent-dashboard/parent-dashboard-types.js.map +1 -1
- package/dist/features/parent-dashboard/parent-dashboard-view.js +110 -110
- package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -1
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js +40 -35
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js.map +1 -1
- package/dist/index.d.ts +78 -7
- package/dist/index.js +117 -113
- package/dist/index.js.map +1 -1
- package/dist/node_modules/decode-uri-component/index.js.map +1 -0
- package/dist/node_modules/query-string/base.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/package.json +1 -1
- package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
- /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
|
|
1
|
+
import o from "styled-components";
|
|
2
|
+
import r from "../../ui/layout/flex-view.js";
|
|
3
|
+
const i = o(r)`
|
|
4
|
+
overflow-y: auto;
|
|
5
|
+
width: 100%;
|
|
5
6
|
`;
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
i as UserListWrapper
|
|
8
9
|
};
|
|
9
10
|
//# sourceMappingURL=account-selector-styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-selector-styled.js","sources":["../../../../src/features/auth/account-selector/account-selector-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport
|
|
1
|
+
{"version":3,"file":"account-selector-styled.js","sources":["../../../../src/features/auth/account-selector/account-selector-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../ui/layout/flex-view';\n\nexport const UserListWrapper = styled(FlexView)`\n overflow-y: auto;\n width: 100%;\n`;\n"],"names":["UserListWrapper","styled","FlexView"],"mappings":";;AAIa,MAAAA,IAAkBC,EAAOC,CAAQ;AAAA;AAAA;AAAA;"}
|
|
@@ -1,70 +1,64 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { useTheme as
|
|
4
|
-
import { ILLUSTRATIONS as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { EDeviceType as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { memo as h } from "react";
|
|
3
|
+
import { useTheme as d } from "styled-components";
|
|
4
|
+
import { ILLUSTRATIONS as $ } from "../../../assets/illustrations/illustrations.js";
|
|
5
|
+
import u from "../../ui/image/image.js";
|
|
6
|
+
import c from "../../ui/layout/flex-view.js";
|
|
7
|
+
import s from "../../ui/separator/separator.js";
|
|
8
|
+
import g from "../../ui/text/text.js";
|
|
9
|
+
import { EDeviceType as a } from "../../ui/theme/constants.js";
|
|
10
|
+
import x from "../comps/overlay-loader/overlay-loader.js";
|
|
11
|
+
import T from "../comps/user-list/user-list.js";
|
|
12
|
+
import { UserListWrapper as I } from "./account-selector-styled.js";
|
|
13
|
+
import L from "./comps/compact-header/account-selector-header.js";
|
|
14
|
+
const C = ({
|
|
15
|
+
userAccounts: o,
|
|
16
|
+
onSelect: f,
|
|
17
|
+
onAddNew: l,
|
|
18
|
+
isLoading: p,
|
|
19
|
+
onGoBack: i
|
|
18
20
|
}) => {
|
|
19
|
-
const { device:
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
-
|
|
21
|
+
const { device: n } = d(), t = n <= a.TABLET, r = n === a.MOBILE;
|
|
22
|
+
return /* @__PURE__ */ m(
|
|
23
|
+
c,
|
|
22
24
|
{
|
|
23
|
-
$flex:
|
|
24
|
-
$
|
|
25
|
-
$justifyContent: "center",
|
|
25
|
+
$alignItems: r ? "flex-start" : "center",
|
|
26
|
+
$justifyContent: r ? "flex-start" : "center",
|
|
26
27
|
$width: "100%",
|
|
27
|
-
$height: "
|
|
28
|
-
$gapX: 2,
|
|
28
|
+
$height: "100dvh",
|
|
29
|
+
$gapX: t ? 0 : 2,
|
|
29
30
|
children: [
|
|
30
|
-
/* @__PURE__ */ e(
|
|
31
|
-
/* @__PURE__ */ e(
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
i.length > 0 && /* @__PURE__ */ r(s, { children: [
|
|
36
|
-
/* @__PURE__ */ e(u, { users: i, onSelect: c, onAddNew: h }),
|
|
37
|
-
/* @__PURE__ */ e(o, { heightX: a ? 1.5 : 5 }),
|
|
38
|
-
/* @__PURE__ */ r(
|
|
39
|
-
t,
|
|
31
|
+
typeof i == "function" && /* @__PURE__ */ e(L, { onGoBack: i }),
|
|
32
|
+
/* @__PURE__ */ e(x, { isLoading: p }),
|
|
33
|
+
!t && /* @__PURE__ */ m(c, { $justifyContent: "center", $alignItems: "center", children: [
|
|
34
|
+
/* @__PURE__ */ e(
|
|
35
|
+
u,
|
|
40
36
|
{
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
$borderColor: "BLACK_5",
|
|
46
|
-
$background: "BLACK_3",
|
|
47
|
-
$flexDirection: "row",
|
|
48
|
-
children: [
|
|
49
|
-
/* @__PURE__ */ e(
|
|
50
|
-
w,
|
|
51
|
-
{
|
|
52
|
-
src: m.CUEMATH_APP_QR_CODE,
|
|
53
|
-
width: 80,
|
|
54
|
-
height: 80,
|
|
55
|
-
withLoader: !1
|
|
56
|
-
}
|
|
57
|
-
),
|
|
58
|
-
/* @__PURE__ */ e(t, { $gapX: 0.5, $flex: 1, children: /* @__PURE__ */ e(n, { $color: "WHITE", $renderOnTabletAs: "ab3", $renderAs: "ab2", children: "Download the cuemath app to view your children’s report" }) })
|
|
59
|
-
]
|
|
37
|
+
src: $.CIRCLE_CUEMATH_LOGO_WHITE,
|
|
38
|
+
alt: "Parent Signup",
|
|
39
|
+
withLoader: !1,
|
|
40
|
+
width: 80
|
|
60
41
|
}
|
|
61
|
-
)
|
|
62
|
-
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ e(s, { heightX: 1 }),
|
|
44
|
+
/* @__PURE__ */ e(g, { $renderAs: "ab1", $color: "WHITE_T_60", $align: "center", children: "Switch between accounts" })
|
|
45
|
+
] }),
|
|
46
|
+
/* @__PURE__ */ e(s, { height: t ? 0 : 40 }),
|
|
47
|
+
/* @__PURE__ */ e(
|
|
48
|
+
I,
|
|
49
|
+
{
|
|
50
|
+
$flex: t ? 1 : 0,
|
|
51
|
+
$justifyContent: r ? "flex-start" : "center",
|
|
52
|
+
$alignItems: r ? "flex-start" : "center",
|
|
53
|
+
$width: "100%",
|
|
54
|
+
children: o.length > 0 && /* @__PURE__ */ e(T, { users: o, onSelect: f, onAddNew: l, maxColumns: 3 })
|
|
55
|
+
}
|
|
56
|
+
)
|
|
63
57
|
]
|
|
64
58
|
}
|
|
65
59
|
);
|
|
66
|
-
},
|
|
60
|
+
}, W = h(C);
|
|
67
61
|
export {
|
|
68
|
-
|
|
62
|
+
W as default
|
|
69
63
|
};
|
|
70
64
|
//# sourceMappingURL=account-selector.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-selector.js","sources":["../../../../src/features/auth/account-selector/account-selector.tsx"],"sourcesContent":["import type { IAccountSelectorViewProps } from './account-selector-types';\n\nimport { memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\nimport Image from '../../ui/image/image';\nimport FlexView from '../../ui/layout/flex-view';\nimport Separator from '../../ui/separator/separator';\nimport Text from '../../ui/text/text';\nimport { EDeviceType } from '../../ui/theme/constants';\nimport OverlayLoader from '../comps/overlay-loader/overlay-loader';\nimport UserList from '../comps/user-list/user-list';\nimport * as Styled from './account-selector-styled';\n\nconst AccountSelector = ({\n userAccounts,\n onSelect,\n onAddNew,\n isLoading,\n}: IAccountSelectorViewProps) => {\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n\n return (\n <FlexView\n $
|
|
1
|
+
{"version":3,"file":"account-selector.js","sources":["../../../../src/features/auth/account-selector/account-selector.tsx"],"sourcesContent":["import type { IAccountSelectorViewProps } from './account-selector-types';\n\nimport { memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\nimport Image from '../../ui/image/image';\nimport FlexView from '../../ui/layout/flex-view';\nimport Separator from '../../ui/separator/separator';\nimport Text from '../../ui/text/text';\nimport { EDeviceType } from '../../ui/theme/constants';\nimport OverlayLoader from '../comps/overlay-loader/overlay-loader';\nimport UserList from '../comps/user-list/user-list';\nimport * as Styled from './account-selector-styled';\nimport AccountSelectorHeader from './comps/compact-header/account-selector-header';\n\nconst AccountSelector = ({\n userAccounts,\n onSelect,\n onAddNew,\n isLoading,\n onGoBack,\n}: IAccountSelectorViewProps) => {\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n const isMobile = device === EDeviceType.MOBILE;\n\n return (\n <FlexView\n $alignItems={isMobile ? 'flex-start' : 'center'}\n $justifyContent={isMobile ? 'flex-start' : 'center'}\n $width=\"100%\"\n $height=\"100dvh\"\n $gapX={isCompact ? 0 : 2}\n >\n {typeof onGoBack === 'function' && <AccountSelectorHeader onGoBack={onGoBack} />}\n <OverlayLoader isLoading={isLoading} />\n {!isCompact && (\n <FlexView $justifyContent=\"center\" $alignItems=\"center\">\n <Image\n src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE}\n alt=\"Parent Signup\"\n withLoader={false}\n width={80}\n />\n <Separator heightX={1} />\n <Text $renderAs=\"ab1\" $color=\"WHITE_T_60\" $align=\"center\">\n Switch between accounts\n </Text>\n </FlexView>\n )}\n <Separator height={isCompact ? 0 : 40} />\n <Styled.UserListWrapper\n $flex={isCompact ? 1 : 0}\n $justifyContent={isMobile ? 'flex-start' : 'center'}\n $alignItems={isMobile ? 'flex-start' : 'center'}\n $width=\"100%\"\n >\n {userAccounts.length > 0 && (\n <UserList users={userAccounts} onSelect={onSelect} onAddNew={onAddNew} maxColumns={3} />\n )}\n </Styled.UserListWrapper>\n </FlexView>\n );\n};\n\nexport default memo(AccountSelector);\n"],"names":["AccountSelector","userAccounts","onSelect","onAddNew","isLoading","onGoBack","device","useTheme","isCompact","EDeviceType","isMobile","jsxs","FlexView","jsx","AccountSelectorHeader","OverlayLoader","Image","ILLUSTRATIONS","Separator","Text","Styled.UserListWrapper","UserList","accountSelector","memo"],"mappings":";;;;;;;;;;;;;AAgBA,MAAMA,IAAkB,CAAC;AAAA,EACvB,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AACF,MAAiC;AACzB,QAAA,EAAE,QAAAC,MAAWC,KACbC,IAAYF,KAAUG,EAAY,QAClCC,IAAWJ,MAAWG,EAAY;AAGtC,SAAA,gBAAAE;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,aAAaF,IAAW,eAAe;AAAA,MACvC,iBAAiBA,IAAW,eAAe;AAAA,MAC3C,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,OAAOF,IAAY,IAAI;AAAA,MAEtB,UAAA;AAAA,QAAA,OAAOH,KAAa,cAAe,gBAAAQ,EAAAC,GAAA,EAAsB,UAAAT,EAAoB,CAAA;AAAA,QAC9E,gBAAAQ,EAACE,KAAc,WAAAX,GAAsB;AAAA,QACpC,CAACI,KACA,gBAAAG,EAACC,KAAS,iBAAgB,UAAS,aAAY,UAC7C,UAAA;AAAA,UAAA,gBAAAC;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,KAAKC,EAAc;AAAA,cACnB,KAAI;AAAA,cACJ,YAAY;AAAA,cACZ,OAAO;AAAA,YAAA;AAAA,UACT;AAAA,UACA,gBAAAJ,EAACK,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,UACvB,gBAAAL,EAACM,KAAK,WAAU,OAAM,QAAO,cAAa,QAAO,UAAS,UAE1D,0BAAA,CAAA;AAAA,QAAA,GACF;AAAA,QAED,gBAAAN,EAAAK,GAAA,EAAU,QAAQV,IAAY,IAAI,IAAI;AAAA,QACvC,gBAAAK;AAAA,UAACO;AAAAA,UAAA;AAAA,YACC,OAAOZ,IAAY,IAAI;AAAA,YACvB,iBAAiBE,IAAW,eAAe;AAAA,YAC3C,aAAaA,IAAW,eAAe;AAAA,YACvC,QAAO;AAAA,YAEN,UAAAT,EAAa,SAAS,KACpB,gBAAAY,EAAAQ,GAAA,EAAS,OAAOpB,GAAc,UAAAC,GAAoB,UAAAC,GAAoB,YAAY,EAAG,CAAA;AAAA,UAAA;AAAA,QAE1F;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEemB,IAAAC,EAAKvB,CAAe;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { memo as i } from "react";
|
|
3
|
+
import { useTheme as m } from "styled-components";
|
|
4
|
+
import l from "../../../../../assets/line-icons/icons/back2.js";
|
|
5
|
+
import n from "../../../../ui/buttons/clickable/clickable.js";
|
|
6
|
+
import a from "../../../../ui/layout/flex-view.js";
|
|
7
|
+
import p from "../../../../ui/text/text.js";
|
|
8
|
+
import { EDeviceType as s } from "../../../../ui/theme/constants.js";
|
|
9
|
+
const f = ({ onGoBack: e }) => {
|
|
10
|
+
const { device: r, colors: t } = m();
|
|
11
|
+
return r <= s.TABLET ? /* @__PURE__ */ c(
|
|
12
|
+
a,
|
|
13
|
+
{
|
|
14
|
+
$gutterX: 1,
|
|
15
|
+
$gapX: 1,
|
|
16
|
+
$flexDirection: "row",
|
|
17
|
+
$alignItems: "center",
|
|
18
|
+
$background: "WHITE_T_05",
|
|
19
|
+
$width: "100%",
|
|
20
|
+
$flexColumnGapX: 0.5,
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ o(n, { onClick: e, label: "Go back to previous page", children: /* @__PURE__ */ o(l, { color: t.WHITE_1, width: 24, height: 24 }) }),
|
|
23
|
+
/* @__PURE__ */ o(p, { $renderAs: "ab2", $color: "WHITE", children: "Profile Switcher" })
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
) : null;
|
|
27
|
+
}, w = i(f);
|
|
28
|
+
export {
|
|
29
|
+
w as default
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=account-selector-header.js.map
|
package/dist/features/auth/account-selector/comps/compact-header/account-selector-header.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-selector-header.js","sources":["../../../../../../src/features/auth/account-selector/comps/compact-header/account-selector-header.tsx"],"sourcesContent":["import type { IAccountSelectorHeaderProps } from './account-selector-header-types';\n\nimport { type FC, memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport Back2Icon from '../../../../../assets/line-icons/icons/back2';\nimport Clickable from '../../../../ui/buttons/clickable/clickable';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\nimport { EDeviceType } from '../../../../ui/theme/constants';\n\nconst AccountSelectorHeader: FC<IAccountSelectorHeaderProps> = ({ onGoBack }) => {\n const { device, colors } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n\n if (!isCompact) return null;\n\n return (\n <FlexView\n $gutterX={1}\n $gapX={1}\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $background=\"WHITE_T_05\"\n $width=\"100%\"\n $flexColumnGapX={0.5}\n >\n <Clickable onClick={onGoBack} label=\"Go back to previous page\">\n <Back2Icon color={colors.WHITE_1} width={24} height={24} />\n </Clickable>\n <Text $renderAs=\"ab2\" $color=\"WHITE\">\n Profile Switcher\n </Text>\n </FlexView>\n );\n};\n\nexport default memo(AccountSelectorHeader);\n"],"names":["AccountSelectorHeader","onGoBack","device","colors","useTheme","EDeviceType","jsxs","FlexView","jsx","Clickable","Back2Icon","Text","AccountSelectorHeader$1","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAAyD,CAAC,EAAE,UAAAC,QAAe;AAC/E,QAAM,EAAE,QAAAC,GAAQ,QAAAC,EAAO,IAAIC,EAAS;AAGhC,SAFcF,KAAUG,EAAY,SAKtC,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,gBAAe;AAAA,MACf,aAAY;AAAA,MACZ,aAAY;AAAA,MACZ,QAAO;AAAA,MACP,iBAAiB;AAAA,MAEjB,UAAA;AAAA,QAAA,gBAAAC,EAACC,GAAU,EAAA,SAASR,GAAU,OAAM,4BAClC,UAAC,gBAAAO,EAAAE,GAAA,EAAU,OAAOP,EAAO,SAAS,OAAO,IAAI,QAAQ,GAAI,CAAA,GAC3D;AAAA,0BACCQ,GAAK,EAAA,WAAU,OAAM,QAAO,SAAQ,UAErC,oBAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,IAjBmB;AAoBzB,GAEeC,IAAAC,EAAKb,CAAqB;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-page-layout-styled.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n
|
|
1
|
+
{"version":3,"file":"auth-page-layout-styled.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n height: 100dvh;\n`;\n\nexport const ContentWrapper = styled(FlexView)`\n overflow: hidden;\n`;\n"],"names":["Container","styled","FlexView","ContentWrapper"],"mappings":";;AAIa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,GAI3BC,IAAiBF,EAAOC,CAAQ;AAAA;AAAA;"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import t from "styled-components";
|
|
2
2
|
import { UserItemCard as e } from "./user-item/user-item-styled.js";
|
|
3
|
-
const
|
|
3
|
+
const p = t.div`
|
|
4
4
|
display: inline-grid;
|
|
5
5
|
grid-template-columns: repeat(
|
|
6
6
|
${({ itemCount: r, maxColumns: o }) => r < o ? r : o},
|
|
7
7
|
${({ cardWidth: r }) => r}px
|
|
8
8
|
);
|
|
9
9
|
grid-auto-rows: ${({ cardWidth: r }) => r}px;
|
|
10
|
+
max-height: 100%;
|
|
10
11
|
`, s = t(e)`
|
|
11
12
|
&:hover {
|
|
12
13
|
background-color: ${({ theme: r }) => r.colors.BLACK_4};
|
|
@@ -14,6 +15,6 @@ const i = t.div`
|
|
|
14
15
|
`;
|
|
15
16
|
export {
|
|
16
17
|
s as AddAccountButton,
|
|
17
|
-
|
|
18
|
+
p as UserListWrapper
|
|
18
19
|
};
|
|
19
20
|
//# sourceMappingURL=user-list-styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-list-styled.js","sources":["../../../../../src/features/auth/comps/user-list/user-list-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport { UserItemCard } from './user-item/user-item-styled';\n\nexport const UserListWrapper = styled.div<{\n itemCount: number;\n maxColumns: number;\n cardWidth: number;\n}>`\n display: inline-grid;\n grid-template-columns: repeat(\n ${({ itemCount, maxColumns }) => (itemCount < maxColumns ? itemCount : maxColumns)},\n ${({ cardWidth }) => cardWidth}px\n );\n grid-auto-rows: ${({ cardWidth }) => cardWidth}px;\n`;\n\nexport const AddAccountButton = styled(UserItemCard)`\n &:hover {\n background-color: ${({ theme }) => theme.colors.BLACK_4};\n }\n`;\n"],"names":["UserListWrapper","styled","itemCount","maxColumns","cardWidth","AddAccountButton","UserItemCard","theme"],"mappings":";;AAIO,MAAMA,IAAkBC,EAAO;AAAA;AAAA;AAAA,MAOhC,CAAC,EAAE,WAAAC,GAAW,YAAAC,EAAA,MAAkBD,IAAYC,IAAaD,IAAYC,CAAW;AAAA,MAChF,CAAC,EAAE,WAAAC,EAAU,MAAMA,CAAS;AAAA;AAAA,oBAEd,CAAC,EAAE,WAAAA,EAAU,MAAMA,CAAS;AAAA,
|
|
1
|
+
{"version":3,"file":"user-list-styled.js","sources":["../../../../../src/features/auth/comps/user-list/user-list-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport { UserItemCard } from './user-item/user-item-styled';\n\nexport const UserListWrapper = styled.div<{\n itemCount: number;\n maxColumns: number;\n cardWidth: number;\n}>`\n display: inline-grid;\n grid-template-columns: repeat(\n ${({ itemCount, maxColumns }) => (itemCount < maxColumns ? itemCount : maxColumns)},\n ${({ cardWidth }) => cardWidth}px\n );\n grid-auto-rows: ${({ cardWidth }) => cardWidth}px;\n max-height: 100%;\n`;\n\nexport const AddAccountButton = styled(UserItemCard)`\n &:hover {\n background-color: ${({ theme }) => theme.colors.BLACK_4};\n }\n`;\n"],"names":["UserListWrapper","styled","itemCount","maxColumns","cardWidth","AddAccountButton","UserItemCard","theme"],"mappings":";;AAIO,MAAMA,IAAkBC,EAAO;AAAA;AAAA;AAAA,MAOhC,CAAC,EAAE,WAAAC,GAAW,YAAAC,EAAA,MAAkBD,IAAYC,IAAaD,IAAYC,CAAW;AAAA,MAChF,CAAC,EAAE,WAAAC,EAAU,MAAMA,CAAS;AAAA;AAAA,oBAEd,CAAC,EAAE,WAAAA,EAAU,MAAMA,CAAS;AAAA;AAAA,GAInCC,IAAmBJ,EAAOK,CAAY;AAAA;AAAA,wBAE3B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var N = /* @__PURE__ */ ((E) => (E.HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY", E.CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY", E.CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY", E.PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY", E.PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY", E.PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY", E.PUZZLE_PROGRESS_JOURNEY = "PUZZLE_PROGRESS_JOURNEY", E.PUZZLE_UNASSIGN_JOURNEY = "PUZZLE_UNASSIGN_JOURNEY", E
|
|
1
|
+
var N = /* @__PURE__ */ ((E) => (E.HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY", E.CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY", E.CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY", E.PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY", E.PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY", E.PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY", E.PUZZLE_PROGRESS_JOURNEY = "PUZZLE_PROGRESS_JOURNEY", E.PUZZLE_UNASSIGN_JOURNEY = "PUZZLE_UNASSIGN_JOURNEY", E))(N || {});
|
|
2
2
|
export {
|
|
3
3
|
N as JOURNEY_ID_TEACHER
|
|
4
4
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey-id-teacher.js","sources":["../../../../src/features/journey/journey-id/journey-id-teacher.ts"],"sourcesContent":["export enum JOURNEY_ID_TEACHER {\n HOMEPAGE_JOURNEY = 'HOMEPAGE_JOURNEY',\n CHAPTER_PAGE_JOURNEY = 'CHAPTER_PAGE_JOURNEY',\n CHALLENGE_ARENA_JOURNEY = 'CHALLENGE_ARENA_JOURNEY',\n PUZZLE_ASSIGN_JOURNEY = 'PUZZLE_ASSIGN_JOURNEY',\n PUZZLE_INTRO_JOURNEY = 'PUZZLE_INTRO_JOURNEY',\n PUZZLE_REVIEW_JOURNEY = 'PUZZLE_REVIEW_JOURNEY',\n PUZZLE_PROGRESS_JOURNEY = 'PUZZLE_PROGRESS_JOURNEY',\n PUZZLE_UNASSIGN_JOURNEY = 'PUZZLE_UNASSIGN_JOURNEY',\n
|
|
1
|
+
{"version":3,"file":"journey-id-teacher.js","sources":["../../../../src/features/journey/journey-id/journey-id-teacher.ts"],"sourcesContent":["export enum JOURNEY_ID_TEACHER {\n HOMEPAGE_JOURNEY = 'HOMEPAGE_JOURNEY',\n CHAPTER_PAGE_JOURNEY = 'CHAPTER_PAGE_JOURNEY',\n CHALLENGE_ARENA_JOURNEY = 'CHALLENGE_ARENA_JOURNEY',\n PUZZLE_ASSIGN_JOURNEY = 'PUZZLE_ASSIGN_JOURNEY',\n PUZZLE_INTRO_JOURNEY = 'PUZZLE_INTRO_JOURNEY',\n PUZZLE_REVIEW_JOURNEY = 'PUZZLE_REVIEW_JOURNEY',\n PUZZLE_PROGRESS_JOURNEY = 'PUZZLE_PROGRESS_JOURNEY',\n PUZZLE_UNASSIGN_JOURNEY = 'PUZZLE_UNASSIGN_JOURNEY',\n}\n"],"names":["JOURNEY_ID_TEACHER"],"mappings":"AAAY,IAAAA,sBAAAA,OACVA,EAAA,mBAAmB,oBACnBA,EAAA,uBAAuB,wBACvBA,EAAA,0BAA0B,2BAC1BA,EAAA,wBAAwB,yBACxBA,EAAA,uBAAuB,wBACvBA,EAAA,wBAAwB,yBACxBA,EAAA,0BAA0B,2BAC1BA,EAAA,0BAA0B,2BARhBA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
var
|
|
1
|
+
var o = /* @__PURE__ */ ((e) => (e.TOOLTIP = "tooltip", e.NUDGE = "nudge", e))(o || {});
|
|
2
|
+
const r = {
|
|
3
|
+
nextCoachmark: () => {
|
|
4
|
+
},
|
|
5
|
+
setJourney: () => {
|
|
6
|
+
},
|
|
7
|
+
addCoachmark: () => {
|
|
8
|
+
},
|
|
9
|
+
clearJourney: () => {
|
|
10
|
+
},
|
|
11
|
+
endJourney: () => {
|
|
12
|
+
},
|
|
13
|
+
coachmarks: [],
|
|
14
|
+
userCompletedJourneyIds: [],
|
|
15
|
+
isJourneyActive: !1
|
|
16
|
+
};
|
|
2
17
|
export {
|
|
3
|
-
|
|
18
|
+
o as IndicatorType,
|
|
19
|
+
r as baseJourneyContext
|
|
4
20
|
};
|
|
5
21
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../src/features/journey/use-journey/constants.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../src/features/journey/use-journey/constants.ts"],"sourcesContent":["import type { IJourneyContext } from './journey-context-types';\n\nexport enum IndicatorType {\n TOOLTIP = 'tooltip',\n NUDGE = 'nudge',\n}\n\nexport const baseJourneyContext: IJourneyContext = {\n nextCoachmark: () => {},\n setJourney: () => {},\n addCoachmark: () => {},\n clearJourney: () => {},\n endJourney: () => {},\n coachmarks: [],\n userCompletedJourneyIds: [],\n isJourneyActive: false,\n};\n"],"names":["IndicatorType","baseJourneyContext"],"mappings":"AAEY,IAAAA,sBAAAA,OACVA,EAAA,UAAU,WACVA,EAAA,QAAQ,SAFEA,IAAAA,KAAA,CAAA,CAAA;AAKL,MAAMC,IAAsC;AAAA,EACjD,eAAe,MAAM;AAAA,EAAC;AAAA,EACtB,YAAY,MAAM;AAAA,EAAC;AAAA,EACnB,cAAc,MAAM;AAAA,EAAC;AAAA,EACrB,cAAc,MAAM;AAAA,EAAC;AAAA,EACrB,YAAY,MAAM;AAAA,EAAC;AAAA,EACnB,YAAY,CAAC;AAAA,EACb,yBAAyB,CAAC;AAAA,EAC1B,iBAAiB;AACnB;"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { useContext as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { useContext as o } from "react";
|
|
2
|
+
import { baseJourneyContext as t } from "./constants.js";
|
|
3
|
+
import { JourneyContext as n } from "./journey-context-provider.js";
|
|
4
|
+
const m = ({ enable: e = !0 } = {}) => {
|
|
5
|
+
const r = o(n);
|
|
6
|
+
if (!e)
|
|
7
|
+
return t;
|
|
8
|
+
if (!r)
|
|
6
9
|
throw new Error("useJourney must be used within a JourneyProvider");
|
|
7
|
-
return
|
|
10
|
+
return r;
|
|
8
11
|
};
|
|
9
12
|
export {
|
|
10
|
-
|
|
13
|
+
m as useJourney
|
|
11
14
|
};
|
|
12
15
|
//# sourceMappingURL=use-journey.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-journey.js","sources":["../../../../src/features/journey/use-journey/use-journey.tsx"],"sourcesContent":["import { useContext } from 'react';\n\nimport { JourneyContext } from './journey-context-provider';\n\nexport const useJourney = () => {\n const context = useContext(JourneyContext);\n\n if (!context) {\n throw new Error('useJourney must be used within a JourneyProvider');\n }\n\n return context;\n};\n"],"names":["useJourney","context","useContext","JourneyContext"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-journey.js","sources":["../../../../src/features/journey/use-journey/use-journey.tsx"],"sourcesContent":["import type { IUseJourneyOptions } from './journey-context-types';\n\nimport { useContext } from 'react';\n\nimport { baseJourneyContext } from './constants';\nimport { JourneyContext } from './journey-context-provider';\n\nexport const useJourney = ({ enable = true }: IUseJourneyOptions = {}) => {\n const context = useContext(JourneyContext);\n\n // When disabled, return no-op/default values without throwing error\n if (!enable) {\n return baseJourneyContext;\n }\n\n // When enabled but no context, this indicates incorrect usage\n if (!context) {\n throw new Error('useJourney must be used within a JourneyProvider');\n }\n\n return context;\n};\n"],"names":["useJourney","enable","context","useContext","JourneyContext","baseJourneyContext"],"mappings":";;;AAOO,MAAMA,IAAa,CAAC,EAAE,QAAAC,IAAS,GAAK,IAAwB,CAAA,MAAO;AAClE,QAAAC,IAAUC,EAAWC,CAAc;AAGzC,MAAI,CAACH;AACI,WAAAI;AAIT,MAAI,CAACH;AACG,UAAA,IAAI,MAAM,kDAAkD;AAG7D,SAAAA;AACT;"}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { useTheme as
|
|
4
|
-
import { ILLUSTRATIONS as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { EDeviceType as
|
|
9
|
-
const
|
|
10
|
-
const { device: i } =
|
|
11
|
-
return
|
|
12
|
-
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { memo as f } from "react";
|
|
3
|
+
import { useTheme as p } from "styled-components";
|
|
4
|
+
import { ILLUSTRATIONS as s } from "../../../../assets/illustrations/illustrations.js";
|
|
5
|
+
import l from "../../../auth/comps/linear-progress-bar/linear-progress-bar.js";
|
|
6
|
+
import d from "../../../ui/image/image.js";
|
|
7
|
+
import t from "../../../ui/layout/flex-view.js";
|
|
8
|
+
import { EDeviceType as u } from "../../../ui/theme/constants.js";
|
|
9
|
+
const T = ({ progressPercentage: r, showProgress: o, HeaderAvatar: m }) => {
|
|
10
|
+
const { device: i } = p(), n = i <= u.TABLET, c = o && r;
|
|
11
|
+
return n ? /* @__PURE__ */ a(
|
|
12
|
+
t,
|
|
13
13
|
{
|
|
14
14
|
$gutterX: 1,
|
|
15
15
|
$gapX: 1,
|
|
16
16
|
$flexDirection: "row",
|
|
17
17
|
$alignItems: "center",
|
|
18
18
|
$background: "WHITE_T_05",
|
|
19
|
-
$flexColumnGapX: 1,
|
|
19
|
+
$flexColumnGapX: c ? 1 : 0,
|
|
20
20
|
children: [
|
|
21
21
|
m,
|
|
22
|
-
|
|
22
|
+
o && r ? /* @__PURE__ */ e(l, { percentage: r, borderRadius: 8 }) : /* @__PURE__ */ e(t, { $flex: 1, $justifyContent: "center", $alignItems: "center", children: /* @__PURE__ */ e(d, { width: 90, src: s.CIRCLE_CUEMATH_LOGO_WHITE }) })
|
|
23
23
|
]
|
|
24
24
|
}
|
|
25
25
|
) : null;
|
|
26
|
-
},
|
|
26
|
+
}, g = f(T);
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
g as default
|
|
29
29
|
};
|
|
30
30
|
//# sourceMappingURL=compact-header.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compact-header.js","sources":["../../../../../src/features/parent-dashboard/comps/compact-header/compact-header.tsx"],"sourcesContent":["import type { ICompactHeaderProps } from './compact-header-types';\n\nimport { memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport LinearProgressBar from '../../../auth/comps/linear-progress-bar/linear-progress-bar';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport { EDeviceType } from '../../../ui/theme/constants';\n\nconst CompactHeader = ({ progressPercentage, showProgress, HeaderAvatar }: ICompactHeaderProps) => {\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n\n if (!isCompact) return null;\n\n return (\n <FlexView\n $gutterX={1}\n $gapX={1}\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $background=\"WHITE_T_05\"\n $flexColumnGapX={1}\n >\n {HeaderAvatar}\n {showProgress && progressPercentage ? (\n <LinearProgressBar percentage={progressPercentage} borderRadius={8} />\n ) : (\n <FlexView $flex={1} $justifyContent=\"center\" $alignItems=\"center\">\n <Image width={90} src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} />\n </FlexView>\n )}\n </FlexView>\n );\n};\n\nexport default memo(CompactHeader);\n"],"names":["CompactHeader","progressPercentage","showProgress","HeaderAvatar","device","useTheme","EDeviceType","jsxs","FlexView","jsx","LinearProgressBar","Image","ILLUSTRATIONS","CompactHeader$1","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAAgB,CAAC,EAAE,oBAAAC,GAAoB,cAAAC,GAAc,cAAAC,QAAwC;AAC3F,QAAA,EAAE,QAAAC,MAAWC
|
|
1
|
+
{"version":3,"file":"compact-header.js","sources":["../../../../../src/features/parent-dashboard/comps/compact-header/compact-header.tsx"],"sourcesContent":["import type { ICompactHeaderProps } from './compact-header-types';\n\nimport { memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport LinearProgressBar from '../../../auth/comps/linear-progress-bar/linear-progress-bar';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport { EDeviceType } from '../../../ui/theme/constants';\n\nconst CompactHeader = ({ progressPercentage, showProgress, HeaderAvatar }: ICompactHeaderProps) => {\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n const showProgressBar = showProgress && progressPercentage;\n\n if (!isCompact) return null;\n\n return (\n <FlexView\n $gutterX={1}\n $gapX={1}\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $background=\"WHITE_T_05\"\n $flexColumnGapX={showProgressBar ? 1 : 0}\n >\n {HeaderAvatar}\n {showProgress && progressPercentage ? (\n <LinearProgressBar percentage={progressPercentage} borderRadius={8} />\n ) : (\n <FlexView $flex={1} $justifyContent=\"center\" $alignItems=\"center\">\n <Image width={90} src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} />\n </FlexView>\n )}\n </FlexView>\n );\n};\n\nexport default memo(CompactHeader);\n"],"names":["CompactHeader","progressPercentage","showProgress","HeaderAvatar","device","useTheme","isCompact","EDeviceType","showProgressBar","jsxs","FlexView","jsx","LinearProgressBar","Image","ILLUSTRATIONS","CompactHeader$1","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAAgB,CAAC,EAAE,oBAAAC,GAAoB,cAAAC,GAAc,cAAAC,QAAwC;AAC3F,QAAA,EAAE,QAAAC,MAAWC,KACbC,IAAYF,KAAUG,EAAY,QAClCC,IAAkBN,KAAgBD;AAEpC,SAACK,IAGH,gBAAAG;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,gBAAe;AAAA,MACf,aAAY;AAAA,MACZ,aAAY;AAAA,MACZ,iBAAiBF,IAAkB,IAAI;AAAA,MAEtC,UAAA;AAAA,QAAAL;AAAA,QACAD,KAAgBD,IACf,gBAAAU,EAACC,GAAkB,EAAA,YAAYX,GAAoB,cAAc,EAAA,CAAG,IAEpE,gBAAAU,EAACD,GAAS,EAAA,OAAO,GAAG,iBAAgB,UAAS,aAAY,UACvD,UAAC,gBAAAC,EAAAE,GAAA,EAAM,OAAO,IAAI,KAAKC,EAAc,0BAAA,CAA2B,EAClE,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,IAjBiB;AAqBzB,GAEeC,IAAAC,EAAKhB,CAAa;"}
|
|
@@ -1,38 +1,54 @@
|
|
|
1
1
|
const e = [
|
|
2
2
|
{
|
|
3
|
-
accordionQuestion: "How
|
|
4
|
-
accordionAnswer: "
|
|
3
|
+
accordionQuestion: "How long will the session be?",
|
|
4
|
+
accordionAnswer: "The first session is typically 45-60 minutes. Regular sessions are 55 minutes, extendable to an hour."
|
|
5
5
|
},
|
|
6
6
|
{
|
|
7
|
-
accordionQuestion: "
|
|
8
|
-
accordionAnswer: "
|
|
7
|
+
accordionQuestion: "What happens in the first session?",
|
|
8
|
+
accordionAnswer: "Your tutor will discuss your child's goals, work through some problems together, and create a personalized learning plan."
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
accordionQuestion: "
|
|
12
|
-
accordionAnswer: "
|
|
11
|
+
accordionQuestion: "Who'll be my child's tutor?",
|
|
12
|
+
accordionAnswer: "A certified math educator carefully matched to your child based on their grade level, learning preferences, and availability."
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
accordionQuestion: "
|
|
16
|
-
accordionAnswer: "
|
|
15
|
+
accordionQuestion: "What's required for the first session?",
|
|
16
|
+
accordionAnswer: "A laptop or desktop with internet, microphone, and camera, plus paper and pencil."
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
accordionQuestion: "Do I need to be there for the first session?",
|
|
20
|
+
accordionAnswer: "Yes, we recommend parents be present to see how your child connects with the tutor and discuss the learning plan together."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
accordionQuestion: "What if we don't like the tutor?",
|
|
24
|
+
accordionAnswer: "You can try another session with a different tutor for no extra cost - we guarantee you'll find the right fit for your child."
|
|
17
25
|
},
|
|
18
26
|
{
|
|
19
|
-
accordionQuestion: "
|
|
27
|
+
accordionQuestion: "When will my card be charged?",
|
|
28
|
+
accordionAnswer: "Only after your child completes the first session **and** you decide to continue. If you're not satisfied, you can cancel without any charge."
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
accordionQuestion: "What if we don't want to continue after the first session?",
|
|
32
|
+
accordionAnswer: "Simply cancel after the session ends - we won't charge you anything."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
accordionQuestion: "Can Cuemath's math tutors help with homework and test preparation?",
|
|
20
36
|
accordionAnswer: "Cuemath offers a personalized approach to finding the right online math tutor. You can start by taking a free trial class, where you will be matched with a tutor based on your learning needs and preferences. The tutors are experienced and trained to provide customized lessons that cater to individual learning styles."
|
|
21
37
|
},
|
|
22
38
|
{
|
|
23
|
-
accordionQuestion: "
|
|
39
|
+
accordionQuestion: "How do Cuemath's math tutors assess and inform student progress?",
|
|
24
40
|
accordionAnswer: "Cuemath offers a personalized approach to finding the right online math tutor. You can start by taking a free trial class, where you will be matched with a tutor based on your learning needs and preferences. The tutors are experienced and trained to provide customized lessons that cater to individual learning styles."
|
|
25
41
|
},
|
|
26
42
|
{
|
|
27
|
-
accordionQuestion: "
|
|
43
|
+
accordionQuestion: "When do online math classes start? Are the classes flexible?",
|
|
28
44
|
accordionAnswer: "Cuemath offers a personalized approach to finding the right online math tutor. You can start by taking a free trial class, where you will be matched with a tutor based on your learning needs and preferences. The tutors are experienced and trained to provide customized lessons that cater to individual learning styles."
|
|
29
45
|
},
|
|
30
46
|
{
|
|
31
|
-
accordionQuestion: "
|
|
47
|
+
accordionQuestion: "What technology or tools do Cuemath's mathematics tutors use to enhance the math learning experience?",
|
|
32
48
|
accordionAnswer: "Cuemath offers a personalized approach to finding the right online math tutor. You can start by taking a free trial class, where you will be matched with a tutor based on your learning needs and preferences. The tutors are experienced and trained to provide customized lessons that cater to individual learning styles."
|
|
33
49
|
},
|
|
34
50
|
{
|
|
35
|
-
accordionQuestion: "
|
|
51
|
+
accordionQuestion: "How qualified are online math tutors at Cuemath?",
|
|
36
52
|
accordionAnswer: "Cuemath offers a personalized approach to finding the right online math tutor. You can start by taking a free trial class, where you will be matched with a tutor based on your learning needs and preferences. The tutors are experienced and trained to provide customized lessons that cater to individual learning styles."
|
|
37
53
|
}
|
|
38
54
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parent-dashboard-faqs-constants.js","sources":["../../../../../src/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs-constants.ts"],"sourcesContent":["export const faqsData = [\n {\n accordionQuestion: 'How
|
|
1
|
+
{"version":3,"file":"parent-dashboard-faqs-constants.js","sources":["../../../../../src/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs-constants.ts"],"sourcesContent":["export const faqsData = [\n {\n accordionQuestion: 'How long will the session be?',\n accordionAnswer:\n 'The first session is typically 45-60 minutes. Regular sessions are 55 minutes, extendable to an hour.',\n },\n {\n accordionQuestion: 'What happens in the first session?',\n accordionAnswer:\n \"Your tutor will discuss your child's goals, work through some problems together, and create a personalized learning plan.\",\n },\n {\n accordionQuestion: \"Who'll be my child's tutor?\",\n accordionAnswer:\n 'A certified math educator carefully matched to your child based on their grade level, learning preferences, and availability.',\n },\n {\n accordionQuestion: \"What's required for the first session?\",\n accordionAnswer:\n 'A laptop or desktop with internet, microphone, and camera, plus paper and pencil.',\n },\n {\n accordionQuestion: 'Do I need to be there for the first session?',\n accordionAnswer:\n 'Yes, we recommend parents be present to see how your child connects with the tutor and discuss the learning plan together.',\n },\n {\n accordionQuestion: \"What if we don't like the tutor?\",\n accordionAnswer:\n \"You can try another session with a different tutor for no extra cost - we guarantee you'll find the right fit for your child.\",\n },\n {\n accordionQuestion: 'When will my card be charged?',\n accordionAnswer:\n \"Only after your child completes the first session **and** you decide to continue. If you're not satisfied, you can cancel without any charge.\",\n },\n {\n accordionQuestion: \"What if we don't want to continue after the first session?\",\n accordionAnswer: \"Simply cancel after the session ends - we won't charge you anything.\",\n },\n {\n accordionQuestion: \"Can Cuemath's math tutors help with homework and test preparation?\",\n accordionAnswer:\n 'Cuemath offers a personalized approach to finding the right online math tutor. You can start by taking a free trial class, where you will be matched with a tutor based on your learning needs and preferences. The tutors are experienced and trained to provide customized lessons that cater to individual learning styles.',\n },\n {\n accordionQuestion: `How do Cuemath's math tutors assess and inform student progress?`,\n accordionAnswer:\n 'Cuemath offers a personalized approach to finding the right online math tutor. You can start by taking a free trial class, where you will be matched with a tutor based on your learning needs and preferences. The tutors are experienced and trained to provide customized lessons that cater to individual learning styles.',\n },\n {\n accordionQuestion: 'When do online math classes start? Are the classes flexible?',\n accordionAnswer:\n 'Cuemath offers a personalized approach to finding the right online math tutor. You can start by taking a free trial class, where you will be matched with a tutor based on your learning needs and preferences. The tutors are experienced and trained to provide customized lessons that cater to individual learning styles.',\n },\n {\n accordionQuestion: `What technology or tools do Cuemath's mathematics tutors use to enhance the math learning experience?`,\n accordionAnswer:\n 'Cuemath offers a personalized approach to finding the right online math tutor. You can start by taking a free trial class, where you will be matched with a tutor based on your learning needs and preferences. The tutors are experienced and trained to provide customized lessons that cater to individual learning styles.',\n },\n {\n accordionQuestion: 'How qualified are online math tutors at Cuemath?',\n accordionAnswer:\n 'Cuemath offers a personalized approach to finding the right online math tutor. You can start by taking a free trial class, where you will be matched with a tutor based on your learning needs and preferences. The tutors are experienced and trained to provide customized lessons that cater to individual learning styles.',\n },\n];\n"],"names":["faqsData"],"mappings":"AAAO,MAAMA,IAAW;AAAA,EACtB;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBAAiB;AAAA,EACnB;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AAAA,EACA;AAAA,IACE,mBAAmB;AAAA,IACnB,iBACE;AAAA,EACJ;AACF;"}
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { memo as a } from "react";
|
|
3
3
|
import { ILLUSTRATIONS as c } from "../../../../assets/illustrations/illustrations.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
4
|
+
import h from "../../../ui/buttons/button/button.js";
|
|
5
|
+
import l from "../../../ui/image/image.js";
|
|
6
|
+
import n from "../../../ui/layout/flex-view.js";
|
|
7
7
|
import r from "../../../ui/separator/separator.js";
|
|
8
|
-
import
|
|
9
|
-
import d from "../../hooks/use-parent-home
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
import o from "../../../ui/text/text.js";
|
|
9
|
+
import d from "../../hooks/use-fetch-parent-home.js";
|
|
10
|
+
import p from "../../hooks/use-parent-home-data.js";
|
|
11
|
+
import { ImageWrapper as f } from "./pla-first-session-introduction-styled.js";
|
|
12
|
+
const u = ({
|
|
13
|
+
studentId: t,
|
|
13
14
|
onRunSystemCheck: m
|
|
14
15
|
}) => {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
d(t);
|
|
17
|
+
const { formattedNextSessionStart: i } = p(t);
|
|
18
|
+
return /* @__PURE__ */ s(n, { $justifyContent: "center", $alignItems: "center", $height: "100vh", $width: "100%", children: [
|
|
19
|
+
i && /* @__PURE__ */ s(n, { children: [
|
|
20
|
+
/* @__PURE__ */ e(o, { $renderAs: "ab1", $color: "BLACK_1", $align: "center", children: "We’re excited for your first session on" }),
|
|
19
21
|
/* @__PURE__ */ e(r, { height: 4 }),
|
|
20
|
-
/* @__PURE__ */ e(
|
|
22
|
+
/* @__PURE__ */ e(o, { $renderAs: "ab1-bold", $align: "center", children: i })
|
|
21
23
|
] }),
|
|
22
24
|
/* @__PURE__ */ e(r, { heightX: 2.5 }),
|
|
23
|
-
/* @__PURE__ */ e(
|
|
25
|
+
/* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(l, { src: c.LEARNING_PUZZLE_BOT, width: "100%" }) }),
|
|
24
26
|
/* @__PURE__ */ e(r, { heightX: 3.5 }),
|
|
25
|
-
/* @__PURE__ */ e(
|
|
27
|
+
/* @__PURE__ */ e(o, { $renderAs: "ab2", $color: "BLACK_1", $align: "center", children: "Let's make sure your device is ready for your child's session." }),
|
|
26
28
|
/* @__PURE__ */ e(r, { heightX: 1 }),
|
|
27
29
|
/* @__PURE__ */ e(
|
|
28
|
-
|
|
30
|
+
h,
|
|
29
31
|
{
|
|
30
32
|
renderAs: "primary",
|
|
31
33
|
label: "Run a system check",
|
|
@@ -35,8 +37,8 @@ const f = ({
|
|
|
35
37
|
}
|
|
36
38
|
)
|
|
37
39
|
] });
|
|
38
|
-
},
|
|
40
|
+
}, F = a(u);
|
|
39
41
|
export {
|
|
40
|
-
|
|
42
|
+
F as default
|
|
41
43
|
};
|
|
42
44
|
//# sourceMappingURL=pla-first-session-introduction.js.map
|