@cuemath/leap 3.1.13-akm-1 → 3.1.13
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/constants/country.js.map +1 -1
- package/dist/features/auth/account-selector/account-selector.js +1 -1
- package/dist/features/auth/account-selector/account-selector.js.map +1 -1
- package/dist/features/auth/auth-constants.js +13 -0
- package/dist/features/auth/auth-constants.js.map +1 -0
- package/dist/features/auth/{user-list → comps/user-list}/user-item/user-item-styled.js +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item-styled.js.map +1 -0
- package/dist/features/auth/{user-list → comps/user-list}/user-item/user-item.js +4 -4
- package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -0
- package/dist/features/auth/comps/user-list/user-list-constants.js.map +1 -0
- package/dist/features/auth/comps/user-list/user-list-styled.js.map +1 -0
- package/dist/features/auth/{user-list → comps/user-list}/user-list.js +3 -3
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -0
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js +1 -1
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +1 -1
- package/dist/features/auth/signup/signup-constants.js +1 -10
- package/dist/features/auth/signup/signup-constants.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js +11 -11
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input-styled.js +18 -13
- package/dist/features/ui/inputs/text-input/text-input-styled.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +84 -82
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/features/auth/user-list/user-item/user-item-styled.js.map +0 -1
- package/dist/features/auth/user-list/user-item/user-item.js.map +0 -1
- package/dist/features/auth/user-list/user-list-constants.js.map +0 -1
- package/dist/features/auth/user-list/user-list-styled.js.map +0 -1
- package/dist/features/auth/user-list/user-list.js.map +0 -1
- /package/dist/features/auth/{user-list → comps/user-list}/user-list-constants.js +0 -0
- /package/dist/features/auth/{user-list → comps/user-list}/user-list-styled.js +0 -0
package/dist/index.js
CHANGED
@@ -2,7 +2,7 @@ import { default as r } from "./features/ui/grade-selector/grade-selector.js";
|
|
2
2
|
import { default as a } from "./features/ui/stepper/stepper.js";
|
3
3
|
import { ILLUSTRATIONS as s } from "./assets/illustrations/illustrations.js";
|
4
4
|
import { IMAGES as p } from "./assets/images/images.js";
|
5
|
-
import { LOTTIE as
|
5
|
+
import { LOTTIE as u } from "./assets/lottie/lottie.js";
|
6
6
|
import { default as x } from "./assets/line-icons/icons/alert.js";
|
7
7
|
import { default as c } from "./assets/line-icons/icons/back.js";
|
8
8
|
import { default as I } from "./assets/line-icons/icons/bin.js";
|
@@ -10,7 +10,7 @@ import { default as S } from "./assets/line-icons/icons/bin2.js";
|
|
10
10
|
import { default as C } from "./assets/line-icons/icons/book-closed.js";
|
11
11
|
import { default as P } from "./assets/line-icons/icons/book.js";
|
12
12
|
import { default as h } from "./assets/line-icons/icons/book2.js";
|
13
|
-
import { default as
|
13
|
+
import { default as L } from "./assets/line-icons/icons/bookmark.js";
|
14
14
|
import { default as k } 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";
|
@@ -29,7 +29,7 @@ import { default as re } from "./assets/line-icons/icons/draft.js";
|
|
29
29
|
import { default as ae } from "./assets/line-icons/icons/drag.js";
|
30
30
|
import { default as se } from "./assets/line-icons/icons/edit.js";
|
31
31
|
import { default as pe } from "./assets/line-icons/icons/edit2.js";
|
32
|
-
import { default as
|
32
|
+
import { default as ue } from "./assets/line-icons/icons/edit-star.js";
|
33
33
|
import { default as xe } from "./assets/line-icons/icons/eraser.js";
|
34
34
|
import { default as ce } from "./assets/line-icons/icons/eye.js";
|
35
35
|
import { default as Ie } from "./assets/line-icons/icons/eye2.js";
|
@@ -37,7 +37,7 @@ import { default as Se } from "./assets/line-icons/icons/exclamation.js";
|
|
37
37
|
import { default as Ce } from "./assets/line-icons/icons/hand.js";
|
38
38
|
import { default as Pe } from "./assets/line-icons/icons/help.js";
|
39
39
|
import { default as he } from "./assets/line-icons/icons/highlighter.js";
|
40
|
-
import { default as
|
40
|
+
import { default as Le } from "./assets/line-icons/icons/home.js";
|
41
41
|
import { default as ke } from "./assets/line-icons/icons/image.js";
|
42
42
|
import { default as Oe } from "./assets/line-icons/icons/info.js";
|
43
43
|
import { default as De } from "./assets/line-icons/icons/info2.js";
|
@@ -56,14 +56,14 @@ import { default as ro } from "./assets/line-icons/icons/pointer.js";
|
|
56
56
|
import { default as ao } from "./assets/line-icons/icons/play.js";
|
57
57
|
import { default as so } from "./assets/line-icons/icons/play2.js";
|
58
58
|
import { default as po } from "./assets/line-icons/icons/plus.js";
|
59
|
-
import { default as
|
59
|
+
import { default as uo } from "./assets/line-icons/icons/plus2.js";
|
60
60
|
import { default as no } from "./assets/line-icons/icons/practice.js";
|
61
61
|
import { default as io } from "./assets/line-icons/icons/progress.js";
|
62
62
|
import { default as To } from "./assets/line-icons/icons/question.js";
|
63
63
|
import { default as Eo } from "./assets/line-icons/icons/question-letter.js";
|
64
64
|
import { default as Ao } from "./assets/line-icons/icons/redo.js";
|
65
65
|
import { default as _o } from "./assets/line-icons/icons/right.js";
|
66
|
-
import { default as
|
66
|
+
import { default as Ro } from "./assets/line-icons/icons/ruler.js";
|
67
67
|
import { default as Mo } from "./assets/line-icons/icons/search.js";
|
68
68
|
import { default as No } from "./assets/line-icons/icons/sheet.js";
|
69
69
|
import { default as Ho } from "./assets/line-icons/icons/star.js";
|
@@ -82,7 +82,7 @@ import { default as or } from "./assets/line-icons/icons/unlock2.js";
|
|
82
82
|
import { default as tr } from "./assets/line-icons/icons/up.js";
|
83
83
|
import { default as fr } from "./assets/line-icons/icons/user.js";
|
84
84
|
import { default as lr } from "./assets/line-icons/icons/user2.js";
|
85
|
-
import { default as
|
85
|
+
import { default as mr, default as ur } from "./assets/line-icons/icons/sketch.js";
|
86
86
|
import { default as xr } from "./assets/line-icons/icons/back2.js";
|
87
87
|
import { default as cr } from "./assets/line-icons/icons/chevron-right.js";
|
88
88
|
import { default as Ir } from "./assets/line-icons/icons/chevron-left.js";
|
@@ -90,7 +90,7 @@ import { default as Sr } from "./assets/line-icons/icons/chevron-down.js";
|
|
90
90
|
import { default as Cr } from "./assets/line-icons/icons/game.js";
|
91
91
|
import { default as Pr } from "./assets/line-icons/icons/tutoring.js";
|
92
92
|
import { default as hr } from "./assets/line-icons/icons/chat.js";
|
93
|
-
import { default as
|
93
|
+
import { default as Lr } from "./assets/line-icons/icons/cuemath-logo.js";
|
94
94
|
import { default as kr } from "./assets/line-icons/icons/next2.js";
|
95
95
|
import { AutoPlayPermissionProvider as Or } from "./features/hooks/use-auto-play-permission/use-auto-play-permission-context-provider.js";
|
96
96
|
import { default as Dr } from "./features/hooks/use-zoom-disable.js";
|
@@ -109,7 +109,7 @@ import { default as rt } from "./features/ui/error/error.js";
|
|
109
109
|
import { default as at } from "./features/ui/inputs/checkbox-input/checkbox-input.js";
|
110
110
|
import { default as st } from "./features/ui/inputs/checkbox-input-list/checkbox-input-list.js";
|
111
111
|
import { default as pt } from "./features/ui/inputs/radio-input/radio-input.js";
|
112
|
-
import { default as
|
112
|
+
import { default as ut } from "./features/ui/inputs/select-input/select-input.js";
|
113
113
|
import { default as xt } from "./features/ui/inputs/searchable-select-input/searchable-select-input.js";
|
114
114
|
import { default as ct } from "./features/ui/inputs/google-places-search-input/google-places-search-input.js";
|
115
115
|
import { default as It } from "./features/ui/inputs/text-input/text-input.js";
|
@@ -117,7 +117,7 @@ import { default as St } from "./features/ui/inputs/cascading-select-input/casca
|
|
117
117
|
import { default as Ct } from "./features/ui/inputs/num-range-input/num-range-input.js";
|
118
118
|
import { default as Pt } from "./features/ui/inputs/percentile-input/percentile-input.js";
|
119
119
|
import { default as ht } from "./features/ui/selection-cards/selection-cards.js";
|
120
|
-
import { default as
|
120
|
+
import { default as Lt } from "./features/ui/layout/flex-view.js";
|
121
121
|
import { default as kt } from "./features/ui/loader/app-loader/app-loader.js";
|
122
122
|
import { CircularLoader as Ot } from "./features/ui/loader/circular-loader/circular-loader.js";
|
123
123
|
import { default as Dt } from "./features/ui/modals/modal-provider.js";
|
@@ -135,7 +135,7 @@ import { getTheme as oa } from "./features/ui/theme/get-theme.js";
|
|
135
135
|
import { default as ta } from "./features/ui/avatar/avatar.js";
|
136
136
|
import { default as fa } from "./features/ui/time-left-timeline/time-left-timeline.js";
|
137
137
|
import { default as la } from "./features/ui/tab/tab.js";
|
138
|
-
import { default as
|
138
|
+
import { default as ma } from "./features/ui/streak-icon/streak-icon.js";
|
139
139
|
import { default as da } from "./features/ui/separator/separator.js";
|
140
140
|
import { default as na } from "./features/ui/video/index.js";
|
141
141
|
import { default as ia } from "./features/ui/perfect-hits/perfect-hits.js";
|
@@ -143,7 +143,7 @@ import { default as Ta } from "./features/ui/image/image.js";
|
|
143
143
|
import { default as Ea } from "./features/ui/animated-arc/animated-arc.js";
|
144
144
|
import { default as Aa } from "./features/auth/comps/auth-static-panel/auth-static-panel.js";
|
145
145
|
import { default as _a } from "./features/auth/comps/auth-page-layout/auth-page-layout.js";
|
146
|
-
import { default as
|
146
|
+
import { default as Ra } from "./features/auth/comps/overlay-loader/overlay-loader.js";
|
147
147
|
import { default as Ma } from "./features/auth/comps/tabs/tabs.js";
|
148
148
|
import { default as Na } from "./features/auth/comps/input-status-icon/input-status-icon.js";
|
149
149
|
import { default as Ha } from "./features/auth/comps/resend-otp/resend-otp.js";
|
@@ -162,15 +162,15 @@ import { default as of } from "./features/auth/login/identifier-otp-form/identif
|
|
162
162
|
import { default as tf } from "./features/auth/forgot-password/otp-form/otp-form.js";
|
163
163
|
import { default as ff } from "./features/auth/forgot-password/reset-password-form/reset-password-form.js";
|
164
164
|
import { default as lf } from "./features/auth/forgot-password/user-identifier-form/user-identifier-form.js";
|
165
|
-
import { AUTH_TABS as
|
166
|
-
import { AuthApiErrorCode as df } from "./features/auth/
|
165
|
+
import { AUTH_TABS as mf } from "./features/auth/login/login-constants.js";
|
166
|
+
import { AuthApiErrorCode as df } from "./features/auth/auth-constants.js";
|
167
167
|
import { PLATFORM_EVENTS_STUDENT as nf } from "./features/analytics-events/platform-events-student.js";
|
168
168
|
import { PLATFORM_EVENTS_TEACHER as If } from "./features/analytics-events/platform-events-teacher.js";
|
169
169
|
import { WHITELIST_EVENTS as Sf } from "./features/analytics-events/whitelist-events.js";
|
170
170
|
import { default as Cf } from "./features/blockers/multi-tab-blocker/use-is-tab-blocked.js";
|
171
171
|
import { default as Pf } from "./features/blockers/multi-tab-blocker/multi-tab-blocker.js";
|
172
172
|
import { default as hf } from "./features/chapters/chapter/chapter.js";
|
173
|
-
import { default as
|
173
|
+
import { default as Lf } from "./features/chapters/chapters-list/chapters-list.js";
|
174
174
|
import { default as kf } from "./features/chapters/lpar-chapter/lpar-chapter.js";
|
175
175
|
import { default as Of } from "./features/chapters/lpar-milestone-chapter/lpar-milestone-chapter.js";
|
176
176
|
import { default as Df } from "./features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js";
|
@@ -189,14 +189,14 @@ import { WebView as rs } from "./features/circle-games/games/web-view/web-view.j
|
|
189
189
|
import { ProjectOutcome as as } from "./features/circle-games/games/web-view/enums/project-outcomes-enum.js";
|
190
190
|
import { WebViewEvent as ss } from "./features/circle-games/games/web-view/enums/web-view-events-enum.js";
|
191
191
|
import { ProjectType as ps } from "./features/circle-games/games/web-view/enums/project-type-enum.js";
|
192
|
-
import { PlayerType as
|
192
|
+
import { PlayerType as us } from "./features/circle-games/games/web-view/enums/player-type-enum.js";
|
193
193
|
import { IStatsToAwardErrorCode as xs } from "./features/circle-games/games/web-view/web-view-types.js";
|
194
194
|
import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as cs } from "./features/circle-games/enum/circle-onboarding-steps.js";
|
195
195
|
import { CIRCLE_ACTION_IDS as Is } from "./features/circle-games/enum/circle-action-ids.js";
|
196
196
|
import { GameLauncher as Ss } from "./features/circle-games/game-launcher/game-launcher.js";
|
197
197
|
import { useGetCircleHomeDetailsDal as Cs } from "./features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js";
|
198
198
|
import { Leaderboard as Ps } from "./features/circle-games/leaderboard/leaderboard.js";
|
199
|
-
import { BackgroundImage as hs, CircularSteps as
|
199
|
+
import { BackgroundImage as hs, CircularSteps as Rs } from "./features/circle-games/sign-up/comp/circular-steps/circular-steps.js";
|
200
200
|
import { SplashScreen as Ms } from "./features/circle-games/sign-up/comp/splash-screen/splash-screen.js";
|
201
201
|
import { SignUp as Ns } from "./features/circle-games/sign-up/sign-up.js";
|
202
202
|
import { default as Hs } from "./features/cue-canvas/cue-canvas-provider.js";
|
@@ -215,7 +215,7 @@ import { useClassTimeAlerts as rl } from "./features/trial-session/hooks/use-cla
|
|
215
215
|
import { default as al } from "./features/talk-meter/talk-meter.js";
|
216
216
|
import { default as sl } from "./features/extra-practice/extra-practice.js";
|
217
217
|
import { default as pl } from "./features/homework/hw-card-list/hw-card-list.js";
|
218
|
-
import { invalidateHomeworks as
|
218
|
+
import { invalidateHomeworks as ul } from "./features/homework/hw-card-list/api/get-homeworks.js";
|
219
219
|
import { useAutoPlayPermission as xl } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
|
220
220
|
import { JOURNEY_ID_STUDENT as cl } from "./features/journey/journey-id/journey-id-student.js";
|
221
221
|
import { JOURNEY_ID_TEACHER as Il } from "./features/journey/journey-id/journey-id-teacher.js";
|
@@ -223,7 +223,7 @@ import { useJourney as Sl } from "./features/journey/use-journey/use-journey.js"
|
|
223
223
|
import { useGetEligibleJourneysViaRoute as Cl } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
|
224
224
|
import { JourneyProvider as Pl } from "./features/journey/use-journey/journey-context-provider.js";
|
225
225
|
import { IndicatorType as hl } from "./features/journey/use-journey/constants.js";
|
226
|
-
import { Coachmark as
|
226
|
+
import { Coachmark as Ll } from "./features/journey/comps/coachmark/coachmark.js";
|
227
227
|
import { useHomePageJourney as kl } from "./features/journey/hooks/use-home-page-journey/use-home-page-journey.js";
|
228
228
|
import { useChapterPageJourney as Ol } from "./features/journey/hooks/use-chapter-journey.js";
|
229
229
|
import { default as Dl } from "./features/maintenance/maintenance.js";
|
@@ -242,12 +242,12 @@ import { default as rp } from "./features/milestone/milestone-list-container/mil
|
|
242
242
|
import { default as ap } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
|
243
243
|
import { default as sp } from "./features/milestone/start/milestone-start.js";
|
244
244
|
import { default as pp } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
|
245
|
-
import { default as
|
245
|
+
import { default as up } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
|
246
246
|
import { ACHIEVEMENT_ACTIONS as xp, STAGES as np } from "./features/milestone/outcome/milestone-outcome-constants.js";
|
247
247
|
import { invalidateMilestonesData as ip, useGetAllMilestonesdata as Ip } from "./features/milestone/milestone-list-container/api/get-milestones.js";
|
248
248
|
import { invalidatePastMilestoneCount as Sp, useGetPastMilestoneCount as Ep } from "./features/milestone/milestone-list-container/api/get-past-milestone-count.js";
|
249
249
|
import { invalidateTestHelpData as Ap, useGetTestHelpData as Pp } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
|
250
|
-
import { invalidateMilestoneResources as hp, useGetMilestoneResources as
|
250
|
+
import { invalidateMilestoneResources as hp, useGetMilestoneResources as Rp } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
|
251
251
|
import { default as Mp } from "./features/pointer-sync/pointer.js";
|
252
252
|
import { default as Np } from "./features/pointer-sync/hooks/use-pointer-sync.js";
|
253
253
|
import { DigitalMeter as Hp } from "./features/post-game-stats/digital-meter/digital-meter.js";
|
@@ -260,23 +260,24 @@ import { default as Yp } from "./features/sheet-tools/tool-header/tool-header.js
|
|
260
260
|
import { default as Qp } from "./features/sheets/sheets-list/sheets-list.js";
|
261
261
|
import { default as jp } from "./features/sheets/reference-sheet/reference-sheet.js";
|
262
262
|
import { WORKSHEET_V3_NODE_TYPES as qp } from "./features/sheets/utils/is-v3-worksheet.js";
|
263
|
-
import { COMPLETED_SHEET_STATE as Xp, NODE_LABELS as $p, NODE_SUB_GROUP as
|
264
|
-
import { default as
|
265
|
-
import { default as
|
266
|
-
import { media as
|
267
|
-
import { ACTION_BAR_HEIGHT as
|
268
|
-
import { isOkayTypeQuestion as
|
269
|
-
import { default as
|
270
|
-
import { default as
|
271
|
-
import { default as
|
272
|
-
import { default as
|
273
|
-
import { default as
|
274
|
-
import { default as
|
275
|
-
import { default as
|
276
|
-
import { default as
|
263
|
+
import { COMPLETED_SHEET_STATE as Xp, NODE_LABELS as $p, NODE_SUB_GROUP as em, NODE_TYPE as om, PYTHON_NODE_TYPES as rm, REWARDS_LIST as tm, SHEET_ACTIONS as am, SHEET_ATTEMPT_LOCATION as fm, SHEET_ATTEMPT_LOCATION_MAP as sm, SHEET_ATTEMPT_STATE as lm, SHEET_DATA_TYPE as pm, SHEET_STATE as mm } from "./features/sheets/constants/sheet.js";
|
264
|
+
import { default as dm } from "./features/student-details/student-details.js";
|
265
|
+
import { default as nm } from "./features/utils/load-script.js";
|
266
|
+
import { media as im } from "./features/utils/media.js";
|
267
|
+
import { ACTION_BAR_HEIGHT as Tm, QUESTIONS_GAP as Sm, QUESTION_WIDTH as Em, TOP_NAVIGATION_HEIGHT as Cm } from "./features/worksheet/worksheet/constants.js";
|
268
|
+
import { isOkayTypeQuestion as Pm } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
269
|
+
import { default as hm } from "./features/worksheet/worksheet/worksheet-container.js";
|
270
|
+
import { default as Lm } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
271
|
+
import { default as km } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
|
272
|
+
import { default as Om } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
|
273
|
+
import { default as Dm } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
|
274
|
+
import { default as gm } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
|
275
|
+
import { default as Um } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
276
|
+
import { default as vm } from "./features/hooks/use-viewport/use-viewport.js";
|
277
|
+
import { COUNTRY_CODE_MAP as wm } from "./constants/country.js";
|
277
278
|
export {
|
278
279
|
xp as ACHIEVEMENT_ACTIONS,
|
279
|
-
|
280
|
+
mf as AUTH_TABS,
|
280
281
|
Ur as AccordionSection,
|
281
282
|
Ka as AccountSelector,
|
282
283
|
Ql as AchievementNotShareReasonModal,
|
@@ -299,20 +300,21 @@ export {
|
|
299
300
|
h as Book2Icon,
|
300
301
|
C as BookClosedIcon,
|
301
302
|
P as BookIcon,
|
302
|
-
|
303
|
+
L as BookmarkIcon,
|
303
304
|
O as Bulb2Icon,
|
304
305
|
k as BulbIcon,
|
305
306
|
Qr as Button,
|
306
307
|
Is as CIRCLE_ACTION_IDS,
|
307
308
|
cs as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
308
309
|
Xp as COMPLETED_SHEET_STATE,
|
310
|
+
wm as COUNTRY_CODE_MAP,
|
309
311
|
D as CalendarIcon,
|
310
312
|
Qt as Callout,
|
311
313
|
St as CascadingSelectInput,
|
312
314
|
hf as Chapter,
|
313
315
|
vl as ChapterClearanceConfirmationModal,
|
314
316
|
Uf as ChapterDetails,
|
315
|
-
|
317
|
+
Lf as ChaptersList,
|
316
318
|
hr as ChatIcon,
|
317
319
|
U as Check2Icon,
|
318
320
|
g as CheckIcon,
|
@@ -324,13 +326,13 @@ export {
|
|
324
326
|
Qf as CircleSoundKey,
|
325
327
|
Ot as CircularLoader,
|
326
328
|
Fa as CircularStepWrapper,
|
327
|
-
|
329
|
+
Rs as CircularSteps,
|
328
330
|
ya as ClaimUserAccount,
|
329
331
|
jr as Clickable,
|
330
332
|
v as ClipboardIcon,
|
331
333
|
V as Clock2Icon,
|
332
334
|
w as ClockIcon,
|
333
|
-
|
335
|
+
Ll as Coachmark,
|
334
336
|
Y as CodeIcon,
|
335
337
|
wr as ContextMenu,
|
336
338
|
Q as CopyIcon,
|
@@ -342,7 +344,7 @@ export {
|
|
342
344
|
Hs as CueCanvasProvider,
|
343
345
|
bs as CueCanvasSideBar,
|
344
346
|
q as CueRocket,
|
345
|
-
|
347
|
+
Lr as CuemathLogo,
|
346
348
|
Wa as CustomInputField,
|
347
349
|
X as DashArrowIcon,
|
348
350
|
ba as DatePickerInput,
|
@@ -353,13 +355,13 @@ export {
|
|
353
355
|
ae as DragIcon,
|
354
356
|
el as EClassTimeAlertLevel,
|
355
357
|
qf as ELeaderboardType,
|
356
|
-
|
358
|
+
up as EPResourceAssign,
|
357
359
|
Gp as EPostGameStat,
|
358
360
|
Ks as EVENTS,
|
359
361
|
pe as Edit2Icon,
|
360
362
|
se as EditIcon,
|
361
363
|
ql as EditMilestoneModal,
|
362
|
-
|
364
|
+
ue as EditStarIcon,
|
363
365
|
xe as EraserIcon,
|
364
366
|
rt as Error,
|
365
367
|
Se as ExclamationIcon,
|
@@ -367,7 +369,7 @@ export {
|
|
367
369
|
sl as ExtraPractice,
|
368
370
|
Ie as Eye2Icon,
|
369
371
|
ce as EyeIcon,
|
370
|
-
|
372
|
+
Lt as FlexView,
|
371
373
|
wf as GAME_LAUNCHER_ASSET_PADDING,
|
372
374
|
Vf as GAME_LAUNCHER_SIZE,
|
373
375
|
Cr as GameIcon,
|
@@ -381,7 +383,7 @@ export {
|
|
381
383
|
Ce as HandIcon,
|
382
384
|
Pe as HelpIcon,
|
383
385
|
he as HighlighterIcon,
|
384
|
-
|
386
|
+
Le as HomeIcon,
|
385
387
|
pl as HomeworkCardList,
|
386
388
|
s as ILLUSTRATIONS,
|
387
389
|
p as IMAGES,
|
@@ -397,11 +399,11 @@ export {
|
|
397
399
|
cl as JOURNEY_ID_STUDENT,
|
398
400
|
Il as JOURNEY_ID_TEACHER,
|
399
401
|
Pl as JourneyProvider,
|
400
|
-
|
402
|
+
u as LOTTIE,
|
401
403
|
kf as LPARChapter,
|
402
404
|
Of as LPARMilestoneChapter,
|
403
405
|
Ps as Leaderboard,
|
404
|
-
|
406
|
+
Dm as LearnosityPreloader,
|
405
407
|
ge as LeftIcon,
|
406
408
|
ve as Lock2Icon,
|
407
409
|
we as Lock3Icon,
|
@@ -421,35 +423,35 @@ export {
|
|
421
423
|
qe as MoreVerticalIcon,
|
422
424
|
Pf as MultiTabBlocker,
|
423
425
|
$p as NODE_LABELS,
|
424
|
-
|
425
|
-
|
426
|
+
em as NODE_SUB_GROUP,
|
427
|
+
om as NODE_TYPE,
|
426
428
|
kr as Next2Icon,
|
427
429
|
Xe as NextIcon,
|
428
430
|
Yr as Nudge,
|
429
431
|
Ct as NumRangeInput,
|
430
432
|
tf as OTPForm,
|
431
|
-
|
433
|
+
Ra as OverlayLoader,
|
432
434
|
nf as PLATFORM_EVENTS_STUDENT,
|
433
435
|
If as PLATFORM_EVENTS_TEACHER,
|
434
|
-
|
436
|
+
rm as PYTHON_NODE_TYPES,
|
435
437
|
eo as PencilIcon,
|
436
438
|
Pt as PercentileInput,
|
437
439
|
ia as PerfectHits,
|
438
440
|
so as Play2Icon,
|
439
441
|
ao as PlayIcon,
|
440
|
-
|
441
|
-
|
442
|
+
us as PlayerType,
|
443
|
+
uo as Plus2Icon,
|
442
444
|
po as PlusIcon,
|
443
445
|
ro as PointerIcon,
|
444
446
|
yp as PostGameStats,
|
445
447
|
no as PracticeIcon,
|
446
|
-
|
448
|
+
Lm as PreviewWorksheet,
|
447
449
|
io as ProgressIcon,
|
448
450
|
as as ProjectOutcome,
|
449
451
|
ps as ProjectType,
|
450
452
|
To as QuestionIcon,
|
451
453
|
Eo as QuestionLetterIcon,
|
452
|
-
|
454
|
+
tm as REWARDS_LIST,
|
453
455
|
vt as RadioCard,
|
454
456
|
pt as RadioInput,
|
455
457
|
Bp as RecentChapters,
|
@@ -459,31 +461,31 @@ export {
|
|
459
461
|
Ha as ResendOTP,
|
460
462
|
ff as ResetPasswordForm,
|
461
463
|
_o as RightIcon,
|
462
|
-
|
464
|
+
Ro as RulerIcon,
|
463
465
|
Df as SATSheetSummary,
|
464
466
|
bp as SENTRY_DENIED_URLS,
|
465
467
|
wp as SENTRY_IGNORED_ERRORS,
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
468
|
+
am as SHEET_ACTIONS,
|
469
|
+
fm as SHEET_ATTEMPT_LOCATION,
|
470
|
+
sm as SHEET_ATTEMPT_LOCATION_MAP,
|
471
|
+
lm as SHEET_ATTEMPT_STATE,
|
472
|
+
pm as SHEET_DATA_TYPE,
|
473
|
+
mm as SHEET_STATE,
|
472
474
|
np as STAGES,
|
473
|
-
|
475
|
+
mr as ScribbleIcon,
|
474
476
|
Mo as SearchIcon,
|
475
477
|
xt as SearchableSelectInput,
|
476
478
|
wt as SectionList,
|
477
|
-
|
479
|
+
ut as SelectInput,
|
478
480
|
ht as SelectionCards,
|
479
481
|
da as Separator,
|
480
|
-
|
482
|
+
Om as SheetError,
|
481
483
|
No as SheetIcon,
|
482
484
|
Qp as SheetList,
|
483
|
-
|
485
|
+
km as SheetLocked,
|
484
486
|
Ns as SignUp,
|
485
487
|
Ja as SignupMethods,
|
486
|
-
|
488
|
+
ur as SketchIcon,
|
487
489
|
Bo as Skip2Icon,
|
488
490
|
Go as SkipColoredIcon,
|
489
491
|
yo as SkipIcon,
|
@@ -494,10 +496,10 @@ export {
|
|
494
496
|
Ho as StarIcon,
|
495
497
|
Wo as StatusIcon,
|
496
498
|
a as Stepper,
|
497
|
-
|
499
|
+
ma as StreakIcon,
|
498
500
|
Xf as StreakReductionLocalStorageUtil,
|
499
501
|
Fo as StrikedEyeIcon,
|
500
|
-
|
502
|
+
dm as StudentDetails,
|
501
503
|
gl as SubmitMilestoneModal,
|
502
504
|
Jo as SwitchIcon,
|
503
505
|
la as TabComponent,
|
@@ -526,25 +528,25 @@ export {
|
|
526
528
|
$a as UsernamePasswordForm,
|
527
529
|
na as Video,
|
528
530
|
Sf as WHITELIST_EVENTS,
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
531
|
+
Tm as WORKSHEET_ACTION_BAR_HEIGHT,
|
532
|
+
Sm as WORKSHEET_QUESTIONS_GAP,
|
533
|
+
Em as WORKSHEET_QUESTION_WIDTH,
|
534
|
+
Cm as WORKSHEET_TOP_NAVIGATION_HEIGHT,
|
533
535
|
qp as WORKSHEET_V3_NODE_TYPES,
|
534
536
|
rs as WebView,
|
535
537
|
ss as WebViewEvent,
|
536
|
-
|
538
|
+
hm as Worksheet,
|
537
539
|
gf as checkIfPPTNodeType,
|
538
540
|
oa as getTheme,
|
539
541
|
vf as invalidateGetChapterDetails,
|
540
|
-
|
542
|
+
ul as invalidateHomeworks,
|
541
543
|
hp as invalidateMilestoneResources,
|
542
544
|
ip as invalidateMilestonesData,
|
543
545
|
Sp as invalidatePastMilestoneCount,
|
544
546
|
Ap as invalidateTestHelpData,
|
545
|
-
|
546
|
-
|
547
|
-
|
547
|
+
Pm as isOkayTypeQuestion,
|
548
|
+
nm as loadScript,
|
549
|
+
im as media,
|
548
550
|
xl as useAutoPlayPermission,
|
549
551
|
Bs as useCanvasSyncBroker,
|
550
552
|
Ol as useChapterPageJourney,
|
@@ -556,14 +558,14 @@ export {
|
|
556
558
|
Cs as useGetCircleHomeDetailsDal,
|
557
559
|
Cl as useGetEligibleJourneysViaRoute,
|
558
560
|
jf as useGetLeaderboardDal,
|
559
|
-
|
561
|
+
Rp as useGetMilestoneResources,
|
560
562
|
Ep as useGetPastMilestoneCount,
|
561
563
|
Pp as useGetTestHelpData,
|
562
564
|
kl as useHomePageJourney,
|
563
565
|
Zs as useInClassActionDispatcher,
|
564
566
|
qs as useInClassActionListener,
|
565
567
|
Fs as useInClassMessageBroker,
|
566
|
-
|
568
|
+
gm as useIsLearnosityLoaded,
|
567
569
|
Cf as useIsTabBlocked,
|
568
570
|
Sl as useJourney,
|
569
571
|
gt as useModalActions,
|
@@ -572,8 +574,8 @@ export {
|
|
572
574
|
zt as useTrackingContext,
|
573
575
|
Js as useTrialSessionMessageBroker,
|
574
576
|
Zt as useUIContext,
|
575
|
-
|
576
|
-
|
577
|
+
vm as useViewport,
|
578
|
+
Um as useWorksheetLayout,
|
577
579
|
Dr as useZoomDisable
|
578
580
|
};
|
579
581
|
//# 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":"user-item-styled.js","sources":["../../../../../src/features/auth/user-list/user-item/user-item-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const UserItemCard = styled(FlexView)<{\n index: number;\n isLastItem?: boolean;\n maxColumns: number;\n}>`\n cursor: pointer;\n transition: background-color 0.3s ease;\n position: relative;\n border-left: 1px solid ${({ theme }) => theme.colors.BLACK_5};\n border-bottom: 1px solid ${({ theme }) => theme.colors.BLACK_5};\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.BLACK_2};\n }\n\n ${({ index, theme, maxColumns }) =>\n index < maxColumns && `border-top: 1px solid ${theme.colors.BLACK_5};`}\n\n ${({ index, isLastItem, theme, maxColumns }) =>\n ((index + 1) % maxColumns === 0 || isLastItem) &&\n `border-right: 1px solid ${theme.colors.BLACK_5};`}\n`;\n"],"names":["UserItemCard","styled","FlexView","theme","index","maxColumns","isLastItem"],"mappings":";;AAIa,MAAAA,IAAeC,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,2BAQhB,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA,6BACjC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,wBAGxC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,IAGvD,CAAC,EAAE,OAAAC,GAAO,OAAAD,GAAO,YAAAE,EAAW,MAC5BD,IAAQC,KAAc,yBAAyBF,EAAM,OAAO,OAAO,GAAG;AAAA;AAAA,IAEtE,CAAC,EAAE,OAAAC,GAAO,YAAAE,GAAY,OAAAH,GAAO,YAAAE,EAC3B,QAAAD,IAAQ,KAAKC,MAAe,KAAKC,MACnC,2BAA2BH,EAAM,OAAO,OAAO,GAAG;AAAA;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user-item.js","sources":["../../../../../src/features/auth/user-list/user-item/user-item.tsx"],"sourcesContent":["import type { IUserItemProps } from './user-item-types';\n\nimport { useCallback, type FC, memo } from 'react';\n\nimport useViewport from '../../../hooks/use-viewport/use-viewport';\nimport Avatar from '../../../ui/avatar/avatar';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { AVATAR_CONFIGURATIONS } from '../user-list-constants';\nimport * as Styled from './user-item-styled';\n\nconst UserItem: FC<IUserItemProps> = ({\n id,\n phone,\n username,\n avatar,\n index,\n isLastItem,\n onSelect,\n avatarSize,\n maxColumns,\n cardSize,\n}) => {\n const { isCompact } = useViewport();\n const handleClick = useCallback(() => {\n onSelect(id);\n }, [id, onSelect]);\n\n const avatarSource = avatar ?? AVATAR_CONFIGURATIONS[index % AVATAR_CONFIGURATIONS.length];\n\n return (\n <Styled.UserItemCard\n key={id}\n onClick={handleClick}\n maxColumns={maxColumns}\n $gutterX={1.5}\n $gapX={1.5}\n $width={cardSize}\n $height={cardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n index={index}\n isLastItem={isLastItem}\n $background=\"BLACK_1\"\n >\n <Avatar size={avatarSize} avatar={avatarSource} />\n <Separator heightX={0.5} />\n <Text $color=\"WHITE\" $renderAs={isCompact ? 'ab3' : 'ab2'} $align=\"center\">\n {username || phone}\n </Text>\n </Styled.UserItemCard>\n );\n};\n\nexport default memo(UserItem);\n"],"names":["UserItem","id","phone","username","avatar","index","isLastItem","onSelect","avatarSize","maxColumns","cardSize","isCompact","useViewport","handleClick","useCallback","avatarSource","AVATAR_CONFIGURATIONS","jsxs","Styled.UserItemCard","jsx","Avatar","Separator","Text","UserItem$1","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAA+B,CAAC;AAAA,EACpC,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AACF,MAAM;AACE,QAAA,EAAE,WAAAC,MAAcC,KAChBC,IAAcC,EAAY,MAAM;AACpC,IAAAP,EAASN,CAAE;AAAA,EAAA,GACV,CAACA,GAAIM,CAAQ,CAAC,GAEXQ,IAAeX,KAAUY,EAAsBX,IAAQW,EAAsB,MAAM;AAGvF,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MAEC,SAASL;AAAA,MACT,YAAAJ;AAAA,MACA,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQC;AAAA,MACR,SAASA;AAAA,MACT,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,OAAAL;AAAA,MACA,YAAAC;AAAA,MACA,aAAY;AAAA,MAEZ,UAAA;AAAA,QAAA,gBAAAa,EAACC,GAAO,EAAA,MAAMZ,GAAY,QAAQO,GAAc;AAAA,QAChD,gBAAAI,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAF,EAACG,GAAK,EAAA,QAAO,SAAQ,WAAWX,IAAY,QAAQ,OAAO,QAAO,UAC/D,UAAAR,KAAYD,EACf,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAjBKD;AAAA,EAAA;AAoBX,GAEesB,IAAAC,EAAKxB,CAAQ;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user-list-constants.js","sources":["../../../../src/features/auth/user-list/user-list-constants.ts"],"sourcesContent":["import type { IAvatarLayer } from '../../ui/avatar/avatar-types';\n\nexport const AVATAR_CONFIGURATIONS: IAvatarLayer[][] = [\n [\n { key: 'layer-1', variant: 1, color: '#FF9999' },\n { key: 'layer-3', variant: 5 },\n { key: 'layer-4', variant: 18 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#E58600' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 9 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#00FF80' },\n { key: 'layer-3', variant: 17 },\n { key: 'layer-4', variant: 16 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#4CC3FF' },\n { key: 'layer-3', variant: 2 },\n { key: 'layer-4', variant: 9 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#00B259' },\n { key: 'layer-3', variant: 9 },\n { key: 'layer-4', variant: 2 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#0086E5' },\n { key: 'layer-3', variant: 8 },\n { key: 'layer-4', variant: 3 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#99E5FF' },\n { key: 'layer-3', variant: 14 },\n { key: 'layer-4', variant: 11 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#FF33DD' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 11 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#B366FF' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 6 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#CCCCCC' },\n { key: 'layer-3', variant: 11 },\n { key: 'layer-4', variant: 7 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#CCCCCC' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 16 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#E58600' },\n { key: 'layer-3', variant: 18 },\n { key: 'layer-4', variant: 8 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#0086E5' },\n { key: 'layer-3', variant: 8 },\n { key: 'layer-4', variant: 5 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#89F5BF' },\n { key: 'layer-3', variant: 16 },\n { key: 'layer-4', variant: 1 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#FF6A00' },\n { key: 'layer-3', variant: 4 },\n { key: 'layer-4', variant: 3 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#89F5BF' },\n { key: 'layer-3', variant: 3 },\n { key: 'layer-4', variant: 17 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#CCCCCC' },\n { key: 'layer-3', variant: 10 },\n { key: 'layer-4', variant: 3 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#99E5FF' },\n { key: 'layer-3', variant: 14 },\n { key: 'layer-4', variant: 1 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#F37070' },\n { key: 'layer-3', variant: 2 },\n { key: 'layer-4', variant: 16 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#FF470A' },\n { key: 'layer-3', variant: 18 },\n { key: 'layer-4', variant: 3 },\n ],\n];\n"],"names":["AVATAR_CONFIGURATIONS"],"mappings":"AAEO,MAAMA,IAA0C;AAAA,EACrD;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,I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K,WAAW,SAAS,EAAE;AAAA,IAC7B,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,EAChC;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,IAC9B,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,IAC9B,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,IAC7B,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,EAChC;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,IAC9B,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,EAC/B;AACF;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user-list-styled.js","sources":["../../../../src/features/auth/user-list/user-list-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport { UserItemCard } from './user-item/user-item-styled';\n\nexport const UserListWrapper = styled.div<{\n itemCount: number;\n maxColumns: number;\n cardWidth: number;\n}>`\n display: inline-grid;\n grid-template-columns: repeat(\n ${({ itemCount, maxColumns }) => (itemCount < maxColumns ? itemCount : maxColumns)},\n ${({ cardWidth }) => cardWidth}px\n );\n grid-auto-rows: ${({ cardWidth }) => cardWidth}px;\n`;\n\nexport const AddAccountButton = styled(UserItemCard)`\n &:hover {\n background-color: ${({ theme }) => theme.colors.BLACK_4};\n }\n`;\n"],"names":["UserListWrapper","styled","itemCount","maxColumns","cardWidth","AddAccountButton","UserItemCard","theme"],"mappings":";;AAIO,MAAMA,IAAkBC,EAAO;AAAA;AAAA;AAAA,MAOhC,CAAC,EAAE,WAAAC,GAAW,YAAAC,EAAA,MAAkBD,IAAYC,IAAaD,IAAYC,CAAW;AAAA,MAChF,CAAC,EAAE,WAAAC,EAAU,MAAMA,CAAS;AAAA;AAAA,oBAEd,CAAC,EAAE,WAAAA,EAAU,MAAMA,CAAS;AAAA,GAGnCC,IAAmBJ,EAAOK,CAAY;AAAA;AAAA,wBAE3B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user-list.js","sources":["../../../../src/features/auth/user-list/user-list.tsx"],"sourcesContent":["import type { IUserListProps } from './user-list-types';\n\nimport { type FC, memo } from 'react';\n\nimport PlusIcon from '../../../assets/line-icons/icons/plus';\nimport useViewport from '../../hooks/use-viewport/use-viewport';\nimport FlexView from '../../ui/layout/flex-view';\nimport UserItem from './user-item/user-item';\nimport * as Styled from './user-list-styled';\n\nconst UserList: FC<IUserListProps> = ({\n users,\n onSelect,\n showAddButton = false,\n onAddNew,\n maxColumns = 5,\n cardSize = 200,\n avatarSize = 80,\n}) => {\n const totalCards = users.length + (showAddButton ? 1 : 0);\n const { isCompact } = useViewport();\n\n const responsiveColumnNos = isCompact ? 2 : maxColumns;\n const responsiveCardSize = isCompact ? 180 : cardSize;\n\n return (\n <Styled.UserListWrapper\n itemCount={totalCards}\n maxColumns={responsiveColumnNos}\n cardWidth={responsiveCardSize}\n >\n {users.map(({ id, username, user_avatar: avatar, phone }, index) => (\n <UserItem\n key={id}\n id={id}\n onSelect={onSelect}\n cardSize={responsiveCardSize}\n index={index}\n maxColumns={responsiveColumnNos}\n avatarSize={avatarSize}\n avatar={avatar}\n phone={phone}\n username={username}\n isLastItem={index === totalCards - 1}\n />\n ))}\n\n {showAddButton && (\n <Styled.AddAccountButton\n isLastItem\n index={totalCards}\n maxColumns={responsiveColumnNos}\n $gutterX={5}\n $gapX={5}\n $background=\"BLACK_3\"\n $width={responsiveCardSize}\n $height={responsiveCardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n onClick={onAddNew}\n >\n <FlexView $width={40} $height={40}>\n <PlusIcon color=\"WHITE\" width={40} height={40} />\n </FlexView>\n </Styled.AddAccountButton>\n )}\n </Styled.UserListWrapper>\n );\n};\n\nexport default memo(UserList);\n"],"names":["UserList","users","onSelect","showAddButton","onAddNew","maxColumns","cardSize","avatarSize","totalCards","isCompact","useViewport","responsiveColumnNos","responsiveCardSize","jsxs","Styled.UserListWrapper","id","username","avatar","phone","index","jsx","UserItem","Styled.AddAccountButton","FlexView","PlusIcon","UserList$1","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAA+B,CAAC;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,UAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AACf,MAAM;AACJ,QAAMC,IAAaP,EAAM,UAAUE,IAAgB,IAAI,IACjD,EAAE,WAAAM,MAAcC,KAEhBC,IAAsBF,IAAY,IAAIJ,GACtCO,IAAqBH,IAAY,MAAMH;AAG3C,SAAA,gBAAAO;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAWN;AAAA,MACX,YAAYG;AAAA,MACZ,WAAWC;AAAA,MAEV,UAAA;AAAA,QAAMX,EAAA,IAAI,CAAC,EAAE,IAAAc,GAAI,UAAAC,GAAU,aAAaC,GAAQ,OAAAC,KAASC,MACxD,gBAAAC;AAAA,UAACC;AAAA,UAAA;AAAA,YAEC,IAAAN;AAAA,YACA,UAAAb;AAAA,YACA,UAAUU;AAAA,YACV,OAAAO;AAAA,YACA,YAAYR;AAAA,YACZ,YAAAJ;AAAA,YACA,QAAAU;AAAA,YACA,OAAAC;AAAA,YACA,UAAAF;AAAA,YACA,Y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