@cuemath/leap 3.4.3-mbx1 → 3.4.3-mbx2
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/stickers/sticker-selector/hooks/use-handle-sticker-send.js +33 -0
- package/dist/features/stickers/sticker-selector/hooks/use-handle-sticker-send.js.map +1 -0
- package/dist/features/stickers/sticker-selector/hooks/use-stickers-journey/use-stickers-journey.js.map +1 -1
- package/dist/features/stickers/sticker-selector/sticker-selector.js +64 -84
- package/dist/features/stickers/sticker-selector/sticker-selector.js.map +1 -1
- package/dist/features/stickers/stickers-effects/stickers-effects.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +83 -81
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { useCallback as n } from "react";
|
|
2
|
+
import c from "../../../communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
|
|
3
|
+
import { useStickers as d } from "../../stickers-effects/hooks/use-stickers.js";
|
|
4
|
+
const l = (r) => {
|
|
5
|
+
const { publish: e } = c({
|
|
6
|
+
studentClassroomId: r
|
|
7
|
+
}), { showSticker: t } = d();
|
|
8
|
+
return n(
|
|
9
|
+
(s, a) => {
|
|
10
|
+
const o = {
|
|
11
|
+
message: {
|
|
12
|
+
data: {
|
|
13
|
+
selectedSticker: {
|
|
14
|
+
id: s.id,
|
|
15
|
+
name: s.name
|
|
16
|
+
},
|
|
17
|
+
effectId: a
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
type: "STICKERS"
|
|
21
|
+
};
|
|
22
|
+
t(o), e == null || e({
|
|
23
|
+
eventName: "STICKERS",
|
|
24
|
+
eventPayload: o
|
|
25
|
+
});
|
|
26
|
+
},
|
|
27
|
+
[e, t]
|
|
28
|
+
);
|
|
29
|
+
};
|
|
30
|
+
export {
|
|
31
|
+
l as useHandleStickerSend
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=use-handle-sticker-send.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-handle-sticker-send.js","sources":["../../../../../src/features/stickers/sticker-selector/hooks/use-handle-sticker-send.tsx"],"sourcesContent":["import { useCallback } from 'react';\n\nimport useInClassMessageBroker from '../../../communication/hooks/use-inclass-message-broker/use-inclass-message-broker';\nimport { useStickers } from '../../stickers-effects/hooks/use-stickers';\nimport type {\n IStickerData,\n TStickerAnimationEffects,\n TStickersPayload,\n} from '../../stickers-types';\n\nexport const useHandleStickerSend = (studentClassroomId?: string) => {\n const { publish } = useInClassMessageBroker({\n studentClassroomId,\n });\n\n const { showSticker } = useStickers();\n\n const sendSticker = useCallback(\n (sticker: IStickerData, effect: TStickerAnimationEffects) => {\n const payload: TStickersPayload = {\n message: {\n data: {\n selectedSticker: {\n id: sticker.id,\n name: sticker.name,\n },\n effectId: effect,\n },\n },\n type: 'STICKERS',\n };\n\n showSticker(payload);\n\n publish?.({\n eventName: 'STICKERS',\n eventPayload: payload,\n });\n },\n [publish, showSticker],\n );\n\n return sendSticker;\n};\n"],"names":["useHandleStickerSend","studentClassroomId","publish","useInClassMessageBroker","showSticker","useStickers","useCallback","sticker","effect","payload"],"mappings":";;;AAUa,MAAAA,IAAuB,CAACC,MAAgC;AAC7D,QAAA,EAAE,SAAAC,EAAQ,IAAIC,EAAwB;AAAA,IAC1C,oBAAAF;AAAA,EAAA,CACD,GAEK,EAAE,aAAAG,MAAgBC;AA2BjB,SAzBaC;AAAA,IAClB,CAACC,GAAuBC,MAAqC;AAC3D,YAAMC,IAA4B;AAAA,QAChC,SAAS;AAAA,UACP,MAAM;AAAA,YACJ,iBAAiB;AAAA,cACf,IAAIF,EAAQ;AAAA,cACZ,MAAMA,EAAQ;AAAA,YAChB;AAAA,YACA,UAAUC;AAAA,UACZ;AAAA,QACF;AAAA,QACA,MAAM;AAAA,MAAA;AAGR,MAAAJ,EAAYK,CAAO,GAETP,KAAA,QAAAA,EAAA;AAAA,QACR,WAAW;AAAA,QACX,cAAcO;AAAA,MAAA;AAAA,IAElB;AAAA,IACA,CAACP,GAASE,CAAW;AAAA,EAAA;AAIzB;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-stickers-journey.js","sources":["../../../../../../src/features/stickers/sticker-selector/hooks/use-stickers-journey/use-stickers-journey.tsx"],"sourcesContent":["import type { IArrowTooltipProps } from '../../../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { IUseTeacherStickersJourneyProps } from './use-stickers-journey-types';\n\nimport { useCallback, useMemo } from 'react';\n\nimport { JOURNEY_ID_TEACHER } from '../../../../journey/journey-id/journey-id-teacher';\nimport { IndicatorType } from '../../../../journey/use-journey/constants';\nimport { useJourney } from '../../../../journey/use-journey/use-journey';\nimport
|
|
1
|
+
{"version":3,"file":"use-stickers-journey.js","sources":["../../../../../../src/features/stickers/sticker-selector/hooks/use-stickers-journey/use-stickers-journey.tsx"],"sourcesContent":["import type { IArrowTooltipProps } from '../../../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { IUseTeacherStickersJourneyProps } from './use-stickers-journey-types';\n\nimport { useCallback, useMemo } from 'react';\n\nimport { JOURNEY_ID_TEACHER } from '../../../../journey/journey-id/journey-id-teacher';\nimport { IndicatorType } from '../../../../journey/use-journey/constants';\nimport { useJourney } from '../../../../journey/use-journey/use-journey';\nimport Button from '../../../../ui/buttons/button/button';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Separator from '../../../../ui/separator/separator';\nimport Text from '../../../../ui/text/text';\n\nexport const useStickersJourney = ({\n triggerRef,\n tooltipConfig,\n}: IUseTeacherStickersJourneyProps) => {\n const { setJourney, nextCoachmark, endJourney } = useJourney();\n\n const endTeacherStickersOnboarding = useCallback(() => {\n endJourney(JOURNEY_ID_TEACHER.STICKERS_INTRO_JOURNEY);\n }, [endJourney]);\n\n const startTeacherStickersJourney = useCallback(() => {\n if (!triggerRef.current) return;\n\n const indicatorPayload = {\n position: tooltipConfig.position,\n tooltipXCoOrdinates: tooltipConfig.tooltipXCoOrdinates,\n tooltipYCoOrdinates: tooltipConfig.tooltipYCoOrdinates,\n arrowXCoOrdinates: tooltipConfig.arrowXCoOrdinates,\n arrowYCoOrdinates: tooltipConfig.arrowYCoOrdinates,\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n backgroundColor: 'PURPLE_4',\n tooltipItem: (\n <FlexView>\n <FlexView>\n <Text\n $renderOnMobileAs=\"ab3\"\n $renderAs=\"ab3\"\n as=\"span\"\n $inline={true}\n $whiteSpace=\"normal\"\n >\n <Text $renderAs=\"ab3-bold\" as=\"span\" $inline={true}>\n New Stickers\n </Text>{' '}\n - Use them to celebrate little moments of joy!\n </Text>\n </FlexView>\n <Separator height={10} />\n <Button\n renderAs=\"secondary\"\n label=\"Got It\"\n size=\"xsmall\"\n width=\"50%\"\n onClick={endTeacherStickersOnboarding}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps;\n\n setJourney(JOURNEY_ID_TEACHER.STICKERS_INTRO_JOURNEY, [\n {\n originalElementToHighlightRef: triggerRef,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: <></>,\n indicator: indicatorPayload,\n },\n ]);\n\n nextCoachmark(JOURNEY_ID_TEACHER.STICKERS_INTRO_JOURNEY);\n }, [triggerRef, setJourney, endTeacherStickersOnboarding, nextCoachmark, tooltipConfig]);\n\n const stickerJourney = useMemo(\n () => ({\n startTeacherStickersJourney,\n }),\n [startTeacherStickersJourney],\n );\n\n return stickerJourney;\n};\n"],"names":["useStickersJourney","triggerRef","tooltipConfig","setJourney","nextCoachmark","endJourney","useJourney","endTeacherStickersOnboarding","useCallback","JOURNEY_ID_TEACHER","startTeacherStickersJourney","indicatorPayload","FlexView","jsx","jsxs","Text","Separator","Button","IndicatorType","Fragment","useMemo"],"mappings":";;;;;;;;;AAaO,MAAMA,IAAqB,CAAC;AAAA,EACjC,YAAAC;AAAA,EACA,eAAAC;AACF,MAAuC;AACrC,QAAM,EAAE,YAAAC,GAAY,eAAAC,GAAe,YAAAC,MAAeC,EAAW,GAEvDC,IAA+BC,EAAY,MAAM;AACrD,IAAAH,EAAWI,EAAmB,sBAAsB;AAAA,EAAA,GACnD,CAACJ,CAAU,CAAC,GAETK,IAA8BF,EAAY,MAAM;AAChD,QAAA,CAACP,EAAW,QAAS;AAEzB,UAAMU,IAAmB;AAAA,MACvB,UAAUT,EAAc;AAAA,MACxB,qBAAqBA,EAAc;AAAA,MACnC,qBAAqBA,EAAc;AAAA,MACnC,mBAAmBA,EAAc;AAAA,MACjC,mBAAmBA,EAAc;AAAA,MACjC,aAAa;AAAA,MACb,YAAY;AAAA,MACZ,iBAAiB;AAAA,MACjB,+BACGU,GACC,EAAA,UAAA;AAAA,QAAA,gBAAAC,EAACD,GACC,EAAA,UAAA,gBAAAE;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,mBAAkB;AAAA,YAClB,WAAU;AAAA,YACV,IAAG;AAAA,YACH,SAAS;AAAA,YACT,aAAY;AAAA,YAEZ,UAAA;AAAA,cAAA,gBAAAF,EAACE,KAAK,WAAU,YAAW,IAAG,QAAO,SAAS,IAAM,UAEpD,eAAA,CAAA;AAAA,cAAQ;AAAA,cAAI;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA,GAGhB;AAAA,QACA,gBAAAF,EAACG,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,QACvB,gBAAAH;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,UAAS;AAAA,YACT,OAAM;AAAA,YACN,MAAK;AAAA,YACL,OAAM;AAAA,YACN,SAASV;AAAA,UAAA;AAAA,QACX;AAAA,MAAA,GACF;AAAA,IAAA;AAIJ,IAAAJ,EAAWM,EAAmB,wBAAwB;AAAA,MACpD;AAAA,QACE,+BAA+BR;AAAA,QAC/B,MAAMiB,EAAc;AAAA,QACpB,oBAAsB,gBAAAL,EAAAM,GAAA,EAAA;AAAA,QACtB,WAAWR;AAAA,MACb;AAAA,IAAA,CACD,GAEDP,EAAcK,EAAmB,sBAAsB;AAAA,EAAA,GACtD,CAACR,GAAYE,GAAYI,GAA8BH,GAAeF,CAAa,CAAC;AAShF,SAPgBkB;AAAA,IACrB,OAAO;AAAA,MACL,6BAAAV;AAAA,IAAA;AAAA,IAEF,CAACA,CAA2B;AAAA,EAAA;AAIhC;"}
|
|
@@ -1,107 +1,87 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { memo as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { memo as B, useState as G, useCallback as H, useMemo as c } from "react";
|
|
3
|
+
import K from "../../ui/arrow-tooltip/arrow-tooltip.js";
|
|
4
|
+
import R from "./comps/stiker-selector-grid/sticker-selector-grid.js";
|
|
5
5
|
import { TriggerWrapper as _ } from "./sticker-selector-styled.js";
|
|
6
|
-
import $ from "
|
|
6
|
+
import { useHandleStickerSend as $ } from "./hooks/use-handle-sticker-send.js";
|
|
7
7
|
const q = ({
|
|
8
|
-
triggerNode:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
triggerNode: e,
|
|
9
|
+
studentClassroomId: m,
|
|
10
|
+
gridConfig: p,
|
|
11
|
+
tooltipConfig: f,
|
|
12
|
+
visible: u
|
|
13
13
|
}) => {
|
|
14
|
-
const { columns:
|
|
15
|
-
isAnimated:
|
|
16
|
-
arrowColor:
|
|
14
|
+
const { columns: i = 4, gap: s = 8, stickerSize: a = 48 } = p, {
|
|
15
|
+
isAnimated: S,
|
|
16
|
+
arrowColor: C,
|
|
17
17
|
arrowSize: b,
|
|
18
|
-
arrowXCoOrdinates:
|
|
19
|
-
arrowYCoOrdinates:
|
|
20
|
-
backgroundColor:
|
|
21
|
-
borderColor:
|
|
22
|
-
position:
|
|
23
|
-
renderAs:
|
|
24
|
-
textVariant:
|
|
25
|
-
tooltipOffset:
|
|
26
|
-
tooltipXCoOrdinates:
|
|
27
|
-
tooltipYCoOrdinates:
|
|
18
|
+
arrowXCoOrdinates: h,
|
|
19
|
+
arrowYCoOrdinates: k,
|
|
20
|
+
backgroundColor: w,
|
|
21
|
+
borderColor: T,
|
|
22
|
+
position: g = "bottom",
|
|
23
|
+
renderAs: x = "primary",
|
|
24
|
+
textVariant: E,
|
|
25
|
+
tooltipOffset: O,
|
|
26
|
+
tooltipXCoOrdinates: y,
|
|
27
|
+
tooltipYCoOrdinates: I,
|
|
28
28
|
width: z,
|
|
29
29
|
widthX: A,
|
|
30
|
-
zIndex:
|
|
31
|
-
parentWidth:
|
|
32
|
-
isBlocking:
|
|
33
|
-
} =
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
const V = {
|
|
41
|
-
message: {
|
|
42
|
-
data: {
|
|
43
|
-
selectedSticker: {
|
|
44
|
-
id: c.id,
|
|
45
|
-
name: c.name
|
|
46
|
-
},
|
|
47
|
-
effectId: D
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
type: "STICKERS"
|
|
51
|
-
};
|
|
52
|
-
t == null || t({
|
|
53
|
-
eventName: "STICKERS",
|
|
54
|
-
eventPayload: V
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
l(!0);
|
|
58
|
-
const F = setTimeout(() => {
|
|
59
|
-
l(!1);
|
|
30
|
+
zIndex: M,
|
|
31
|
+
parentWidth: X,
|
|
32
|
+
isBlocking: D = !1
|
|
33
|
+
} = f, [o, n] = G(!1), r = $(m), l = H(
|
|
34
|
+
(W) => {
|
|
35
|
+
if (o) return;
|
|
36
|
+
const d = ["burst-from-edges", "pop-expand", "float-up", "fall-down"], Y = d[Math.floor(Math.random() * d.length)];
|
|
37
|
+
r == null || r(W, Y), n(!0);
|
|
38
|
+
const j = setTimeout(() => {
|
|
39
|
+
n(!1);
|
|
60
40
|
}, 5e3);
|
|
61
|
-
return () => clearTimeout(
|
|
41
|
+
return () => clearTimeout(j);
|
|
62
42
|
},
|
|
63
|
-
[
|
|
64
|
-
),
|
|
65
|
-
() => /* @__PURE__ */
|
|
66
|
-
|
|
43
|
+
[r, o]
|
|
44
|
+
), F = c(
|
|
45
|
+
() => /* @__PURE__ */ t(
|
|
46
|
+
R,
|
|
67
47
|
{
|
|
68
|
-
columns:
|
|
48
|
+
columns: i,
|
|
69
49
|
gap: s,
|
|
70
|
-
stickerSize:
|
|
71
|
-
onStickerClick:
|
|
72
|
-
disabled:
|
|
50
|
+
stickerSize: a,
|
|
51
|
+
onStickerClick: l,
|
|
52
|
+
disabled: o
|
|
73
53
|
}
|
|
74
54
|
),
|
|
75
|
-
[
|
|
76
|
-
),
|
|
77
|
-
return /* @__PURE__ */
|
|
78
|
-
|
|
55
|
+
[i, s, a, l, o]
|
|
56
|
+
), V = c(() => /* @__PURE__ */ t(_, { $disabled: o, children: e }), [o, e]);
|
|
57
|
+
return /* @__PURE__ */ t(
|
|
58
|
+
K,
|
|
79
59
|
{
|
|
80
|
-
children:
|
|
60
|
+
children: V,
|
|
81
61
|
alwaysVisible: !0,
|
|
82
62
|
hidden: !u,
|
|
83
|
-
tooltipItem:
|
|
84
|
-
renderAs:
|
|
85
|
-
position:
|
|
86
|
-
isBlocking:
|
|
87
|
-
isAnimated:
|
|
88
|
-
zIndex:
|
|
63
|
+
tooltipItem: F,
|
|
64
|
+
renderAs: x,
|
|
65
|
+
position: g,
|
|
66
|
+
isBlocking: D,
|
|
67
|
+
isAnimated: S,
|
|
68
|
+
zIndex: M,
|
|
89
69
|
width: z,
|
|
90
70
|
widthX: A,
|
|
91
|
-
parentWidth:
|
|
92
|
-
backgroundColor:
|
|
93
|
-
borderColor:
|
|
94
|
-
textVariant:
|
|
95
|
-
tooltipOffset:
|
|
96
|
-
arrowColor:
|
|
71
|
+
parentWidth: X,
|
|
72
|
+
backgroundColor: w,
|
|
73
|
+
borderColor: T,
|
|
74
|
+
textVariant: E,
|
|
75
|
+
tooltipOffset: O,
|
|
76
|
+
arrowColor: C,
|
|
97
77
|
arrowSize: b,
|
|
98
|
-
arrowXCoOrdinates:
|
|
99
|
-
arrowYCoOrdinates:
|
|
100
|
-
tooltipXCoOrdinates:
|
|
101
|
-
tooltipYCoOrdinates:
|
|
78
|
+
arrowXCoOrdinates: h,
|
|
79
|
+
arrowYCoOrdinates: k,
|
|
80
|
+
tooltipXCoOrdinates: y,
|
|
81
|
+
tooltipYCoOrdinates: I
|
|
102
82
|
}
|
|
103
83
|
);
|
|
104
|
-
}, Z =
|
|
84
|
+
}, Z = B(q);
|
|
105
85
|
export {
|
|
106
86
|
Z as default
|
|
107
87
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sticker-selector.js","sources":["../../../../src/features/stickers/sticker-selector/sticker-selector.tsx"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"sticker-selector.js","sources":["../../../../src/features/stickers/sticker-selector/sticker-selector.tsx"],"sourcesContent":["import type { FC } from 'react';\nimport { memo, useMemo, useState, useCallback } from 'react';\n\nimport ArrowTooltip from '../../ui/arrow-tooltip/arrow-tooltip';\nimport type { IStickerData, TStickerAnimationEffects } from '../stickers-types';\nimport StickerSelectorGrid from './comps/stiker-selector-grid/sticker-selector-grid';\nimport * as Styled from './sticker-selector-styled';\nimport type { IStickerSelectorProps } from './sticker-selector-types';\nimport { useHandleStickerSend } from './hooks/use-handle-sticker-send';\n\nconst StickerSelector: FC<IStickerSelectorProps> = ({\n triggerNode,\n studentClassroomId,\n gridConfig,\n tooltipConfig,\n visible,\n}) => {\n const { columns = 4, gap = 8, stickerSize = 48 } = gridConfig;\n const {\n isAnimated,\n arrowColor,\n arrowSize,\n arrowXCoOrdinates,\n arrowYCoOrdinates,\n backgroundColor,\n borderColor,\n position = 'bottom',\n renderAs = 'primary',\n textVariant,\n tooltipOffset,\n tooltipXCoOrdinates,\n tooltipYCoOrdinates,\n width,\n widthX,\n zIndex,\n parentWidth,\n isBlocking = false,\n } = tooltipConfig;\n\n const [isTemporarilyDisabled, setIsTemporarilyDisabled] = useState(false);\n\n const sendSticker = useHandleStickerSend(studentClassroomId);\n\n const handleStickerSend = useCallback(\n (sticker: IStickerData) => {\n if (isTemporarilyDisabled) return;\n\n const STICKER_EFFECTS = ['burst-from-edges', 'pop-expand', 'float-up', 'fall-down'] as const;\n\n const randomEffect: TStickerAnimationEffects =\n STICKER_EFFECTS[Math.floor(Math.random() * STICKER_EFFECTS.length)]!;\n\n sendSticker?.(sticker, randomEffect);\n setIsTemporarilyDisabled(true);\n\n const timeout = setTimeout(() => {\n setIsTemporarilyDisabled(false);\n }, 5000);\n\n return () => clearTimeout(timeout);\n },\n [sendSticker, isTemporarilyDisabled],\n );\n\n const tooltipItem = useMemo(\n () => (\n <StickerSelectorGrid\n columns={columns}\n gap={gap}\n stickerSize={stickerSize}\n onStickerClick={handleStickerSend}\n disabled={isTemporarilyDisabled}\n />\n ),\n [columns, gap, stickerSize, handleStickerSend, isTemporarilyDisabled],\n );\n\n const triggerEle = useMemo(() => {\n return (\n <Styled.TriggerWrapper $disabled={isTemporarilyDisabled}>{triggerNode}</Styled.TriggerWrapper>\n );\n }, [isTemporarilyDisabled, triggerNode]);\n\n return (\n <ArrowTooltip\n children={triggerEle}\n alwaysVisible\n hidden={!visible}\n tooltipItem={tooltipItem}\n renderAs={renderAs}\n position={position}\n isBlocking={isBlocking}\n isAnimated={isAnimated}\n zIndex={zIndex}\n width={width}\n widthX={widthX}\n parentWidth={parentWidth}\n backgroundColor={backgroundColor}\n borderColor={borderColor}\n textVariant={textVariant}\n tooltipOffset={tooltipOffset}\n arrowColor={arrowColor}\n arrowSize={arrowSize}\n arrowXCoOrdinates={arrowXCoOrdinates}\n arrowYCoOrdinates={arrowYCoOrdinates}\n tooltipXCoOrdinates={tooltipXCoOrdinates}\n tooltipYCoOrdinates={tooltipYCoOrdinates}\n />\n );\n};\n\nexport default memo(StickerSelector);\n"],"names":["StickerSelector","triggerNode","studentClassroomId","gridConfig","tooltipConfig","visible","columns","gap","stickerSize","isAnimated","arrowColor","arrowSize","arrowXCoOrdinates","arrowYCoOrdinates","backgroundColor","borderColor","position","renderAs","textVariant","tooltipOffset","tooltipXCoOrdinates","tooltipYCoOrdinates","width","widthX","zIndex","parentWidth","isBlocking","isTemporarilyDisabled","setIsTemporarilyDisabled","useState","sendSticker","useHandleStickerSend","handleStickerSend","useCallback","sticker","STICKER_EFFECTS","randomEffect","timeout","tooltipItem","useMemo","jsx","StickerSelectorGrid","triggerEle","Styled.TriggerWrapper","ArrowTooltip","stickerSelector","memo"],"mappings":";;;;;;AAUA,MAAMA,IAA6C,CAAC;AAAA,EAClD,aAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,eAAAC;AAAA,EACA,SAAAC;AACF,MAAM;AACJ,QAAM,EAAE,SAAAC,IAAU,GAAG,KAAAC,IAAM,GAAG,aAAAC,IAAc,GAAO,IAAAL,GAC7C;AAAA,IACJ,YAAAM;AAAA,IACA,YAAAC;AAAA,IACA,WAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,aAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,UAAAC,IAAW;AAAA,IACX,aAAAC;AAAA,IACA,eAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC;AAAA,IACA,aAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,EACX,IAAAtB,GAEE,CAACuB,GAAuBC,CAAwB,IAAIC,EAAS,EAAK,GAElEC,IAAcC,EAAqB7B,CAAkB,GAErD8B,IAAoBC;AAAA,IACxB,CAACC,MAA0B;AACzB,UAAIP,EAAuB;AAE3B,YAAMQ,IAAkB,CAAC,oBAAoB,cAAc,YAAY,WAAW,GAE5EC,IACJD,EAAgB,KAAK,MAAM,KAAK,WAAWA,EAAgB,MAAM,CAAC;AAEpE,MAAAL,KAAA,QAAAA,EAAcI,GAASE,IACvBR,EAAyB,EAAI;AAEvB,YAAAS,IAAU,WAAW,MAAM;AAC/B,QAAAT,EAAyB,EAAK;AAAA,SAC7B,GAAI;AAEA,aAAA,MAAM,aAAaS,CAAO;AAAA,IACnC;AAAA,IACA,CAACP,GAAaH,CAAqB;AAAA,EAAA,GAG/BW,IAAcC;AAAA,IAClB,MACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,SAAAnC;AAAA,QACA,KAAAC;AAAA,QACA,aAAAC;AAAA,QACA,gBAAgBwB;AAAA,QAChB,UAAUL;AAAA,MAAA;AAAA,IACZ;AAAA,IAEF,CAACrB,GAASC,GAAKC,GAAawB,GAAmBL,CAAqB;AAAA,EAAA,GAGhEe,IAAaH,EAAQ,wBAEtBI,GAAA,EAAsB,WAAWhB,GAAwB,UAAY1B,EAAA,CAAA,GAEvE,CAAC0B,GAAuB1B,CAAW,CAAC;AAGrC,SAAA,gBAAAuC;AAAA,IAACI;AAAA,IAAA;AAAA,MACC,UAAUF;AAAA,MACV,eAAa;AAAA,MACb,QAAQ,CAACrC;AAAA,MACT,aAAAiC;AAAA,MACA,UAAArB;AAAA,MACA,UAAAD;AAAA,MACA,YAAAU;AAAA,MACA,YAAAjB;AAAA,MACA,QAAAe;AAAA,MACA,OAAAF;AAAA,MACA,QAAAC;AAAA,MACA,aAAAE;AAAA,MACA,iBAAAX;AAAA,MACA,aAAAC;AAAA,MACA,aAAAG;AAAA,MACA,eAAAC;AAAA,MACA,YAAAT;AAAA,MACA,WAAAC;AAAA,MACA,mBAAAC;AAAA,MACA,mBAAAC;AAAA,MACA,qBAAAO;AAAA,MACA,qBAAAC;AAAA,IAAA;AAAA,EAAA;AAGN,GAEewB,IAAAC,EAAK9C,CAAe;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stickers-effects.js","sources":["../../../../src/features/stickers/stickers-effects/stickers-effects.tsx"],"sourcesContent":["import type { IStickersEffectProps, TStickerAnimationData } from './stickers-effects-types';\nimport type { FC } from 'react';\nimport { memo, useEffect, useState } from 'react';\n\nimport StickerWithFallback from './comps/sticker-with-fallback';\nimport { EFFECTS_MAP } from './constants';\nimport { generateStickerData } from './stickers-effects-helper';\nimport * as Styled from './stickers-effects-styled';\
|
|
1
|
+
{"version":3,"file":"stickers-effects.js","sources":["../../../../src/features/stickers/stickers-effects/stickers-effects.tsx"],"sourcesContent":["import type { IStickersEffectProps, TStickerAnimationData } from './stickers-effects-types';\nimport type { FC } from 'react';\nimport { memo, useEffect, useState } from 'react';\n\nimport StickerWithFallback from './comps/sticker-with-fallback';\nimport { EFFECTS_MAP } from './constants';\nimport { generateStickerData } from './stickers-effects-helper';\nimport * as Styled from './stickers-effects-styled';\n\nconst StickersEffect: FC<IStickersEffectProps> = ({\n stickerId,\n effectType,\n duration = 3500,\n onClose,\n}) => {\n const [stickersData, setStickersData] = useState<ReturnType<typeof generateStickerData>>([]);\n\n const effectConfig = EFFECTS_MAP[effectType];\n\n useEffect(() => {\n if (!onClose) return;\n\n const timeout = setTimeout(onClose, duration);\n\n return () => clearTimeout(timeout);\n }, [onClose, duration]);\n\n useEffect(() => {\n const stickerData = generateStickerData({\n count: effectConfig.count,\n effect: effectConfig.effect,\n stickerId,\n minSize: 48,\n maxSize: 72,\n });\n\n setStickersData(stickerData);\n\n const timeout = setTimeout(() => setStickersData([]), effectConfig.duration);\n\n return () => clearTimeout(timeout);\n }, [effectConfig, stickerId]);\n\n if (stickersData.length === 0) return null;\n\n return (\n <Styled.StickersWrapper $alignItems=\"top\" $justifyContent=\"center\" $inherit>\n <Styled.Container>\n {stickersData.map((data: TStickerAnimationData, i) => {\n const { id, sticker, lottie, x, y, size, fromX, fromY } = data;\n\n return (\n <Styled.Sticker\n key={`${id}-${i}`}\n effect={effectConfig.effect}\n duration={effectConfig.duration}\n delay={500}\n fromX={fromX}\n fromY={fromY}\n x={x}\n y={y}\n size={size}\n >\n <StickerWithFallback url={lottie} sticker={sticker} size={size} />\n </Styled.Sticker>\n );\n })}\n </Styled.Container>\n </Styled.StickersWrapper>\n );\n};\n\nexport default memo(StickersEffect);\n"],"names":["StickersEffect","stickerId","effectType","duration","onClose","stickersData","setStickersData","useState","effectConfig","EFFECTS_MAP","useEffect","timeout","stickerData","generateStickerData","Styled.StickersWrapper","jsx","Styled.Container","data","i","id","sticker","lottie","x","y","size","fromX","fromY","Styled.Sticker","StickerWithFallback","StickersEffect$1","memo"],"mappings":";;;;;;AASA,MAAMA,IAA2C,CAAC;AAAA,EAChD,WAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,SAAAC;AACF,MAAM;AACJ,QAAM,CAACC,GAAcC,CAAe,IAAIC,EAAiD,CAAE,CAAA,GAErFC,IAAeC,EAAYP,CAAU;AA0BvC,SAxBJQ,EAAU,MAAM;AACd,QAAI,CAACN,EAAS;AAER,UAAAO,IAAU,WAAWP,GAASD,CAAQ;AAErC,WAAA,MAAM,aAAaQ,CAAO;AAAA,EAAA,GAChC,CAACP,GAASD,CAAQ,CAAC,GAEtBO,EAAU,MAAM;AACd,UAAME,IAAcC,EAAoB;AAAA,MACtC,OAAOL,EAAa;AAAA,MACpB,QAAQA,EAAa;AAAA,MACrB,WAAAP;AAAA,MACA,SAAS;AAAA,MACT,SAAS;AAAA,IAAA,CACV;AAED,IAAAK,EAAgBM,CAAW;AAErB,UAAAD,IAAU,WAAW,MAAML,EAAgB,CAAA,CAAE,GAAGE,EAAa,QAAQ;AAEpE,WAAA,MAAM,aAAaG,CAAO;AAAA,EAAA,GAChC,CAACH,GAAcP,CAAS,CAAC,GAExBI,EAAa,WAAW,IAAU,yBAGnCS,GAAA,EAAuB,aAAY,OAAM,iBAAgB,UAAS,UAAQ,IACzE,UAAA,gBAAAC,EAACC,GAAA,EACE,YAAa,IAAI,CAACC,GAA6BC,MAAM;AAC9C,UAAA,EAAE,IAAAC,GAAI,SAAAC,GAAS,QAAAC,GAAQ,GAAAC,GAAG,GAAAC,GAAG,MAAAC,GAAM,OAAAC,GAAO,OAAAC,EAAU,IAAAT;AAGxD,WAAA,gBAAAF;AAAA,MAACY;AAAAA,MAAA;AAAA,QAEC,QAAQnB,EAAa;AAAA,QACrB,UAAUA,EAAa;AAAA,QACvB,OAAO;AAAA,QACP,OAAAiB;AAAA,QACA,OAAAC;AAAA,QACA,GAAAJ;AAAA,QACA,GAAAC;AAAA,QACA,MAAAC;AAAA,QAEA,UAAC,gBAAAT,EAAAa,GAAA,EAAoB,KAAKP,GAAQ,SAAAD,GAAkB,MAAAI,GAAY;AAAA,MAAA;AAAA,MAV3D,GAAGL,CAAE,IAAID,CAAC;AAAA,IAAA;AAAA,EAWjB,CAEH,GACH,EACF,CAAA;AAEJ,GAEeW,IAAAC,EAAK9B,CAAc;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3766,7 +3766,6 @@ declare interface IStickerSelectorGridProps {
|
|
|
3766
3766
|
|
|
3767
3767
|
declare interface IStickerSelectorProps {
|
|
3768
3768
|
triggerNode: ReactNode;
|
|
3769
|
-
onStickerSend: (sticker: IStickerData, effect: TStickerAnimationEffects) => void;
|
|
3770
3769
|
gridConfig: Omit<Partial<IStickerSelectorGridProps>, 'stickers' | 'onStickerClick'>;
|
|
3771
3770
|
tooltipConfig: Omit<Partial<IArrowTooltipProps>, 'children' | 'tooltipItem' | 'hidden' | 'alwaysVisible'>;
|
|
3772
3771
|
visible: boolean;
|
|
@@ -7083,6 +7082,8 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
|
7083
7082
|
} & Record<string, unknown>) | undefined;
|
|
7084
7083
|
};
|
|
7085
7084
|
|
|
7085
|
+
export declare const useHandleStickerSend: (studentClassroomId?: string) => (sticker: IStickerData, effect: TStickerAnimationEffects) => void;
|
|
7086
|
+
|
|
7086
7087
|
export declare const useHomePageJourney: () => {
|
|
7087
7088
|
homepageRef: RefObject<HTMLDivElement>;
|
|
7088
7089
|
homeworkRef: RefObject<HTMLDivElement>;
|
package/dist/index.js
CHANGED
|
@@ -317,44 +317,45 @@ import { default as pd } from "./features/stickers/stickers-effects/stickers-eff
|
|
|
317
317
|
import { default as dd } from "./features/stickers/sticker-selector/sticker-selector.js";
|
|
318
318
|
import { StickersProvider as nd } from "./features/stickers/stickers-effects/context/sticker-provider.js";
|
|
319
319
|
import { useStickers as cd } from "./features/stickers/stickers-effects/hooks/use-stickers.js";
|
|
320
|
-
import {
|
|
321
|
-
import {
|
|
322
|
-
import { default as Pd } from "./features/
|
|
323
|
-
import { default as _d } from "./features/
|
|
324
|
-
import { default as Md } from "./features/wins-dashboard/
|
|
325
|
-
import { default as kd } from "./features/wins-dashboard/
|
|
326
|
-
import {
|
|
327
|
-
import {
|
|
328
|
-
import {
|
|
329
|
-
import {
|
|
330
|
-
import { default as wd } from "./features/worksheet/worksheet
|
|
331
|
-
import { default as Wd } from "./features/worksheet/worksheet-preview/
|
|
332
|
-
import { default as Jd } from "./features/worksheet/worksheet/worksheet-
|
|
333
|
-
import { default as Qd } from "./features/worksheet/worksheet/worksheet-permissions/
|
|
334
|
-
import { default as jd } from "./features/worksheet/
|
|
335
|
-
import { default as qd } from "./features/worksheet/learnosity-preloader/
|
|
336
|
-
import { default as $d } from "./features/worksheet/
|
|
337
|
-
import { default as ox } from "./features/
|
|
338
|
-
import { default as tx } from "./features/parent-dashboard/comps/
|
|
339
|
-
import { default as fx } from "./features/parent-dashboard/comps/
|
|
340
|
-
import { default as lx } from "./features/parent-dashboard/comps/
|
|
341
|
-
import { default as px } from "./features/parent-dashboard/comps/
|
|
342
|
-
import { default as dx } from "./features/parent-dashboard/
|
|
343
|
-
import { default as nx } from "./features/parent-dashboard/modals/cancellation-
|
|
344
|
-
import { default as cx } from "./features/parent-dashboard/modals/
|
|
345
|
-
import { default as Sx } from "./features/parent-dashboard/modals/
|
|
346
|
-
import { default as Ex } from "./features/parent-dashboard/modals/
|
|
347
|
-
import { default as Px } from "./features/parent-dashboard/modals/
|
|
348
|
-
import { default as _x } from "./features/parent-dashboard/modals/
|
|
349
|
-
import { default as Mx } from "./features/parent-dashboard/modals/
|
|
350
|
-
import { default as kx } from "./features/parent-dashboard/modals/
|
|
351
|
-
import { default as Dx } from "./features/parent-dashboard/
|
|
352
|
-
import {
|
|
353
|
-
import {
|
|
354
|
-
import { default as Gx } from "./features/parent-dashboard/hooks/use-parent-home
|
|
355
|
-
import {
|
|
356
|
-
import {
|
|
357
|
-
import {
|
|
320
|
+
import { useHandleStickerSend as Sd } from "./features/stickers/sticker-selector/hooks/use-handle-sticker-send.js";
|
|
321
|
+
import { useStickersJourney as Ed } from "./features/stickers/sticker-selector/hooks/use-stickers-journey/use-stickers-journey.js";
|
|
322
|
+
import { default as Pd } from "./features/student-details/student-details.js";
|
|
323
|
+
import { default as _d } from "./features/utils/load-script.js";
|
|
324
|
+
import { default as Md } from "./features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js";
|
|
325
|
+
import { default as kd } from "./features/wins-dashboard/student-badges/student-badges-lists.js";
|
|
326
|
+
import { default as Dd } from "./features/wins-dashboard/header/wins-header.js";
|
|
327
|
+
import { STUDENT_BADGE_STATUS as Hd, STUDENT_BADGE_TYPE as Od } from "./features/wins-dashboard/constants.js";
|
|
328
|
+
import { ACTION_BAR_HEIGHT as yd, QUESTIONS_GAP as Gd, QUESTION_WIDTH as vd, TOP_NAVIGATION_HEIGHT as Ud } from "./features/worksheet/worksheet/constants.js";
|
|
329
|
+
import { isOkayTypeQuestion as bd } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
|
330
|
+
import { default as wd } from "./features/worksheet/worksheet/worksheet-container.js";
|
|
331
|
+
import { default as Wd } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
|
332
|
+
import { default as Jd } from "./features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js";
|
|
333
|
+
import { default as Qd } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
|
|
334
|
+
import { default as jd } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
|
|
335
|
+
import { default as qd } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
|
|
336
|
+
import { default as $d } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
|
|
337
|
+
import { default as ox } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
|
338
|
+
import { default as tx } from "./features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js";
|
|
339
|
+
import { default as fx } from "./features/parent-dashboard/comps/math-practice/math-practice.js";
|
|
340
|
+
import { default as lx } from "./features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs.js";
|
|
341
|
+
import { default as px } from "./features/parent-dashboard/comps/compact-header/compact-header.js";
|
|
342
|
+
import { default as dx } from "./features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js";
|
|
343
|
+
import { default as nx } from "./features/parent-dashboard/modals/cancellation-confirmation/cancellation-confirmation.js";
|
|
344
|
+
import { default as cx } from "./features/parent-dashboard/modals/cancellation-reason/cancellation-reason.js";
|
|
345
|
+
import { default as Sx } from "./features/parent-dashboard/modals/cancel-subscription/cancel-subscription.js";
|
|
346
|
+
import { default as Ex } from "./features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js";
|
|
347
|
+
import { default as Px } from "./features/parent-dashboard/modals/trial-report/trial-report.js";
|
|
348
|
+
import { default as _x } from "./features/parent-dashboard/modals/help-and-support/help-and-support.js";
|
|
349
|
+
import { default as Mx } from "./features/parent-dashboard/modals/student-login-info/student-login-info.js";
|
|
350
|
+
import { default as kx } from "./features/parent-dashboard/modals/tutor-change/tutor-change.js";
|
|
351
|
+
import { default as Dx } from "./features/parent-dashboard/modals/view-payment-method/view-payment-method.js";
|
|
352
|
+
import { default as Hx } from "./features/parent-dashboard/parent-dashboard.js";
|
|
353
|
+
import { usePLASwitchUserJourney as gx } from "./features/parent-dashboard/hooks/use-switch-user-journey.js";
|
|
354
|
+
import { default as Gx } from "./features/parent-dashboard/hooks/use-fetch-parent-home.js";
|
|
355
|
+
import { default as Ux } from "./features/parent-dashboard/hooks/use-parent-home-data.js";
|
|
356
|
+
import { invalidateParentHome as bx } from "./features/parent-dashboard/api/parent-home.js";
|
|
357
|
+
import { EPLAState as wx, ESummaryType as Fx } from "./features/parent-dashboard/parent-dashboard-types.js";
|
|
358
|
+
import { COUNTRY_CODE_MAP as Vx } from "./constants/country.js";
|
|
358
359
|
export {
|
|
359
360
|
Xp as ACHIEVEMENT_ACTIONS,
|
|
360
361
|
Rs as AUTH_TABS,
|
|
@@ -380,7 +381,7 @@ export {
|
|
|
380
381
|
I as BackIcon,
|
|
381
382
|
Fl as BackgroundImage,
|
|
382
383
|
ea as BaseInput,
|
|
383
|
-
|
|
384
|
+
Md as BeltsElementsStickers,
|
|
384
385
|
C as Bin2Icon,
|
|
385
386
|
T as BinIcon,
|
|
386
387
|
L as Book2Icon,
|
|
@@ -393,12 +394,12 @@ export {
|
|
|
393
394
|
yl as CIRCLE_ACTION_IDS,
|
|
394
395
|
Ol as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
|
395
396
|
jm as COMPLETED_SHEET_STATE,
|
|
396
|
-
|
|
397
|
+
Vx as COUNTRY_CODE_MAP,
|
|
397
398
|
y as CalendarIcon,
|
|
398
399
|
Na as Callout,
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
400
|
+
Sx as CancelSubscriptionModal,
|
|
401
|
+
nx as CancellationConfirmationModal,
|
|
402
|
+
cx as CancellationReasonModal,
|
|
402
403
|
lf as Carousel,
|
|
403
404
|
ra as CascadingSelectInput,
|
|
404
405
|
zs as Chapter,
|
|
@@ -424,7 +425,7 @@ export {
|
|
|
424
425
|
F as ClockIcon,
|
|
425
426
|
Xu as Coachmark,
|
|
426
427
|
Y as CodeIcon,
|
|
427
|
-
|
|
428
|
+
px as CompactHeader,
|
|
428
429
|
At as ContextMenu,
|
|
429
430
|
K as CopyIcon,
|
|
430
431
|
ht as CountdownTimer,
|
|
@@ -438,7 +439,7 @@ export {
|
|
|
438
439
|
tu as CueCanvasSideBar,
|
|
439
440
|
ee as CueCoinIcon,
|
|
440
441
|
X as CueRocket,
|
|
441
|
-
|
|
442
|
+
tx as CuemathAppFeatures,
|
|
442
443
|
zr as CuemathLogo,
|
|
443
444
|
Xf as CustomInputField,
|
|
444
445
|
re as DashArrowIcon,
|
|
@@ -450,15 +451,15 @@ export {
|
|
|
450
451
|
se as DraftIcon,
|
|
451
452
|
ue as DragIcon,
|
|
452
453
|
pf as Drawer,
|
|
453
|
-
|
|
454
|
+
Jd as DynamicPreviewWorksheet,
|
|
454
455
|
Au as EClassTimeAlertLevel,
|
|
455
456
|
ba as EDeviceType,
|
|
456
457
|
il as ELeaderboardType,
|
|
457
|
-
|
|
458
|
+
wx as EPLAState,
|
|
458
459
|
Zp as EPResourceAssign,
|
|
459
460
|
Em as EPostGameStat,
|
|
460
461
|
hu as ESessionStatus,
|
|
461
|
-
|
|
462
|
+
Fx as ESummaryType,
|
|
462
463
|
du as EVENTS,
|
|
463
464
|
xe as Edit2Icon,
|
|
464
465
|
me as EditIcon,
|
|
@@ -508,14 +509,14 @@ export {
|
|
|
508
509
|
Vs as LPARChapter,
|
|
509
510
|
Ys as LPARMilestoneChapter,
|
|
510
511
|
zl as Leaderboard,
|
|
511
|
-
|
|
512
|
+
qd as LearnosityPreloader,
|
|
512
513
|
ze as LeftIcon,
|
|
513
514
|
vf as LinearProgressBar,
|
|
514
515
|
Ve as Lock2Icon,
|
|
515
516
|
Ye as Lock3Icon,
|
|
516
517
|
Fe as LockIcon,
|
|
517
518
|
Tp as Maintenance,
|
|
518
|
-
|
|
519
|
+
fx as MathPractice,
|
|
519
520
|
Vp as MilestoneActionWidget,
|
|
520
521
|
Lp as MilestoneCreate,
|
|
521
522
|
zp as MilestoneEdit,
|
|
@@ -542,18 +543,18 @@ export {
|
|
|
542
543
|
Of as OTPInput,
|
|
543
544
|
as as OnboardingGuide,
|
|
544
545
|
hf as OverlayLoader,
|
|
545
|
-
|
|
546
|
+
_x as PLAHelpAndSupportModal,
|
|
546
547
|
nf as PLATFORM_EVENTS_STUDENT,
|
|
547
548
|
If as PLATFORM_EVENTS_TEACHER,
|
|
548
549
|
Os as PLA_ANALYTICS_EVENTS,
|
|
549
550
|
$m as PYTHON_NODE_TYPES,
|
|
550
|
-
|
|
551
|
-
|
|
551
|
+
Hx as ParentDashboard,
|
|
552
|
+
lx as ParentDashboardFaqs,
|
|
552
553
|
so as PencilIcon,
|
|
553
554
|
sa as PercentileInput,
|
|
554
555
|
of as PerfectHits,
|
|
555
556
|
yf as PillButton,
|
|
556
|
-
|
|
557
|
+
dx as PlaFirstSessionIntroduction,
|
|
557
558
|
no as Play2Icon,
|
|
558
559
|
mo as PlayIcon,
|
|
559
560
|
Rl as PlayerType,
|
|
@@ -562,7 +563,7 @@ export {
|
|
|
562
563
|
uo as PointerIcon,
|
|
563
564
|
Pm as PostGameStats,
|
|
564
565
|
Eo as PracticeIcon,
|
|
565
|
-
|
|
566
|
+
Wd as PreviewWorksheet,
|
|
566
567
|
Po as ProgressIcon,
|
|
567
568
|
Al as ProjectOutcome,
|
|
568
569
|
Ll as ProjectType,
|
|
@@ -597,8 +598,8 @@ export {
|
|
|
597
598
|
sd as SHEET_DATA_TYPE,
|
|
598
599
|
ld as SHEET_STATE,
|
|
599
600
|
$p as STAGES,
|
|
600
|
-
|
|
601
|
-
|
|
601
|
+
Hd as STUDENT_BADGE_STATUS,
|
|
602
|
+
Od as STUDENT_BADGE_TYPE,
|
|
602
603
|
Zr as ScreenGrabFilledIcon,
|
|
603
604
|
at as ScreenGrabIcon,
|
|
604
605
|
_r as ScribbleIcon,
|
|
@@ -609,10 +610,10 @@ export {
|
|
|
609
610
|
Bf as SelectableInfoCard,
|
|
610
611
|
ua as SelectionCards,
|
|
611
612
|
qa as Separator,
|
|
612
|
-
|
|
613
|
+
jd as SheetError,
|
|
613
614
|
bo as SheetIcon,
|
|
614
615
|
Wm as SheetList,
|
|
615
|
-
|
|
616
|
+
Qd as SheetLocked,
|
|
616
617
|
Ql as SignUp,
|
|
617
618
|
ss as SignupHeader,
|
|
618
619
|
rs as SignupMethods,
|
|
@@ -638,12 +639,12 @@ export {
|
|
|
638
639
|
ja as StreakIcon,
|
|
639
640
|
Il as StreakReductionLocalStorageUtil,
|
|
640
641
|
or as StrikedEyeIcon,
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
642
|
+
kd as StudentBadgeList,
|
|
643
|
+
Pd as StudentDetails,
|
|
644
|
+
Mx as StudentLoginInfoModal,
|
|
644
645
|
Cu as StudentProfileHighlights,
|
|
645
|
-
|
|
646
|
-
|
|
646
|
+
Ex as StudentProfileSummaryModal,
|
|
647
|
+
Px as StudentTrialReportModal,
|
|
647
648
|
Cp as SubmitMilestoneModal,
|
|
648
649
|
tr as SwitchIcon,
|
|
649
650
|
Qa as TabComponent,
|
|
@@ -658,7 +659,7 @@ export {
|
|
|
658
659
|
Ja as TimeLeftTimeline,
|
|
659
660
|
Iu as TrialSession,
|
|
660
661
|
lr as TrophyIcon,
|
|
661
|
-
|
|
662
|
+
kx as TutorChangeModal,
|
|
662
663
|
Tl as Tutorial,
|
|
663
664
|
vr as TutoringIcon,
|
|
664
665
|
Oa as UIContext,
|
|
@@ -673,18 +674,18 @@ export {
|
|
|
673
674
|
Vf as UserTypeSelector,
|
|
674
675
|
Ts as UsernamePasswordForm,
|
|
675
676
|
$a as Video,
|
|
676
|
-
|
|
677
|
+
Dx as ViewPaymentMethodModal,
|
|
677
678
|
Tf as WHITELIST_EVENTS,
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
679
|
+
yd as WORKSHEET_ACTION_BAR_HEIGHT,
|
|
680
|
+
Gd as WORKSHEET_QUESTIONS_GAP,
|
|
681
|
+
vd as WORKSHEET_QUESTION_WIDTH,
|
|
682
|
+
Ud as WORKSHEET_TOP_NAVIGATION_HEIGHT,
|
|
682
683
|
Qm as WORKSHEET_V3_NODE_TYPES,
|
|
683
684
|
Cl as WebView,
|
|
684
685
|
hl as WebViewEvent,
|
|
685
686
|
Pr as WinsCommonIcon,
|
|
686
|
-
|
|
687
|
-
|
|
687
|
+
Dd as WinsHeader,
|
|
688
|
+
wd as Worksheet,
|
|
688
689
|
Zs as checkIfPPTNodeType,
|
|
689
690
|
Xs as getActiveSATSheet,
|
|
690
691
|
wa as getTheme,
|
|
@@ -692,19 +693,19 @@ export {
|
|
|
692
693
|
vu as invalidateHomeworks,
|
|
693
694
|
mm as invalidateMilestoneResources,
|
|
694
695
|
om as invalidateMilestonesData,
|
|
695
|
-
|
|
696
|
+
bx as invalidateParentHome,
|
|
696
697
|
am as invalidatePastMilestoneCount,
|
|
697
698
|
Hm as invalidatePuzzleToAssign,
|
|
698
699
|
lm as invalidateTestHelpData,
|
|
699
|
-
|
|
700
|
-
|
|
700
|
+
bd as isOkayTypeQuestion,
|
|
701
|
+
_d as loadScript,
|
|
701
702
|
Bu as useAutoPlayPermission,
|
|
702
703
|
ou as useCanvasSyncBroker,
|
|
703
704
|
rp as useChapterPageJourney,
|
|
704
705
|
ul as useCircleSounds,
|
|
705
706
|
Ru as useClassTimeAlerts,
|
|
706
707
|
Ua as useContextMenuClickHandler,
|
|
707
|
-
|
|
708
|
+
Gx as useFetchParentHome,
|
|
708
709
|
xt as useForceReload,
|
|
709
710
|
rm as useGetAllMilestonesdata,
|
|
710
711
|
Bl as useGetCircleHomeDetailsDal,
|
|
@@ -715,17 +716,18 @@ export {
|
|
|
715
716
|
Om as useGetPuzzleToAssign,
|
|
716
717
|
Lu as useGetSessionReports,
|
|
717
718
|
um as useGetTestHelpData,
|
|
719
|
+
Sd as useHandleStickerSend,
|
|
718
720
|
ep as useHomePageJourney,
|
|
719
721
|
nu as useInClassActionDispatcher,
|
|
720
722
|
iu as useInClassActionListener,
|
|
721
723
|
lu as useInClassMessageBroker,
|
|
722
|
-
|
|
724
|
+
$d as useIsLearnosityLoaded,
|
|
723
725
|
vs as useIsTabBlocked,
|
|
724
726
|
Vu as useJourney,
|
|
725
727
|
Ta as useModalActions,
|
|
726
728
|
Ca as useModalParams,
|
|
727
|
-
|
|
728
|
-
|
|
729
|
+
gx as usePLASwitchUserJourney,
|
|
730
|
+
Ux as useParentHomeData,
|
|
729
731
|
cm as usePointerSync,
|
|
730
732
|
xp as usePuzzleAttemptJourney,
|
|
731
733
|
ap as usePuzzleDashboardJourney,
|
|
@@ -734,12 +736,12 @@ export {
|
|
|
734
736
|
ip as usePuzzleReviewJourney,
|
|
735
737
|
Ip as usePuzzleUnassignJourney,
|
|
736
738
|
cd as useStickers,
|
|
737
|
-
|
|
739
|
+
Ed as useStickersJourney,
|
|
738
740
|
mp as useTeacherPuzzleAssignedJourney,
|
|
739
741
|
Ga as useTrackingContext,
|
|
740
742
|
pu as useTrialSessionMessageBroker,
|
|
741
743
|
ga as useUIContext,
|
|
742
|
-
|
|
744
|
+
ox as useWorksheetLayout,
|
|
743
745
|
mt as useZoomDisable
|
|
744
746
|
};
|
|
745
747
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|