@cuemath/leap 3.3.32 → 3.3.33-m
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/assets/line-icons/icons/chevron-right.js.map +1 -1
- package/dist/features/auth/pla-signup/pla-analytics-events.js +2 -4
- package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +34 -43
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
- package/dist/features/chapters-v2/chapter-details/chapter-details.js +101 -140
- package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
- package/dist/features/chapters-v2/utils/index.js +16 -20
- package/dist/features/chapters-v2/utils/index.js.map +1 -1
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.js +6 -6
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.js.map +1 -1
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js +21 -20
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view-types.js.map +1 -1
- package/dist/features/circle-games/sign-up/sign-up.js +6 -6
- package/dist/features/circle-games/sign-up/sign-up.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list-view.js +17 -17
- package/dist/features/journey/journey-id/journey-id-student.js +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
- package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +0 -400
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -1
- package/dist/features/milestone/constants.js +15 -28
- package/dist/features/milestone/constants.js.map +1 -1
- package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector.js +6 -6
- package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +2 -2
- package/dist/features/milestone/create/comps/test-type-step/test-type-utils.js +16 -23
- package/dist/features/milestone/create/comps/test-type-step/test-type-utils.js.map +1 -1
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js +22 -28
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js.map +1 -1
- package/dist/features/parent-dashboard/hooks/use-fetch-parent-home.js +1 -1
- package/dist/features/parent-dashboard/hooks/use-fetch-parent-home.js.map +1 -1
- package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +46 -48
- package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -1
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js +12 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js.map +1 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js +17 -16
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js.map +1 -1
- package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js +8 -4
- package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js.map +1 -1
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js +3 -3
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js.map +1 -1
- package/dist/features/parent-dashboard/parent-dashboard-constants.js +4 -45
- package/dist/features/parent-dashboard/parent-dashboard-constants.js.map +1 -1
- package/dist/features/parent-dashboard/parent-dashboard-types.js +3 -3
- package/dist/features/parent-dashboard/parent-dashboard-types.js.map +1 -1
- package/dist/features/parent-dashboard/parent-dashboard-view.js +174 -197
- package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -1
- package/dist/features/stickers/sticker-selector/hooks/use-handle-sticker-send.js +36 -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 +72 -0
- package/dist/features/stickers/sticker-selector/hooks/use-stickers-journey/use-stickers-journey.js.map +1 -0
- package/dist/features/stickers/sticker-selector/sticker-selector.js +58 -57
- package/dist/features/stickers/sticker-selector/sticker-selector.js.map +1 -1
- package/dist/features/stickers/stickers-effects/comps/sticker-with-fallback.js +34 -0
- package/dist/features/stickers/stickers-effects/comps/sticker-with-fallback.js.map +1 -0
- package/dist/features/stickers/stickers-effects/constants.js +26 -0
- package/dist/features/stickers/stickers-effects/constants.js.map +1 -0
- package/dist/features/stickers/stickers-effects/context/sticker-provider.js +28 -0
- package/dist/features/stickers/stickers-effects/context/sticker-provider.js.map +1 -0
- package/dist/features/stickers/stickers-effects/hooks/use-stickers.js +12 -0
- package/dist/features/stickers/stickers-effects/hooks/use-stickers.js.map +1 -0
- package/dist/features/stickers/stickers-effects/stickers-effects-helper.js.map +1 -1
- package/dist/features/stickers/stickers-effects/stickers-effects-styled.js +32 -17
- package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +1 -1
- package/dist/features/stickers/stickers-effects/stickers-effects-types.js +6 -0
- package/dist/features/stickers/stickers-effects/stickers-effects-types.js.map +1 -0
- package/dist/features/stickers/stickers-effects/stickers-effects.js +40 -56
- package/dist/features/stickers/stickers-effects/stickers-effects.js.map +1 -1
- package/dist/features/student-details/class-details/class-details-utils.js +6 -6
- package/dist/features/{parent-dashboard/comps → trial-session/comps/pla}/next-steps/next-steps-constants.js +1 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js.map +1 -0
- package/dist/features/{parent-dashboard/comps → trial-session/comps/pla}/next-steps/next-steps-styled.js +1 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js.map +1 -0
- package/dist/features/{parent-dashboard/comps → trial-session/comps/pla}/next-steps/next-steps.js +5 -5
- package/dist/features/trial-session/comps/pla/next-steps/next-steps.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-countdown.js +29 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-countdown.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-status-config.js +132 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-status-config.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js +11 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js +19 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js.map +1 -0
- package/dist/features/{parent-dashboard/comps → trial-session/comps/pla}/session-status/session-status-styled.js +2 -2
- package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status.js +127 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status.js.map +1 -0
- package/dist/features/{parent-dashboard/comps → trial-session/comps/pla}/session-summary/session-summary-constants.js +2 -2
- package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +53 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +1 -0
- package/dist/features/{parent-dashboard/comps → trial-session/comps/pla}/session-summary/summary-card/summary-card-styled.js +1 -1
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +56 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js.map +1 -0
- package/dist/features/{parent-dashboard/comps → trial-session/comps/pla}/upcoming-sessions/upcoming-sessions-styled.js +1 -1
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js.map +1 -0
- package/dist/features/{parent-dashboard/comps → trial-session/comps/pla}/upcoming-sessions/upcoming-sessions.js +14 -14
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js.map +1 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +44 -43
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -1
- package/dist/features/trial-session/comps/trial-circle-game/trial-circle-game.js +61 -60
- package/dist/features/trial-session/comps/trial-circle-game/trial-circle-game.js.map +1 -1
- package/dist/features/trial-session/trial-session-types.js.map +1 -1
- package/dist/features/trial-session/trial-session-view.js +73 -71
- package/dist/features/trial-session/trial-session-view.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +13 -45
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +31 -31
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/index.d.ts +144 -81
- package/dist/index.js +301 -292
- package/dist/index.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +10 -0
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +9 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInSeconds.js +11 -0
- package/dist/node_modules/date-fns/differenceInSeconds.js.map +1 -0
- package/package.json +1 -1
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-block-journey.js +0 -86
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-block-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-node-journey.js +0 -140
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-node-journey.js.map +0 -1
- package/dist/features/parent-dashboard/api/cancel-subscription.js +0 -9
- package/dist/features/parent-dashboard/api/cancel-subscription.js.map +0 -1
- package/dist/features/parent-dashboard/comps/billing-information/billing-information-styled.js +0 -20
- package/dist/features/parent-dashboard/comps/billing-information/billing-information-styled.js.map +0 -1
- package/dist/features/parent-dashboard/comps/billing-information/billing-information.js +0 -74
- package/dist/features/parent-dashboard/comps/billing-information/billing-information.js.map +0 -1
- package/dist/features/parent-dashboard/comps/next-steps/next-steps-constants.js.map +0 -1
- package/dist/features/parent-dashboard/comps/next-steps/next-steps-styled.js.map +0 -1
- package/dist/features/parent-dashboard/comps/next-steps/next-steps.js.map +0 -1
- package/dist/features/parent-dashboard/comps/session-status/hooks/use-countdown.js +0 -34
- package/dist/features/parent-dashboard/comps/session-status/hooks/use-countdown.js.map +0 -1
- package/dist/features/parent-dashboard/comps/session-status/hooks/use-session-status-config.js +0 -137
- package/dist/features/parent-dashboard/comps/session-status/hooks/use-session-status-config.js.map +0 -1
- package/dist/features/parent-dashboard/comps/session-status/session-status-constants.js +0 -20
- package/dist/features/parent-dashboard/comps/session-status/session-status-constants.js.map +0 -1
- package/dist/features/parent-dashboard/comps/session-status/session-status-helpers.js +0 -19
- package/dist/features/parent-dashboard/comps/session-status/session-status-helpers.js.map +0 -1
- package/dist/features/parent-dashboard/comps/session-status/session-status-styled.js.map +0 -1
- package/dist/features/parent-dashboard/comps/session-status/session-status.js +0 -124
- package/dist/features/parent-dashboard/comps/session-status/session-status.js.map +0 -1
- package/dist/features/parent-dashboard/comps/session-summary/session-summary-constants.js.map +0 -1
- package/dist/features/parent-dashboard/comps/session-summary/session-summary.js +0 -53
- package/dist/features/parent-dashboard/comps/session-summary/session-summary.js.map +0 -1
- package/dist/features/parent-dashboard/comps/session-summary/summary-card/summary-card-styled.js.map +0 -1
- package/dist/features/parent-dashboard/comps/session-summary/summary-card/summary-card.js +0 -63
- package/dist/features/parent-dashboard/comps/session-summary/summary-card/summary-card.js.map +0 -1
- package/dist/features/parent-dashboard/comps/upcoming-sessions/upcoming-sessions-constants.js.map +0 -1
- package/dist/features/parent-dashboard/comps/upcoming-sessions/upcoming-sessions-styled.js.map +0 -1
- package/dist/features/parent-dashboard/comps/upcoming-sessions/upcoming-sessions-types.js.map +0 -1
- package/dist/features/parent-dashboard/comps/upcoming-sessions/upcoming-sessions.js.map +0 -1
- package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription-constants.js +0 -21
- package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription-constants.js.map +0 -1
- package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription.js +0 -85
- package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription.js.map +0 -1
- package/dist/features/parent-dashboard/modals/cancellation-confirmation/cancellation-confirmation.js +0 -23
- package/dist/features/parent-dashboard/modals/cancellation-confirmation/cancellation-confirmation.js.map +0 -1
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-constant.js +0 -55
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-constant.js.map +0 -1
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-styled.js +0 -71
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-styled.js.map +0 -1
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason.js +0 -119
- package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason.js.map +0 -1
- package/dist/features/parent-dashboard/modals/hooks/use-pla-model-handlers.js +0 -58
- package/dist/features/parent-dashboard/modals/hooks/use-pla-model-handlers.js.map +0 -1
- package/dist/features/parent-dashboard/modals/view-payment-method/view-payment-method.js +0 -76
- package/dist/features/parent-dashboard/modals/view-payment-method/view-payment-method.js.map +0 -1
- /package/dist/features/{parent-dashboard/comps → trial-session/comps/pla}/upcoming-sessions/upcoming-sessions-constants.js +0 -0
- /package/dist/features/{parent-dashboard/comps → trial-session/comps/pla}/upcoming-sessions/upcoming-sessions-types.js +0 -0
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import t from "styled-components";
|
|
2
|
+
import e from "../../../ui/layout/flex-view.js";
|
|
3
|
+
const r = t(e)`
|
|
4
|
+
width: 100%;
|
|
4
5
|
max-height: 90vh;
|
|
6
|
+
${({ theme: i }) => i.mediaQueries.minWidthTablet} {
|
|
7
|
+
max-width: 720px;
|
|
8
|
+
}
|
|
5
9
|
`;
|
|
6
10
|
export {
|
|
7
|
-
|
|
11
|
+
r as Container
|
|
8
12
|
};
|
|
9
13
|
//# sourceMappingURL=trial-report-styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trial-report-styled.js","sources":["../../../../../src/features/parent-dashboard/modals/trial-report/trial-report-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n max-height: 90vh;\n`;\n"],"names":["Container","styled","FlexView"],"mappings":";;AAIa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA;"}
|
|
1
|
+
{"version":3,"file":"trial-report-styled.js","sources":["../../../../../src/features/parent-dashboard/modals/trial-report/trial-report-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n width: 100%;\n max-height: 90vh;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-width: 720px;\n }\n`;\n"],"names":["Container","styled","FlexView","theme"],"mappings":";;AAIa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA;AAAA,IAGpC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;"}
|
|
@@ -11,19 +11,19 @@ const s = o(t)`
|
|
|
11
11
|
${({ theme: e }) => e.mediaQueries.minWidthTablet} {
|
|
12
12
|
max-height: unset;
|
|
13
13
|
overflow-y: hidden;
|
|
14
|
-
}
|
|
14
|
+
})}
|
|
15
15
|
`, m = o(t)`
|
|
16
16
|
padding-top: 0;
|
|
17
17
|
${({ theme: e }) => e.mediaQueries.minWidthTablet} {
|
|
18
18
|
max-height: 300px;
|
|
19
19
|
overflow-y: auto;
|
|
20
|
-
}
|
|
20
|
+
})}
|
|
21
21
|
`, x = o(t)`
|
|
22
22
|
padding-bottom: 24px;
|
|
23
23
|
${({ theme: e }) => e.mediaQueries.minWidthTablet} {
|
|
24
24
|
border-top: ${({ theme: e }) => `1px solid ${e.colors.BLACK_5}`};
|
|
25
25
|
padding-bottom: 40px;
|
|
26
|
-
}
|
|
26
|
+
})}
|
|
27
27
|
`, c = o.textarea(({ theme: e }) => {
|
|
28
28
|
const {
|
|
29
29
|
colors: { WHITE: i, WHITE_T_38: r, BLACK_2: n, BLACK_5: a },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tutor-change-styled.js","sources":["../../../../../src/features/parent-dashboard/modals/tutor-change/tutor-change-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n border: ${({ theme }) => `1px solid ${theme.colors.BLACK_5}`};\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-width: 560px;\n }\n`;\n\nexport const OuterWrapper = styled(FlexView)`\n overflow-y: auto;\n max-height: 468px;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-height: unset;\n overflow-y: hidden;\n }\n`;\n\nexport const ContentWrapper = styled(FlexView)`\n padding-top: 0;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-height: 300px;\n overflow-y: auto;\n }\n`;\n\nexport const FooterWrapper = styled(FlexView)`\n padding-bottom: 24px;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n border-top: ${({ theme }) => `1px solid ${theme.colors.BLACK_5}`};\n padding-bottom: 40px;\n }\n`;\n\nexport const StyledTextArea = styled.textarea(({ theme }) => {\n const {\n colors: { WHITE, WHITE_T_38, BLACK_2, BLACK_5 },\n layout: { gutter },\n } = theme;\n\n return `border: 1px solid ${BLACK_5};\n width: 100%;\n min-height: ${gutter * 5}px;\n padding: 16px;\n background-color: ${BLACK_2};\n white-space: pre-line;\n font-family: 'Untitled Sans Regular';\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ${WHITE};\n resize: none;\n outline: none;\n &::placeholder {\n color: ${WHITE_T_38};\n }\n\n &:focus {\n outline: none;\n }\n`;\n});\n"],"names":["Container","styled","FlexView","theme","OuterWrapper","ContentWrapper","FooterWrapper","StyledTextArea","WHITE","WHITE_T_38","BLACK_2","BLACK_5","gutter"],"mappings":";;AAIa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA,YAC5B,CAAC,EAAE,OAAAC,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA,IAC1D,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA,GAKvCC,IAAeH,EAAOC,CAAQ;AAAA;AAAA;AAAA,IAGvC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;AAAA,GAMvCE,IAAiBJ,EAAOC,CAAQ;AAAA;AAAA,IAEzC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;AAAA,GAMvCG,IAAgBL,EAAOC,CAAQ;AAAA;AAAA,IAExC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA,kBAClC,CAAC,EAAE,OAAAA,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA;AAAA;AAAA,GAKvDI,IAAiBN,EAAO,SAAS,CAAC,EAAE,OAAAE,QAAY;AACrD,QAAA;AAAA,IACJ,QAAQ,EAAE,OAAAK,GAAO,YAAAC,GAAY,SAAAC,GAAS,SAAAC,EAAQ;AAAA,IAC9C,QAAQ,EAAE,QAAAC,EAAO;AAAA,EACf,IAAAT;AAEJ,SAAO,qBAAqBQ,CAAO;AAAA;AAAA,gBAErBC,IAAS,CAAC;AAAA;AAAA,sBAEJF,CAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAMlBF,CAAK;AAAA;AAAA;AAAA;AAAA,aAIHC,CAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOvB,CAAC;"}
|
|
1
|
+
{"version":3,"file":"tutor-change-styled.js","sources":["../../../../../src/features/parent-dashboard/modals/tutor-change/tutor-change-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n border: ${({ theme }) => `1px solid ${theme.colors.BLACK_5}`};\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-width: 560px;\n }\n`;\n\nexport const OuterWrapper = styled(FlexView)`\n overflow-y: auto;\n max-height: 468px;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-height: unset;\n overflow-y: hidden;\n })}\n`;\n\nexport const ContentWrapper = styled(FlexView)`\n padding-top: 0;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-height: 300px;\n overflow-y: auto;\n })}\n`;\n\nexport const FooterWrapper = styled(FlexView)`\n padding-bottom: 24px;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n border-top: ${({ theme }) => `1px solid ${theme.colors.BLACK_5}`};\n padding-bottom: 40px;\n })}\n`;\n\nexport const StyledTextArea = styled.textarea(({ theme }) => {\n const {\n colors: { WHITE, WHITE_T_38, BLACK_2, BLACK_5 },\n layout: { gutter },\n } = theme;\n\n return `border: 1px solid ${BLACK_5};\n width: 100%;\n min-height: ${gutter * 5}px;\n padding: 16px;\n background-color: ${BLACK_2};\n white-space: pre-line;\n font-family: 'Untitled Sans Regular';\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ${WHITE};\n resize: none;\n outline: none;\n &::placeholder {\n color: ${WHITE_T_38};\n }\n\n &:focus {\n outline: none;\n }\n`;\n});\n"],"names":["Container","styled","FlexView","theme","OuterWrapper","ContentWrapper","FooterWrapper","StyledTextArea","WHITE","WHITE_T_38","BLACK_2","BLACK_5","gutter"],"mappings":";;AAIa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA,YAC5B,CAAC,EAAE,OAAAC,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA,IAC1D,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA,GAKvCC,IAAeH,EAAOC,CAAQ;AAAA;AAAA;AAAA,IAGvC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;AAAA,GAMvCE,IAAiBJ,EAAOC,CAAQ;AAAA;AAAA,IAEzC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;AAAA,GAMvCG,IAAgBL,EAAOC,CAAQ;AAAA;AAAA,IAExC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA,kBAClC,CAAC,EAAE,OAAAA,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA;AAAA;AAAA,GAKvDI,IAAiBN,EAAO,SAAS,CAAC,EAAE,OAAAE,QAAY;AACrD,QAAA;AAAA,IACJ,QAAQ,EAAE,OAAAK,GAAO,YAAAC,GAAY,SAAAC,GAAS,SAAAC,EAAQ;AAAA,IAC9C,QAAQ,EAAE,QAAAC,EAAO;AAAA,EACf,IAAAT;AAEJ,SAAO,qBAAqBQ,CAAO;AAAA;AAAA,gBAErBC,IAAS,CAAC;AAAA;AAAA,sBAEJF,CAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAMlBF,CAAK;AAAA;AAAA;AAAA;AAAA,aAIHC,CAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOvB,CAAC;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const l = {
|
|
1
|
+
const a = {
|
|
3
2
|
small: 40,
|
|
4
3
|
medium: 40,
|
|
5
4
|
large: 80,
|
|
@@ -9,7 +8,7 @@ const l = {
|
|
|
9
8
|
large: 24,
|
|
10
9
|
extraLarge: 80
|
|
11
10
|
}
|
|
12
|
-
},
|
|
11
|
+
}, e = {
|
|
13
12
|
small: 16,
|
|
14
13
|
medium: 24,
|
|
15
14
|
large: 40,
|
|
@@ -19,49 +18,9 @@ const l = {
|
|
|
19
18
|
large: 22,
|
|
20
19
|
extraLarge: 40
|
|
21
20
|
}
|
|
22
|
-
}, t = [
|
|
23
|
-
e.SUBSCRIPTION_CANCELLED_AFTER_PAYMENT,
|
|
24
|
-
e.SUBSCRIPTION_CANCELLED_AFTER_TRIAL_BEFORE_PAYMENT,
|
|
25
|
-
e.SUBSCRIPTION_CANCELLED_BEFORE_TRIAL
|
|
26
|
-
], s = [
|
|
27
|
-
e.TRIAL_COMPLETED_PAYMENT_PENDING,
|
|
28
|
-
e.TRIAL_COMPLETED_PAYMENT_SUCCESSFUL,
|
|
29
|
-
e.REGULAR_CLASS_COMPLETED
|
|
30
|
-
], T = [
|
|
31
|
-
e.CARD_ADDED_SEARCHING_TUTOR,
|
|
32
|
-
e.CARD_ADDED_TUTOR_ASSIGNED,
|
|
33
|
-
...s
|
|
34
|
-
], S = {
|
|
35
|
-
plaState: null,
|
|
36
|
-
sessionDetails: null,
|
|
37
|
-
teacherDetails: null,
|
|
38
|
-
billingDetails: null,
|
|
39
|
-
isOnlyTrialDone: !1,
|
|
40
|
-
isRegularClassDone: !1,
|
|
41
|
-
isTrialDone: !1,
|
|
42
|
-
isSubscriptionCancelled: !1,
|
|
43
|
-
isCardDeclined: !1,
|
|
44
|
-
cardOnFileNotAvailable: !1,
|
|
45
|
-
isTutorNoShow: !1,
|
|
46
|
-
isStudentNoShow: !1,
|
|
47
|
-
completedSessions: 0,
|
|
48
|
-
nextSessionEnd: 0,
|
|
49
|
-
nextSessionStart: 0,
|
|
50
|
-
upcomingSessions: [],
|
|
51
|
-
teacherName: "",
|
|
52
|
-
showLoading: !0,
|
|
53
|
-
demoId: "",
|
|
54
|
-
userAttemptId: "",
|
|
55
|
-
isProcessingFailed: !1,
|
|
56
|
-
canChangeTutor: !1,
|
|
57
|
-
showPLAIntroduction: !1
|
|
58
21
|
};
|
|
59
22
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
E as MOBILE_SPACING,
|
|
63
|
-
T as PLA_INTRO_ELIGIBLE_STATES,
|
|
64
|
-
t as SUBSCRIPTION_CANCELLED_STATES,
|
|
65
|
-
s as TRIAL_COMPLETED_STATES
|
|
23
|
+
a as DESKTOP_SPACING,
|
|
24
|
+
e as MOBILE_SPACING
|
|
66
25
|
};
|
|
67
26
|
//# sourceMappingURL=parent-dashboard-constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parent-dashboard-constants.js","sources":["../../../src/features/parent-dashboard/parent-dashboard-constants.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"parent-dashboard-constants.js","sources":["../../../src/features/parent-dashboard/parent-dashboard-constants.ts"],"sourcesContent":["export const MODAL_KEYS = {\n STUDENT_PROFILE: 'studentProfile',\n INSIGHTS: 'insights',\n LEARNING_PLAN: 'learningPlan',\n CHANGE_TUTOR: 'pla-change-tutor',\n STUDENT_PROFILE_SUMMARY: 'student-profile-summary',\n} as const;\n\nexport const DESKTOP_SPACING = {\n small: 40,\n medium: 40,\n large: 80,\n separator: {\n small: 12,\n medium: 20,\n large: 24,\n extraLarge: 80,\n },\n} as const;\n\nexport const MOBILE_SPACING = {\n small: 16,\n medium: 24,\n large: 40,\n separator: {\n small: 8,\n medium: 16,\n large: 22,\n extraLarge: 40,\n },\n} as const;\n"],"names":["DESKTOP_SPACING","MOBILE_SPACING"],"mappings":"AAQO,MAAMA,IAAkB;AAAA,EAC7B,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,WAAW;AAAA,IACT,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,YAAY;AAAA,EACd;AACF,GAEaC,IAAiB;AAAA,EAC5B,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,WAAW;AAAA,IACT,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,YAAY;AAAA,EACd;AACF;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
1
|
+
var N = /* @__PURE__ */ ((_) => (_.S_NO_SHOW = "S_NO_SHOW", _.T_NO_SHOW = "T_NO_SHOW", _))(N || {}), O = /* @__PURE__ */ ((_) => (_.STUDENT_PROFILE = "studentProfile", _.INSIGHTS = "insights", _.LEARNING_PLAN = "learningPlan", _))(O || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
N as EClassStatus,
|
|
4
|
+
O as ESummaryType
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=parent-dashboard-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parent-dashboard-types.js","sources":["../../../src/features/parent-dashboard/parent-dashboard-types.ts"],"sourcesContent":["import type { TSession } from '
|
|
1
|
+
{"version":3,"file":"parent-dashboard-types.js","sources":["../../../src/features/parent-dashboard/parent-dashboard-types.ts"],"sourcesContent":["import type { TSession } from '../trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types';\nimport type { ReactElement } from 'react';\n\nexport enum EClassStatus {\n S_NO_SHOW = 'S_NO_SHOW',\n T_NO_SHOW = 'T_NO_SHOW',\n}\nexport interface ISessionDetails {\n completed_sessions: number;\n next_session_start: number;\n next_session_end: number;\n student_demo_id: string;\n upcoming_sessions: TSession[];\n demo_class_status: EClassStatus | null;\n user_attempt_id?: string;\n}\n\ninterface IDegreeInfo {\n degree_name: string;\n degree_code: string;\n field_of_study: string;\n}\nexport interface ITeacherDetails {\n first_name: string;\n last_name: string;\n years_of_experience: number;\n number_of_students_taught: number;\n lower_grade: string;\n higher_grade: string;\n degree: IDegreeInfo;\n countries: string[];\n teacher_profile_url: string;\n header_image: string;\n}\n\ninterface PaymentMethodDetails {\n brand: string;\n last_4_digits: string;\n type: string;\n exp_month: number;\n exp_year: number;\n}\n\ninterface IBillingDetails {\n amount: number;\n next_due_date: string;\n payment_method_details: PaymentMethodDetails;\n}\n\nexport interface IParentHome {\n session_details: ISessionDetails;\n teacher_details: ITeacherDetails | null;\n billing_details: IBillingDetails;\n}\n\nexport interface IStudentProfileSummary {\n studentLevel: string;\n studentObjectives: string[] | string;\n learningPlan: string[] | string;\n levelPreference?: string;\n}\n\nexport interface IOnViewSummaryParams extends IStudentProfileSummary {\n userAttemptId?: string | null;\n}\nexport enum ESummaryType {\n STUDENT_PROFILE = 'studentProfile',\n INSIGHTS = 'insights',\n LEARNING_PLAN = 'learningPlan',\n}\n\nexport interface IParentDashboardProps {\n studentName: string;\n studentId: string;\n onRescheduleDemo: (demoId?: string | null) => void;\n onChangeTutor: (demoId?: string | null) => void;\n onGetStartedAgain?: () => void;\n onViewSummary?: (key: ESummaryType, summaryData: IOnViewSummaryParams) => void;\n onSwitchUser?: () => void;\n canChangeTutor: boolean;\n isSubscriptionCancelled: boolean;\n HeaderAvatar: ReactElement;\n}\n\nexport interface ISpacingConfig {\n small: number;\n medium: number;\n large: number;\n separator: {\n small: number;\n medium: number;\n large: number;\n extraLarge: number;\n };\n}\n"],"names":["EClassStatus","ESummaryType"],"mappings":"AAGY,IAAAA,sBAAAA,OACVA,EAAA,YAAY,aACZA,EAAA,YAAY,aAFFA,IAAAA,KAAA,CAAA,CAAA,GA8DAC,sBAAAA,OACVA,EAAA,kBAAkB,kBAClBA,EAAA,WAAW,YACXA,EAAA,gBAAgB,gBAHNA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -1,231 +1,208 @@
|
|
|
1
|
-
import { jsxs as o, jsx as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { useTheme as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { memo as Z, useCallback as t, useMemo as ee } from "react";
|
|
3
|
+
import { useTheme as re } from "styled-components";
|
|
4
|
+
import te from "../auth/pla-signup/onboarding-guide/onboarding-guide.js";
|
|
5
|
+
import oe from "../auth/pla-signup/signup-header/signup-header.js";
|
|
6
|
+
import ne from "../trial-session/comps/pla/next-steps/next-steps.js";
|
|
7
|
+
import ae from "../trial-session/comps/pla/session-status/session-status.js";
|
|
8
|
+
import ie from "../trial-session/comps/pla/session-summary/session-summary.js";
|
|
9
|
+
import se from "../trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js";
|
|
10
|
+
import q from "../trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js";
|
|
11
|
+
import le from "../ui/buttons/button/button.js";
|
|
12
|
+
import me from "../ui/buttons/text-button/text-button.js";
|
|
13
|
+
import ce from "../ui/error/error.js";
|
|
14
|
+
import n from "../ui/layout/flex-view.js";
|
|
15
|
+
import he from "../ui/loader/app-loader/app-loader.js";
|
|
12
16
|
import a from "../ui/separator/separator.js";
|
|
13
|
-
import
|
|
14
|
-
import { EDeviceType as
|
|
15
|
-
import { invalidateParentHome as
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
|
|
25
|
-
import Ir from "./hooks/use-parent-home-data.js";
|
|
26
|
-
import Or from "./hooks/use-student-profile-summary-data.js";
|
|
27
|
-
import { usePLAModalHandlers as wr } from "./modals/hooks/use-pla-model-handlers.js";
|
|
28
|
-
import { MOBILE_SPACING as Hr, DESKTOP_SPACING as kr } from "./parent-dashboard-constants.js";
|
|
29
|
-
import { MathPracticeWrapper as Br, Container as Fr, ContentWrapper as Wr } from "./parent-dashboard-styled.js";
|
|
30
|
-
const de = hr(
|
|
17
|
+
import G from "../ui/text/text.js";
|
|
18
|
+
import { EDeviceType as pe } from "../ui/theme/constants.js";
|
|
19
|
+
import { invalidateParentHome as de } from "./api/parent-home.js";
|
|
20
|
+
import ue from "./comps/compact-header/compact-header.js";
|
|
21
|
+
import fe from "./comps/cuemath-app-features/cuemath-app-features.js";
|
|
22
|
+
import ge from "./comps/math-practice/math-practice.js";
|
|
23
|
+
import Se from "./comps/parent-dashboard-faqs/parent-dashboard-faqs.js";
|
|
24
|
+
import xe from "./hooks/use-parent-home-data.js";
|
|
25
|
+
import be from "./hooks/use-student-profile-summary-data.js";
|
|
26
|
+
import { MOBILE_SPACING as Le, DESKTOP_SPACING as Ce } from "./parent-dashboard-constants.js";
|
|
27
|
+
import { MathPracticeWrapper as Te, Container as $e, ContentWrapper as Pe } from "./parent-dashboard-styled.js";
|
|
28
|
+
const Ye = Z(
|
|
31
29
|
({
|
|
32
30
|
studentName: l,
|
|
33
|
-
studentId:
|
|
34
|
-
onRescheduleDemo:
|
|
35
|
-
onViewSummary:
|
|
36
|
-
onGetStartedAgain:
|
|
37
|
-
onChangeTutor:
|
|
38
|
-
|
|
39
|
-
|
|
31
|
+
studentId: m,
|
|
32
|
+
onRescheduleDemo: f,
|
|
33
|
+
onViewSummary: c,
|
|
34
|
+
onGetStartedAgain: d,
|
|
35
|
+
onChangeTutor: g,
|
|
36
|
+
canChangeTutor: S,
|
|
37
|
+
onSwitchUser: x,
|
|
38
|
+
isSubscriptionCancelled: K,
|
|
39
|
+
HeaderAvatar: z
|
|
40
40
|
}) => {
|
|
41
|
-
const { device:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}, [W, c]), T = g(() => {
|
|
69
|
-
C(m);
|
|
70
|
-
}, [m, C]), b = g(() => {
|
|
71
|
-
L(m);
|
|
72
|
-
}, [m, L]), { onCancelSubscription: N, onViewPaymentMethod: _ } = wr({
|
|
73
|
-
demoId: m,
|
|
74
|
-
studentId: c,
|
|
75
|
-
isTrialDone: n,
|
|
76
|
-
studentName: l,
|
|
77
|
-
billingDetails: u,
|
|
78
|
-
withTutor: !!x,
|
|
79
|
-
onChangeTutor: b,
|
|
80
|
-
onRescheduleDemo: T
|
|
81
|
-
}), j = g(
|
|
82
|
-
(mr) => {
|
|
83
|
-
h == null || h(mr, { ...F, userAttemptId: O ?? null });
|
|
41
|
+
const { device: N } = re(), u = N <= pe.MOBILE, {
|
|
42
|
+
teacherDetails: i,
|
|
43
|
+
teacherName: b,
|
|
44
|
+
completedSessions: L,
|
|
45
|
+
nextSessionStart: C,
|
|
46
|
+
nextSessionEnd: T,
|
|
47
|
+
classStatus: $,
|
|
48
|
+
upcomingSessions: P,
|
|
49
|
+
isDemoDone: s,
|
|
50
|
+
isOnlyOneSessionCompleted: A,
|
|
51
|
+
isMoreThanOneSessionCompleted: h,
|
|
52
|
+
showLoading: R = !1,
|
|
53
|
+
demoId: p,
|
|
54
|
+
isProcessingFailed: X,
|
|
55
|
+
userAttemptId: y
|
|
56
|
+
} = xe(m), { summaryInfo: D, fetchSummaryData: M } = be(m), J = t(() => {
|
|
57
|
+
de(m), M();
|
|
58
|
+
}, [M, m]), O = t(() => {
|
|
59
|
+
f(p);
|
|
60
|
+
}, [p, f]), E = t(() => {
|
|
61
|
+
g(p);
|
|
62
|
+
}, [p, g]), r = ee(
|
|
63
|
+
() => u ? Le : Ce,
|
|
64
|
+
[u]
|
|
65
|
+
), I = t(
|
|
66
|
+
(Y) => {
|
|
67
|
+
c == null || c(Y, { ...D, userAttemptId: y ?? null });
|
|
84
68
|
},
|
|
85
|
-
[
|
|
86
|
-
),
|
|
87
|
-
() => ({
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
onRescheduleClick: T,
|
|
96
|
-
isTrialDone: n,
|
|
97
|
-
isOnlyTrialDone: d
|
|
98
|
-
}),
|
|
99
|
-
[
|
|
100
|
-
A,
|
|
101
|
-
y,
|
|
102
|
-
x,
|
|
103
|
-
$,
|
|
104
|
-
D,
|
|
105
|
-
M,
|
|
106
|
-
l,
|
|
107
|
-
T,
|
|
108
|
-
n,
|
|
109
|
-
d
|
|
110
|
-
]
|
|
111
|
-
), z = t(
|
|
112
|
-
() => ({
|
|
113
|
-
isTrialDone: n,
|
|
114
|
-
studentName: l,
|
|
115
|
-
onViewSummary: j
|
|
116
|
-
}),
|
|
117
|
-
[n, l, j]
|
|
118
|
-
), sr = t(
|
|
119
|
-
() => /* @__PURE__ */ o(i, { children: [
|
|
120
|
-
/* @__PURE__ */ r(dr, {}),
|
|
121
|
-
/* @__PURE__ */ r(a, { height: e.separator.extraLarge }),
|
|
122
|
-
/* @__PURE__ */ r(ur, { orientation: "horizontal" }),
|
|
123
|
-
S && /* @__PURE__ */ o(i, { children: [
|
|
124
|
-
/* @__PURE__ */ r(a, { height: e.medium }),
|
|
125
|
-
/* @__PURE__ */ r(
|
|
126
|
-
fr,
|
|
69
|
+
[c, D, y]
|
|
70
|
+
), k = u ? "100%" : 200, Q = t(
|
|
71
|
+
() => /* @__PURE__ */ o(n, { children: [
|
|
72
|
+
/* @__PURE__ */ e(oe, {}),
|
|
73
|
+
/* @__PURE__ */ e(a, { height: r.separator.extraLarge }),
|
|
74
|
+
/* @__PURE__ */ e(te, { orientation: "horizontal" }),
|
|
75
|
+
d && /* @__PURE__ */ o(n, { children: [
|
|
76
|
+
/* @__PURE__ */ e(a, { height: r.medium }),
|
|
77
|
+
/* @__PURE__ */ e(
|
|
78
|
+
le,
|
|
127
79
|
{
|
|
128
80
|
label: "Get Started",
|
|
129
81
|
renderAs: "yellow-dark",
|
|
130
82
|
shape: "square",
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
onClick: S
|
|
83
|
+
width: k,
|
|
84
|
+
onClick: d
|
|
134
85
|
}
|
|
135
86
|
)
|
|
136
87
|
] })
|
|
137
88
|
] }),
|
|
138
|
-
[
|
|
139
|
-
),
|
|
140
|
-
() => /* @__PURE__ */
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
89
|
+
[r, k, d]
|
|
90
|
+
), H = t(
|
|
91
|
+
() => /* @__PURE__ */ e(
|
|
92
|
+
ae,
|
|
93
|
+
{
|
|
94
|
+
completedSessions: L,
|
|
95
|
+
nextSessionStartTime: C,
|
|
96
|
+
teacherName: b,
|
|
97
|
+
status: $,
|
|
98
|
+
nextSessionEndTime: T,
|
|
99
|
+
studentName: l,
|
|
100
|
+
onRescheduleClick: O
|
|
101
|
+
}
|
|
102
|
+
),
|
|
103
|
+
[
|
|
104
|
+
L,
|
|
105
|
+
C,
|
|
106
|
+
b,
|
|
107
|
+
$,
|
|
108
|
+
T,
|
|
109
|
+
l,
|
|
110
|
+
O
|
|
111
|
+
]
|
|
112
|
+
), F = t(() => !i || s ? null : /* @__PURE__ */ o(n, { children: [
|
|
113
|
+
/* @__PURE__ */ e(a, { height: r.separator.large }),
|
|
114
|
+
/* @__PURE__ */ e(q, { teacherProfile: i })
|
|
115
|
+
] }), [i, s, r.separator.large]), W = t(() => h ? null : /* @__PURE__ */ o(n, { children: [
|
|
116
|
+
/* @__PURE__ */ e(a, { height: r.separator.extraLarge }),
|
|
117
|
+
/* @__PURE__ */ e(
|
|
118
|
+
ie,
|
|
119
|
+
{
|
|
120
|
+
isDemoDone: s,
|
|
121
|
+
studentName: l,
|
|
122
|
+
onViewSummary: I
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
] }), [
|
|
126
|
+
h,
|
|
127
|
+
r.separator.extraLarge,
|
|
128
|
+
s,
|
|
129
|
+
l,
|
|
130
|
+
I
|
|
131
|
+
]), w = t(() => S ? /* @__PURE__ */ o(n, { children: [
|
|
132
|
+
/* @__PURE__ */ e(a, { height: r.separator.small }),
|
|
133
|
+
/* @__PURE__ */ o(n, { $flexDirection: "row", $flexColumnGapX: 0.25, children: [
|
|
134
|
+
/* @__PURE__ */ e(G, { $renderAs: "ub1", $renderOnMobileAs: "ub2", $color: "WHITE", children: "Not the right fit for your child?" }),
|
|
135
|
+
/* @__PURE__ */ e(
|
|
136
|
+
me,
|
|
154
137
|
{
|
|
155
138
|
color: "WHITE_1",
|
|
156
139
|
sizeOnMobile: "small",
|
|
157
140
|
label: "Try another tutor",
|
|
158
|
-
onClick:
|
|
141
|
+
onClick: E
|
|
159
142
|
}
|
|
160
143
|
)
|
|
161
144
|
] })
|
|
162
|
-
] }) : null, [
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
/* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
|
|
168
|
-
] }) : null, [
|
|
169
|
-
/* @__PURE__ */
|
|
170
|
-
/* @__PURE__ */
|
|
171
|
-
/* @__PURE__ */
|
|
172
|
-
|
|
173
|
-
] }) : null, [
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
/* @__PURE__ */
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
K,
|
|
193
|
-
R,
|
|
194
|
-
J,
|
|
195
|
-
Q,
|
|
196
|
-
U,
|
|
197
|
-
Y
|
|
145
|
+
] }) : null, [S, r.separator.small, E]), B = t(() => i ? /* @__PURE__ */ o(n, { children: [
|
|
146
|
+
/* @__PURE__ */ e(a, { height: r.separator.extraLarge }),
|
|
147
|
+
/* @__PURE__ */ e(G, { $renderAs: "ah4-bold", $renderOnMobileAs: "ab1-bold", $color: "WHITE", children: "Know your tutor" }),
|
|
148
|
+
/* @__PURE__ */ e(a, { height: r.separator.medium }),
|
|
149
|
+
/* @__PURE__ */ e(q, { teacherProfile: i }),
|
|
150
|
+
w()
|
|
151
|
+
] }) : null, [i, r.separator, w]), v = t(() => A ? /* @__PURE__ */ o(n, { children: [
|
|
152
|
+
/* @__PURE__ */ e(a, { height: r.separator.extraLarge }),
|
|
153
|
+
/* @__PURE__ */ e(ne, {}),
|
|
154
|
+
/* @__PURE__ */ e(se, { sessions: P }),
|
|
155
|
+
B()
|
|
156
|
+
] }) : null, [
|
|
157
|
+
A,
|
|
158
|
+
r.separator.extraLarge,
|
|
159
|
+
P,
|
|
160
|
+
B
|
|
161
|
+
]), _ = t(() => s ? /* @__PURE__ */ o(n, { children: [
|
|
162
|
+
/* @__PURE__ */ e(a, { height: r.separator.extraLarge }),
|
|
163
|
+
/* @__PURE__ */ e(fe, {})
|
|
164
|
+
] }) : null, [s, r.separator.extraLarge]), j = t(() => h ? null : /* @__PURE__ */ o(n, { children: [
|
|
165
|
+
/* @__PURE__ */ e(a, { height: r.separator.extraLarge }),
|
|
166
|
+
/* @__PURE__ */ e(Te, { children: /* @__PURE__ */ e(ge, { onSwitchUser: x }) })
|
|
167
|
+
] }), [h, r.separator.extraLarge, x]), U = t(
|
|
168
|
+
() => /* @__PURE__ */ o(n, { children: [
|
|
169
|
+
H(),
|
|
170
|
+
F(),
|
|
171
|
+
W(),
|
|
172
|
+
v(),
|
|
173
|
+
_(),
|
|
174
|
+
j()
|
|
198
175
|
] }),
|
|
199
176
|
[
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
Y
|
|
177
|
+
H,
|
|
178
|
+
F,
|
|
179
|
+
W,
|
|
180
|
+
v,
|
|
181
|
+
_,
|
|
182
|
+
j
|
|
207
183
|
]
|
|
208
|
-
),
|
|
209
|
-
() => /* @__PURE__ */ o(
|
|
210
|
-
/* @__PURE__ */
|
|
211
|
-
/* @__PURE__ */
|
|
184
|
+
), V = t(
|
|
185
|
+
() => /* @__PURE__ */ o(n, { children: [
|
|
186
|
+
/* @__PURE__ */ e(a, { height: r.separator.extraLarge }),
|
|
187
|
+
/* @__PURE__ */ e(Se, {}),
|
|
188
|
+
/* @__PURE__ */ e(a, { height: r.separator.extraLarge })
|
|
212
189
|
] }),
|
|
213
|
-
[
|
|
190
|
+
[r.separator.extraLarge]
|
|
214
191
|
);
|
|
215
|
-
return
|
|
216
|
-
/* @__PURE__ */
|
|
192
|
+
return R ? /* @__PURE__ */ e(he, { height: "100dvh" }) : X ? /* @__PURE__ */ e(n, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: /* @__PURE__ */ e(ce, { theme: "dark", onTryAgain: J }) }) : /* @__PURE__ */ o($e, { children: [
|
|
193
|
+
/* @__PURE__ */ e(ue, { HeaderAvatar: z }),
|
|
217
194
|
/* @__PURE__ */ o(
|
|
218
|
-
|
|
195
|
+
Pe,
|
|
219
196
|
{
|
|
220
197
|
$flex: 1,
|
|
221
198
|
$width: "100%",
|
|
222
199
|
$height: "100%",
|
|
223
200
|
$background: "BLACK_1",
|
|
224
|
-
$gap:
|
|
225
|
-
$gutter:
|
|
201
|
+
$gap: r.medium,
|
|
202
|
+
$gutter: r.small,
|
|
226
203
|
children: [
|
|
227
|
-
|
|
228
|
-
|
|
204
|
+
K ? Q() : U(),
|
|
205
|
+
V()
|
|
229
206
|
]
|
|
230
207
|
}
|
|
231
208
|
)
|
|
@@ -233,6 +210,6 @@ const de = hr(
|
|
|
233
210
|
}
|
|
234
211
|
);
|
|
235
212
|
export {
|
|
236
|
-
|
|
213
|
+
Ye as default
|
|
237
214
|
};
|
|
238
215
|
//# sourceMappingURL=parent-dashboard-view.js.map
|