@cuemath/leap 3.2.16 → 3.2.17-as1
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/ui/carousal/carousal-styles.js +45 -0
- package/dist/features/ui/carousal/carousal-styles.js.map +1 -0
- package/dist/features/ui/carousal/carousal.js +76 -0
- package/dist/features/ui/carousal/carousal.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +301 -299
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
@@ -0,0 +1,45 @@
|
|
1
|
+
import n from "styled-components";
|
2
|
+
const a = n.div`
|
3
|
+
margin-left: ${({ theme: t }) => t.layout.gutter}px;
|
4
|
+
overflow: hidden;
|
5
|
+
margin: ${({ wrapperMargin: t }) => t};
|
6
|
+
`, o = n.div`
|
7
|
+
display: flex;
|
8
|
+
transition: transform 1s ease;
|
9
|
+
transform: ${({ position: t }) => `translateX(calc(${t} * (-100%)))`};
|
10
|
+
`, s = n.div`
|
11
|
+
padding-right: ${({ theme: t }) => t.layout.gutter}px;
|
12
|
+
display: flex;
|
13
|
+
flex: 1 0 100%;
|
14
|
+
transition: opacity 1s ease;
|
15
|
+
padding: ${({ carouselSlotPadding: t }) => t};
|
16
|
+
${({ slideAlign: t }) => t === "center" && `
|
17
|
+
display:flex;
|
18
|
+
justify-content: center;
|
19
|
+
`}
|
20
|
+
`, l = n.div`
|
21
|
+
margin-top: 12px;
|
22
|
+
text-align: center;
|
23
|
+
${({ flexCenterIndicators: t }) => t && `
|
24
|
+
display: flex;
|
25
|
+
justify-content: center;
|
26
|
+
align-items: center;
|
27
|
+
`}
|
28
|
+
`, d = n.span`
|
29
|
+
background: ${({ isCurrent: t, dotColor: e, inactiveDotColor: i }) => t ? e : i};
|
30
|
+
width: ${({ isCurrent: t, activeIndicatorSize: e }) => t ? e : "8px"};
|
31
|
+
height: ${({ isCurrent: t, activeIndicatorSize: e }) => t ? e : "8px"};
|
32
|
+
border-radius: 50%;
|
33
|
+
margin-right: 5px;
|
34
|
+
display: inline-block;
|
35
|
+
transition: background 0.5s ease;
|
36
|
+
cursor: pointer;
|
37
|
+
`;
|
38
|
+
export {
|
39
|
+
o as CarouselContainer,
|
40
|
+
s as CarouselSlot,
|
41
|
+
l as Container,
|
42
|
+
d as Dot,
|
43
|
+
a as Wrapper
|
44
|
+
};
|
45
|
+
//# sourceMappingURL=carousal-styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"carousal-styles.js","sources":["../../../../src/features/ui/carousal/carousal-styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\ninterface WrapperProps {\n wrapperMargin?: string;\n}\n\nexport const Wrapper = styled.div<WrapperProps>`\n margin-left: ${({ theme }) => theme.layout.gutter}px;\n overflow: hidden;\n margin: ${({ wrapperMargin }) => wrapperMargin};\n`;\n\ninterface CarouselContainerProps {\n position: number;\n}\nexport const CarouselContainer = styled.div<CarouselContainerProps>`\n display: flex;\n transition: transform 1s ease;\n transform: ${({ position }) => `translateX(calc(${position} * (-100%)))`};\n`;\n\ninterface CarouselSlotProps {\n carouselSlotPadding?: string;\n slideAlign?: string | null;\n}\nexport const CarouselSlot = styled.div<CarouselSlotProps>`\n padding-right: ${({ theme }) => theme.layout.gutter}px;\n display: flex;\n flex: 1 0 100%;\n transition: opacity 1s ease;\n padding: ${({ carouselSlotPadding }) => carouselSlotPadding};\n ${({ slideAlign }) =>\n slideAlign === 'center' &&\n `\n display:flex;\n justify-content: center;\n `}\n`;\n\ninterface ContainerProps {\n flexCenterIndicators?: boolean;\n}\nexport const Container = styled.div<ContainerProps>`\n margin-top: 12px;\n text-align: center;\n ${({ flexCenterIndicators }) =>\n flexCenterIndicators &&\n `\n display: flex;\n justify-content: center;\n align-items: center;\n `}\n`;\n\ninterface DotProps {\n isCurrent: boolean;\n dotColor: string;\n inactiveDotColor: string;\n activeIndicatorSize: string;\n}\nexport const Dot = styled.span<DotProps>`\n background: ${({ isCurrent, dotColor, inactiveDotColor }) =>\n isCurrent ? dotColor : inactiveDotColor};\n width: ${({ isCurrent, activeIndicatorSize }) => (isCurrent ? activeIndicatorSize : '8px')};\n height: ${({ isCurrent, activeIndicatorSize }) => (isCurrent ? activeIndicatorSize : '8px')};\n border-radius: 50%;\n margin-right: 5px;\n display: inline-block;\n transition: background 0.5s ease;\n cursor: pointer;\n`;\n"],"names":["Wrapper","styled","theme","wrapperMargin","CarouselContainer","position","CarouselSlot","carouselSlotPadding","slideAlign","Container","flexCenterIndicators","Dot","isCurrent","dotColor","inactiveDotColor","activeIndicatorSize"],"mappings":";AAMO,MAAMA,IAAUC,EAAO;AAAA,iBACb,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,MAAM;AAAA;AAAA,YAEvC,CAAC,EAAE,eAAAC,EAAc,MAAMA,CAAa;AAAA,GAMnCC,IAAoBH,EAAO;AAAA;AAAA;AAAA,eAGzB,CAAC,EAAE,UAAAI,EAAe,MAAA,mBAAmBA,CAAQ,cAAc;AAAA,GAO7DC,IAAeL,EAAO;AAAA,mBAChB,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA,aAIxC,CAAC,EAAE,qBAAAK,EAAoB,MAAMA,CAAmB;AAAA,IACzD,CAAC,EAAE,YAAAC,EAAW,MACdA,MAAe,YACf;AAAA;AAAA;AAAA,GAGD;AAAA,GAMUC,IAAYR,EAAO;AAAA;AAAA;AAAA,IAG5B,CAAC,EAAE,sBAAAS,QACHA,KACA;AAAA;AAAA;AAAA;AAAA,GAID;AAAA,GASUC,IAAMV,EAAO;AAAA,gBACV,CAAC,EAAE,WAAAW,GAAW,UAAAC,GAAU,kBAAAC,QACpCF,IAAYC,IAAWC,CAAgB;AAAA,WAChC,CAAC,EAAE,WAAAF,GAAW,qBAAAG,EAA2B,MAAAH,IAAYG,IAAsB,KAAM;AAAA,YAChF,CAAC,EAAE,WAAAH,GAAW,qBAAAG,EAA2B,MAAAH,IAAYG,IAAsB,KAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
import { jsxs as G, Fragment as H, jsx as n } from "react/jsx-runtime";
|
2
|
+
import { useState as J, useRef as M, useCallback as p, useEffect as j } from "react";
|
3
|
+
import { getTheme as N } from "../theme/get-theme.js";
|
4
|
+
import { Wrapper as Q, CarouselContainer as U, CarouselSlot as B, Container as V, Dot as X } from "./carousal-styles.js";
|
5
|
+
const { colors: K } = N(), Y = ({
|
6
|
+
children: a,
|
7
|
+
initialPosition: b = 0,
|
8
|
+
infinite: f = !1,
|
9
|
+
slideDuration: y = 8e3,
|
10
|
+
dotColor: i = K.BLACK,
|
11
|
+
changeColor: x = () => null,
|
12
|
+
slideAlign: C = null,
|
13
|
+
inactiveDotColor: E = K.BLACK_T_15,
|
14
|
+
activeIndicatorSize: F = "8px",
|
15
|
+
flexCenterIndicators: W = !1,
|
16
|
+
isTestimonial: m = !1,
|
17
|
+
setColor: l = () => null,
|
18
|
+
setPosition: S = () => null,
|
19
|
+
carouselSlotPadding: v = "",
|
20
|
+
wrapperMargin: $ = "",
|
21
|
+
hideIndicators: q = !1,
|
22
|
+
autoScroll: I = !0,
|
23
|
+
nodeRef: u = null,
|
24
|
+
onChange: g = () => null
|
25
|
+
}) => {
|
26
|
+
const [r, z] = J(b), A = M(null), o = p(
|
27
|
+
(t) => {
|
28
|
+
z(t), S(t), u && u.current && (u.current.position = t), g();
|
29
|
+
},
|
30
|
+
[S, u, g]
|
31
|
+
), s = p(
|
32
|
+
(t, e = !1) => {
|
33
|
+
const _ = (Array.isArray(a) ? a : [a]).length;
|
34
|
+
let c = r;
|
35
|
+
m && l && l(c), t === "next" ? (c = r + 1, c > _ - 1 && (c = e ? 0 : r)) : (c = r - 1, c < 0 && (c = e ? _ - 1 : r)), c !== r && o(c);
|
36
|
+
},
|
37
|
+
[r, a, m, l, o]
|
38
|
+
), h = p(() => s("next", f), [s, f]), k = p(() => s("prev", f), [s, f]), D = p(
|
39
|
+
(t) => {
|
40
|
+
m && l && l(r), t !== r && o(t);
|
41
|
+
},
|
42
|
+
[r, m, l, o]
|
43
|
+
);
|
44
|
+
j(() => (u && u.current && (u.current.next = h, u.current.prev = k, u.current.position = r), I && (A.current = setInterval(() => s("next", !0), y)), () => {
|
45
|
+
A.current && clearInterval(A.current);
|
46
|
+
}), [y, I, u, r, h, k, s]), j(() => {
|
47
|
+
x(r);
|
48
|
+
}, [r, x]);
|
49
|
+
const L = Array.isArray(a) ? a.length : 1;
|
50
|
+
return /* @__PURE__ */ G(H, { children: [
|
51
|
+
/* @__PURE__ */ n(Q, { wrapperMargin: $, children: /* @__PURE__ */ n(U, { position: r, children: Array.isArray(a) ? a.map((t, e) => /* @__PURE__ */ n(
|
52
|
+
B,
|
53
|
+
{
|
54
|
+
carouselSlotPadding: v,
|
55
|
+
slideAlign: C,
|
56
|
+
children: t
|
57
|
+
},
|
58
|
+
e
|
59
|
+
)) : /* @__PURE__ */ n(B, { carouselSlotPadding: v, slideAlign: C, children: a }) }) }),
|
60
|
+
L > 1 && !q && /* @__PURE__ */ n(V, { flexCenterIndicators: W, children: Array.from({ length: L }, (t, e) => /* @__PURE__ */ n(
|
61
|
+
X,
|
62
|
+
{
|
63
|
+
isCurrent: e === r,
|
64
|
+
onClick: () => D(e),
|
65
|
+
dotColor: i,
|
66
|
+
inactiveDotColor: E,
|
67
|
+
activeIndicatorSize: F
|
68
|
+
},
|
69
|
+
e
|
70
|
+
)) })
|
71
|
+
] });
|
72
|
+
}, R = Y;
|
73
|
+
export {
|
74
|
+
R as default
|
75
|
+
};
|
76
|
+
//# sourceMappingURL=carousal.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"carousal.js","sources":["../../../../src/features/ui/carousal/carousal.tsx"],"sourcesContent":["import React, { useEffect, useRef, useState, useCallback } from 'react';\n\nimport { getTheme } from '../theme/get-theme';\nimport { CarouselContainer, CarouselSlot, Container, Dot, Wrapper } from './carousal-styles';\n\nconst { colors } = getTheme();\n\ninterface CarouselProps {\n children: React.ReactNode[] | React.ReactNode;\n initialPosition?: number;\n infinite?: boolean;\n slideDuration?: number;\n dotColor?: string;\n changeColor?: (position: number) => void;\n slideAlign?: string | null;\n inactiveDotColor?: string;\n activeIndicatorSize?: string;\n flexCenterIndicators?: boolean;\n isTestimonial?: boolean;\n setColor?: (position: number) => void;\n setPosition?: (position: number) => void;\n carouselSlotPadding?: string;\n wrapperMargin?: string;\n hideIndicators?: boolean;\n autoScroll?: boolean;\n nodeRef?: { current?: { next?: () => void; prev?: () => void; position?: number } } | null;\n onChange?: () => void;\n}\n\nconst Carousel: React.FC<CarouselProps> = ({\n children,\n initialPosition = 0,\n infinite = false,\n slideDuration = 8000,\n dotColor = colors.BLACK,\n changeColor = () => null,\n slideAlign = null,\n inactiveDotColor = colors.BLACK_T_15,\n activeIndicatorSize = '8px',\n flexCenterIndicators = false,\n isTestimonial = false,\n setColor = () => null,\n setPosition = () => null,\n carouselSlotPadding = '',\n wrapperMargin = '',\n hideIndicators = false,\n autoScroll = true,\n nodeRef = null,\n onChange = () => null,\n}) => {\n const [position, setPositionState] = useState(initialPosition);\n const autoSlideRef = useRef<NodeJS.Timeout | null>(null);\n\n const slide = useCallback(\n (newPosition: number) => {\n setPositionState(newPosition);\n setPosition(newPosition);\n if (nodeRef && nodeRef.current) {\n nodeRef.current.position = newPosition;\n }\n onChange();\n },\n [setPosition, nodeRef, onChange],\n );\n\n const changeSlide = useCallback(\n (action: 'next' | 'prev', infiniteOverride = false) => {\n const childrenArray = Array.isArray(children) ? children : [children];\n const numItems = childrenArray.length;\n let newPosition = position;\n\n if (isTestimonial && setColor) {\n setColor(newPosition);\n }\n\n if (action === 'next') {\n newPosition = position + 1;\n if (newPosition > numItems - 1) {\n newPosition = infiniteOverride ? 0 : position;\n }\n } else {\n newPosition = position - 1;\n if (newPosition < 0) {\n newPosition = infiniteOverride ? numItems - 1 : position;\n }\n }\n\n if (newPosition !== position) slide(newPosition);\n },\n [position, children, isTestimonial, setColor, slide],\n );\n\n const nextSlide = useCallback(() => changeSlide('next', infinite), [changeSlide, infinite]);\n const prevSlide = useCallback(() => changeSlide('prev', infinite), [changeSlide, infinite]);\n\n const onIndicatorClick = useCallback(\n (newPosition: number) => {\n if (isTestimonial && setColor) {\n setColor(position);\n }\n\n if (newPosition !== position) {\n slide(newPosition);\n }\n },\n [position, isTestimonial, setColor, slide],\n );\n\n useEffect(() => {\n if (nodeRef && nodeRef.current) {\n nodeRef.current.next = nextSlide;\n nodeRef.current.prev = prevSlide;\n nodeRef.current.position = position;\n }\n\n if (autoScroll) {\n autoSlideRef.current = setInterval(() => changeSlide('next', true), slideDuration);\n }\n\n return () => {\n if (autoSlideRef.current) {\n clearInterval(autoSlideRef.current);\n }\n };\n }, [slideDuration, autoScroll, nodeRef, position, nextSlide, prevSlide, changeSlide]);\n\n useEffect(() => {\n changeColor(position);\n }, [position, changeColor]);\n\n const carouselLength = Array.isArray(children) ? children.length : 1;\n\n return (\n <>\n <Wrapper wrapperMargin={wrapperMargin}>\n <CarouselContainer position={position}>\n {Array.isArray(children) ? (\n children.map((child, index) => (\n <CarouselSlot\n carouselSlotPadding={carouselSlotPadding}\n key={index}\n slideAlign={slideAlign}\n >\n {child}\n </CarouselSlot>\n ))\n ) : (\n <CarouselSlot carouselSlotPadding={carouselSlotPadding} slideAlign={slideAlign}>\n {children}\n </CarouselSlot>\n )}\n </CarouselContainer>\n </Wrapper>\n {carouselLength > 1 && !hideIndicators && (\n <Container flexCenterIndicators={flexCenterIndicators}>\n {Array.from({ length: carouselLength }, (_, index) => (\n <Dot\n key={index}\n isCurrent={index === position}\n onClick={() => onIndicatorClick(index)}\n dotColor={dotColor}\n inactiveDotColor={inactiveDotColor}\n activeIndicatorSize={activeIndicatorSize}\n />\n ))}\n </Container>\n )}\n </>\n );\n};\n\nexport default Carousel;\n"],"names":["colors","getTheme","Carousel","children","initialPosition","infinite","slideDuration","dotColor","changeColor","slideAlign","inactiveDotColor","activeIndicatorSize","flexCenterIndicators","isTestimonial","setColor","setPosition","carouselSlotPadding","wrapperMargin","hideIndicators","autoScroll","nodeRef","onChange","position","setPositionState","useState","autoSlideRef","useRef","slide","useCallback","newPosition","changeSlide","action","infiniteOverride","numItems","nextSlide","prevSlide","onIndicatorClick","useEffect","carouselLength","jsxs","Fragment","jsx","Wrapper","CarouselContainer","child","index","CarouselSlot","Container","_","Dot","Carousel$1"],"mappings":"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"}
|
package/dist/index.d.ts
CHANGED
@@ -166,6 +166,36 @@ export declare const CalendarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
166
166
|
|
167
167
|
export declare const Callout: React.FC<ICalloutProps>;
|
168
168
|
|
169
|
+
export declare const Carousel: React_2.FC<CarouselProps>;
|
170
|
+
|
171
|
+
declare interface CarouselProps {
|
172
|
+
children: React_2.ReactNode[] | React_2.ReactNode;
|
173
|
+
initialPosition?: number;
|
174
|
+
infinite?: boolean;
|
175
|
+
slideDuration?: number;
|
176
|
+
dotColor?: string;
|
177
|
+
changeColor?: (position: number) => void;
|
178
|
+
slideAlign?: string | null;
|
179
|
+
inactiveDotColor?: string;
|
180
|
+
activeIndicatorSize?: string;
|
181
|
+
flexCenterIndicators?: boolean;
|
182
|
+
isTestimonial?: boolean;
|
183
|
+
setColor?: (position: number) => void;
|
184
|
+
setPosition?: (position: number) => void;
|
185
|
+
carouselSlotPadding?: string;
|
186
|
+
wrapperMargin?: string;
|
187
|
+
hideIndicators?: boolean;
|
188
|
+
autoScroll?: boolean;
|
189
|
+
nodeRef?: {
|
190
|
+
current?: {
|
191
|
+
next?: () => void;
|
192
|
+
prev?: () => void;
|
193
|
+
position?: number;
|
194
|
+
};
|
195
|
+
} | null;
|
196
|
+
onChange?: () => void;
|
197
|
+
}
|
198
|
+
|
169
199
|
export declare const CascadingSelectInput: React_2.FC<ICascadingSelectInputProps>;
|
170
200
|
|
171
201
|
export declare const Chapter: FC<IChapterProps>;
|
package/dist/index.js
CHANGED
@@ -153,165 +153,166 @@ import { default as Ua } from "./features/ui/image/image.js";
|
|
153
153
|
import { default as ba } from "./features/ui/animated-arc/animated-arc.js";
|
154
154
|
import { default as Wa } from "./features/ui/stickers/stickers.js";
|
155
155
|
import { default as Va } from "./features/ui/sticker-grid/sticker-grid.js";
|
156
|
-
import {
|
157
|
-
import {
|
158
|
-
import {
|
159
|
-
import {
|
160
|
-
import { default as $a } from "./features/auth/comps/auth-
|
161
|
-
import { default as of } from "./features/auth/comps/
|
162
|
-
import { default as tf } from "./features/auth/comps/
|
163
|
-
import { default as ff } from "./features/auth/comps/
|
164
|
-
import { default as lf } from "./features/auth/comps/
|
165
|
-
import { default as uf } from "./features/auth/
|
166
|
-
import { default as df } from "./features/auth/signup/
|
167
|
-
import { default as nf } from "./features/auth/signup/
|
168
|
-
import { default as If } from "./features/auth/signup/custom-input-field/
|
169
|
-
import { default as Sf } from "./features/auth/signup/custom-input-field/
|
170
|
-
import { default as Cf } from "./features/auth/signup/
|
171
|
-
import { default as Pf } from "./features/auth/signup/
|
172
|
-
import { default as kf } from "./features/auth/
|
173
|
-
import { default as Rf } from "./features/auth/
|
174
|
-
import { default as Mf } from "./features/auth/login/social-
|
175
|
-
import { default as Of } from "./features/auth/login/
|
176
|
-
import { default as Df } from "./features/auth/login/
|
177
|
-
import { default as gf } from "./features/auth/
|
178
|
-
import { default as vf } from "./features/auth/forgot-password/
|
179
|
-
import { default as Bf } from "./features/auth/forgot-password/
|
180
|
-
import {
|
181
|
-
import {
|
182
|
-
import {
|
183
|
-
import { default as Jf } from "./features/
|
184
|
-
import { default as Kf } from "./features/blockers/multi-tab-blocker/
|
185
|
-
import { default as Zf } from "./features/
|
186
|
-
import { default as Xf } from "./features/chapters/
|
187
|
-
import { default as es } from "./features/chapters/
|
188
|
-
import { default as rs } from "./features/chapters/lpar-
|
189
|
-
import { default as as } from "./features/chapters/lpar-chapter/
|
190
|
-
import {
|
191
|
-
import {
|
192
|
-
import {
|
193
|
-
import {
|
194
|
-
import {
|
195
|
-
import {
|
196
|
-
import {
|
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 {
|
214
|
-
import {
|
215
|
-
import {
|
216
|
-
import { default as fl } from "./features/cue-canvas/
|
217
|
-
import { default as ll } from "./features/cue-canvas/
|
218
|
-
import { default as ul } from "./features/cue-canvas/
|
219
|
-
import { default as dl } from "./features/cue-canvas/
|
220
|
-
import { default as nl } from "./features/cue-canvas/
|
221
|
-
import { default as il } from "./features/
|
222
|
-
import { default as Tl } from "./features/communication/hooks/use-
|
223
|
-
import {
|
224
|
-
import {
|
225
|
-
import {
|
226
|
-
import {
|
227
|
-
import {
|
228
|
-
import {
|
229
|
-
import { default as Dl } from "./features/
|
230
|
-
import { default as gl } from "./features/
|
231
|
-
import {
|
232
|
-
import {
|
233
|
-
import {
|
234
|
-
import {
|
235
|
-
import {
|
236
|
-
import {
|
237
|
-
import {
|
238
|
-
import {
|
239
|
-
import {
|
240
|
-
import {
|
241
|
-
import {
|
242
|
-
import {
|
243
|
-
import { default as sp } from "./features/
|
244
|
-
import { default as pp } from "./features/milestone/create/
|
245
|
-
import { default as mp } from "./features/milestone/create/comps/confirmation-modals/
|
246
|
-
import { default as xp } from "./features/milestone/create/
|
247
|
-
import { default as cp } from "./features/milestone/
|
248
|
-
import { default as Ip } from "./features/milestone/
|
249
|
-
import { default as Sp } from "./features/milestone/outcome/
|
250
|
-
import { default as Cp } from "./features/milestone/outcome/comps/achievement/
|
251
|
-
import { default as Pp } from "./features/milestone/
|
252
|
-
import { default as kp } from "./features/milestone/edit/
|
253
|
-
import { default as Rp } from "./features/milestone/edit/
|
254
|
-
import { default as Mp } from "./features/milestone/
|
255
|
-
import { default as Op } from "./features/milestone/milestone-
|
256
|
-
import { default as Dp } from "./features/milestone/
|
257
|
-
import { default as gp } from "./features/milestone/milestone-
|
258
|
-
import { default as vp } from "./features/milestone/milestone-
|
259
|
-
import {
|
260
|
-
import {
|
261
|
-
import {
|
262
|
-
import {
|
263
|
-
import {
|
264
|
-
import {
|
265
|
-
import { default as ou } from "./features/pointer-sync/
|
266
|
-
import {
|
267
|
-
import {
|
268
|
-
import {
|
269
|
-
import {
|
270
|
-
import {
|
271
|
-
import {
|
272
|
-
import { default as Iu } from "./features/sheet-tools/
|
273
|
-
import { default as Su } from "./features/
|
274
|
-
import { default as Cu } from "./features/sheets/
|
275
|
-
import {
|
276
|
-
import {
|
277
|
-
import {
|
278
|
-
import { default as bu } from "./features/
|
279
|
-
import {
|
280
|
-
import {
|
281
|
-
import {
|
282
|
-
import { default as Zu } from "./features/worksheet/worksheet
|
283
|
-
import { default as Xu } from "./features/worksheet/worksheet-preview/
|
284
|
-
import { default as em } from "./features/worksheet/worksheet/worksheet-
|
285
|
-
import { default as rm } from "./features/worksheet/worksheet/worksheet-permissions/
|
286
|
-
import { default as am } from "./features/worksheet/
|
287
|
-
import { default as sm } from "./features/worksheet/learnosity-preloader/
|
288
|
-
import { default as pm } from "./features/worksheet/
|
289
|
-
import { default as mm } from "./features/
|
290
|
-
import { default as xm } from "./features/puzzles/puzzle-
|
291
|
-
import { default as cm } from "./features/puzzles/
|
292
|
-
import {
|
293
|
-
import {
|
156
|
+
import { default as Ya } from "./features/ui/carousal/carousal.js";
|
157
|
+
import { PLATFORM_EVENTS_STUDENT as Qa } from "./features/analytics-events/platform-events-student.js";
|
158
|
+
import { PLATFORM_EVENTS_TEACHER as ja } from "./features/analytics-events/platform-events-teacher.js";
|
159
|
+
import { WHITELIST_EVENTS as qa } from "./features/analytics-events/whitelist-events.js";
|
160
|
+
import { default as $a } from "./features/auth/comps/auth-static-panel/auth-static-panel.js";
|
161
|
+
import { default as of } from "./features/auth/comps/auth-page-layout/auth-page-layout.js";
|
162
|
+
import { default as tf } from "./features/auth/comps/overlay-loader/overlay-loader.js";
|
163
|
+
import { default as ff } from "./features/auth/comps/tabs/tabs.js";
|
164
|
+
import { default as lf } from "./features/auth/comps/input-status-icon/input-status-icon.js";
|
165
|
+
import { default as uf } from "./features/auth/comps/resend-otp/resend-otp.js";
|
166
|
+
import { default as df } from "./features/auth/signup/user-type-selector/user-type-selector.js";
|
167
|
+
import { default as nf } from "./features/auth/signup/claim-user-account/claim-user-account.js";
|
168
|
+
import { default as If } from "./features/auth/signup/custom-input-field/grade-input/grade-input.js";
|
169
|
+
import { default as Sf } from "./features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js";
|
170
|
+
import { default as Cf } from "./features/auth/signup/custom-input-field/custom-input-field.js";
|
171
|
+
import { default as Pf } from "./features/auth/signup/circular-step-wrapper/circular-step-wrapper.js";
|
172
|
+
import { default as kf } from "./features/auth/signup/signup-methods/signup-methods.js";
|
173
|
+
import { default as Rf } from "./features/auth/account-selector/account-selector.js";
|
174
|
+
import { default as Mf } from "./features/auth/login/social-login-methods/social-login-methods.js";
|
175
|
+
import { default as Of } from "./features/auth/login/social-account-not-found/social-account-not-found.js";
|
176
|
+
import { default as Df } from "./features/auth/login/username-password-form/username-password-form.js";
|
177
|
+
import { default as gf } from "./features/auth/login/identifier-otp-form/identifier-otp-form.js";
|
178
|
+
import { default as vf } from "./features/auth/forgot-password/otp-form/otp-form.js";
|
179
|
+
import { default as Bf } from "./features/auth/forgot-password/reset-password-form/reset-password-form.js";
|
180
|
+
import { default as wf } from "./features/auth/forgot-password/user-identifier-form/user-identifier-form.js";
|
181
|
+
import { AUTH_TABS as Ff } from "./features/auth/login/login-constants.js";
|
182
|
+
import { AuthApiErrorCode as zf } from "./features/auth/auth-constants.js";
|
183
|
+
import { default as Jf } from "./features/av/av-preview/av-preview.js";
|
184
|
+
import { default as Kf } from "./features/blockers/multi-tab-blocker/use-is-tab-blocked.js";
|
185
|
+
import { default as Zf } from "./features/blockers/multi-tab-blocker/multi-tab-blocker.js";
|
186
|
+
import { default as Xf } from "./features/chapters/chapter/chapter.js";
|
187
|
+
import { default as es } from "./features/chapters/chapters-list/chapters-list.js";
|
188
|
+
import { default as rs } from "./features/chapters/lpar-chapter/lpar-chapter.js";
|
189
|
+
import { default as as } from "./features/chapters/lpar-milestone-chapter/lpar-milestone-chapter.js";
|
190
|
+
import { default as ss } from "./features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js";
|
191
|
+
import { checkIfPPTNodeType as ps } from "./features/chapters/lpar-chapter/utils/index.js";
|
192
|
+
import { default as ms } from "./features/chapters-v2/chapter-details/chapter-details.js";
|
193
|
+
import { invalidateGetChapterDetails as xs } from "./features/chapters-v2/api/chapter.js";
|
194
|
+
import { GAME_LAUNCHER_ASSET_PADDING as cs } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
|
195
|
+
import { GAME_LAUNCHER_SIZE as Is } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
|
196
|
+
import { useCircleSounds as Ss } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
|
197
|
+
import { CircleSoundKey as Cs } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
|
198
|
+
import { useGetLeaderboardDal as Ps } from "./features/circle-games/leaderboard/dal/use-get-leaderboard-dal/use-get-leaderboard-dal.js";
|
199
|
+
import { ELeaderboardType as ks } from "./features/circle-games/leaderboard/enums/leaderboard-type-enum.js";
|
200
|
+
import { StreakReductionLocalStorageUtil as Rs } from "./features/circle-games/utils/streak-reduction-localstorage-util.js";
|
201
|
+
import { Tutorial as Ms } from "./features/circle-games/games/tutorial/tutorial.js";
|
202
|
+
import { WebView as Os } from "./features/circle-games/games/web-view/web-view.js";
|
203
|
+
import { ProjectOutcome as Ds } from "./features/circle-games/games/web-view/enums/project-outcomes-enum.js";
|
204
|
+
import { WebViewEvent as gs } from "./features/circle-games/games/web-view/enums/web-view-events-enum.js";
|
205
|
+
import { ProjectType as vs } from "./features/circle-games/games/web-view/enums/project-type-enum.js";
|
206
|
+
import { PlayerType as Bs } from "./features/circle-games/games/web-view/enums/player-type-enum.js";
|
207
|
+
import { IStatsToAwardErrorCode as ws } from "./features/circle-games/games/web-view/web-view-types.js";
|
208
|
+
import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as Fs } from "./features/circle-games/enum/circle-onboarding-steps.js";
|
209
|
+
import { CIRCLE_ACTION_IDS as zs } from "./features/circle-games/enum/circle-action-ids.js";
|
210
|
+
import { GameLauncher as Js } from "./features/circle-games/game-launcher/game-launcher.js";
|
211
|
+
import { useGetCircleHomeDetailsDal as Ks } from "./features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js";
|
212
|
+
import { Leaderboard as Zs } from "./features/circle-games/leaderboard/leaderboard.js";
|
213
|
+
import { BackgroundImage as Xs, CircularSteps as $s } from "./features/circle-games/sign-up/comp/circular-steps/circular-steps.js";
|
214
|
+
import { SplashScreen as ol } from "./features/circle-games/sign-up/comp/splash-screen/splash-screen.js";
|
215
|
+
import { SignUp as tl } from "./features/circle-games/sign-up/sign-up.js";
|
216
|
+
import { default as fl } from "./features/cue-canvas/cue-canvas-provider.js";
|
217
|
+
import { default as ll } from "./features/cue-canvas/toolbar/toolbar.js";
|
218
|
+
import { default as ul } from "./features/cue-canvas/cue-canvas.js";
|
219
|
+
import { default as dl } from "./features/cue-canvas/hooks/use-canvas-sync-broker.js";
|
220
|
+
import { default as nl } from "./features/cue-canvas/sidebar/sidebar.js";
|
221
|
+
import { default as il } from "./features/cue-canvas/bottombar/homework-controls.js";
|
222
|
+
import { default as Tl } from "./features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
|
223
|
+
import { default as El } from "./features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
|
224
|
+
import { EVENTS as Al } from "./features/communication/pub-sub/constants.js";
|
225
|
+
import { useInClassActionDispatcher as _l, useInClassActionListener as kl } from "./features/communication/pub-sub/hooks.js";
|
226
|
+
import { default as Rl } from "./features/trial-session/trial-session.js";
|
227
|
+
import { EClassTimeAlertLevel as Ml } from "./features/trial-session/trial-session-types.js";
|
228
|
+
import { useClassTimeAlerts as Ol } from "./features/trial-session/hooks/use-class-time-alerts.js";
|
229
|
+
import { default as Dl } from "./features/talk-meter/talk-meter.js";
|
230
|
+
import { default as gl } from "./features/extra-practice/extra-practice.js";
|
231
|
+
import { default as vl } from "./features/homework/hw-card-list/hw-card-list.js";
|
232
|
+
import { invalidateHomeworks as Bl } from "./features/homework/hw-card-list/api/get-homeworks.js";
|
233
|
+
import { useAutoPlayPermission as wl } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
|
234
|
+
import { JOURNEY_ID_STUDENT as Fl } from "./features/journey/journey-id/journey-id-student.js";
|
235
|
+
import { JOURNEY_ID_TEACHER as zl } from "./features/journey/journey-id/journey-id-teacher.js";
|
236
|
+
import { useJourney as Jl } from "./features/journey/use-journey/use-journey.js";
|
237
|
+
import { useGetEligibleJourneysViaRoute as Kl } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
|
238
|
+
import { JourneyProvider as Zl } from "./features/journey/use-journey/journey-context-provider.js";
|
239
|
+
import { IndicatorType as Xl } from "./features/journey/use-journey/constants.js";
|
240
|
+
import { Coachmark as ep } from "./features/journey/comps/coachmark/coachmark.js";
|
241
|
+
import { useHomePageJourney as rp } from "./features/journey/hooks/use-home-page-journey/use-home-page-journey.js";
|
242
|
+
import { useChapterPageJourney as ap } from "./features/journey/hooks/use-chapter-page-journey/use-chapter-journey.js";
|
243
|
+
import { default as sp } from "./features/maintenance/maintenance.js";
|
244
|
+
import { default as pp } from "./features/milestone/create/submit-modal/submit-modal.js";
|
245
|
+
import { default as mp } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
|
246
|
+
import { default as xp } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
|
247
|
+
import { default as cp } from "./features/milestone/create/milestone-create-container.js";
|
248
|
+
import { default as Ip } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
|
249
|
+
import { default as Sp } from "./features/milestone/outcome/milestone-outcome-container.js";
|
250
|
+
import { default as Cp } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
|
251
|
+
import { default as Pp } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
|
252
|
+
import { default as kp } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
|
253
|
+
import { default as Rp } from "./features/milestone/edit/goal-edit-container.js";
|
254
|
+
import { default as Mp } from "./features/milestone/edit/milestone-edit-container.js";
|
255
|
+
import { default as Op } from "./features/milestone/milestone-list-container/milestone-list-container.js";
|
256
|
+
import { default as Dp } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
|
257
|
+
import { default as gp } from "./features/milestone/start/milestone-start.js";
|
258
|
+
import { default as vp } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
|
259
|
+
import { default as Bp } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
|
260
|
+
import { ACHIEVEMENT_ACTIONS as wp, STAGES as Wp } from "./features/milestone/outcome/milestone-outcome-constants.js";
|
261
|
+
import { invalidateMilestonesData as Vp, useGetAllMilestonesdata as zp } from "./features/milestone/milestone-list-container/api/get-milestones.js";
|
262
|
+
import { invalidatePastMilestoneCount as Jp, useGetPastMilestoneCount as Qp } from "./features/milestone/milestone-list-container/api/get-past-milestone-count.js";
|
263
|
+
import { invalidateTestHelpData as jp, useGetTestHelpData as Zp } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
|
264
|
+
import { invalidateMilestoneResources as Xp, useGetMilestoneResources as $p } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
|
265
|
+
import { default as ou } from "./features/pointer-sync/pointer.js";
|
266
|
+
import { default as tu } from "./features/pointer-sync/hooks/use-pointer-sync.js";
|
267
|
+
import { DigitalMeter as fu } from "./features/post-game-stats/digital-meter/digital-meter.js";
|
268
|
+
import { EPostGameStat as lu } from "./features/post-game-stats/enums/post-game-stats-enum.js";
|
269
|
+
import { PostGameStats as uu } from "./features/post-game-stats/post-game-stats.js";
|
270
|
+
import { default as du } from "./features/recent-chapters/recent-chapters.js";
|
271
|
+
import { SENTRY_DENIED_URLS as nu, SENTRY_IGNORED_ERRORS as cu } from "./features/sentry/constants/ignored.js";
|
272
|
+
import { default as Iu } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
|
273
|
+
import { default as Su } from "./features/sheet-tools/tool-header/tool-header.js";
|
274
|
+
import { default as Cu } from "./features/sheets/sheets-list/sheets-list.js";
|
275
|
+
import { default as Pu } from "./features/sheets/reference-sheet/reference-sheet.js";
|
276
|
+
import { WORKSHEET_V3_NODE_TYPES as ku } from "./features/sheets/utils/is-v3-worksheet.js";
|
277
|
+
import { COMPLETED_SHEET_STATE as Ru, NODE_LABELS as Lu, NODE_SUB_GROUP as Mu, NODE_TYPE as Nu, PYTHON_NODE_TYPES as Ou, REWARDS_LIST as Hu, SHEET_ACTIONS as Du, SHEET_ATTEMPT_LOCATION as Gu, SHEET_ATTEMPT_LOCATION_MAP as gu, SHEET_ATTEMPT_STATE as yu, SHEET_DATA_TYPE as vu, SHEET_STATE as Uu } from "./features/sheets/constants/sheet.js";
|
278
|
+
import { default as bu } from "./features/student-details/student-details.js";
|
279
|
+
import { default as Wu } from "./features/utils/load-script.js";
|
280
|
+
import { ACTION_BAR_HEIGHT as Vu, QUESTIONS_GAP as zu, QUESTION_WIDTH as Yu, TOP_NAVIGATION_HEIGHT as Ju } from "./features/worksheet/worksheet/constants.js";
|
281
|
+
import { isOkayTypeQuestion as Ku } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
282
|
+
import { default as Zu } from "./features/worksheet/worksheet/worksheet-container.js";
|
283
|
+
import { default as Xu } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
284
|
+
import { default as em } from "./features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js";
|
285
|
+
import { default as rm } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
|
286
|
+
import { default as am } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
|
287
|
+
import { default as sm } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
|
288
|
+
import { default as pm } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
|
289
|
+
import { default as mm } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
290
|
+
import { default as xm } from "./features/puzzles/puzzle-container/puzzle-container.js";
|
291
|
+
import { default as cm } from "./features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js";
|
292
|
+
import { default as Im } from "./features/puzzles/app/puzzle-app.js";
|
293
|
+
import { invalidatePuzzleToAssign as Sm, useGetPuzzleToAssign as Em } from "./features/puzzles/api/puzzle-assign.js";
|
294
|
+
import { COUNTRY_CODE_MAP as Am } from "./constants/country.js";
|
294
295
|
export {
|
295
|
-
|
296
|
-
|
297
|
-
|
296
|
+
wp as ACHIEVEMENT_ACTIONS,
|
297
|
+
Ff as AUTH_TABS,
|
298
|
+
Jf as AVPreview,
|
298
299
|
et as AccordionSection,
|
299
|
-
|
300
|
-
|
301
|
-
|
300
|
+
Rf as AccountSelector,
|
301
|
+
Cp as AchievementNotShareReasonModal,
|
302
|
+
Pp as AchievementShareInstructionModal,
|
302
303
|
x as AlertIcon,
|
303
304
|
ba as AnimatedArc,
|
304
305
|
Jt as AppLoader,
|
305
306
|
St as ArcButton,
|
306
307
|
rt as ArrowTooltip,
|
307
|
-
|
308
|
-
|
309
|
-
|
308
|
+
zf as AuthApiErrorCode,
|
309
|
+
of as AuthPageLayout,
|
310
|
+
$a as AuthStaticPanel,
|
310
311
|
Kr as AutoPlayPermissionProvider,
|
311
312
|
_a as Avatar,
|
312
313
|
Sr as Back2Icon,
|
313
314
|
c as BackIcon,
|
314
|
-
|
315
|
+
Xs as BackgroundImage,
|
315
316
|
S as Bin2Icon,
|
316
317
|
I as BinIcon,
|
317
318
|
k as Book2Icon,
|
@@ -321,17 +322,18 @@ export {
|
|
321
322
|
O as Bulb2Icon,
|
322
323
|
M as BulbIcon,
|
323
324
|
mt as Button,
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
325
|
+
zs as CIRCLE_ACTION_IDS,
|
326
|
+
Fs as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
327
|
+
Ru as COMPLETED_SHEET_STATE,
|
328
|
+
Am as COUNTRY_CODE_MAP,
|
328
329
|
D as CalendarIcon,
|
329
330
|
ma as Callout,
|
331
|
+
Ya as Carousel,
|
330
332
|
vt as CascadingSelectInput,
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
333
|
+
Xf as Chapter,
|
334
|
+
xp as ChapterClearanceConfirmationModal,
|
335
|
+
ms as ChapterDetails,
|
336
|
+
es as ChaptersList,
|
335
337
|
Or as ChatIcon,
|
336
338
|
v as Check2Icon,
|
337
339
|
g as CheckIcon,
|
@@ -340,16 +342,16 @@ export {
|
|
340
342
|
kr as ChevronDownIcon,
|
341
343
|
Pr as ChevronLeftIcon,
|
342
344
|
Cr as ChevronRightIcon,
|
343
|
-
|
345
|
+
Cs as CircleSoundKey,
|
344
346
|
Kt as CircularLoader,
|
345
|
-
|
346
|
-
|
347
|
-
|
347
|
+
Pf as CircularStepWrapper,
|
348
|
+
$s as CircularSteps,
|
349
|
+
nf as ClaimUserAccount,
|
348
350
|
xt as Clickable,
|
349
351
|
B as ClipboardIcon,
|
350
352
|
F as Clock2Icon,
|
351
353
|
w as ClockIcon,
|
352
|
-
|
354
|
+
ep as Coachmark,
|
353
355
|
z as CodeIcon,
|
354
356
|
at as ContextMenu,
|
355
357
|
J as CopyIcon,
|
@@ -357,148 +359,148 @@ export {
|
|
357
359
|
K as CrossIcon,
|
358
360
|
wr as CueBoardFilledIcon,
|
359
361
|
Fr as CueBoardIcon,
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
362
|
+
ul as CueCanvas,
|
363
|
+
ll as CueCanvasController,
|
364
|
+
il as CueCanvasHomeworkController,
|
365
|
+
fl as CueCanvasProvider,
|
366
|
+
nl as CueCanvasSideBar,
|
365
367
|
Z as CueRocket,
|
366
368
|
Dr as CuemathLogo,
|
367
|
-
|
369
|
+
Cf as CustomInputField,
|
368
370
|
X as DashArrowIcon,
|
369
|
-
|
370
|
-
|
371
|
-
|
371
|
+
Sf as DatePickerInput,
|
372
|
+
Iu as DesmosCalculator,
|
373
|
+
fu as DigitalMeter,
|
372
374
|
ee as DownIcon,
|
373
375
|
re as DraftIcon,
|
374
376
|
ae as DragIcon,
|
375
|
-
|
376
|
-
|
377
|
+
em as DynamicPreviewWorksheet,
|
378
|
+
Ml as EClassTimeAlertLevel,
|
377
379
|
Ea as EDeviceType,
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
380
|
+
ks as ELeaderboardType,
|
381
|
+
Bp as EPResourceAssign,
|
382
|
+
lu as EPostGameStat,
|
383
|
+
Al as EVENTS,
|
382
384
|
pe as Edit2Icon,
|
383
385
|
se as EditIcon,
|
384
|
-
|
386
|
+
kp as EditMilestoneModal,
|
385
387
|
me as EditStarIcon,
|
386
388
|
xe as EraserIcon,
|
387
389
|
Ct as Error,
|
388
390
|
Se as ExclamationIcon,
|
389
|
-
|
390
|
-
|
391
|
+
Su as ExpandableHeader,
|
392
|
+
gl as ExtraPractice,
|
391
393
|
Ie as Eye2Icon,
|
392
394
|
ce as EyeIcon,
|
393
395
|
zt as FlexView,
|
394
|
-
|
395
|
-
|
396
|
+
cs as GAME_LAUNCHER_ASSET_PADDING,
|
397
|
+
Is as GAME_LAUNCHER_SIZE,
|
396
398
|
Rr as GameIcon,
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
399
|
+
Js as GameLauncher,
|
400
|
+
mp as GoalCreationConfirmationModal,
|
401
|
+
Ip as GoalDraftEdit,
|
402
|
+
Rp as GoalEdit,
|
401
403
|
Dt as GooglePlacesSearchInput,
|
402
|
-
|
404
|
+
If as GradeInput,
|
403
405
|
r as GradeSelector,
|
404
406
|
Ce as HandIcon,
|
405
407
|
ke as HelpIcon,
|
406
408
|
Re as HighlighterIcon,
|
407
409
|
Pe as HintFillIcon,
|
408
410
|
Me as HomeIcon,
|
409
|
-
|
411
|
+
vl as HomeworkCardList,
|
410
412
|
s as ILLUSTRATIONS,
|
411
413
|
p as IMAGES,
|
412
|
-
|
414
|
+
ws as IStatsToAwardErrorCode,
|
413
415
|
ct as IconButton,
|
414
|
-
|
416
|
+
gf as IdentifierOtpForm,
|
415
417
|
Ua as Image,
|
416
418
|
Oe as ImageIcon,
|
417
|
-
|
419
|
+
Xl as IndicatorType,
|
418
420
|
ge as Info2Icon,
|
419
421
|
De as InfoIcon,
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
422
|
+
lf as InputStatusIcon,
|
423
|
+
Fl as JOURNEY_ID_STUDENT,
|
424
|
+
zl as JOURNEY_ID_TEACHER,
|
425
|
+
Zl as JourneyProvider,
|
424
426
|
m as LOTTIE,
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
427
|
+
rs as LPARChapter,
|
428
|
+
as as LPARMilestoneChapter,
|
429
|
+
Zs as Leaderboard,
|
430
|
+
sm as LearnosityPreloader,
|
429
431
|
ve as LeftIcon,
|
430
432
|
we as Lock2Icon,
|
431
433
|
Fe as Lock3Icon,
|
432
434
|
Be as LockIcon,
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
435
|
+
sp as Maintenance,
|
436
|
+
Dp as MilestoneActionWidget,
|
437
|
+
cp as MilestoneCreate,
|
438
|
+
Mp as MilestoneEdit,
|
439
|
+
Op as MilestoneList,
|
440
|
+
Sp as MilestoneOutcome,
|
441
|
+
gp as MilestoneStart,
|
440
442
|
Je as Minus2Icon,
|
441
443
|
ze as MinusIcon,
|
442
444
|
Ke as MistakeIcon,
|
443
445
|
Ze as Mobile,
|
444
446
|
Zt as ModalProvider,
|
445
447
|
Xe as MoreVerticalIcon,
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
448
|
+
Zf as MultiTabBlocker,
|
449
|
+
Lu as NODE_LABELS,
|
450
|
+
Mu as NODE_SUB_GROUP,
|
451
|
+
Nu as NODE_TYPE,
|
450
452
|
gr as Next2Icon,
|
451
453
|
eo as NextIcon,
|
452
454
|
pt as Nudge,
|
453
455
|
Bt as NumRangeInput,
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
456
|
+
vf as OTPForm,
|
457
|
+
tf as OverlayLoader,
|
458
|
+
Qa as PLATFORM_EVENTS_STUDENT,
|
459
|
+
ja as PLATFORM_EVENTS_TEACHER,
|
460
|
+
Ou as PYTHON_NODE_TYPES,
|
459
461
|
ro as PencilIcon,
|
460
462
|
wt as PercentileInput,
|
461
463
|
ya as PerfectHits,
|
462
464
|
po as Play2Icon,
|
463
465
|
so as PlayIcon,
|
464
|
-
|
466
|
+
Bs as PlayerType,
|
465
467
|
no as Plus2Icon,
|
466
468
|
mo as PlusIcon,
|
467
469
|
ao as PointerIcon,
|
468
|
-
|
470
|
+
uu as PostGameStats,
|
469
471
|
io as PracticeIcon,
|
470
|
-
|
472
|
+
Xu as PreviewWorksheet,
|
471
473
|
To as ProgressIcon,
|
472
|
-
|
473
|
-
|
474
|
+
Ds as ProjectOutcome,
|
475
|
+
vs as ProjectType,
|
474
476
|
Ao as Puzzle2Icon,
|
475
|
-
|
476
|
-
|
477
|
-
|
477
|
+
Im as PuzzleApp,
|
478
|
+
xm as PuzzleCard,
|
479
|
+
cm as PuzzleFeedbackCelebration,
|
478
480
|
Eo as PuzzleIcon,
|
479
481
|
_o as QuestionIcon,
|
480
482
|
ho as QuestionLetterIcon,
|
481
|
-
|
483
|
+
Hu as REWARDS_LIST,
|
482
484
|
ra as RadioCard,
|
483
485
|
Rt as RadioInput,
|
484
|
-
|
486
|
+
du as RecentChapters,
|
485
487
|
Lo as RedoIcon,
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
488
|
+
Pu as ReferenceSheet,
|
489
|
+
ou as RemotePeerPointer,
|
490
|
+
uf as ResendOTP,
|
491
|
+
Bf as ResetPasswordForm,
|
490
492
|
No as RightIcon,
|
491
493
|
Ho as RulerIcon,
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
494
|
+
ss as SATSheetSummary,
|
495
|
+
nu as SENTRY_DENIED_URLS,
|
496
|
+
cu as SENTRY_IGNORED_ERRORS,
|
497
|
+
Du as SHEET_ACTIONS,
|
498
|
+
Gu as SHEET_ATTEMPT_LOCATION,
|
499
|
+
gu as SHEET_ATTEMPT_LOCATION_MAP,
|
500
|
+
yu as SHEET_ATTEMPT_STATE,
|
501
|
+
vu as SHEET_DATA_TYPE,
|
502
|
+
Uu as SHEET_STATE,
|
503
|
+
Wp as STAGES,
|
502
504
|
vr as ScreenGrabFilledIcon,
|
503
505
|
zr as ScreenGrabIcon,
|
504
506
|
ir as ScribbleIcon,
|
@@ -508,19 +510,19 @@ export {
|
|
508
510
|
Mt as SelectInput,
|
509
511
|
Ft as SelectionCards,
|
510
512
|
Ha as Separator,
|
511
|
-
|
513
|
+
am as SheetError,
|
512
514
|
yo as SheetIcon,
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
515
|
+
Cu as SheetList,
|
516
|
+
rm as SheetLocked,
|
517
|
+
tl as SignUp,
|
518
|
+
kf as SignupMethods,
|
517
519
|
Ir as SketchIcon,
|
518
520
|
Vo as Skip2Icon,
|
519
521
|
bo as SkipColoredIcon,
|
520
522
|
Wo as SkipIcon,
|
521
|
-
|
522
|
-
|
523
|
-
|
523
|
+
Of as SocialAccountNotFound,
|
524
|
+
Mf as SocialLoginMethods,
|
525
|
+
ol as SplashScreen,
|
524
526
|
Yo as Star2Icon,
|
525
527
|
Uo as StarIcon,
|
526
528
|
Qo as StatusIcon,
|
@@ -530,24 +532,24 @@ export {
|
|
530
532
|
Wa as Stickers,
|
531
533
|
Va as StickersSelector,
|
532
534
|
Na as StreakIcon,
|
533
|
-
|
535
|
+
Rs as StreakReductionLocalStorageUtil,
|
534
536
|
jo as StrikedEyeIcon,
|
535
|
-
|
536
|
-
|
537
|
+
bu as StudentDetails,
|
538
|
+
pp as SubmitMilestoneModal,
|
537
539
|
qo as SwitchIcon,
|
538
540
|
La as TabComponent,
|
539
|
-
|
541
|
+
ff as Tabs,
|
540
542
|
pa as Tag,
|
541
|
-
|
542
|
-
|
543
|
+
Dl as TalkMeter,
|
544
|
+
vp as TestsCreation,
|
543
545
|
sa as Text,
|
544
546
|
It as TextButton,
|
545
547
|
gt as TextInput,
|
546
548
|
$o as TickIcon,
|
547
549
|
ha as TimeLeftTimeline,
|
548
|
-
|
550
|
+
Rl as TrialSession,
|
549
551
|
or as TrophyIcon,
|
550
|
-
|
552
|
+
Ms as Tutorial,
|
551
553
|
Mr as TutoringIcon,
|
552
554
|
xa as UIContext,
|
553
555
|
tr as UndoIcon,
|
@@ -556,59 +558,59 @@ export {
|
|
556
558
|
ur as UpIcon,
|
557
559
|
nr as User2Icon,
|
558
560
|
dr as UserIcon,
|
559
|
-
|
560
|
-
|
561
|
-
|
561
|
+
wf as UserIdentifierForm,
|
562
|
+
df as UserTypeSelector,
|
563
|
+
Df as UsernamePasswordForm,
|
562
564
|
Ga as Video,
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
565
|
+
qa as WHITELIST_EVENTS,
|
566
|
+
Vu as WORKSHEET_ACTION_BAR_HEIGHT,
|
567
|
+
zu as WORKSHEET_QUESTIONS_GAP,
|
568
|
+
Yu as WORKSHEET_QUESTION_WIDTH,
|
569
|
+
Ju as WORKSHEET_TOP_NAVIGATION_HEIGHT,
|
570
|
+
ku as WORKSHEET_V3_NODE_TYPES,
|
571
|
+
Os as WebView,
|
572
|
+
gs as WebViewEvent,
|
573
|
+
Zu as Worksheet,
|
574
|
+
ps as checkIfPPTNodeType,
|
573
575
|
Aa as getTheme,
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
576
|
+
xs as invalidateGetChapterDetails,
|
577
|
+
Bl as invalidateHomeworks,
|
578
|
+
Xp as invalidateMilestoneResources,
|
579
|
+
Vp as invalidateMilestonesData,
|
580
|
+
Jp as invalidatePastMilestoneCount,
|
581
|
+
Sm as invalidatePuzzleToAssign,
|
582
|
+
jp as invalidateTestHelpData,
|
583
|
+
Ku as isOkayTypeQuestion,
|
584
|
+
Wu as loadScript,
|
585
|
+
wl as useAutoPlayPermission,
|
586
|
+
dl as useCanvasSyncBroker,
|
587
|
+
ap as useChapterPageJourney,
|
588
|
+
Ss as useCircleSounds,
|
589
|
+
Ol as useClassTimeAlerts,
|
588
590
|
Ta as useContextMenuClickHandler,
|
589
591
|
Xr as useForceReload,
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
592
|
+
zp as useGetAllMilestonesdata,
|
593
|
+
Ks as useGetCircleHomeDetailsDal,
|
594
|
+
Kl as useGetEligibleJourneysViaRoute,
|
595
|
+
Ps as useGetLeaderboardDal,
|
596
|
+
$p as useGetMilestoneResources,
|
597
|
+
Qp as useGetPastMilestoneCount,
|
598
|
+
Em as useGetPuzzleToAssign,
|
599
|
+
Zp as useGetTestHelpData,
|
600
|
+
rp as useHomePageJourney,
|
601
|
+
_l as useInClassActionDispatcher,
|
602
|
+
kl as useInClassActionListener,
|
603
|
+
Tl as useInClassMessageBroker,
|
604
|
+
pm as useIsLearnosityLoaded,
|
605
|
+
Kf as useIsTabBlocked,
|
606
|
+
Jl as useJourney,
|
605
607
|
Xt as useModalActions,
|
606
608
|
ea as useModalParams,
|
607
|
-
|
609
|
+
tu as usePointerSync,
|
608
610
|
ia as useTrackingContext,
|
609
|
-
|
611
|
+
El as useTrialSessionMessageBroker,
|
610
612
|
na as useUIContext,
|
611
|
-
|
613
|
+
mm as useWorksheetLayout,
|
612
614
|
Zr as useZoomDisable
|
613
615
|
};
|
614
616
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|