@cuemath/leap 2.9.7-rj-1 → 2.9.7-rj-3
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/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +82 -86
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +73 -82
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +27 -26
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/use-journey/constants.js +2 -4
- package/dist/features/journey/use-journey/constants.js.map +1 -1
- package/dist/features/journey/use-journey/journey-styled.js +3 -4
- package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
- package/dist/features/ui/constants/z-index.js +2 -1
- package/dist/features/ui/constants/z-index.js.map +1 -1
- package/dist/features/ui/theme/breakpoints.js +11 -0
- package/dist/features/ui/theme/breakpoints.js.map +1 -0
- package/dist/features/ui/theme/get-theme.js +20 -18
- package/dist/features/ui/theme/get-theme.js.map +1 -1
- package/dist/index.d.ts +8 -6
- package/dist/index.js +133 -135
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/features/hooks/use-breakpoint/constants.js +0 -7
- package/dist/features/hooks/use-breakpoint/constants.js.map +0 -1
- package/dist/features/hooks/use-breakpoint/use-breakpoint.js +0 -16
- package/dist/features/hooks/use-breakpoint/use-breakpoint.js.map +0 -1
@@ -1,30 +1,32 @@
|
|
1
1
|
import r from "./arrow-tooltip.js";
|
2
|
-
import e from "./
|
2
|
+
import { getBreakpointsConfig as e } from "./breakpoints.js";
|
3
|
+
import i from "./button.js";
|
3
4
|
import m from "./checkbox.js";
|
4
|
-
import g, { hues as
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
9
|
-
import
|
10
|
-
import { getZIndexConfig as
|
11
|
-
const
|
12
|
-
const t =
|
5
|
+
import g, { hues as n } from "./clrs.js";
|
6
|
+
import f from "./input.js";
|
7
|
+
import p from "./layout.js";
|
8
|
+
import u from "./tab.js";
|
9
|
+
import C from "./text.js";
|
10
|
+
import s from "./text-button.js";
|
11
|
+
import { getZIndexConfig as x } from "./z-index.js";
|
12
|
+
const w = () => {
|
13
|
+
const t = p(), { gutter: o } = t;
|
13
14
|
return {
|
14
15
|
arrowTooltip: r(),
|
15
|
-
button:
|
16
|
+
button: i(o),
|
16
17
|
colors: g(),
|
17
|
-
hues:
|
18
|
-
input:
|
18
|
+
hues: n,
|
19
|
+
input: f(o),
|
19
20
|
checkbox: m(o),
|
20
21
|
layout: t,
|
21
|
-
tab:
|
22
|
-
text:
|
23
|
-
textButton:
|
24
|
-
zIndex:
|
22
|
+
tab: u(t.gutter),
|
23
|
+
text: C(),
|
24
|
+
textButton: s(),
|
25
|
+
zIndex: x(),
|
26
|
+
breakpoints: e()
|
25
27
|
};
|
26
28
|
};
|
27
29
|
export {
|
28
|
-
|
30
|
+
w as getTheme
|
29
31
|
};
|
30
32
|
//# sourceMappingURL=get-theme.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-theme.js","sources":["../../../../src/features/ui/theme/get-theme.ts"],"sourcesContent":["import type { DefaultTheme } from 'styled-components';\n\nimport getArrowTooltipConfig from './arrow-tooltip';\nimport getButtonConfig from './button';\nimport getCheckboxConfig from './checkbox';\nimport getColors, { hues } from './clrs';\nimport getInputConfig from './input';\nimport getLayout from './layout';\nimport getTabConfig from './tab';\nimport getTextTypes from './text';\nimport getTextButtonConfig from './text-button';\nimport { getZIndexConfig } from './z-index';\n\nconst getTheme: () => DefaultTheme = () => {\n const layout = getLayout();\n const { gutter } = layout;\n\n return {\n arrowTooltip: getArrowTooltipConfig(),\n button: getButtonConfig(gutter),\n colors: getColors(),\n hues: hues,\n input: getInputConfig(gutter),\n checkbox: getCheckboxConfig(gutter),\n layout,\n tab: getTabConfig(layout.gutter),\n text: getTextTypes(),\n textButton: getTextButtonConfig(),\n zIndex: getZIndexConfig(),\n };\n};\n\nexport { getTheme };\n"],"names":["getTheme","layout","getLayout","gutter","getArrowTooltipConfig","getButtonConfig","getColors","hues","getInputConfig","getCheckboxConfig","getTabConfig","getTextTypes","getTextButtonConfig","getZIndexConfig"],"mappings":"
|
1
|
+
{"version":3,"file":"get-theme.js","sources":["../../../../src/features/ui/theme/get-theme.ts"],"sourcesContent":["import type { DefaultTheme } from 'styled-components';\n\nimport getArrowTooltipConfig from './arrow-tooltip';\nimport { getBreakpointsConfig } from './breakpoints';\nimport getButtonConfig from './button';\nimport getCheckboxConfig from './checkbox';\nimport getColors, { hues } from './clrs';\nimport getInputConfig from './input';\nimport getLayout from './layout';\nimport getTabConfig from './tab';\nimport getTextTypes from './text';\nimport getTextButtonConfig from './text-button';\nimport { getZIndexConfig } from './z-index';\n\nconst getTheme: () => DefaultTheme = () => {\n const layout = getLayout();\n const { gutter } = layout;\n\n return {\n arrowTooltip: getArrowTooltipConfig(),\n button: getButtonConfig(gutter),\n colors: getColors(),\n hues: hues,\n input: getInputConfig(gutter),\n checkbox: getCheckboxConfig(gutter),\n layout,\n tab: getTabConfig(layout.gutter),\n text: getTextTypes(),\n textButton: getTextButtonConfig(),\n zIndex: getZIndexConfig(),\n breakpoints: getBreakpointsConfig(),\n };\n};\n\nexport { getTheme };\n"],"names":["getTheme","layout","getLayout","gutter","getArrowTooltipConfig","getButtonConfig","getColors","hues","getInputConfig","getCheckboxConfig","getTabConfig","getTextTypes","getTextButtonConfig","getZIndexConfig","getBreakpointsConfig"],"mappings":";;;;;;;;;;;AAcA,MAAMA,IAA+B,MAAM;AACzC,QAAMC,IAASC,KACT,EAAE,QAAAC,EAAW,IAAAF;AAEZ,SAAA;AAAA,IACL,cAAcG,EAAsB;AAAA,IACpC,QAAQC,EAAgBF,CAAM;AAAA,IAC9B,QAAQG,EAAU;AAAA,IAClB,MAAAC;AAAA,IACA,OAAOC,EAAeL,CAAM;AAAA,IAC5B,UAAUM,EAAkBN,CAAM;AAAA,IAClC,QAAAF;AAAA,IACA,KAAKS,EAAaT,EAAO,MAAM;AAAA,IAC/B,MAAMU,EAAa;AAAA,IACnB,YAAYC,EAAoB;AAAA,IAChC,QAAQC,EAAgB;AAAA,IACxB,aAAaC,EAAqB;AAAA,EAAA;AAEtC;"}
|
package/dist/index.d.ts
CHANGED
@@ -425,6 +425,11 @@ declare enum GENDER {
|
|
425
425
|
|
426
426
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
427
427
|
|
428
|
+
declare const getBreakpointsConfig: () => {
|
429
|
+
isMobile: boolean;
|
430
|
+
isDesktop: boolean;
|
431
|
+
};
|
432
|
+
|
428
433
|
declare const getButtonConfig: IGetButtonConfig;
|
429
434
|
|
430
435
|
declare const getCheckboxConfig: IGetCheckboxConfig;
|
@@ -2872,6 +2877,7 @@ export declare interface ITheme {
|
|
2872
2877
|
textButton: ReturnType<typeof getTextButtonConfig>;
|
2873
2878
|
zIndex: ReturnType<typeof getZIndexConfig>;
|
2874
2879
|
checkbox: ReturnType<typeof getCheckboxConfig>;
|
2880
|
+
breakpoints: ReturnType<typeof getBreakpointsConfig>;
|
2875
2881
|
}
|
2876
2882
|
|
2877
2883
|
declare interface ITile {
|
@@ -2993,7 +2999,7 @@ export declare interface ITutorialProps {
|
|
2993
2999
|
onCross?: () => void;
|
2994
3000
|
showProgress?: boolean;
|
2995
3001
|
onTutorialPlayedOnce?: () => void;
|
2996
|
-
isJourneyActive
|
3002
|
+
isJourneyActive?: boolean;
|
2997
3003
|
}
|
2998
3004
|
|
2999
3005
|
export declare interface ITutorialRef {
|
@@ -4973,11 +4979,6 @@ export declare const UpIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4973
4979
|
|
4974
4980
|
export declare const useAutoPlayPermission: () => IAutoPlayPermissionContextType;
|
4975
4981
|
|
4976
|
-
export declare const useBreakpoint: () => {
|
4977
|
-
isMobile: boolean;
|
4978
|
-
width: number;
|
4979
|
-
};
|
4980
|
-
|
4981
4982
|
export declare const useCanvasSyncBroker: (channelId: string, logEvent: (type: string, payload?: Record<string, unknown>) => void, initialCanvasData?: Array<IChannelMessage>) => {
|
4982
4983
|
publishStrokes: ((message: unknown) => boolean) | undefined;
|
4983
4984
|
channelStatus: ChannelStatus | undefined;
|
@@ -5183,6 +5184,7 @@ declare const ZINDEX: {
|
|
5183
5184
|
readonly QUESTION_TIPS: -1;
|
5184
5185
|
readonly DESMOS_CALCULATOR: 2;
|
5185
5186
|
readonly GOAL_CHAPTER_SHEETS_MENU: 4;
|
5187
|
+
readonly JOURNEY_OVERLAY: 1000;
|
5186
5188
|
};
|
5187
5189
|
|
5188
5190
|
export { }
|
package/dist/index.js
CHANGED
@@ -11,7 +11,7 @@ import { default as C } from "./assets/line-icons/icons/book-closed.js";
|
|
11
11
|
import { default as _ } from "./assets/line-icons/icons/book.js";
|
12
12
|
import { default as L } from "./assets/line-icons/icons/book2.js";
|
13
13
|
import { default as R } from "./assets/line-icons/icons/bookmark.js";
|
14
|
-
import { default as
|
14
|
+
import { default as M } from "./assets/line-icons/icons/bulb.js";
|
15
15
|
import { default as O } from "./assets/line-icons/icons/bulb2.js";
|
16
16
|
import { default as D } from "./assets/line-icons/icons/calendar.js";
|
17
17
|
import { default as y } from "./assets/line-icons/icons/check.js";
|
@@ -38,7 +38,7 @@ import { default as Ce } from "./assets/line-icons/icons/help.js";
|
|
38
38
|
import { default as _e } from "./assets/line-icons/icons/highlighter.js";
|
39
39
|
import { default as Le } from "./assets/line-icons/icons/home.js";
|
40
40
|
import { default as Re } from "./assets/line-icons/icons/image.js";
|
41
|
-
import { default as
|
41
|
+
import { default as Me } from "./assets/line-icons/icons/info.js";
|
42
42
|
import { default as Oe } from "./assets/line-icons/icons/info2.js";
|
43
43
|
import { default as De } from "./assets/line-icons/icons/left.js";
|
44
44
|
import { default as ye } from "./assets/line-icons/icons/lock.js";
|
@@ -65,7 +65,7 @@ import { default as Ao } from "./assets/line-icons/icons/ruler.js";
|
|
65
65
|
import { default as Po } from "./assets/line-icons/icons/search.js";
|
66
66
|
import { default as No } from "./assets/line-icons/icons/sheet.js";
|
67
67
|
import { default as ho } from "./assets/line-icons/icons/star.js";
|
68
|
-
import { default as
|
68
|
+
import { default as ko } from "./assets/line-icons/icons/skip.js";
|
69
69
|
import { default as Ho } from "./assets/line-icons/icons/skip2.js";
|
70
70
|
import { default as Go } from "./assets/line-icons/icons/star2.js";
|
71
71
|
import { default as go } from "./assets/line-icons/icons/striked-eye.js";
|
@@ -91,7 +91,7 @@ import { AutoPlayPermissionProvider as Cr } from "./features/hooks/use-auto-play
|
|
91
91
|
import { default as _r } from "./features/hooks/use-zoom-disable.js";
|
92
92
|
import { default as Lr } from "./features/hooks/use-force-reload.js";
|
93
93
|
import { default as Rr } from "./features/ui/accordion-section/accordion-section.js";
|
94
|
-
import { default as
|
94
|
+
import { default as Mr } from "./features/ui/arrow-tooltip/arrow-tooltip.js";
|
95
95
|
import { default as Or } from "./features/ui/context-menu/context-menu.js";
|
96
96
|
import { default as Dr } from "./features/ui/timers/countdown-timer/countdown-timer.js";
|
97
97
|
import { default as yr } from "./features/ui/nudge/nudge.js";
|
@@ -118,7 +118,7 @@ import { CircularLoader as Ct } from "./features/ui/loader/circular-loader/circu
|
|
118
118
|
import { default as _t } from "./features/ui/radio-cards/radio-cards.js";
|
119
119
|
import { default as Lt } from "./features/ui/section-list/section-list.js";
|
120
120
|
import { default as Rt } from "./features/ui/text/text.js";
|
121
|
-
import { default as
|
121
|
+
import { default as Mt } from "./features/ui/tag/tag.js";
|
122
122
|
import { default as Ot } from "./features/ui/callout/callout.js";
|
123
123
|
import { default as Dt, useUIContext as Gt } from "./features/ui/context/context.js";
|
124
124
|
import { default as gt } from "./features/ui/context/use-tracking-context.js";
|
@@ -145,7 +145,7 @@ import { checkIfPPTNodeType as Aa } from "./features/chapters/lpar-chapter/utils
|
|
145
145
|
import { GAME_LAUNCHER_ASSET_PADDING as Pa } from "./features/circle-games/game-launcher/comps/segmented-game-card/constants.js";
|
146
146
|
import { GAME_LAUNCHER_SIZE as Na } from "./features/circle-games/game-launcher/comps/card-container/constants.js";
|
147
147
|
import { useCircleSounds as ha } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js";
|
148
|
-
import { CircleSoundKey as
|
148
|
+
import { CircleSoundKey as ka } from "./features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js";
|
149
149
|
import { useGetLeaderboardDal as Ha } from "./features/circle-games/leaderboard/dal/use-get-leaderboard-dal/use-get-leaderboard-dal.js";
|
150
150
|
import { ELeaderboardType as Ga } from "./features/circle-games/leaderboard/enums/leaderboard-type-enum.js";
|
151
151
|
import { StreakReductionLocalStorageUtil as ga } from "./features/circle-games/utils/streak-reduction-localstorage-util.js";
|
@@ -171,73 +171,72 @@ import { default as Af } from "./features/cue-canvas/hooks/use-canvas-sync-broke
|
|
171
171
|
import { default as Pf } from "./features/communication/hooks/use-inclass-message-broker/use-inclass-message-broker.js";
|
172
172
|
import { default as Nf } from "./features/communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
|
173
173
|
import { EVENTS as hf } from "./features/communication/pub-sub/constants.js";
|
174
|
-
import { useInClassActionDispatcher as
|
174
|
+
import { useInClassActionDispatcher as kf, useInClassActionListener as Of } from "./features/communication/pub-sub/hooks.js";
|
175
175
|
import { default as Df } from "./features/trial-session/trial-session.js";
|
176
176
|
import { EClassTimeAlertLevel as yf } from "./features/trial-session/trial-session-types.js";
|
177
177
|
import { useClassTimeAlerts as Bf } from "./features/trial-session/hooks/use-class-time-alerts.js";
|
178
178
|
import { default as Uf } from "./features/talk-meter/talk-meter.js";
|
179
179
|
import { default as Wf } from "./features/extra-practice/extra-practice.js";
|
180
180
|
import { useAutoPlayPermission as wf } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
|
181
|
-
import {
|
182
|
-
import {
|
183
|
-
import {
|
184
|
-
import {
|
185
|
-
import {
|
186
|
-
import {
|
187
|
-
import {
|
188
|
-
import { default as as } from "./features/
|
189
|
-
import { default as ss } from "./features/milestone/create/
|
190
|
-
import { default as ps } from "./features/milestone/create/comps/confirmation-modals/
|
191
|
-
import { default as us } from "./features/milestone/create/
|
192
|
-
import { default as ds } from "./features/milestone/
|
193
|
-
import { default as cs } from "./features/milestone/
|
194
|
-
import { default as is } from "./features/milestone/outcome/
|
195
|
-
import { default as Es } from "./features/milestone/outcome/comps/achievement/
|
196
|
-
import { default as Cs } from "./features/milestone/
|
197
|
-
import { default as _s } from "./features/milestone/edit/
|
198
|
-
import { default as Ls } from "./features/milestone/edit/
|
199
|
-
import { default as Rs } from "./features/milestone/
|
200
|
-
import { default as
|
201
|
-
import { default as Os } from "./features/milestone/
|
202
|
-
import { default as Ds } from "./features/milestone/
|
203
|
-
import { default as ys } from "./features/milestone/milestone-
|
204
|
-
import {
|
205
|
-
import {
|
206
|
-
import {
|
207
|
-
import {
|
208
|
-
import {
|
209
|
-
import { default as qs } from "./features/pointer-sync/pointer.js";
|
210
|
-
import {
|
211
|
-
import {
|
212
|
-
import {
|
213
|
-
import {
|
214
|
-
import {
|
215
|
-
import { default as ml } from "./features/sheet-tools/
|
216
|
-
import { default as xl } from "./features/
|
217
|
-
import { default as nl } from "./features/sheets/
|
218
|
-
import {
|
219
|
-
import {
|
220
|
-
import {
|
221
|
-
import { default as Dl } from "./features/
|
222
|
-
import {
|
223
|
-
import {
|
224
|
-
import {
|
225
|
-
import { default as Yl } from "./features/worksheet/worksheet/worksheet-
|
226
|
-
import { default as Kl } from "./features/worksheet/worksheet
|
227
|
-
import { default as Jl } from "./features/worksheet/worksheet/worksheet-permissions/
|
228
|
-
import { default as Zl } from "./features/worksheet/
|
229
|
-
import { default as zl } from "./features/worksheet/learnosity-preloader/learnosity-
|
230
|
-
import { default as $l } from "./features/worksheet/
|
231
|
-
import { default as op } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
181
|
+
import { JOURNEY_ID_STUDENT as Qf } from "./features/journey/journey-id/journey-id-student.js";
|
182
|
+
import { useJourney as Ff } from "./features/journey/use-journey/use-journey.js";
|
183
|
+
import { useGetEligibleJourneysViaRoute as jf } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
|
184
|
+
import { JourneyProvider as qf } from "./features/journey/use-journey/journey-context-provider.js";
|
185
|
+
import { IndicatorType as Xf } from "./features/journey/use-journey/constants.js";
|
186
|
+
import { Coachmark as es } from "./features/journey/comps/coachmark/coachmark.js";
|
187
|
+
import { default as rs } from "./features/maintenance/maintenance.js";
|
188
|
+
import { default as as } from "./features/milestone/create/submit-modal/submit-modal.js";
|
189
|
+
import { default as ss } from "./features/milestone/create/comps/confirmation-modals/goal-creation-confirmation.js";
|
190
|
+
import { default as ps } from "./features/milestone/create/comps/confirmation-modals/chapter-clearance-confirmation.js";
|
191
|
+
import { default as us } from "./features/milestone/create/milestone-create-container.js";
|
192
|
+
import { default as ds } from "./features/milestone/edit/goal-drafts/goal-draft-edit-container.js";
|
193
|
+
import { default as cs } from "./features/milestone/outcome/milestone-outcome-container.js";
|
194
|
+
import { default as is } from "./features/milestone/outcome/comps/achievement/reason-submit-modal.js";
|
195
|
+
import { default as Es } from "./features/milestone/outcome/comps/achievement/share-instructions-modal.js";
|
196
|
+
import { default as Cs } from "./features/milestone/edit/comps/edit-milestone-modal/index.js";
|
197
|
+
import { default as _s } from "./features/milestone/edit/goal-edit-container.js";
|
198
|
+
import { default as Ls } from "./features/milestone/edit/milestone-edit-container.js";
|
199
|
+
import { default as Rs } from "./features/milestone/milestone-list-container/milestone-list-container.js";
|
200
|
+
import { default as Ms } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
|
201
|
+
import { default as Os } from "./features/milestone/start/milestone-start.js";
|
202
|
+
import { default as Ds } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
|
203
|
+
import { default as ys } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
|
204
|
+
import { ACHIEVEMENT_ACTIONS as Bs, STAGES as bs } from "./features/milestone/outcome/milestone-outcome-constants.js";
|
205
|
+
import { invalidateMilestonesData as vs, useGetAllMilestonesdata as Ws } from "./features/milestone/milestone-list-container/api/get-milestones.js";
|
206
|
+
import { invalidateTestHelpData as ws, useGetTestHelpData as Ys } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
|
207
|
+
import { invalidateMilestoneResources as Ks, useGetMilestoneResources as Fs } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
|
208
|
+
import { default as js } from "./features/pointer-sync/pointer.js";
|
209
|
+
import { default as qs } from "./features/pointer-sync/hooks/use-pointer-sync.js";
|
210
|
+
import { DigitalMeter as Xs } from "./features/post-game-stats/digital-meter/digital-meter.js";
|
211
|
+
import { EPostGameStat as el } from "./features/post-game-stats/enums/post-game-stats-enum.js";
|
212
|
+
import { PostGameStats as rl } from "./features/post-game-stats/post-game-stats.js";
|
213
|
+
import { SENTRY_DENIED_URLS as al, SENTRY_IGNORED_ERRORS as fl } from "./features/sentry/constants/ignored.js";
|
214
|
+
import { default as ll } from "./features/sheet-tools/desmos-calculator/desmos-calculator.js";
|
215
|
+
import { default as ml } from "./features/sheet-tools/tool-header/tool-header.js";
|
216
|
+
import { default as xl } from "./features/sheets/sheets-list/sheets-list.js";
|
217
|
+
import { default as nl } from "./features/sheets/reference-sheet/reference-sheet.js";
|
218
|
+
import { WORKSHEET_V3_NODE_TYPES as Il } from "./features/sheets/utils/is-v3-worksheet.js";
|
219
|
+
import { COMPLETED_SHEET_STATE as Tl, NODE_LABELS as El, NODE_SUB_GROUP as Sl, NODE_TYPE as Cl, PYTHON_NODE_TYPES as Al, REWARDS_LIST as _l, SHEET_ACTIONS as Pl, SHEET_ATTEMPT_LOCATION as Ll, SHEET_ATTEMPT_LOCATION_MAP as Nl, SHEET_ATTEMPT_STATE as Rl, SHEET_DATA_TYPE as hl, SHEET_STATE as Ml } from "./features/sheets/constants/sheet.js";
|
220
|
+
import { default as Ol } from "./features/student-details/student-details.js";
|
221
|
+
import { default as Dl } from "./features/utils/load-script.js";
|
222
|
+
import { ACTION_BAR_HEIGHT as yl, QUESTIONS_GAP as gl, QUESTION_WIDTH as Bl, TOP_NAVIGATION_HEIGHT as bl } from "./features/worksheet/worksheet/constants.js";
|
223
|
+
import { isOkayTypeQuestion as vl } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
224
|
+
import { default as Vl } from "./features/worksheet/worksheet/worksheet-container.js";
|
225
|
+
import { default as Yl } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
226
|
+
import { default as Kl } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
|
227
|
+
import { default as Jl } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
|
228
|
+
import { default as Zl } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
|
229
|
+
import { default as zl } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
|
230
|
+
import { default as $l } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
232
231
|
export {
|
233
|
-
|
232
|
+
Bs as ACHIEVEMENT_ACTIONS,
|
234
233
|
Rr as AccordionSection,
|
235
|
-
|
236
|
-
|
234
|
+
is as AchievementNotShareReasonModal,
|
235
|
+
Es as AchievementShareInstructionModal,
|
237
236
|
d as AlertIcon,
|
238
237
|
Et as AppLoader,
|
239
238
|
Qr as ArcButton,
|
240
|
-
|
239
|
+
Mr as ArrowTooltip,
|
241
240
|
Cr as AutoPlayPermissionProvider,
|
242
241
|
Vt as Avatar,
|
243
242
|
rr as Back2Icon,
|
@@ -250,16 +249,16 @@ export {
|
|
250
249
|
_ as BookIcon,
|
251
250
|
R as BookmarkIcon,
|
252
251
|
O as Bulb2Icon,
|
253
|
-
|
252
|
+
M as BulbIcon,
|
254
253
|
Br as Button,
|
255
254
|
$a as CIRCLE_ACTION_IDS,
|
256
255
|
za as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
257
|
-
|
256
|
+
Tl as COMPLETED_SHEET_STATE,
|
258
257
|
D as CalendarIcon,
|
259
258
|
Ot as Callout,
|
260
259
|
pt as CascadingSelectInput,
|
261
260
|
xa as Chapter,
|
262
|
-
|
261
|
+
ps as ChapterClearanceConfirmationModal,
|
263
262
|
na as ChaptersList,
|
264
263
|
cr as ChatIcon,
|
265
264
|
B as Check2Icon,
|
@@ -269,14 +268,14 @@ export {
|
|
269
268
|
pr as ChevronDownIcon,
|
270
269
|
sr as ChevronLeftIcon,
|
271
270
|
ar as ChevronRightIcon,
|
272
|
-
|
271
|
+
ka as CircleSoundKey,
|
273
272
|
Ct as CircularLoader,
|
274
273
|
pf as CircularSteps,
|
275
274
|
Ur as Clickable,
|
276
275
|
U as ClipboardIcon,
|
277
276
|
w as Clock2Icon,
|
278
277
|
W as ClockIcon,
|
279
|
-
|
278
|
+
es as Coachmark,
|
280
279
|
Q as CodeIcon,
|
281
280
|
Or as ContextMenu,
|
282
281
|
F as CopyIcon,
|
@@ -288,23 +287,23 @@ export {
|
|
288
287
|
q as CueRocket,
|
289
288
|
ir as CuemathLogo,
|
290
289
|
X as DashArrowIcon,
|
291
|
-
|
292
|
-
|
290
|
+
ll as DesmosCalculator,
|
291
|
+
Xs as DigitalMeter,
|
293
292
|
ee as DownIcon,
|
294
293
|
re as DraftIcon,
|
295
294
|
ae as DragIcon,
|
296
295
|
yf as EClassTimeAlertLevel,
|
297
296
|
Ga as ELeaderboardType,
|
298
|
-
|
299
|
-
|
297
|
+
ys as EPResourceAssign,
|
298
|
+
el as EPostGameStat,
|
300
299
|
hf as EVENTS,
|
301
300
|
pe as Edit2Icon,
|
302
301
|
se as EditIcon,
|
303
|
-
|
302
|
+
Cs as EditMilestoneModal,
|
304
303
|
ue as EditStarIcon,
|
305
304
|
de as EraserIcon,
|
306
305
|
Fr as Error,
|
307
|
-
|
306
|
+
ml as ExpandableHeader,
|
308
307
|
Wf as ExtraPractice,
|
309
308
|
ie as Eye2Icon,
|
310
309
|
ce as EyeIcon,
|
@@ -313,9 +312,9 @@ export {
|
|
313
312
|
Na as GAME_LAUNCHER_SIZE,
|
314
313
|
ur as GameIcon,
|
315
314
|
of as GameLauncher,
|
316
|
-
|
317
|
-
|
318
|
-
|
315
|
+
ss as GoalCreationConfirmationModal,
|
316
|
+
ds as GoalDraftEdit,
|
317
|
+
_s as GoalEdit,
|
319
318
|
at as GooglePlacesSearchInput,
|
320
319
|
r as GradeSelector,
|
321
320
|
Ee as HandIcon,
|
@@ -327,42 +326,42 @@ export {
|
|
327
326
|
Za as IStatsToAwardErrorCode,
|
328
327
|
Wr as IconButton,
|
329
328
|
Re as ImageIcon,
|
330
|
-
|
329
|
+
Xf as IndicatorType,
|
331
330
|
Oe as Info2Icon,
|
332
|
-
|
333
|
-
|
334
|
-
|
331
|
+
Me as InfoIcon,
|
332
|
+
Qf as JOURNEY_ID_STUDENT,
|
333
|
+
qf as JourneyProvider,
|
335
334
|
u as LOTTIE,
|
336
335
|
Ia as LPARChapter,
|
337
336
|
Ta as LPARMilestoneChapter,
|
338
337
|
ff as Leaderboard,
|
339
|
-
|
338
|
+
Zl as LearnosityPreloader,
|
340
339
|
De as LeftIcon,
|
341
340
|
Be as Lock2Icon,
|
342
341
|
ye as LockIcon,
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
342
|
+
rs as Maintenance,
|
343
|
+
Ms as MilestoneActionWidget,
|
344
|
+
us as MilestoneCreate,
|
345
|
+
Ls as MilestoneEdit,
|
346
|
+
Rs as MilestoneList,
|
347
|
+
cs as MilestoneOutcome,
|
348
|
+
Os as MilestoneStart,
|
350
349
|
We as Minus2Icon,
|
351
350
|
Ue as MinusIcon,
|
352
351
|
we as MistakeIcon,
|
353
352
|
Qe as Mobile,
|
354
353
|
Fe as MoreVerticalIcon,
|
355
354
|
ma as MultiTabBlocker,
|
356
|
-
|
357
|
-
|
358
|
-
|
355
|
+
El as NODE_LABELS,
|
356
|
+
Sl as NODE_SUB_GROUP,
|
357
|
+
Cl as NODE_TYPE,
|
359
358
|
Er as Next2Icon,
|
360
359
|
je as NextIcon,
|
361
360
|
yr as Nudge,
|
362
361
|
ut as NumRangeInput,
|
363
362
|
oa as PLATFORM_EVENTS_STUDENT,
|
364
363
|
ta as PLATFORM_EVENTS_TEACHER,
|
365
|
-
|
364
|
+
Al as PYTHON_NODE_TYPES,
|
366
365
|
qe as PencilIcon,
|
367
366
|
dt as PercentileInput,
|
368
367
|
$t as PerfectHits,
|
@@ -372,32 +371,32 @@ export {
|
|
372
371
|
so as Plus2Icon,
|
373
372
|
ao as PlusIcon,
|
374
373
|
Xe as PointerIcon,
|
375
|
-
|
374
|
+
rl as PostGameStats,
|
376
375
|
po as PracticeIcon,
|
377
|
-
|
376
|
+
Yl as PreviewWorksheet,
|
378
377
|
uo as ProgressIcon,
|
379
378
|
Va as ProjectOutcome,
|
380
379
|
Ka as ProjectType,
|
381
380
|
no as QuestionIcon,
|
382
381
|
Io as QuestionLetterIcon,
|
383
|
-
|
382
|
+
_l as REWARDS_LIST,
|
384
383
|
_t as RadioCard,
|
385
384
|
Xr as RadioInput,
|
386
385
|
To as RedoIcon,
|
387
|
-
|
388
|
-
|
386
|
+
nl as ReferenceSheet,
|
387
|
+
js as RemotePeerPointer,
|
389
388
|
So as RightIcon,
|
390
389
|
Ao as RulerIcon,
|
391
390
|
Sa as SATSheetSummary,
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
391
|
+
al as SENTRY_DENIED_URLS,
|
392
|
+
fl as SENTRY_IGNORED_ERRORS,
|
393
|
+
Pl as SHEET_ACTIONS,
|
394
|
+
Ll as SHEET_ATTEMPT_LOCATION,
|
395
|
+
Nl as SHEET_ATTEMPT_LOCATION_MAP,
|
396
|
+
Rl as SHEET_ATTEMPT_STATE,
|
397
|
+
hl as SHEET_DATA_TYPE,
|
398
|
+
Ml as SHEET_STATE,
|
399
|
+
bs as STAGES,
|
401
400
|
$o as ScribbleIcon,
|
402
401
|
Po as SearchIcon,
|
403
402
|
rt as SearchableSelectInput,
|
@@ -405,14 +404,14 @@ export {
|
|
405
404
|
et as SelectInput,
|
406
405
|
ct as SelectionCards,
|
407
406
|
Zt as Separator,
|
408
|
-
|
407
|
+
Jl as SheetError,
|
409
408
|
No as SheetIcon,
|
410
|
-
|
411
|
-
|
409
|
+
xl as SheetList,
|
410
|
+
Kl as SheetLocked,
|
412
411
|
df as SignUp,
|
413
412
|
er as SketchIcon,
|
414
413
|
Ho as Skip2Icon,
|
415
|
-
|
414
|
+
ko as SkipIcon,
|
416
415
|
uf as SplashScreen,
|
417
416
|
Go as Star2Icon,
|
418
417
|
ho as StarIcon,
|
@@ -420,13 +419,13 @@ export {
|
|
420
419
|
Jt as StreakIcon,
|
421
420
|
ga as StreakReductionLocalStorageUtil,
|
422
421
|
go as StrikedEyeIcon,
|
423
|
-
|
424
|
-
|
422
|
+
Ol as StudentDetails,
|
423
|
+
as as SubmitMilestoneModal,
|
425
424
|
bo as SwitchIcon,
|
426
425
|
Kt as TabComponent,
|
427
|
-
|
426
|
+
Mt as Tag,
|
428
427
|
Uf as TalkMeter,
|
429
|
-
|
428
|
+
Ds as TestsCreation,
|
430
429
|
Rt as Text,
|
431
430
|
wr as TextButton,
|
432
431
|
st as TextInput,
|
@@ -444,45 +443,44 @@ export {
|
|
444
443
|
Zo as UserIcon,
|
445
444
|
zt as Video,
|
446
445
|
fa as WHITELIST_EVENTS,
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
446
|
+
yl as WORKSHEET_ACTION_BAR_HEIGHT,
|
447
|
+
gl as WORKSHEET_QUESTIONS_GAP,
|
448
|
+
Bl as WORKSHEET_QUESTION_WIDTH,
|
449
|
+
bl as WORKSHEET_TOP_NAVIGATION_HEIGHT,
|
450
|
+
Il as WORKSHEET_V3_NODE_TYPES,
|
452
451
|
va as WebView,
|
453
452
|
Ya as WebViewEvent,
|
454
|
-
|
453
|
+
Vl as Worksheet,
|
455
454
|
Aa as checkIfPPTNodeType,
|
456
455
|
vt as getTheme,
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
456
|
+
Ks as invalidateMilestoneResources,
|
457
|
+
vs as invalidateMilestonesData,
|
458
|
+
ws as invalidateTestHelpData,
|
459
|
+
vl as isOkayTypeQuestion,
|
460
|
+
Dl as loadScript,
|
462
461
|
wf as useAutoPlayPermission,
|
463
|
-
Qf as useBreakpoint,
|
464
462
|
Af as useCanvasSyncBroker,
|
465
463
|
ha as useCircleSounds,
|
466
464
|
Bf as useClassTimeAlerts,
|
467
465
|
bt as useContextMenuClickHandler,
|
468
466
|
Lr as useForceReload,
|
469
|
-
|
467
|
+
Ws as useGetAllMilestonesdata,
|
470
468
|
tf as useGetCircleHomeDetailsDal,
|
471
|
-
|
469
|
+
jf as useGetEligibleJourneysViaRoute,
|
472
470
|
Ha as useGetLeaderboardDal,
|
473
|
-
|
474
|
-
|
475
|
-
|
471
|
+
Fs as useGetMilestoneResources,
|
472
|
+
Ys as useGetTestHelpData,
|
473
|
+
kf as useInClassActionDispatcher,
|
476
474
|
Of as useInClassActionListener,
|
477
475
|
Pf as useInClassMessageBroker,
|
478
|
-
|
476
|
+
zl as useIsLearnosityLoaded,
|
479
477
|
la as useIsTabBlocked,
|
480
|
-
|
481
|
-
|
478
|
+
Ff as useJourney,
|
479
|
+
qs as usePointerSync,
|
482
480
|
gt as useTrackingContext,
|
483
481
|
Nf as useTrialSessionMessageBroker,
|
484
482
|
Gt as useUIContext,
|
485
|
-
|
483
|
+
$l as useWorksheetLayout,
|
486
484
|
_r as useZoomDisable
|
487
485
|
};
|
488
486
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../src/features/hooks/use-breakpoint/constants.ts"],"sourcesContent":["export const BREAKPOINTS = {\n MOBILE: 600,\n};\n"],"names":["BREAKPOINTS"],"mappings":"AAAO,MAAMA,IAAc;AAAA,EACzB,QAAQ;AACV;"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { useState as t, useEffect as o } from "react";
|
2
|
-
import { BREAKPOINTS as r } from "./constants.js";
|
3
|
-
const w = () => {
|
4
|
-
const [e, n] = t(typeof window < "u" ? window.innerWidth : 0);
|
5
|
-
return o(() => {
|
6
|
-
const i = () => n(window.innerWidth);
|
7
|
-
return window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
|
8
|
-
}, []), {
|
9
|
-
isMobile: e < r.MOBILE,
|
10
|
-
width: e
|
11
|
-
};
|
12
|
-
};
|
13
|
-
export {
|
14
|
-
w as useBreakpoint
|
15
|
-
};
|
16
|
-
//# sourceMappingURL=use-breakpoint.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"use-breakpoint.js","sources":["../../../../src/features/hooks/use-breakpoint/use-breakpoint.tsx"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nimport { BREAKPOINTS } from './constants';\n\nexport const useBreakpoint = () => {\n const [width, setWidth] = useState<number>(typeof window !== 'undefined' ? window.innerWidth : 0);\n\n useEffect(() => {\n const handleResize = () => setWidth(window.innerWidth);\n\n window.addEventListener('resize', handleResize);\n\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n\n return {\n isMobile: width < BREAKPOINTS.MOBILE,\n width,\n };\n};\n"],"names":["useBreakpoint","width","setWidth","useState","useEffect","handleResize","BREAKPOINTS"],"mappings":";;AAIO,MAAMA,IAAgB,MAAM;AAC3B,QAAA,CAACC,GAAOC,CAAQ,IAAIC,EAAiB,OAAO,SAAW,MAAc,OAAO,aAAa,CAAC;AAEhG,SAAAC,EAAU,MAAM;AACd,UAAMC,IAAe,MAAMH,EAAS,OAAO,UAAU;AAE9C,kBAAA,iBAAiB,UAAUG,CAAY,GAEvC,MAAM,OAAO,oBAAoB,UAAUA,CAAY;AAAA,EAChE,GAAG,CAAE,CAAA,GAEE;AAAA,IACL,UAAUJ,IAAQK,EAAY;AAAA,IAC9B,OAAAL;AAAA,EAAA;AAEJ;"}
|