@cuemath/leap 2.9.12-j3 → 2.9.12-j4
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/login/identifier-otp-form/identifier-otp-form-styled.js +12 -0
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -0
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +88 -0
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +1 -0
- package/dist/features/auth/login/username-password-form/username-password-form.js +85 -0
- package/dist/features/auth/login/username-password-form/username-password-form.js.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +253 -249
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
@@ -0,0 +1,12 @@
|
|
1
|
+
import e from "styled-components";
|
2
|
+
const t = e.form`
|
3
|
+
display: flex;
|
4
|
+
flex-direction: column;
|
5
|
+
justify-content: space-between;
|
6
|
+
margin-top: 8px;
|
7
|
+
flex: 1;
|
8
|
+
`;
|
9
|
+
export {
|
10
|
+
t as FormWrapper
|
11
|
+
};
|
12
|
+
//# sourceMappingURL=identifier-otp-form-styled.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"identifier-otp-form-styled.js","sources":["../../../../../src/features/auth/login/identifier-otp-form/identifier-otp-form-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nconst FormWrapper = styled.form`\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-top: 8px;\n flex: 1;\n`;\n\nexport { FormWrapper };\n"],"names":["FormWrapper","styled"],"mappings":";AAEA,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import { jsx as e, jsxs as d, Fragment as k } from "react/jsx-runtime";
|
2
|
+
import y from "../../../ui/buttons/button/button.js";
|
3
|
+
import c from "../../../ui/inputs/text-input/text-input.js";
|
4
|
+
import n from "../../../ui/layout/flex-view.js";
|
5
|
+
import s from "../../../ui/separator/separator.js";
|
6
|
+
import u from "../../comps/input-status-icon/input-status-icon.js";
|
7
|
+
import x from "../../comps/resend-otp/resend-otp.js";
|
8
|
+
import { FormWrapper as F } from "./identifier-otp-form-styled.js";
|
9
|
+
const C = ({
|
10
|
+
identifier: f,
|
11
|
+
otp: l,
|
12
|
+
errors: r,
|
13
|
+
isOtpVerified: i,
|
14
|
+
isLoading: a,
|
15
|
+
isSubmitDisabled: g,
|
16
|
+
showOtpInput: t,
|
17
|
+
onChange: m,
|
18
|
+
onSubmit: h,
|
19
|
+
onSendOtp: p
|
20
|
+
}) => {
|
21
|
+
const b = t ? "success-dark" : "primary-dark", $ = i ? "success-dark" : "primary-dark";
|
22
|
+
return /* @__PURE__ */ e(n, { $gutterX: 2, $gapX: 1.5, $background: "BLACK_2", $height: 308, children: /* @__PURE__ */ d(F, { onSubmit: h, children: [
|
23
|
+
/* @__PURE__ */ d(n, { $alignItems: "center", $justifyContent: "center", children: [
|
24
|
+
/* @__PURE__ */ e(
|
25
|
+
c,
|
26
|
+
{
|
27
|
+
renderAs: r.identifier ? "error-dark" : b,
|
28
|
+
autoFocus: !0,
|
29
|
+
label: "Email or Phone",
|
30
|
+
value: f,
|
31
|
+
onChange: (o) => m("identifier", o.target.value),
|
32
|
+
width: 330,
|
33
|
+
required: !0,
|
34
|
+
shape: "borderLess",
|
35
|
+
errorMessage: r.identifier,
|
36
|
+
disabled: t,
|
37
|
+
siblingElement: /* @__PURE__ */ e(u, { isValid: t, isError: !!r.identifier })
|
38
|
+
}
|
39
|
+
),
|
40
|
+
t && /* @__PURE__ */ d(k, { children: [
|
41
|
+
/* @__PURE__ */ e(s, { height: 36 }),
|
42
|
+
/* @__PURE__ */ e(
|
43
|
+
c,
|
44
|
+
{
|
45
|
+
type: "password",
|
46
|
+
renderAs: r.otp ? "error" : $,
|
47
|
+
autoComplete: "password",
|
48
|
+
label: "Verification code",
|
49
|
+
value: l,
|
50
|
+
onChange: (o) => m("otp", o.target.value),
|
51
|
+
width: 330,
|
52
|
+
required: !0,
|
53
|
+
shape: "borderLess",
|
54
|
+
errorMessage: r.otp,
|
55
|
+
disabled: i || l.length === 4 && a,
|
56
|
+
siblingElement: /* @__PURE__ */ e(
|
57
|
+
u,
|
58
|
+
{
|
59
|
+
isLoading: a,
|
60
|
+
isValid: i,
|
61
|
+
isError: !!r.otp
|
62
|
+
}
|
63
|
+
)
|
64
|
+
}
|
65
|
+
),
|
66
|
+
/* @__PURE__ */ e(s, { heightX: 1.25 }),
|
67
|
+
/* @__PURE__ */ e(n, { $alignItems: "flex-end", $width: "100%", children: /* @__PURE__ */ e(x, { onResendOTP: p, disabled: i }) }),
|
68
|
+
/* @__PURE__ */ e(s, { heightX: 2 })
|
69
|
+
] })
|
70
|
+
] }),
|
71
|
+
/* @__PURE__ */ e(
|
72
|
+
y,
|
73
|
+
{
|
74
|
+
size: "small",
|
75
|
+
renderAs: "secondary-dark",
|
76
|
+
type: "submit",
|
77
|
+
label: t ? "Log In" : "Get Verification Code",
|
78
|
+
width: 336,
|
79
|
+
busy: !t && a,
|
80
|
+
disabled: g
|
81
|
+
}
|
82
|
+
)
|
83
|
+
] }) });
|
84
|
+
}, P = C;
|
85
|
+
export {
|
86
|
+
P as default
|
87
|
+
};
|
88
|
+
//# sourceMappingURL=identifier-otp-form.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"identifier-otp-form.js","sources":["../../../../../src/features/auth/login/identifier-otp-form/identifier-otp-form.tsx"],"sourcesContent":["// In @cuemath/leap/src/components/IdentifierOtpForm.tsx\n\nimport type { IIdentifierOtpFormProps } from './identifier-otp-form-types';\n\nimport React, { type ChangeEvent } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport ResendOTP from '../../comps/resend-otp/resend-otp';\nimport * as Styled from './identifier-otp-form-styled';\n\nconst IdentifierOtpForm: React.FC<IIdentifierOtpFormProps> = ({\n identifier,\n otp,\n errors,\n isOtpVerified,\n isLoading,\n isSubmitDisabled,\n showOtpInput,\n onChange,\n onSubmit,\n onSendOtp,\n}) => {\n const identifierStatusVariant = showOtpInput ? 'success-dark' : 'primary-dark';\n const otpStatusVariant = isOtpVerified ? 'success-dark' : 'primary-dark';\n\n return (\n <FlexView $gutterX={2} $gapX={1.5} $background=\"BLACK_2\" $height={308}>\n <Styled.FormWrapper onSubmit={onSubmit}>\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <TextInput\n renderAs={errors.identifier ? 'error-dark' : identifierStatusVariant}\n autoFocus\n label=\"Email or Phone\"\n value={identifier}\n onChange={(e: ChangeEvent<HTMLInputElement>) => onChange('identifier', e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.identifier}\n disabled={showOtpInput}\n siblingElement={\n <InputStatusIcon isValid={showOtpInput} isError={!!errors.identifier} />\n }\n />\n {showOtpInput && (\n <>\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.otp ? 'error' : otpStatusVariant}\n autoComplete=\"password\"\n label=\"Verification code\"\n value={otp}\n onChange={(e: ChangeEvent<HTMLInputElement>) => onChange('otp', e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.otp}\n disabled={isOtpVerified || (otp.length === 4 && isLoading)}\n siblingElement={\n <InputStatusIcon\n isLoading={isLoading}\n isValid={isOtpVerified}\n isError={!!errors.otp}\n />\n }\n />\n <Separator heightX={1.25} />\n <FlexView $alignItems=\"flex-end\" $width=\"100%\">\n <ResendOTP onResendOTP={onSendOtp} disabled={isOtpVerified} />\n </FlexView>\n <Separator heightX={2} />\n </>\n )}\n </FlexView>\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label={showOtpInput ? 'Log In' : 'Get Verification Code'}\n width={336}\n busy={!showOtpInput && isLoading}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default IdentifierOtpForm;\n"],"names":["IdentifierOtpForm","identifier","otp","errors","isOtpVerified","isLoading","isSubmitDisabled","showOtpInput","onChange","onSubmit","onSendOtp","identifierStatusVariant","otpStatusVariant","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","e","InputStatusIcon","Fragment","Separator","ResendOTP","Button","IdentifierOtpForm$1"],"mappings":";;;;;;;;AAcA,MAAMA,IAAuD,CAAC;AAAA,EAC5D,YAAAC;AAAA,EACA,KAAAC;AAAA,EACA,QAAAC;AAAA,EACA,eAAAC;AAAA,EACA,WAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AACF,MAAM;AACE,QAAAC,IAA0BJ,IAAe,iBAAiB,gBAC1DK,IAAmBR,IAAgB,iBAAiB;AAE1D,SACG,gBAAAS,EAAAC,GAAA,EAAS,UAAU,GAAG,OAAO,KAAK,aAAY,WAAU,SAAS,KAChE,UAAA,gBAAAC,EAACC,GAAA,EAAmB,UAAAP,GAClB,UAAA;AAAA,IAAA,gBAAAM,EAACD,GAAS,EAAA,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,MAAA,gBAAAD;AAAA,QAACI;AAAA,QAAA;AAAA,UACC,UAAUd,EAAO,aAAa,eAAeQ;AAAA,UAC7C,WAAS;AAAA,UACT,OAAM;AAAA,UACN,OAAOV;AAAA,UACP,UAAU,CAACiB,MAAqCV,EAAS,cAAcU,EAAE,OAAO,KAAK;AAAA,UACrF,OAAO;AAAA,UACP,UAAQ;AAAA,UACR,OAAM;AAAA,UACN,cAAcf,EAAO;AAAA,UACrB,UAAUI;AAAA,UACV,kCACGY,GAAgB,EAAA,SAASZ,GAAc,SAAS,CAAC,CAACJ,EAAO,YAAY;AAAA,QAAA;AAAA,MAE1E;AAAA,MACCI,KAEG,gBAAAQ,EAAAK,GAAA,EAAA,UAAA;AAAA,QAAC,gBAAAP,EAAAQ,GAAA,EAAU,QAAQ,GAAI,CAAA;AAAA,QACvB,gBAAAR;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAUd,EAAO,MAAM,UAAUS;AAAA,YACjC,cAAa;AAAA,YACb,OAAM;AAAA,YACN,OAAOV;AAAA,YACP,UAAU,CAACgB,MAAqCV,EAAS,OAAOU,EAAE,OAAO,KAAK;AAAA,YAC9E,OAAO;AAAA,YACP,UAAQ;AAAA,YACR,OAAM;AAAA,YACN,cAAcf,EAAO;AAAA,YACrB,UAAUC,KAAkBF,EAAI,WAAW,KAAKG;AAAA,YAChD,gBACE,gBAAAQ;AAAA,cAACM;AAAA,cAAA;AAAA,gBACC,WAAAd;AAAA,gBACA,SAASD;AAAA,gBACT,SAAS,CAAC,CAACD,EAAO;AAAA,cAAA;AAAA,YACpB;AAAA,UAAA;AAAA,QAEJ;AAAA,QACA,gBAAAU,EAACQ,GAAU,EAAA,SAAS,KAAM,CAAA;AAAA,QACzB,gBAAAR,EAAAC,GAAA,EAAS,aAAY,YAAW,QAAO,QACtC,UAAC,gBAAAD,EAAAS,GAAA,EAAU,aAAaZ,GAAW,UAAUN,EAAe,CAAA,GAC9D;AAAA,QACA,gBAAAS,EAACQ,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,MAAA,GACzB;AAAA,IAAA,GAEJ;AAAA,IACA,gBAAAR;AAAA,MAACU;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,UAAS;AAAA,QACT,MAAK;AAAA,QACL,OAAOhB,IAAe,WAAW;AAAA,QACjC,OAAO;AAAA,QACP,MAAM,CAACA,KAAgBF;AAAA,QACvB,UAAUC;AAAA,MAAA;AAAA,IACZ;AAAA,EAAA,EACF,CAAA,EACF,CAAA;AAEJ,GAEAkB,IAAexB;"}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
2
|
+
import c from "../../../ui/buttons/button/button.js";
|
3
|
+
import g from "../../../ui/buttons/text-button/text-button.js";
|
4
|
+
import l from "../../../ui/inputs/text-input/text-input.js";
|
5
|
+
import t from "../../../ui/layout/flex-view.js";
|
6
|
+
import a from "../../../ui/separator/separator.js";
|
7
|
+
const b = ({
|
8
|
+
username: n,
|
9
|
+
password: i,
|
10
|
+
errors: r,
|
11
|
+
isProcessing: d,
|
12
|
+
onChange: m,
|
13
|
+
onSubmit: u,
|
14
|
+
onForgotPassword: p
|
15
|
+
}) => {
|
16
|
+
const h = d || !n.trim() || !i.trim();
|
17
|
+
return /* @__PURE__ */ o(
|
18
|
+
t,
|
19
|
+
{
|
20
|
+
$gutterX: 2,
|
21
|
+
$gapX: 1.5,
|
22
|
+
$alignItems: "center",
|
23
|
+
$justifyContent: "center",
|
24
|
+
$background: "BLACK_2",
|
25
|
+
$height: 308,
|
26
|
+
children: [
|
27
|
+
/* @__PURE__ */ e(a, { heightX: 0.5 }),
|
28
|
+
/* @__PURE__ */ o("form", { onSubmit: u, children: [
|
29
|
+
/* @__PURE__ */ o(t, { $alignItems: "center", $justifyContent: "center", children: [
|
30
|
+
/* @__PURE__ */ e(
|
31
|
+
l,
|
32
|
+
{
|
33
|
+
renderAs: r.username ? "error-dark" : "primary-dark",
|
34
|
+
autoFocus: !0,
|
35
|
+
autoComplete: "username",
|
36
|
+
label: "Username",
|
37
|
+
value: n,
|
38
|
+
onChange: (s) => m("username", s.target.value),
|
39
|
+
width: 330,
|
40
|
+
required: !0,
|
41
|
+
shape: "borderLess",
|
42
|
+
errorMessage: r.username
|
43
|
+
}
|
44
|
+
),
|
45
|
+
/* @__PURE__ */ e(a, { height: 36 }),
|
46
|
+
/* @__PURE__ */ e(
|
47
|
+
l,
|
48
|
+
{
|
49
|
+
type: "password",
|
50
|
+
renderAs: r.password ? "error-dark" : "primary-dark",
|
51
|
+
autoComplete: "password",
|
52
|
+
label: "Password",
|
53
|
+
value: i,
|
54
|
+
onChange: (s) => m("password", s.target.value),
|
55
|
+
width: 330,
|
56
|
+
required: !0,
|
57
|
+
shape: "borderLess",
|
58
|
+
errorMessage: r.password
|
59
|
+
}
|
60
|
+
)
|
61
|
+
] }),
|
62
|
+
/* @__PURE__ */ e(a, { heightX: 1.25 }),
|
63
|
+
/* @__PURE__ */ e(t, { $alignItems: "flex-end", children: /* @__PURE__ */ e(g, { label: "Forgot Password?", onClick: p, color: "WHITE_T_60" }) }),
|
64
|
+
/* @__PURE__ */ e(a, { heightX: 2 }),
|
65
|
+
/* @__PURE__ */ e(t, { $justifyContent: "center", children: /* @__PURE__ */ e(
|
66
|
+
c,
|
67
|
+
{
|
68
|
+
size: "small",
|
69
|
+
renderAs: "secondary-dark",
|
70
|
+
type: "submit",
|
71
|
+
label: "Log in",
|
72
|
+
width: 336,
|
73
|
+
busy: d,
|
74
|
+
disabled: h
|
75
|
+
}
|
76
|
+
) })
|
77
|
+
] })
|
78
|
+
]
|
79
|
+
}
|
80
|
+
);
|
81
|
+
}, x = b;
|
82
|
+
export {
|
83
|
+
x as default
|
84
|
+
};
|
85
|
+
//# sourceMappingURL=username-password-form.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"username-password-form.js","sources":["../../../../../src/features/auth/login/username-password-form/username-password-form.tsx"],"sourcesContent":["import type { IUsernamePasswordFormProps } from './username-password-form-types';\n\nimport { type ChangeEvent, type FC } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextButton from '../../../ui/buttons/text-button/text-button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\n\nconst UsernamePasswordForm: FC<IUsernamePasswordFormProps> = ({\n username,\n password,\n errors,\n isProcessing,\n onChange,\n onSubmit,\n onForgotPassword,\n}) => {\n const isSubmitDisabled = isProcessing || !username.trim() || !password.trim();\n\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Separator heightX={0.5} />\n <form onSubmit={onSubmit}>\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <TextInput\n renderAs={errors.username ? 'error-dark' : 'primary-dark'}\n autoFocus\n autoComplete=\"username\"\n label=\"Username\"\n value={username}\n onChange={(e: ChangeEvent<HTMLInputElement>) => onChange('username', e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.username}\n />\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.password ? 'error-dark' : 'primary-dark'}\n autoComplete=\"password\"\n label=\"Password\"\n value={password}\n onChange={(e: ChangeEvent<HTMLInputElement>) => onChange('password', e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.password}\n />\n </FlexView>\n <Separator heightX={1.25} />\n <FlexView $alignItems=\"flex-end\">\n <TextButton label=\"Forgot Password?\" onClick={onForgotPassword} color=\"WHITE_T_60\" />\n </FlexView>\n <Separator heightX={2} />\n <FlexView $justifyContent=\"center\">\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Log in\"\n width={336}\n busy={isProcessing}\n disabled={isSubmitDisabled}\n />\n </FlexView>\n </form>\n </FlexView>\n );\n};\n\nexport default UsernamePasswordForm;\n"],"names":["UsernamePasswordForm","username","password","errors","isProcessing","onChange","onSubmit","onForgotPassword","isSubmitDisabled","jsxs","FlexView","jsx","Separator","TextInput","e","TextButton","Button","UsernamePasswordForm$1"],"mappings":";;;;;;AAUA,MAAMA,IAAuD,CAAC;AAAA,EAC5D,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,kBAAAC;AACF,MAAM;AACE,QAAAC,IAAmBJ,KAAgB,CAACH,EAAS,UAAU,CAACC,EAAS;AAGrE,SAAA,gBAAAO;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAA;AAAA,QAAC,gBAAAC,EAAAC,GAAA,EAAU,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAH,EAAC,UAAK,UAAAH,GACJ,UAAA;AAAA,UAAA,gBAAAG,EAACC,GAAS,EAAA,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,YAAA,gBAAAC;AAAA,cAACE;AAAA,cAAA;AAAA,gBACC,UAAUV,EAAO,WAAW,eAAe;AAAA,gBAC3C,WAAS;AAAA,gBACT,cAAa;AAAA,gBACb,OAAM;AAAA,gBACN,OAAOF;AAAA,gBACP,UAAU,CAACa,MAAqCT,EAAS,YAAYS,EAAE,OAAO,KAAK;AAAA,gBACnF,OAAO;AAAA,gBACP,UAAQ;AAAA,gBACR,OAAM;AAAA,gBACN,cAAcX,EAAO;AAAA,cAAA;AAAA,YACvB;AAAA,YACA,gBAAAQ,EAACC,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,YACvB,gBAAAD;AAAA,cAACE;AAAA,cAAA;AAAA,gBACC,MAAK;AAAA,gBACL,UAAUV,EAAO,WAAW,eAAe;AAAA,gBAC3C,cAAa;AAAA,gBACb,OAAM;AAAA,gBACN,OAAOD;AAAA,gBACP,UAAU,CAACY,MAAqCT,EAAS,YAAYS,EAAE,OAAO,KAAK;AAAA,gBACnF,OAAO;AAAA,gBACP,UAAQ;AAAA,gBACR,OAAM;AAAA,gBACN,cAAcX,EAAO;AAAA,cAAA;AAAA,YACvB;AAAA,UAAA,GACF;AAAA,UACA,gBAAAQ,EAACC,GAAU,EAAA,SAAS,KAAM,CAAA;AAAA,UACzB,gBAAAD,EAAAD,GAAA,EAAS,aAAY,YACpB,UAAC,gBAAAC,EAAAI,GAAA,EAAW,OAAM,oBAAmB,SAASR,GAAkB,OAAM,aAAa,CAAA,GACrF;AAAA,UACA,gBAAAI,EAACC,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,UACvB,gBAAAD,EAACD,GAAS,EAAA,iBAAgB,UACxB,UAAA,gBAAAC;AAAA,YAACK;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,UAAS;AAAA,cACT,MAAK;AAAA,cACL,OAAM;AAAA,cACN,OAAO;AAAA,cACP,MAAMZ;AAAA,cACN,UAAUI;AAAA,YAAA;AAAA,UAAA,GAEd;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEAS,IAAejB;"}
|
package/dist/index.d.ts
CHANGED
@@ -1137,6 +1137,8 @@ declare interface IDatePickerInputProps extends Omit<ICustomInputFieldProps, 'va
|
|
1137
1137
|
onChange: (date: Date | null) => void;
|
1138
1138
|
}
|
1139
1139
|
|
1140
|
+
export declare const IdentifierOtpForm: React_2.FC<IIdentifierOtpFormProps>;
|
1141
|
+
|
1140
1142
|
declare interface IDesmosCalculatorProps {
|
1141
1143
|
onClose: () => void;
|
1142
1144
|
height?: string | number;
|
@@ -1355,6 +1357,22 @@ declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape'
|
|
1355
1357
|
renderAs: TButtonVariants;
|
1356
1358
|
}
|
1357
1359
|
|
1360
|
+
declare interface IIdentifierOtpFormProps {
|
1361
|
+
identifier: string;
|
1362
|
+
otp: string;
|
1363
|
+
errors: {
|
1364
|
+
identifier: string;
|
1365
|
+
otp: string;
|
1366
|
+
};
|
1367
|
+
isOtpVerified: boolean;
|
1368
|
+
isLoading: boolean;
|
1369
|
+
isSubmitDisabled: boolean;
|
1370
|
+
showOtpInput: boolean;
|
1371
|
+
onChange: (key: 'identifier' | 'otp', value: string) => void;
|
1372
|
+
onSubmit: (e: FormEvent<HTMLFormElement>) => void;
|
1373
|
+
onSendOtp: () => void;
|
1374
|
+
}
|
1375
|
+
|
1358
1376
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1359
1377
|
withLoader: boolean;
|
1360
1378
|
borderRadius?: number;
|
@@ -3303,6 +3321,19 @@ declare interface IUserChapterProgressProps {
|
|
3303
3321
|
total_core_sheets: number;
|
3304
3322
|
}
|
3305
3323
|
|
3324
|
+
declare interface IUsernamePasswordFormProps {
|
3325
|
+
username: string;
|
3326
|
+
password: string;
|
3327
|
+
errors: {
|
3328
|
+
username: string;
|
3329
|
+
password: string;
|
3330
|
+
};
|
3331
|
+
isProcessing: boolean;
|
3332
|
+
onChange: (key: 'username' | 'password', value: string) => void;
|
3333
|
+
onSubmit: (e: FormEvent<HTMLFormElement>) => void;
|
3334
|
+
onForgotPassword: () => void;
|
3335
|
+
}
|
3336
|
+
|
3306
3337
|
declare interface IUserTypeSelectorProps {
|
3307
3338
|
onNext: () => void;
|
3308
3339
|
onUserTypeChange: (id: TAuthUserType) => void;
|
@@ -5385,6 +5416,8 @@ export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5385
5416
|
|
5386
5417
|
export declare const UserIdentifierForm: ({ onSubmit, onChange, value, error, isSubmitDisabled, isProcessing, isValid, label, field, }: ISingleFieldFormProps) => JSX_2.Element;
|
5387
5418
|
|
5419
|
+
export declare const UsernamePasswordForm: FC<IUsernamePasswordFormProps>;
|
5420
|
+
|
5388
5421
|
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
5389
5422
|
|
5390
5423
|
export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
|
package/dist/index.js
CHANGED
@@ -11,11 +11,11 @@ import { default as C } from "./assets/line-icons/icons/bin2.js";
|
|
11
11
|
import { default as _ } from "./assets/line-icons/icons/book-closed.js";
|
12
12
|
import { default as h } from "./assets/line-icons/icons/book.js";
|
13
13
|
import { default as R } from "./assets/line-icons/icons/book2.js";
|
14
|
-
import { default as
|
14
|
+
import { default as O } from "./assets/line-icons/icons/bookmark.js";
|
15
15
|
import { default as k } from "./assets/line-icons/icons/bulb.js";
|
16
16
|
import { default as D } from "./assets/line-icons/icons/bulb2.js";
|
17
17
|
import { default as g } from "./assets/line-icons/icons/calendar.js";
|
18
|
-
import { default as
|
18
|
+
import { default as U } from "./assets/line-icons/icons/check.js";
|
19
19
|
import { default as b } from "./assets/line-icons/icons/check2.js";
|
20
20
|
import { default as W } from "./assets/line-icons/icons/clipboard.js";
|
21
21
|
import { default as w } from "./assets/line-icons/icons/clock.js";
|
@@ -38,11 +38,11 @@ import { default as Ce } from "./assets/line-icons/icons/hand.js";
|
|
38
38
|
import { default as _e } from "./assets/line-icons/icons/help.js";
|
39
39
|
import { default as he } from "./assets/line-icons/icons/highlighter.js";
|
40
40
|
import { default as Re } from "./assets/line-icons/icons/home.js";
|
41
|
-
import { default as
|
41
|
+
import { default as Oe } from "./assets/line-icons/icons/image.js";
|
42
42
|
import { default as ke } from "./assets/line-icons/icons/info.js";
|
43
43
|
import { default as De } from "./assets/line-icons/icons/info2.js";
|
44
44
|
import { default as ge } from "./assets/line-icons/icons/left.js";
|
45
|
-
import { default as
|
45
|
+
import { default as Ue } from "./assets/line-icons/icons/lock.js";
|
46
46
|
import { default as be } from "./assets/line-icons/icons/lock2.js";
|
47
47
|
import { default as We } from "./assets/line-icons/icons/minus.js";
|
48
48
|
import { default as we } from "./assets/line-icons/icons/minus2.js";
|
@@ -65,11 +65,11 @@ import { default as Ao } from "./assets/line-icons/icons/right.js";
|
|
65
65
|
import { default as Po } from "./assets/line-icons/icons/ruler.js";
|
66
66
|
import { default as Lo } from "./assets/line-icons/icons/search.js";
|
67
67
|
import { default as No } from "./assets/line-icons/icons/sheet.js";
|
68
|
-
import { default as
|
68
|
+
import { default as Mo } from "./assets/line-icons/icons/star.js";
|
69
69
|
import { default as Ho } from "./assets/line-icons/icons/skip.js";
|
70
70
|
import { default as Go } from "./assets/line-icons/icons/skip2.js";
|
71
71
|
import { default as yo } from "./assets/line-icons/icons/star2.js";
|
72
|
-
import { default as
|
72
|
+
import { default as Bo } from "./assets/line-icons/icons/striked-eye.js";
|
73
73
|
import { default as vo } from "./assets/line-icons/icons/switch-icon.js";
|
74
74
|
import { default as Vo } from "./assets/line-icons/icons/tick.js";
|
75
75
|
import { default as Fo } from "./assets/line-icons/icons/trophy.js";
|
@@ -91,11 +91,11 @@ import { default as Cr } from "./assets/line-icons/icons/next2.js";
|
|
91
91
|
import { AutoPlayPermissionProvider as _r } from "./features/hooks/use-auto-play-permission/use-auto-play-permission-context-provider.js";
|
92
92
|
import { default as hr } from "./features/hooks/use-zoom-disable.js";
|
93
93
|
import { default as Rr } from "./features/hooks/use-force-reload.js";
|
94
|
-
import { default as
|
94
|
+
import { default as Or } from "./features/ui/accordion-section/accordion-section.js";
|
95
95
|
import { default as kr } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
|
96
96
|
import { default as Dr } from "./features/ui/context-menu/context-menu.js";
|
97
97
|
import { default as gr } from "./features/ui/timers/countdown-timer/countdown-timer.js";
|
98
|
-
import { default as
|
98
|
+
import { default as Ur } from "./features/ui/nudge/nudge.js";
|
99
99
|
import { default as br } from "./features/ui/buttons/button/button.js";
|
100
100
|
import { default as Wr } from "./features/ui/buttons/clickable/clickable.js";
|
101
101
|
import { default as wr } from "./features/ui/buttons/icon-button/icon-button.js";
|
@@ -118,11 +118,11 @@ import { default as Ct } from "./features/ui/loader/app-loader/app-loader.js";
|
|
118
118
|
import { CircularLoader as _t } from "./features/ui/loader/circular-loader/circular-loader.js";
|
119
119
|
import { default as ht } from "./features/ui/radio-cards/radio-cards.js";
|
120
120
|
import { default as Rt } from "./features/ui/section-list/section-list.js";
|
121
|
-
import { default as
|
121
|
+
import { default as Ot } from "./features/ui/text/text.js";
|
122
122
|
import { default as kt } from "./features/ui/tag/tag.js";
|
123
123
|
import { default as Dt } from "./features/ui/callout/callout.js";
|
124
124
|
import { default as gt, useUIContext as yt } from "./features/ui/context/context.js";
|
125
|
-
import { default as
|
125
|
+
import { default as Bt } from "./features/ui/context/use-tracking-context.js";
|
126
126
|
import { default as vt } from "./features/ui/hooks/use-context-menu-click-handler.js";
|
127
127
|
import { getTheme as Vt } from "./features/ui/theme/get-theme.js";
|
128
128
|
import { default as Ft } from "./features/ui/avatar/avatar.js";
|
@@ -145,123 +145,125 @@ import { default as Aa } from "./features/auth/signup/custom-input-field/grade-i
|
|
145
145
|
import { default as Pa } from "./features/auth/signup/custom-input-field/phone-input/phone-input.js";
|
146
146
|
import { default as La } from "./features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js";
|
147
147
|
import { default as Na } from "./features/auth/signup/custom-input-field/custom-input-field.js";
|
148
|
-
import { default as
|
148
|
+
import { default as Ma } from "./features/auth/signup/circular-step-wrapper/circular-step-wrapper.js";
|
149
149
|
import { default as Ha } from "./features/auth/signup/signup-methods/signup-methods.js";
|
150
150
|
import { default as Ga } from "./features/auth/account-selector/account-selector.js";
|
151
151
|
import { default as ya } from "./features/auth/login/social-login-methods/social-login-methods.js";
|
152
|
-
import { default as
|
153
|
-
import { default as va } from "./features/auth/
|
154
|
-
import { default as Va } from "./features/auth/
|
155
|
-
import { default as Fa } from "./features/auth/forgot-password/
|
156
|
-
import {
|
157
|
-
import {
|
158
|
-
import {
|
159
|
-
import {
|
160
|
-
import {
|
161
|
-
import {
|
162
|
-
import {
|
163
|
-
import { default as ff } from "./features/
|
164
|
-
import { default as lf } from "./features/
|
165
|
-
import { default as uf } from "./features/chapters/
|
166
|
-
import { default as df } from "./features/chapters/
|
167
|
-
import { default as nf } from "./features/chapters/lpar-chapter/
|
168
|
-
import {
|
169
|
-
import {
|
170
|
-
import {
|
171
|
-
import {
|
172
|
-
import {
|
173
|
-
import {
|
174
|
-
import {
|
175
|
-
import {
|
176
|
-
import {
|
177
|
-
import {
|
178
|
-
import {
|
179
|
-
import {
|
180
|
-
import {
|
181
|
-
import {
|
182
|
-
import {
|
183
|
-
import {
|
184
|
-
import {
|
185
|
-
import {
|
186
|
-
import {
|
187
|
-
import {
|
188
|
-
import {
|
189
|
-
import {
|
190
|
-
import {
|
191
|
-
import {
|
192
|
-
import {
|
193
|
-
import { default as ns } from "./features/cue-canvas/cue-canvas.js";
|
194
|
-
import { default as Is } from "./features/cue-canvas/
|
195
|
-
import { default as Ts } from "./features/
|
196
|
-
import { default as Es } from "./features/
|
197
|
-
import {
|
198
|
-
import {
|
199
|
-
import {
|
200
|
-
import {
|
201
|
-
import {
|
202
|
-
import {
|
203
|
-
import {
|
204
|
-
import {
|
205
|
-
import {
|
206
|
-
import {
|
207
|
-
import {
|
208
|
-
import {
|
209
|
-
import {
|
210
|
-
import {
|
211
|
-
import {
|
212
|
-
import {
|
213
|
-
import { default as el } from "./features/
|
214
|
-
import { default as rl } from "./features/milestone/create/
|
215
|
-
import { default as al } from "./features/milestone/create/
|
216
|
-
import { default as sl } from "./features/milestone/
|
217
|
-
import { default as pl } from "./features/milestone/
|
218
|
-
import { default as ml } from "./features/milestone/
|
219
|
-
import { default as xl } from "./features/milestone/outcome/
|
220
|
-
import { default as cl } from "./features/milestone/
|
221
|
-
import { default as il } from "./features/milestone/
|
222
|
-
import { default as Sl } from "./features/milestone/edit/milestone-
|
223
|
-
import { default as Cl } from "./features/milestone/
|
224
|
-
import { default as _l } from "./features/milestone/
|
225
|
-
import { default as hl } from "./features/milestone/
|
226
|
-
import { default as Rl } from "./features/milestone/milestone-
|
227
|
-
import { default as
|
228
|
-
import {
|
229
|
-
import {
|
230
|
-
import {
|
231
|
-
import {
|
232
|
-
import {
|
233
|
-
import {
|
234
|
-
import {
|
235
|
-
import {
|
236
|
-
import {
|
237
|
-
import {
|
238
|
-
import {
|
239
|
-
import {
|
240
|
-
import { default as fp } from "./features/
|
241
|
-
import { default as lp } from "./features/
|
242
|
-
import {
|
243
|
-
import {
|
244
|
-
import {
|
245
|
-
import {
|
246
|
-
import {
|
247
|
-
import {
|
248
|
-
import {
|
249
|
-
import {
|
250
|
-
import { default as vp } from "./features/worksheet/worksheet/worksheet-
|
251
|
-
import { default as Vp } from "./features/worksheet/worksheet/worksheet-
|
252
|
-
import { default as Fp } from "./features/worksheet/
|
253
|
-
import { default as Qp } from "./features/worksheet/
|
254
|
-
import { default as Jp } from "./features/worksheet/
|
152
|
+
import { default as Ba } from "./features/auth/login/social-account-not-found/social-account-not-found.js";
|
153
|
+
import { default as va } from "./features/auth/login/username-password-form/username-password-form.js";
|
154
|
+
import { default as Va } from "./features/auth/login/identifier-otp-form/identifier-otp-form.js";
|
155
|
+
import { default as Fa } from "./features/auth/forgot-password/otp-form/otp-form.js";
|
156
|
+
import { default as Qa } from "./features/auth/forgot-password/reset-password-form/reset-password-form.js";
|
157
|
+
import { default as Ja } from "./features/auth/forgot-password/user-identifier-form/user-identifier-form.js";
|
158
|
+
import { AUTH_TABS as Za } from "./features/auth/login/login-constants.js";
|
159
|
+
import { ApiErrorCode as za } from "./features/auth/signup/signup-constants.js";
|
160
|
+
import { PLATFORM_EVENTS_STUDENT as $a } from "./features/analytics-events/platform-events-student.js";
|
161
|
+
import { PLATFORM_EVENTS_TEACHER as of } from "./features/analytics-events/platform-events-teacher.js";
|
162
|
+
import { WHITELIST_EVENTS as tf } from "./features/analytics-events/whitelist-events.js";
|
163
|
+
import { default as ff } from "./features/blockers/multi-tab-blocker/use-is-tab-blocked.js";
|
164
|
+
import { default as lf } from "./features/blockers/multi-tab-blocker/multi-tab-blocker.js";
|
165
|
+
import { default as uf } from "./features/chapters/chapter/chapter.js";
|
166
|
+
import { default as df } from "./features/chapters/chapters-list/chapters-list.js";
|
167
|
+
import { default as nf } from "./features/chapters/lpar-chapter/lpar-chapter.js";
|
168
|
+
import { default as If } from "./features/chapters/lpar-milestone-chapter/lpar-milestone-chapter.js";
|
169
|
+
import { default as Sf } from "./features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js";
|
170
|
+
import { checkIfPPTNodeType as Cf } from "./features/chapters/lpar-chapter/utils/index.js";
|
171
|
+
import { GAME_LAUNCHER_ASSET_PADDING as _f } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
|
172
|
+
import { GAME_LAUNCHER_SIZE as hf } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
|
173
|
+
import { useCircleSounds as Rf } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
|
174
|
+
import { CircleSoundKey as Of } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
|
175
|
+
import { useGetLeaderboardDal as kf } from "./features/circle-games/leaderboard/dal/use-get-leaderboard-dal/use-get-leaderboard-dal.js";
|
176
|
+
import { ELeaderboardType as Df } from "./features/circle-games/leaderboard/enums/leaderboard-type-enum.js";
|
177
|
+
import { StreakReductionLocalStorageUtil as gf } from "./features/circle-games/utils/streak-reduction-localstorage-util.js";
|
178
|
+
import { Tutorial as Uf } from "./features/circle-games/games/tutorial/tutorial.js";
|
179
|
+
import { WebView as bf } from "./features/circle-games/games/web-view/web-view.js";
|
180
|
+
import { ProjectOutcome as Wf } from "./features/circle-games/games/web-view/enums/project-outcomes-enum.js";
|
181
|
+
import { WebViewEvent as wf } from "./features/circle-games/games/web-view/enums/web-view-events-enum.js";
|
182
|
+
import { ProjectType as Yf } from "./features/circle-games/games/web-view/enums/project-type-enum.js";
|
183
|
+
import { PlayerType as Kf } from "./features/circle-games/games/web-view/enums/player-type-enum.js";
|
184
|
+
import { IStatsToAwardErrorCode as jf } from "./features/circle-games/games/web-view/web-view-types.js";
|
185
|
+
import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as qf } from "./features/circle-games/enum/circle-onboarding-steps.js";
|
186
|
+
import { CIRCLE_ACTION_IDS as Xf } from "./features/circle-games/enum/circle-action-ids.js";
|
187
|
+
import { GameLauncher as es } from "./features/circle-games/game-launcher/game-launcher.js";
|
188
|
+
import { useGetCircleHomeDetailsDal as rs } from "./features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js";
|
189
|
+
import { Leaderboard as as } from "./features/circle-games/leaderboard/leaderboard.js";
|
190
|
+
import { BackgroundImage as ss, CircularSteps as ls } from "./features/circle-games/sign-up/comp/circular-steps/circular-steps.js";
|
191
|
+
import { SplashScreen as us } from "./features/circle-games/sign-up/comp/splash-screen/splash-screen.js";
|
192
|
+
import { SignUp as ds } from "./features/circle-games/sign-up/sign-up.js";
|
193
|
+
import { default as ns } from "./features/cue-canvas/cue-canvas-provider.js";
|
194
|
+
import { default as Is } from "./features/cue-canvas/toolbar/toolbar.js";
|
195
|
+
import { default as Ts } from "./features/cue-canvas/cue-canvas.js";
|
196
|
+
import { default as Es } from "./features/cue-canvas/hooks/use-canvas-sync-broker.js";
|
197
|
+
import { default as As } from "./features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
|
198
|
+
import { default as Ps } from "./features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
|
199
|
+
import { EVENTS as Ls } from "./features/communication/pub-sub/constants.js";
|
200
|
+
import { useInClassActionDispatcher as Ns, useInClassActionListener as Os } from "./features/communication/pub-sub/hooks.js";
|
201
|
+
import { default as ks } from "./features/trial-session/trial-session.js";
|
202
|
+
import { EClassTimeAlertLevel as Ds } from "./features/trial-session/trial-session-types.js";
|
203
|
+
import { useClassTimeAlerts as gs } from "./features/trial-session/hooks/use-class-time-alerts.js";
|
204
|
+
import { default as Us } from "./features/talk-meter/talk-meter.js";
|
205
|
+
import { default as bs } from "./features/extra-practice/extra-practice.js";
|
206
|
+
import { useAutoPlayPermission as Ws } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
|
207
|
+
import { JOURNEY_ID_STUDENT as ws } from "./features/journey/journey-id/journey-id-student.js";
|
208
|
+
import { useJourney as Ys } from "./features/journey/use-journey/use-journey.js";
|
209
|
+
import { useGetEligibleJourneysViaRoute as Ks } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
|
210
|
+
import { JourneyProvider as js } from "./features/journey/use-journey/journey-context-provider.js";
|
211
|
+
import { IndicatorType as qs } from "./features/journey/use-journey/constants.js";
|
212
|
+
import { Coachmark as Xs } from "./features/journey/comps/coachmark/coachmark.js";
|
213
|
+
import { default as el } from "./features/maintenance/maintenance.js";
|
214
|
+
import { default as rl } from "./features/milestone/create/submit-modal/submit-modal.js";
|
215
|
+
import { default as al } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
|
216
|
+
import { default as sl } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
|
217
|
+
import { default as pl } from "./features/milestone/create/milestone-create-container.js";
|
218
|
+
import { default as ml } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
|
219
|
+
import { default as xl } from "./features/milestone/outcome/milestone-outcome-container.js";
|
220
|
+
import { default as cl } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
|
221
|
+
import { default as il } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
|
222
|
+
import { default as Sl } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
|
223
|
+
import { default as Cl } from "./features/milestone/edit/goal-edit-container.js";
|
224
|
+
import { default as _l } from "./features/milestone/edit/milestone-edit-container.js";
|
225
|
+
import { default as hl } from "./features/milestone/milestone-list-container/milestone-list-container.js";
|
226
|
+
import { default as Rl } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
|
227
|
+
import { default as Ol } from "./features/milestone/start/milestone-start.js";
|
228
|
+
import { default as kl } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
|
229
|
+
import { default as Dl } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
|
230
|
+
import { ACHIEVEMENT_ACTIONS as gl, STAGES as yl } from "./features/milestone/outcome/milestone-outcome-constants.js";
|
231
|
+
import { invalidateMilestonesData as Bl, useGetAllMilestonesdata as bl } from "./features/milestone/milestone-list-container/api/get-milestones.js";
|
232
|
+
import { invalidateTestHelpData as Wl, useGetTestHelpData as Vl } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
|
233
|
+
import { invalidateMilestoneResources as Fl, useGetMilestoneResources as Yl } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
|
234
|
+
import { default as Kl } from "./features/pointer-sync/pointer.js";
|
235
|
+
import { default as jl } from "./features/pointer-sync/hooks/use-pointer-sync.js";
|
236
|
+
import { DigitalMeter as ql } from "./features/post-game-stats/digital-meter/digital-meter.js";
|
237
|
+
import { EPostGameStat as Xl } from "./features/post-game-stats/enums/post-game-stats-enum.js";
|
238
|
+
import { PostGameStats as ep } from "./features/post-game-stats/post-game-stats.js";
|
239
|
+
import { SENTRY_DENIED_URLS as rp, SENTRY_IGNORED_ERRORS as tp } from "./features/sentry/constants/ignored.js";
|
240
|
+
import { default as fp } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
|
241
|
+
import { default as lp } from "./features/sheet-tools/tool-header/tool-header.js";
|
242
|
+
import { default as up } from "./features/sheets/sheets-list/sheets-list.js";
|
243
|
+
import { default as dp } from "./features/sheets/reference-sheet/reference-sheet.js";
|
244
|
+
import { WORKSHEET_V3_NODE_TYPES as np } from "./features/sheets/utils/is-v3-worksheet.js";
|
245
|
+
import { COMPLETED_SHEET_STATE as Ip, NODE_LABELS as ip, NODE_SUB_GROUP as Tp, NODE_TYPE as Sp, PYTHON_NODE_TYPES as Ep, REWARDS_LIST as Cp, SHEET_ACTIONS as Ap, SHEET_ATTEMPT_LOCATION as _p, SHEET_ATTEMPT_LOCATION_MAP as Pp, SHEET_ATTEMPT_STATE as hp, SHEET_DATA_TYPE as Lp, SHEET_STATE as Rp } from "./features/sheets/constants/sheet.js";
|
246
|
+
import { default as Op } from "./features/student-details/student-details.js";
|
247
|
+
import { default as kp } from "./features/utils/load-script.js";
|
248
|
+
import { ACTION_BAR_HEIGHT as Dp, QUESTIONS_GAP as Gp, QUESTION_WIDTH as gp, TOP_NAVIGATION_HEIGHT as yp } from "./features/worksheet/worksheet/constants.js";
|
249
|
+
import { isOkayTypeQuestion as Bp } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
250
|
+
import { default as vp } from "./features/worksheet/worksheet/worksheet-container.js";
|
251
|
+
import { default as Vp } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
252
|
+
import { default as Fp } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
|
253
|
+
import { default as Qp } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
|
254
|
+
import { default as Jp } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
|
255
|
+
import { default as Zp } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
|
256
|
+
import { default as zp } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
255
257
|
export {
|
256
|
-
|
257
|
-
|
258
|
-
|
258
|
+
gl as ACHIEVEMENT_ACTIONS,
|
259
|
+
Za as AUTH_TABS,
|
260
|
+
Or as AccordionSection,
|
259
261
|
Ga as AccountSelector,
|
260
|
-
|
261
|
-
|
262
|
+
cl as AchievementNotShareReasonModal,
|
263
|
+
il as AchievementShareInstructionModal,
|
262
264
|
c as AlertIcon,
|
263
265
|
fa as AnimatedArc,
|
264
|
-
|
266
|
+
za as ApiErrorCode,
|
265
267
|
Ct as AppLoader,
|
266
268
|
Kr as ArcButton,
|
267
269
|
kr as ArrowTooltip,
|
@@ -271,84 +273,84 @@ export {
|
|
271
273
|
Ft as Avatar,
|
272
274
|
ar as Back2Icon,
|
273
275
|
i as BackIcon,
|
274
|
-
|
276
|
+
ss as BackgroundImage,
|
275
277
|
C as Bin2Icon,
|
276
278
|
S as BinIcon,
|
277
279
|
R as Book2Icon,
|
278
280
|
_ as BookClosedIcon,
|
279
281
|
h as BookIcon,
|
280
|
-
|
282
|
+
O as BookmarkIcon,
|
281
283
|
D as Bulb2Icon,
|
282
284
|
k as BulbIcon,
|
283
285
|
br as Button,
|
284
|
-
|
285
|
-
|
286
|
-
|
286
|
+
Xf as CIRCLE_ACTION_IDS,
|
287
|
+
qf as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
288
|
+
Ip as COMPLETED_SHEET_STATE,
|
287
289
|
g as CalendarIcon,
|
288
290
|
Dt as Callout,
|
289
291
|
mt as CascadingSelectInput,
|
290
|
-
|
291
|
-
|
292
|
-
|
292
|
+
uf as Chapter,
|
293
|
+
sl as ChapterClearanceConfirmationModal,
|
294
|
+
df as ChaptersList,
|
293
295
|
ir as ChatIcon,
|
294
296
|
b as Check2Icon,
|
295
|
-
|
297
|
+
U as CheckIcon,
|
296
298
|
qr as CheckboxInput,
|
297
299
|
Xr as CheckboxInputList,
|
298
300
|
mr as ChevronDownIcon,
|
299
301
|
pr as ChevronLeftIcon,
|
300
302
|
sr as ChevronRightIcon,
|
301
|
-
|
303
|
+
Of as CircleSoundKey,
|
302
304
|
_t as CircularLoader,
|
303
|
-
|
304
|
-
|
305
|
+
Ma as CircularStepWrapper,
|
306
|
+
ls as CircularSteps,
|
305
307
|
Ea as ClaimUserAccount,
|
306
308
|
Wr as Clickable,
|
307
309
|
W as ClipboardIcon,
|
308
310
|
Y as Clock2Icon,
|
309
311
|
w as ClockIcon,
|
310
|
-
|
312
|
+
Xs as Coachmark,
|
311
313
|
K as CodeIcon,
|
312
314
|
Dr as ContextMenu,
|
313
315
|
j as CopyIcon,
|
314
316
|
gr as CountdownTimer,
|
315
317
|
q as CrossIcon,
|
316
|
-
|
317
|
-
|
318
|
-
|
318
|
+
Ts as CueCanvas,
|
319
|
+
Is as CueCanvasController,
|
320
|
+
ns as CueCanvasProvider,
|
319
321
|
X as CueRocket,
|
320
322
|
Sr as CuemathLogo,
|
321
323
|
Na as CustomInputField,
|
322
324
|
ee as DashArrowIcon,
|
323
325
|
La as DatePickerInput,
|
324
|
-
|
325
|
-
|
326
|
+
fp as DesmosCalculator,
|
327
|
+
ql as DigitalMeter,
|
326
328
|
re as DownIcon,
|
327
329
|
ae as DraftIcon,
|
328
330
|
se as DragIcon,
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
331
|
+
Ds as EClassTimeAlertLevel,
|
332
|
+
Df as ELeaderboardType,
|
333
|
+
Dl as EPResourceAssign,
|
334
|
+
Xl as EPostGameStat,
|
335
|
+
Ls as EVENTS,
|
334
336
|
me as Edit2Icon,
|
335
337
|
pe as EditIcon,
|
336
|
-
|
338
|
+
Sl as EditMilestoneModal,
|
337
339
|
xe as EditStarIcon,
|
338
340
|
ce as EraserIcon,
|
339
341
|
jr as Error,
|
340
|
-
|
341
|
-
|
342
|
+
lp as ExpandableHeader,
|
343
|
+
bs as ExtraPractice,
|
342
344
|
Se as Eye2Icon,
|
343
345
|
ie as EyeIcon,
|
344
346
|
St as FlexView,
|
345
|
-
|
346
|
-
|
347
|
+
_f as GAME_LAUNCHER_ASSET_PADDING,
|
348
|
+
hf as GAME_LAUNCHER_SIZE,
|
347
349
|
xr as GameIcon,
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
350
|
+
es as GameLauncher,
|
351
|
+
al as GoalCreationConfirmationModal,
|
352
|
+
ml as GoalDraftEdit,
|
353
|
+
Cl as GoalEdit,
|
352
354
|
st as GooglePlacesSearchInput,
|
353
355
|
Aa as GradeInput,
|
354
356
|
r as GradeSelector,
|
@@ -358,87 +360,88 @@ export {
|
|
358
360
|
Re as HomeIcon,
|
359
361
|
p as ILLUSTRATIONS,
|
360
362
|
m as IMAGES,
|
361
|
-
|
363
|
+
jf as IStatsToAwardErrorCode,
|
362
364
|
wr as IconButton,
|
365
|
+
Va as IdentifierOtpForm,
|
363
366
|
ta as Image,
|
364
|
-
|
365
|
-
|
367
|
+
Oe as ImageIcon,
|
368
|
+
qs as IndicatorType,
|
366
369
|
De as Info2Icon,
|
367
370
|
ke as InfoIcon,
|
368
371
|
na as InputStatusIcon,
|
369
|
-
|
370
|
-
|
372
|
+
ws as JOURNEY_ID_STUDENT,
|
373
|
+
js as JourneyProvider,
|
371
374
|
x as LOTTIE,
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
375
|
+
nf as LPARChapter,
|
376
|
+
If as LPARMilestoneChapter,
|
377
|
+
as as Leaderboard,
|
378
|
+
Jp as LearnosityPreloader,
|
376
379
|
ge as LeftIcon,
|
377
380
|
be as Lock2Icon,
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
381
|
+
Ue as LockIcon,
|
382
|
+
el as Maintenance,
|
383
|
+
Rl as MilestoneActionWidget,
|
384
|
+
pl as MilestoneCreate,
|
385
|
+
_l as MilestoneEdit,
|
386
|
+
hl as MilestoneList,
|
387
|
+
xl as MilestoneOutcome,
|
388
|
+
Ol as MilestoneStart,
|
386
389
|
we as Minus2Icon,
|
387
390
|
We as MinusIcon,
|
388
391
|
Ye as MistakeIcon,
|
389
392
|
Ke as Mobile,
|
390
393
|
je as MoreVerticalIcon,
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
394
|
+
lf as MultiTabBlocker,
|
395
|
+
ip as NODE_LABELS,
|
396
|
+
Tp as NODE_SUB_GROUP,
|
397
|
+
Sp as NODE_TYPE,
|
395
398
|
Cr as Next2Icon,
|
396
399
|
qe as NextIcon,
|
397
|
-
|
400
|
+
Ur as Nudge,
|
398
401
|
xt as NumRangeInput,
|
399
|
-
|
402
|
+
Fa as OTPForm,
|
400
403
|
da as OverlayLoader,
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
+
$a as PLATFORM_EVENTS_STUDENT,
|
405
|
+
of as PLATFORM_EVENTS_TEACHER,
|
406
|
+
Ep as PYTHON_NODE_TYPES,
|
404
407
|
Xe as PencilIcon,
|
405
408
|
ct as PercentileInput,
|
406
409
|
oa as PerfectHits,
|
407
410
|
Pa as PhoneInput,
|
408
411
|
ao as Play2Icon,
|
409
412
|
ro as PlayIcon,
|
410
|
-
|
413
|
+
Kf as PlayerType,
|
411
414
|
po as Plus2Icon,
|
412
415
|
so as PlusIcon,
|
413
416
|
eo as PointerIcon,
|
414
|
-
|
417
|
+
ep as PostGameStats,
|
415
418
|
mo as PracticeIcon,
|
416
|
-
|
419
|
+
Vp as PreviewWorksheet,
|
417
420
|
no as ProgressIcon,
|
418
|
-
|
419
|
-
|
421
|
+
Wf as ProjectOutcome,
|
422
|
+
Yf as ProjectType,
|
420
423
|
Io as QuestionIcon,
|
421
424
|
To as QuestionLetterIcon,
|
422
|
-
|
425
|
+
Cp as REWARDS_LIST,
|
423
426
|
ht as RadioCard,
|
424
427
|
et as RadioInput,
|
425
428
|
Eo as RedoIcon,
|
426
|
-
|
427
|
-
|
429
|
+
dp as ReferenceSheet,
|
430
|
+
Kl as RemotePeerPointer,
|
428
431
|
Ia as ResendOTP,
|
429
|
-
|
432
|
+
Qa as ResetPasswordForm,
|
430
433
|
Ao as RightIcon,
|
431
434
|
Po as RulerIcon,
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
435
|
+
Sf as SATSheetSummary,
|
436
|
+
rp as SENTRY_DENIED_URLS,
|
437
|
+
tp as SENTRY_IGNORED_ERRORS,
|
438
|
+
Ap as SHEET_ACTIONS,
|
439
|
+
_p as SHEET_ATTEMPT_LOCATION,
|
440
|
+
Pp as SHEET_ATTEMPT_LOCATION_MAP,
|
441
|
+
hp as SHEET_ATTEMPT_STATE,
|
442
|
+
Lp as SHEET_DATA_TYPE,
|
443
|
+
Rp as SHEET_STATE,
|
444
|
+
yl as STAGES,
|
442
445
|
or as ScribbleIcon,
|
443
446
|
Lo as SearchIcon,
|
444
447
|
at as SearchableSelectInput,
|
@@ -446,40 +449,40 @@ export {
|
|
446
449
|
rt as SelectInput,
|
447
450
|
it as SelectionCards,
|
448
451
|
zt as Separator,
|
449
|
-
|
452
|
+
Qp as SheetError,
|
450
453
|
No as SheetIcon,
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
+
up as SheetList,
|
455
|
+
Fp as SheetLocked,
|
456
|
+
ds as SignUp,
|
454
457
|
Ha as SignupMethods,
|
455
458
|
rr as SketchIcon,
|
456
459
|
Go as Skip2Icon,
|
457
460
|
Ho as SkipIcon,
|
458
|
-
|
461
|
+
Ba as SocialAccountNotFound,
|
459
462
|
ya as SocialLoginMethods,
|
460
|
-
|
463
|
+
us as SplashScreen,
|
461
464
|
yo as Star2Icon,
|
462
|
-
|
465
|
+
Mo as StarIcon,
|
463
466
|
a as Stepper,
|
464
467
|
Zt as StreakIcon,
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
468
|
+
gf as StreakReductionLocalStorageUtil,
|
469
|
+
Bo as StrikedEyeIcon,
|
470
|
+
Op as StudentDetails,
|
471
|
+
rl as SubmitMilestoneModal,
|
469
472
|
vo as SwitchIcon,
|
470
473
|
Jt as TabComponent,
|
471
474
|
s as Tabs,
|
472
475
|
kt as Tag,
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
+
Us as TalkMeter,
|
477
|
+
kl as TestsCreation,
|
478
|
+
Ot as Text,
|
476
479
|
Yr as TextButton,
|
477
480
|
pt as TextInput,
|
478
481
|
Vo as TickIcon,
|
479
482
|
Qt as TimeLeftTimeline,
|
480
|
-
|
483
|
+
ks as TrialSession,
|
481
484
|
Fo as TrophyIcon,
|
482
|
-
|
485
|
+
Uf as Tutorial,
|
483
486
|
cr as TutoringIcon,
|
484
487
|
gt as UIContext,
|
485
488
|
Qo as UndoIcon,
|
@@ -487,48 +490,49 @@ export {
|
|
487
490
|
Zo as UpIcon,
|
488
491
|
$o as User2Icon,
|
489
492
|
zo as UserIcon,
|
490
|
-
|
493
|
+
Ja as UserIdentifierForm,
|
491
494
|
Ta as UserTypeSelector,
|
495
|
+
va as UsernamePasswordForm,
|
492
496
|
$t as Video,
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
497
|
+
tf as WHITELIST_EVENTS,
|
498
|
+
Dp as WORKSHEET_ACTION_BAR_HEIGHT,
|
499
|
+
Gp as WORKSHEET_QUESTIONS_GAP,
|
500
|
+
gp as WORKSHEET_QUESTION_WIDTH,
|
501
|
+
yp as WORKSHEET_TOP_NAVIGATION_HEIGHT,
|
502
|
+
np as WORKSHEET_V3_NODE_TYPES,
|
503
|
+
bf as WebView,
|
504
|
+
wf as WebViewEvent,
|
505
|
+
vp as Worksheet,
|
506
|
+
Cf as checkIfPPTNodeType,
|
503
507
|
Vt as getTheme,
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
508
|
+
Fl as invalidateMilestoneResources,
|
509
|
+
Bl as invalidateMilestonesData,
|
510
|
+
Wl as invalidateTestHelpData,
|
511
|
+
Bp as isOkayTypeQuestion,
|
512
|
+
kp as loadScript,
|
513
|
+
Ws as useAutoPlayPermission,
|
514
|
+
Es as useCanvasSyncBroker,
|
515
|
+
Rf as useCircleSounds,
|
516
|
+
gs as useClassTimeAlerts,
|
513
517
|
vt as useContextMenuClickHandler,
|
514
518
|
Rr as useForceReload,
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
519
|
+
bl as useGetAllMilestonesdata,
|
520
|
+
rs as useGetCircleHomeDetailsDal,
|
521
|
+
Ks as useGetEligibleJourneysViaRoute,
|
522
|
+
kf as useGetLeaderboardDal,
|
523
|
+
Yl as useGetMilestoneResources,
|
524
|
+
Vl as useGetTestHelpData,
|
525
|
+
Ns as useInClassActionDispatcher,
|
526
|
+
Os as useInClassActionListener,
|
527
|
+
As as useInClassMessageBroker,
|
528
|
+
Zp as useIsLearnosityLoaded,
|
529
|
+
ff as useIsTabBlocked,
|
530
|
+
Ys as useJourney,
|
531
|
+
jl as usePointerSync,
|
532
|
+
Bt as useTrackingContext,
|
533
|
+
Ps as useTrialSessionMessageBroker,
|
530
534
|
yt as useUIContext,
|
531
|
-
|
535
|
+
zp as useWorksheetLayout,
|
532
536
|
hr as useZoomDisable
|
533
537
|
};
|
534
538
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|