@cuemath/leap 3.3.30-beta.0 → 3.3.30

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.
Files changed (111) hide show
  1. package/dist/features/auth/pla-signup/pla-analytics-events.js +3 -9
  2. package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
  3. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
  4. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +8 -8
  5. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -1
  6. package/dist/features/milestone/create/milestone-create-helpers.js +7 -13
  7. package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
  8. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +30 -32
  9. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -1
  10. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js +16 -17
  11. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js.map +1 -1
  12. package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js +4 -8
  13. package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js.map +1 -1
  14. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js +3 -3
  15. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js.map +1 -1
  16. package/dist/features/parent-dashboard/parent-dashboard-constants.js +4 -5
  17. package/dist/features/parent-dashboard/parent-dashboard-constants.js.map +1 -1
  18. package/dist/features/parent-dashboard/parent-dashboard-types.js.map +1 -1
  19. package/dist/features/parent-dashboard/parent-dashboard-view.js +145 -170
  20. package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -1
  21. package/dist/features/trial-session/comps/class-preference/class-preference.js +49 -61
  22. package/dist/features/trial-session/comps/class-preference/class-preference.js.map +1 -1
  23. package/dist/features/trial-session/comps/navigation-bar/index.js +24 -24
  24. package/dist/features/trial-session/comps/navigation-bar/index.js.map +1 -1
  25. package/dist/features/trial-session/comps/school-goals/school-goals.js +53 -55
  26. package/dist/features/trial-session/comps/school-goals/school-goals.js.map +1 -1
  27. package/dist/features/trial-session/comps/session-report/session-report.js +15 -15
  28. package/dist/features/trial-session/comps/session-report/session-report.js.map +1 -1
  29. package/dist/features/trial-session/comps/student-enrichment/student-enrichment.js +38 -39
  30. package/dist/features/trial-session/comps/student-enrichment/student-enrichment.js.map +1 -1
  31. package/dist/features/trial-session/comps/student-feedback/student-feedback-constants.js +0 -5
  32. package/dist/features/trial-session/comps/student-feedback/student-feedback-constants.js.map +1 -1
  33. package/dist/features/trial-session/comps/student-feedback/student-feedback.js +51 -96
  34. package/dist/features/trial-session/comps/student-feedback/student-feedback.js.map +1 -1
  35. package/dist/features/trial-session/comps/student-profile/student-profile.js +63 -70
  36. package/dist/features/trial-session/comps/student-profile/student-profile.js.map +1 -1
  37. package/dist/features/trial-session/comps/test-prep/test-prep.js +39 -40
  38. package/dist/features/trial-session/comps/test-prep/test-prep.js.map +1 -1
  39. package/dist/features/trial-session/helper.js +53 -69
  40. package/dist/features/trial-session/helper.js.map +1 -1
  41. package/dist/features/trial-session/hooks/use-trial-session-navigation.js +130 -150
  42. package/dist/features/trial-session/hooks/use-trial-session-navigation.js.map +1 -1
  43. package/dist/features/trial-session/trial-session-types.js.map +1 -1
  44. package/dist/features/trial-session/trial-session-view.js +112 -103
  45. package/dist/features/trial-session/trial-session-view.js.map +1 -1
  46. package/dist/features/utils/utils.js +1 -1
  47. package/dist/features/utils/utils.js.map +1 -1
  48. package/dist/index.d.ts +5 -45
  49. package/dist/index.js +106 -116
  50. package/dist/index.js.map +1 -1
  51. package/dist/node_modules/decode-uri-component/index.js.map +1 -0
  52. package/dist/node_modules/query-string/base.js +1 -1
  53. package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
  54. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  55. package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
  56. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  57. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
  58. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  59. package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
  60. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  61. package/package.json +3 -2
  62. package/dist/features/parent-dashboard/api/cancel-subscription.js +0 -9
  63. package/dist/features/parent-dashboard/api/cancel-subscription.js.map +0 -1
  64. package/dist/features/parent-dashboard/comps/billing-information/billing-information-styled.js +0 -20
  65. package/dist/features/parent-dashboard/comps/billing-information/billing-information-styled.js.map +0 -1
  66. package/dist/features/parent-dashboard/comps/billing-information/billing-information.js +0 -96
  67. package/dist/features/parent-dashboard/comps/billing-information/billing-information.js.map +0 -1
  68. package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription-constants.js +0 -21
  69. package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription-constants.js.map +0 -1
  70. package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription.js +0 -85
  71. package/dist/features/parent-dashboard/modals/cancel-subscription/cancel-subscription.js.map +0 -1
  72. package/dist/features/parent-dashboard/modals/cancellation-confirmation/cancellation-confirmation.js +0 -23
  73. package/dist/features/parent-dashboard/modals/cancellation-confirmation/cancellation-confirmation.js.map +0 -1
  74. package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-constant.js +0 -55
  75. package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-constant.js.map +0 -1
  76. package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-styled.js +0 -59
  77. package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason-styled.js.map +0 -1
  78. package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason.js +0 -93
  79. package/dist/features/parent-dashboard/modals/cancellation-reason/cancellation-reason.js.map +0 -1
  80. package/dist/features/parent-dashboard/modals/hooks/use-pla-model-handlers.js +0 -66
  81. package/dist/features/parent-dashboard/modals/hooks/use-pla-model-handlers.js.map +0 -1
  82. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js +0 -12
  83. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js.map +0 -1
  84. package/dist/features/parent-dashboard/modals/view-payment-method/view-payment-method.js +0 -76
  85. package/dist/features/parent-dashboard/modals/view-payment-method/view-payment-method.js.map +0 -1
  86. package/dist/features/student-username/add/add-student-username-constants.js +0 -6
  87. package/dist/features/student-username/add/add-student-username-constants.js.map +0 -1
  88. package/dist/features/student-username/add/add-student-username-helpers.js +0 -6
  89. package/dist/features/student-username/add/add-student-username-helpers.js.map +0 -1
  90. package/dist/features/student-username/add/add-student-username-styled.js +0 -10
  91. package/dist/features/student-username/add/add-student-username-styled.js.map +0 -1
  92. package/dist/features/student-username/add/add-student-username.js +0 -78
  93. package/dist/features/student-username/add/add-student-username.js.map +0 -1
  94. package/dist/features/student-username/add/api/update-username.js +0 -9
  95. package/dist/features/student-username/add/api/update-username.js.map +0 -1
  96. package/dist/features/student-username/add/api/username-availability.js +0 -10
  97. package/dist/features/student-username/add/api/username-availability.js.map +0 -1
  98. package/dist/features/student-username/add/hooks/use-check-username-availability.js +0 -41
  99. package/dist/features/student-username/add/hooks/use-check-username-availability.js.map +0 -1
  100. package/dist/features/trial-session/api/teacher-availability.js +0 -9
  101. package/dist/features/trial-session/api/teacher-availability.js.map +0 -1
  102. package/dist/features/trial-session/comps/class-preference/helpers.js +0 -28
  103. package/dist/features/trial-session/comps/class-preference/helpers.js.map +0 -1
  104. package/dist/features/trial-session/hooks/use-slide-config-update.js +0 -49
  105. package/dist/features/trial-session/hooks/use-slide-config-update.js.map +0 -1
  106. package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
  107. package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
  108. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
  109. package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
  110. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
  111. /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"student-profile-summary.js","sources":["../../../../../src/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.tsx"],"sourcesContent":["import type { IStudentProfileSummary } from '../../parent-dashboard-types';\nimport type { TProfileHighlight } from './student-profile-summary-types';\n\nimport { useMemo, memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport StudentProfileHighlights from '../../../trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights';\nimport FlexView from '../../../ui/layout/flex-view';\nimport AppLoader from '../../../ui/loader/app-loader/app-loader';\nimport useModalParams from '../../../ui/modals/use-modal-params';\nimport Text from '../../../ui/text/text';\nimport { EDeviceType } from '../../../ui/theme/constants';\nimport * as Styled from './student-profile-summary-styled';\n\nconst StudentProfileSummary = () => {\n const { studentName, summaryData } = useModalParams<{\n studentName: string;\n summaryData: IStudentProfileSummary;\n }>();\n const theme = useTheme();\n const isMobile = theme.device <= EDeviceType.MOBILE;\n\n const profileHighlights: TProfileHighlight[] = useMemo(() => {\n const { studentLevel, studentObjectives = '', learningPlan = '' } = summaryData ?? {};\n\n return [\n {\n title: 'Student Level',\n description: studentLevel,\n illustration: ILLUSTRATIONS.KNOWLEDGE_BLUE,\n background: 'BLUE_1',\n },\n {\n illustration: ILLUSTRATIONS.ARROW_BOARD_GREEN,\n background: 'GREEN_1',\n title: 'Goals',\n description: studentObjectives,\n },\n {\n illustration: ILLUSTRATIONS.BOOK_CHECKED_PURPLE,\n background: 'PURPLE_1',\n title: 'Learning Plan',\n description: learningPlan,\n },\n ];\n }, [summaryData]);\n\n if (!summaryData) {\n return <AppLoader height={200} width={200} />;\n }\n\n return (\n <Styled.Container $borderColor=\"BLACK_1\">\n {isMobile && (\n <FlexView $gutterX={1} $gapX={1.5} $background=\"BLACK_2\">\n <Text $renderAs=\"ab1-bold\" $color=\"WHITE_1\">{`${studentName}'s Profile`}</Text>\n </FlexView>\n )}\n <StudentProfileHighlights profileHighlights={profileHighlights} />\n </Styled.Container>\n );\n};\n\nexport default memo(StudentProfileSummary);\n"],"names":["StudentProfileSummary","studentName","summaryData","useModalParams","isMobile","useTheme","EDeviceType","profileHighlights","useMemo","studentLevel","studentObjectives","learningPlan","ILLUSTRATIONS","jsxs","Styled.Container","FlexView","jsx","Text","StudentProfileHighlights","AppLoader","studentProfileSummary","memo"],"mappings":";;;;;;;;;;;AAeA,MAAMA,IAAwB,MAAM;AAClC,QAAM,EAAE,aAAAC,GAAa,aAAAC,EAAY,IAAIC,EAGlC,GAEGC,IADQC,IACS,UAAUC,EAAY,QAEvCC,IAAyCC,EAAQ,MAAM;AACrD,UAAA,EAAE,cAAAC,GAAc,mBAAAC,IAAoB,IAAI,cAAAC,IAAe,GAAG,IAAIT,KAAe;AAE5E,WAAA;AAAA,MACL;AAAA,QACE,OAAO;AAAA,QACP,aAAaO;AAAA,QACb,cAAcG,EAAc;AAAA,QAC5B,YAAY;AAAA,MACd;AAAA,MACA;AAAA,QACE,cAAcA,EAAc;AAAA,QAC5B,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,aAAaF;AAAA,MACf;AAAA,MACA;AAAA,QACE,cAAcE,EAAc;AAAA,QAC5B,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,aAAaD;AAAA,MACf;AAAA,IAAA;AAAA,EACF,GACC,CAACT,CAAW,CAAC;AAEhB,SAAKA,IAKF,gBAAAW,EAAAC,GAAA,EAAiB,cAAa,WAC5B,UAAA;AAAA,IAAAV,uBACEW,GAAS,EAAA,UAAU,GAAG,OAAO,KAAK,aAAY,WAC7C,UAAC,gBAAAC,EAAAC,GAAA,EAAK,WAAU,YAAW,QAAO,WAAW,UAAG,GAAAhB,CAAW,cAAa,EAC1E,CAAA;AAAA,IAEF,gBAAAe,EAACE,KAAyB,mBAAAX,GAAsC;AAAA,EAClE,EAAA,CAAA,IAXQ,gBAAAS,EAAAG,GAAA,EAAU,QAAQ,KAAK,OAAO,IAAK,CAAA;AAa/C,GAEeC,IAAAC,EAAKrB,CAAqB;"}
1
+ {"version":3,"file":"student-profile-summary.js","sources":["../../../../../src/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.tsx"],"sourcesContent":["import type { IStudentProfileSummary } from '../../parent-dashboard-types';\nimport type { TProfileHighlight } from './student-profile-summary-types';\n\nimport { useMemo, memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport StudentProfileHighlights from '../../../trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights';\nimport FlexView from '../../../ui/layout/flex-view';\nimport AppLoader from '../../../ui/loader/app-loader/app-loader';\nimport useModalParams from '../../../ui/modals/use-modal-params';\nimport Text from '../../../ui/text/text';\nimport { EDeviceType } from '../../../ui/theme/constants';\n\nconst StudentProfileSummary = () => {\n const { studentName, summaryData } = useModalParams<{\n studentName: string;\n summaryData: IStudentProfileSummary;\n }>();\n const theme = useTheme();\n const isMobile = theme.device <= EDeviceType.MOBILE;\n\n const profileHighlights: TProfileHighlight[] = useMemo(() => {\n const { studentLevel, studentObjectives = '', learningPlan = '' } = summaryData ?? {};\n\n return [\n {\n title: 'Student Level',\n description: studentLevel,\n illustration: ILLUSTRATIONS.KNOWLEDGE_BLUE,\n background: 'BLUE_1',\n },\n {\n illustration: ILLUSTRATIONS.ARROW_BOARD_GREEN,\n background: 'GREEN_1',\n title: 'Goals',\n description: studentObjectives,\n },\n {\n illustration: ILLUSTRATIONS.BOOK_CHECKED_PURPLE,\n background: 'PURPLE_1',\n title: 'Learning Plan',\n description: learningPlan,\n },\n ];\n }, [summaryData]);\n\n if (!summaryData) {\n return <AppLoader height={200} width={200} />;\n }\n\n return (\n <FlexView $borderColor=\"BLACK_1\">\n {isMobile && (\n <FlexView $gutterX={1} $gapX={1.5} $background=\"BLACK_2\">\n <Text $renderAs=\"ab1-bold\" $color=\"WHITE_1\">{`${studentName}'s Profile`}</Text>\n </FlexView>\n )}\n <StudentProfileHighlights profileHighlights={profileHighlights} />\n </FlexView>\n );\n};\n\nexport default memo(StudentProfileSummary);\n"],"names":["StudentProfileSummary","studentName","summaryData","useModalParams","isMobile","useTheme","EDeviceType","profileHighlights","useMemo","studentLevel","studentObjectives","learningPlan","ILLUSTRATIONS","jsxs","FlexView","jsx","Text","StudentProfileHighlights","AppLoader","studentProfileSummary","memo"],"mappings":";;;;;;;;;;AAcA,MAAMA,IAAwB,MAAM;AAClC,QAAM,EAAE,aAAAC,GAAa,aAAAC,EAAY,IAAIC,EAGlC,GAEGC,IADQC,IACS,UAAUC,EAAY,QAEvCC,IAAyCC,EAAQ,MAAM;AACrD,UAAA,EAAE,cAAAC,GAAc,mBAAAC,IAAoB,IAAI,cAAAC,IAAe,GAAG,IAAIT,KAAe;AAE5E,WAAA;AAAA,MACL;AAAA,QACE,OAAO;AAAA,QACP,aAAaO;AAAA,QACb,cAAcG,EAAc;AAAA,QAC5B,YAAY;AAAA,MACd;AAAA,MACA;AAAA,QACE,cAAcA,EAAc;AAAA,QAC5B,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,aAAaF;AAAA,MACf;AAAA,MACA;AAAA,QACE,cAAcE,EAAc;AAAA,QAC5B,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,aAAaD;AAAA,MACf;AAAA,IAAA;AAAA,EACF,GACC,CAACT,CAAW,CAAC;AAEhB,SAAKA,IAKH,gBAAAW,EAACC,GAAS,EAAA,cAAa,WACpB,UAAA;AAAA,IAAAV,uBACEU,GAAS,EAAA,UAAU,GAAG,OAAO,KAAK,aAAY,WAC7C,UAAC,gBAAAC,EAAAC,GAAA,EAAK,WAAU,YAAW,QAAO,WAAW,UAAG,GAAAf,CAAW,cAAa,EAC1E,CAAA;AAAA,IAEF,gBAAAc,EAACE,KAAyB,mBAAAV,GAAsC;AAAA,EAClE,EAAA,CAAA,IAXQ,gBAAAQ,EAAAG,GAAA,EAAU,QAAQ,KAAK,OAAO,IAAK,CAAA;AAa/C,GAEeC,IAAAC,EAAKpB,CAAqB;"}
@@ -1,13 +1,9 @@
1
- import t from "styled-components";
2
- import e from "../../../ui/layout/flex-view.js";
3
- const r = t(e)`
4
- width: 100%;
1
+ import o from "styled-components";
2
+ import t from "../../../ui/layout/flex-view.js";
3
+ const i = o(t)`
5
4
  max-height: 90vh;
6
- ${({ theme: i }) => i.mediaQueries.minWidthTablet} {
7
- max-width: 720px;
8
- }
9
5
  `;
10
6
  export {
11
- r as Container
7
+ i as Container
12
8
  };
13
9
  //# 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 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;"}
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;"}
@@ -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;"}
@@ -19,7 +19,7 @@ const l = {
19
19
  large: 22,
20
20
  extraLarge: 40
21
21
  }
22
- }, t = [
22
+ }, T = [
23
23
  e.SUBSCRIPTION_CANCELLED_AFTER_PAYMENT,
24
24
  e.SUBSCRIPTION_CANCELLED_AFTER_TRIAL_BEFORE_PAYMENT,
25
25
  e.SUBSCRIPTION_CANCELLED_BEFORE_TRIAL
@@ -27,7 +27,7 @@ const l = {
27
27
  e.TRIAL_COMPLETED_PAYMENT_PENDING,
28
28
  e.TRIAL_COMPLETED_PAYMENT_SUCCESSFUL,
29
29
  e.REGULAR_CLASS_COMPLETED
30
- ], T = [
30
+ ], t = [
31
31
  e.CARD_ADDED_SEARCHING_TUTOR,
32
32
  e.CARD_ADDED_TUTOR_ASSIGNED,
33
33
  ...s
@@ -35,7 +35,6 @@ const l = {
35
35
  plaState: null,
36
36
  sessionDetails: null,
37
37
  teacherDetails: null,
38
- billingDetails: null,
39
38
  isOnlyTrialDone: !1,
40
39
  isRegularClassDone: !1,
41
40
  isTrialDone: !1,
@@ -60,8 +59,8 @@ export {
60
59
  S as DEFAULT_LOADING_STATE,
61
60
  l as DESKTOP_SPACING,
62
61
  E as MOBILE_SPACING,
63
- T as PLA_INTRO_ELIGIBLE_STATES,
64
- t as SUBSCRIPTION_CANCELLED_STATES,
62
+ t as PLA_INTRO_ELIGIBLE_STATES,
63
+ T as SUBSCRIPTION_CANCELLED_STATES,
65
64
  s as TRIAL_COMPLETED_STATES
66
65
  };
67
66
  //# 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":["import { EPLAState, type IUseParentHomeDataReturn } from './parent-dashboard-types';\n\nexport 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\nexport const SUBSCRIPTION_CANCELLED_STATES = [\n EPLAState.SUBSCRIPTION_CANCELLED_AFTER_PAYMENT,\n EPLAState.SUBSCRIPTION_CANCELLED_AFTER_TRIAL_BEFORE_PAYMENT,\n EPLAState.SUBSCRIPTION_CANCELLED_BEFORE_TRIAL,\n];\n\nexport const TRIAL_COMPLETED_STATES = [\n EPLAState.TRIAL_COMPLETED_PAYMENT_PENDING,\n EPLAState.TRIAL_COMPLETED_PAYMENT_SUCCESSFUL,\n EPLAState.REGULAR_CLASS_COMPLETED,\n];\n\nexport const PLA_INTRO_ELIGIBLE_STATES = [\n EPLAState.CARD_ADDED_SEARCHING_TUTOR,\n EPLAState.CARD_ADDED_TUTOR_ASSIGNED,\n ...TRIAL_COMPLETED_STATES,\n];\n\nexport const DEFAULT_LOADING_STATE: IUseParentHomeDataReturn = {\n plaState: null,\n sessionDetails: null,\n teacherDetails: null,\n billingDetails: null,\n isOnlyTrialDone: false,\n isRegularClassDone: false,\n isTrialDone: false,\n isSubscriptionCancelled: false,\n isCardDeclined: false,\n cardOnFileNotAvailable: false,\n isTutorNoShow: false,\n isStudentNoShow: false,\n completedSessions: 0,\n nextSessionEnd: 0,\n nextSessionStart: 0,\n upcomingSessions: [],\n teacherName: '',\n showLoading: true,\n demoId: '',\n userAttemptId: '',\n isProcessingFailed: false,\n canChangeTutor: false,\n showPLAIntroduction: false,\n};\n"],"names":["DESKTOP_SPACING","MOBILE_SPACING","SUBSCRIPTION_CANCELLED_STATES","EPLAState","TRIAL_COMPLETED_STATES","PLA_INTRO_ELIGIBLE_STATES","DEFAULT_LOADING_STATE"],"mappings":";AAUO,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,GAEaC,IAAgC;AAAA,EAC3CC,EAAU;AAAA,EACVA,EAAU;AAAA,EACVA,EAAU;AACZ,GAEaC,IAAyB;AAAA,EACpCD,EAAU;AAAA,EACVA,EAAU;AAAA,EACVA,EAAU;AACZ,GAEaE,IAA4B;AAAA,EACvCF,EAAU;AAAA,EACVA,EAAU;AAAA,EACV,GAAGC;AACL,GAEaE,IAAkD;AAAA,EAC7D,UAAU;AAAA,EACV,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,yBAAyB;AAAA,EACzB,gBAAgB;AAAA,EAChB,wBAAwB;AAAA,EACxB,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,kBAAkB,CAAC;AAAA,EACnB,aAAa;AAAA,EACb,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,oBAAoB;AAAA,EACpB,gBAAgB;AAAA,EAChB,qBAAqB;AACvB;"}
1
+ {"version":3,"file":"parent-dashboard-constants.js","sources":["../../../src/features/parent-dashboard/parent-dashboard-constants.ts"],"sourcesContent":["import { EPLAState, type IUseParentHomeDataReturn } from './parent-dashboard-types';\n\nexport 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\nexport const SUBSCRIPTION_CANCELLED_STATES = [\n EPLAState.SUBSCRIPTION_CANCELLED_AFTER_PAYMENT,\n EPLAState.SUBSCRIPTION_CANCELLED_AFTER_TRIAL_BEFORE_PAYMENT,\n EPLAState.SUBSCRIPTION_CANCELLED_BEFORE_TRIAL,\n];\n\nexport const TRIAL_COMPLETED_STATES = [\n EPLAState.TRIAL_COMPLETED_PAYMENT_PENDING,\n EPLAState.TRIAL_COMPLETED_PAYMENT_SUCCESSFUL,\n EPLAState.REGULAR_CLASS_COMPLETED,\n];\n\nexport const PLA_INTRO_ELIGIBLE_STATES = [\n EPLAState.CARD_ADDED_SEARCHING_TUTOR,\n EPLAState.CARD_ADDED_TUTOR_ASSIGNED,\n ...TRIAL_COMPLETED_STATES,\n];\n\nexport const DEFAULT_LOADING_STATE: IUseParentHomeDataReturn = {\n plaState: null,\n sessionDetails: null,\n teacherDetails: null,\n isOnlyTrialDone: false,\n isRegularClassDone: false,\n isTrialDone: false,\n isSubscriptionCancelled: false,\n isCardDeclined: false,\n cardOnFileNotAvailable: false,\n isTutorNoShow: false,\n isStudentNoShow: false,\n completedSessions: 0,\n nextSessionEnd: 0,\n nextSessionStart: 0,\n upcomingSessions: [],\n teacherName: '',\n showLoading: true,\n demoId: '',\n userAttemptId: '',\n isProcessingFailed: false,\n canChangeTutor: false,\n showPLAIntroduction: false,\n};\n"],"names":["DESKTOP_SPACING","MOBILE_SPACING","SUBSCRIPTION_CANCELLED_STATES","EPLAState","TRIAL_COMPLETED_STATES","PLA_INTRO_ELIGIBLE_STATES","DEFAULT_LOADING_STATE"],"mappings":";AAUO,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,GAEaC,IAAgC;AAAA,EAC3CC,EAAU;AAAA,EACVA,EAAU;AAAA,EACVA,EAAU;AACZ,GAEaC,IAAyB;AAAA,EACpCD,EAAU;AAAA,EACVA,EAAU;AAAA,EACVA,EAAU;AACZ,GAEaE,IAA4B;AAAA,EACvCF,EAAU;AAAA,EACVA,EAAU;AAAA,EACV,GAAGC;AACL,GAEaE,IAAkD;AAAA,EAC7D,UAAU;AAAA,EACV,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,yBAAyB;AAAA,EACzB,gBAAgB;AAAA,EAChB,wBAAwB;AAAA,EACxB,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,kBAAkB,CAAC;AAAA,EACnB,aAAa;AAAA,EACb,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,oBAAoB;AAAA,EACpB,gBAAgB;AAAA,EAChB,qBAAqB;AACvB;"}
@@ -1 +1 @@
1
- {"version":3,"file":"parent-dashboard-types.js","sources":["../../../src/features/parent-dashboard/parent-dashboard-types.ts"],"sourcesContent":["import type { TSession } from './comps/upcoming-sessions/upcoming-sessions-types';\nimport type { ReactElement } from 'react';\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 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\nexport interface IPaymentMethodDetails {\n brand: string;\n last_4_digits: string;\n type: string;\n exp_month: number;\n exp_year: number;\n}\n\nexport interface IBillingDetails {\n amount: number;\n cycle_frequency: string;\n next_due_date: string;\n payment_method_details: IPaymentMethodDetails;\n}\n\nexport interface IParentHome {\n pla_state: EPLAState;\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 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\nexport enum EPLAState {\n // Initial Setup Phase\n NO_CARD_ON_FILE = 'no_card_on_file',\n CARD_ADDED_SEARCHING_TUTOR = 'card_added_searching_tutor',\n CARD_ADDED_TUTOR_ASSIGNED = 'card_added_tutor_assigned',\n TRIAL_TUTOR_NO_SHOW = 'trial_tutor_no_show',\n TRIAL_STUDENT_NO_SHOW = 'trial_student_no_show',\n\n // Post-Trial Payment Phase\n TRIAL_COMPLETED_PAYMENT_PENDING = 'trial_completed_payment_pending',\n TRIAL_COMPLETED_CARD_DECLINED = 'trial_completed_card_declined',\n TRIAL_COMPLETED_PAYMENT_SUCCESSFUL = 'trial_completed_payment_successful',\n\n // Active Subscription Phase\n REGULAR_CLASS_COMPLETED = 'regular_class_completed',\n\n // Cancellation States\n SUBSCRIPTION_CANCELLED_BEFORE_TRIAL = 'cancelled_before_trial',\n SUBSCRIPTION_CANCELLED_AFTER_TRIAL_BEFORE_PAYMENT = 'cancelled_after_trial_before_payment',\n SUBSCRIPTION_CANCELLED_AFTER_PAYMENT = 'cancelled_after_payment',\n}\n\nexport interface IUseParentHomeDataReturn {\n plaState: EPLAState | null;\n sessionDetails: ISessionDetails | null;\n teacherDetails: ITeacherDetails | null;\n billingDetails: IBillingDetails | null;\n completedSessions: number;\n nextSessionEnd: number;\n nextSessionStart: number;\n teacherName: string;\n upcomingSessions: TSession[];\n isTrialDone: boolean;\n isOnlyTrialDone: boolean;\n isRegularClassDone: boolean;\n isCardDeclined: boolean;\n isSubscriptionCancelled: boolean;\n cardOnFileNotAvailable: boolean;\n isTutorNoShow: boolean;\n isStudentNoShow: boolean;\n showLoading: boolean;\n demoId: string | null;\n userAttemptId: string | null;\n isProcessingFailed: boolean;\n canChangeTutor: boolean;\n showPLAIntroduction?: boolean;\n}\n"],"names":["ESummaryType","EPLAState"],"mappings":"AA8DY,IAAAA,sBAAAA,OACVA,EAAA,kBAAkB,kBAClBA,EAAA,WAAW,YACXA,EAAA,gBAAgB,gBAHNA,IAAAA,KAAA,CAAA,CAAA,GA6BAC,sBAAAA,OAEVA,EAAA,kBAAkB,mBAClBA,EAAA,6BAA6B,8BAC7BA,EAAA,4BAA4B,6BAC5BA,EAAA,sBAAsB,uBACtBA,EAAA,wBAAwB,yBAGxBA,EAAA,kCAAkC,mCAClCA,EAAA,gCAAgC,iCAChCA,EAAA,qCAAqC,sCAGrCA,EAAA,0BAA0B,2BAG1BA,EAAA,sCAAsC,0BACtCA,EAAA,oDAAoD,wCACpDA,EAAA,uCAAuC,2BAnB7BA,IAAAA,KAAA,CAAA,CAAA;"}
1
+ {"version":3,"file":"parent-dashboard-types.js","sources":["../../../src/features/parent-dashboard/parent-dashboard-types.ts"],"sourcesContent":["import type { TSession } from './comps/upcoming-sessions/upcoming-sessions-types';\nimport type { ReactElement } from 'react';\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 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 pla_state: EPLAState;\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 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\nexport enum EPLAState {\n // Initial Setup Phase\n NO_CARD_ON_FILE = 'no_card_on_file',\n CARD_ADDED_SEARCHING_TUTOR = 'card_added_searching_tutor',\n CARD_ADDED_TUTOR_ASSIGNED = 'card_added_tutor_assigned',\n TRIAL_TUTOR_NO_SHOW = 'trial_tutor_no_show',\n TRIAL_STUDENT_NO_SHOW = 'trial_student_no_show',\n\n // Post-Trial Payment Phase\n TRIAL_COMPLETED_PAYMENT_PENDING = 'trial_completed_payment_pending',\n TRIAL_COMPLETED_CARD_DECLINED = 'trial_completed_card_declined',\n TRIAL_COMPLETED_PAYMENT_SUCCESSFUL = 'trial_completed_payment_successful',\n\n // Active Subscription Phase\n REGULAR_CLASS_COMPLETED = 'regular_class_completed',\n\n // Cancellation States\n SUBSCRIPTION_CANCELLED_BEFORE_TRIAL = 'cancelled_before_trial',\n SUBSCRIPTION_CANCELLED_AFTER_TRIAL_BEFORE_PAYMENT = 'cancelled_after_trial_before_payment',\n SUBSCRIPTION_CANCELLED_AFTER_PAYMENT = 'cancelled_after_payment',\n}\n\nexport interface IUseParentHomeDataReturn {\n plaState: EPLAState | null;\n sessionDetails: ISessionDetails | null;\n teacherDetails: ITeacherDetails | null;\n completedSessions: number;\n nextSessionEnd: number;\n nextSessionStart: number;\n teacherName: string;\n upcomingSessions: TSession[];\n isTrialDone: boolean;\n isOnlyTrialDone: boolean;\n isRegularClassDone: boolean;\n isCardDeclined: boolean;\n isSubscriptionCancelled: boolean;\n cardOnFileNotAvailable: boolean;\n isTutorNoShow: boolean;\n isStudentNoShow: boolean;\n showLoading: boolean;\n demoId: string | null;\n userAttemptId: string | null;\n isProcessingFailed: boolean;\n canChangeTutor: boolean;\n showPLAIntroduction?: boolean;\n}\n"],"names":["ESummaryType","EPLAState"],"mappings":"AA6DY,IAAAA,sBAAAA,OACVA,EAAA,kBAAkB,kBAClBA,EAAA,WAAW,YACXA,EAAA,gBAAgB,gBAHNA,IAAAA,KAAA,CAAA,CAAA,GA6BAC,sBAAAA,OAEVA,EAAA,kBAAkB,mBAClBA,EAAA,6BAA6B,8BAC7BA,EAAA,4BAA4B,6BAC5BA,EAAA,sBAAsB,uBACtBA,EAAA,wBAAwB,yBAGxBA,EAAA,kCAAkC,mCAClCA,EAAA,gCAAgC,iCAChCA,EAAA,qCAAqC,sCAGrCA,EAAA,0BAA0B,2BAG1BA,EAAA,sCAAsC,0BACtCA,EAAA,oDAAoD,wCACpDA,EAAA,uCAAuC,2BAnB7BA,IAAAA,KAAA,CAAA,CAAA;"}
@@ -1,222 +1,197 @@
1
1
  import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
- import { memo as hr, useMemo as t, useCallback as g } from "react";
3
- import { useTheme as pr } from "styled-components";
4
- import ur from "../auth/pla-signup/onboarding-guide/onboarding-guide.js";
5
- import dr from "../auth/pla-signup/signup-header/signup-header.js";
6
- import Z from "../trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js";
7
- import fr from "../ui/buttons/button/button.js";
8
- import gr from "../ui/buttons/text-button/text-button.js";
9
- import Sr from "../ui/error/error.js";
10
- import i from "../ui/layout/flex-view.js";
11
- import xr from "../ui/loader/app-loader/app-loader.js";
12
- import a from "../ui/separator/separator.js";
13
- import rr from "../ui/text/text.js";
14
- import { EDeviceType as Lr } from "../ui/theme/constants.js";
15
- import { invalidateParentHome as br } from "./api/parent-home.js";
16
- import Tr from "./comps/billing-information/billing-information.js";
17
- import Cr from "./comps/compact-header/compact-header.js";
18
- import Pr from "./comps/cuemath-app-features/cuemath-app-features.js";
19
- import Dr from "./comps/math-practice/math-practice.js";
20
- import $r from "./comps/next-steps/next-steps.js";
21
- import Ar from "./comps/parent-dashboard-faqs/parent-dashboard-faqs.js";
22
- import yr from "./comps/session-status/session-status.js";
23
- import Mr from "./comps/session-summary/session-summary.js";
24
- import Er from "./comps/upcoming-sessions/upcoming-sessions.js";
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(
2
+ import { memo as sr, useMemo as t, useCallback as f } from "react";
3
+ import { useTheme as lr } from "styled-components";
4
+ import cr from "../auth/pla-signup/onboarding-guide/onboarding-guide.js";
5
+ import mr from "../auth/pla-signup/signup-header/signup-header.js";
6
+ import Q from "../trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js";
7
+ import hr from "../ui/buttons/button/button.js";
8
+ import pr from "../ui/buttons/text-button/text-button.js";
9
+ import ur from "../ui/error/error.js";
10
+ import a from "../ui/layout/flex-view.js";
11
+ import dr from "../ui/loader/app-loader/app-loader.js";
12
+ import i from "../ui/separator/separator.js";
13
+ import U from "../ui/text/text.js";
14
+ import { EDeviceType as fr } from "../ui/theme/constants.js";
15
+ import { invalidateParentHome as gr } from "./api/parent-home.js";
16
+ import Sr from "./comps/compact-header/compact-header.js";
17
+ import xr from "./comps/cuemath-app-features/cuemath-app-features.js";
18
+ import Tr from "./comps/math-practice/math-practice.js";
19
+ import br from "./comps/next-steps/next-steps.js";
20
+ import Cr from "./comps/parent-dashboard-faqs/parent-dashboard-faqs.js";
21
+ import Lr from "./comps/session-status/session-status.js";
22
+ import Pr from "./comps/session-summary/session-summary.js";
23
+ import Dr from "./comps/upcoming-sessions/upcoming-sessions.js";
24
+ import $r from "./hooks/use-parent-home-data.js";
25
+ import Ar from "./hooks/use-student-profile-summary-data.js";
26
+ import { MOBILE_SPACING as yr, DESKTOP_SPACING as Mr } from "./parent-dashboard-constants.js";
27
+ import { MathPracticeWrapper as Er, Container as Or, ContentWrapper as Ir } from "./parent-dashboard-styled.js";
28
+ const ne = sr(
31
29
  ({
32
30
  studentName: l,
33
31
  studentId: c,
34
32
  onRescheduleDemo: S,
35
- onViewSummary: h,
36
- onGetStartedAgain: x,
37
- onChangeTutor: L,
38
- onSwitchUser: C,
39
- HeaderAvatar: er
33
+ onViewSummary: m,
34
+ onGetStartedAgain: g,
35
+ onChangeTutor: x,
36
+ onSwitchUser: T,
37
+ HeaderAvatar: V
40
38
  }) => {
41
- const { device: tr } = pr(), p = tr <= Lr.MOBILE, or = Ir(c), {
42
- isStudentNoShow: P,
43
- isTutorNoShow: D,
39
+ const { device: Y } = lr(), h = Y <= fr.MOBILE, Z = $r(c), {
40
+ isStudentNoShow: b,
41
+ isTutorNoShow: C,
44
42
  teacherDetails: s,
45
- billingDetails: u,
46
- teacherName: b,
47
- completedSessions: T,
48
- nextSessionStart: $,
49
- nextSessionEnd: A,
50
- upcomingSessions: y,
43
+ teacherName: L,
44
+ completedSessions: P,
45
+ nextSessionStart: D,
46
+ nextSessionEnd: $,
47
+ upcomingSessions: A,
51
48
  isTrialDone: n,
52
- isOnlyTrialDone: d,
53
- isRegularClassDone: f,
54
- showLoading: M = !1,
55
- demoId: m,
56
- isProcessingFailed: ir,
57
- userAttemptId: E,
58
- isSubscriptionCancelled: ar,
59
- canChangeTutor: I,
49
+ isOnlyTrialDone: p,
50
+ isRegularClassDone: u,
51
+ showLoading: y = !1,
52
+ demoId: d,
53
+ isProcessingFailed: rr,
54
+ userAttemptId: M,
55
+ isSubscriptionCancelled: er,
56
+ canChangeTutor: E,
60
57
  sessionDetails: O,
61
- cardOnFileNotAvailable: w,
58
+ cardOnFileNotAvailable: I,
62
59
  isCardDeclined: H
63
- } = or, { summaryInfo: k, fetchSummaryData: B } = Or(c), e = t(
64
- () => p ? Hr : kr,
65
- [p]
66
- ), F = t(() => p ? "100%" : 200, [p]), nr = g(() => {
67
- br(c), B();
68
- }, [B, c]), { onCancelSubscription: W, onViewPaymentMethod: v } = wr({
69
- demoId: m,
70
- studentId: c,
71
- studentName: l,
72
- billingDetails: u,
73
- completedSessions: T,
74
- withTutor: !!b,
75
- onRescheduleDemo: S,
76
- onChangeTutor: L
77
- }), N = g(() => {
78
- S(m);
79
- }, [m, S]), _ = g(() => {
80
- L(m);
81
- }, [m, L]), j = g(
82
- (mr) => {
83
- h == null || h(mr, { ...k, userAttemptId: E ?? null });
60
+ } = Z, { summaryInfo: k, fetchSummaryData: w } = Ar(c), e = t(
61
+ () => h ? yr : Mr,
62
+ [h]
63
+ ), F = t(() => h ? "100%" : 200, [h]), tr = f(() => {
64
+ gr(c), w();
65
+ }, [w, c]), W = f(() => {
66
+ S(d);
67
+ }, [d, S]), v = f(() => {
68
+ x(d);
69
+ }, [d, x]), B = f(
70
+ (nr) => {
71
+ m == null || m(nr, { ...k, userAttemptId: M ?? null });
84
72
  },
85
- [h, k, E]
86
- ), q = t(
73
+ [m, k, M]
74
+ ), N = t(
87
75
  () => ({
88
- completedSessions: T,
89
- nextSessionStartTime: $,
90
- teacherName: b,
91
- isTutorNoShow: D,
92
- isStudentNoShow: P,
93
- nextSessionEndTime: A,
76
+ completedSessions: P,
77
+ nextSessionStartTime: D,
78
+ teacherName: L,
79
+ isTutorNoShow: C,
80
+ isStudentNoShow: b,
81
+ nextSessionEndTime: $,
94
82
  studentName: l,
95
- onRescheduleClick: N,
83
+ onRescheduleClick: W,
96
84
  isTrialDone: n,
97
- isOnlyTrialDone: d
85
+ isOnlyTrialDone: p
98
86
  }),
99
87
  [
100
- T,
101
- $,
102
- b,
103
- D,
104
88
  P,
105
- A,
89
+ D,
90
+ L,
91
+ C,
92
+ b,
93
+ $,
106
94
  l,
107
- N,
95
+ W,
108
96
  n,
109
- d
97
+ p
110
98
  ]
111
- ), z = t(
99
+ ), _ = t(
112
100
  () => ({
113
101
  isTrialDone: n,
114
102
  studentName: l,
115
- onViewSummary: j
103
+ onViewSummary: B
116
104
  }),
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
- x && /* @__PURE__ */ o(i, { children: [
124
- /* @__PURE__ */ r(a, { height: e.medium }),
105
+ [n, l, B]
106
+ ), or = t(
107
+ () => /* @__PURE__ */ o(a, { children: [
108
+ /* @__PURE__ */ r(mr, {}),
109
+ /* @__PURE__ */ r(i, { height: e.separator.extraLarge }),
110
+ /* @__PURE__ */ r(cr, { orientation: "horizontal" }),
111
+ g && /* @__PURE__ */ o(a, { children: [
112
+ /* @__PURE__ */ r(i, { height: e.medium }),
125
113
  /* @__PURE__ */ r(
126
- fr,
114
+ hr,
127
115
  {
128
116
  label: "Get Started",
129
117
  renderAs: "yellow-dark",
130
118
  shape: "square",
131
119
  size: "small",
132
120
  width: F,
133
- onClick: x
121
+ onClick: g
134
122
  }
135
123
  )
136
124
  ] })
137
125
  ] }),
138
- [e, F, x]
139
- ), G = t(
140
- () => /* @__PURE__ */ r(yr, { ...q }),
141
- [q]
142
- ), K = t(() => !s || n ? null : /* @__PURE__ */ o(i, { children: [
143
- /* @__PURE__ */ r(a, { height: e.separator.large }),
144
- /* @__PURE__ */ r(Z, { teacherProfile: s })
145
- ] }), [s, n, e.separator.large]), R = t(() => f ? null : /* @__PURE__ */ o(i, { children: [
146
- /* @__PURE__ */ r(a, { height: e.separator.extraLarge }),
147
- /* @__PURE__ */ r(Mr, { ...z })
148
- ] }), [f, e.separator.extraLarge, z]), V = t(() => I ? /* @__PURE__ */ o(i, { children: [
149
- /* @__PURE__ */ r(a, { height: e.separator.small }),
150
- /* @__PURE__ */ o(i, { $flexDirection: "row", $flexColumnGapX: 0.25, children: [
151
- /* @__PURE__ */ r(rr, { $renderAs: "ub1", $renderOnMobileAs: "ub2", $color: "WHITE", children: "Not the right fit for your child?" }),
126
+ [e, F, g]
127
+ ), j = t(
128
+ () => /* @__PURE__ */ r(Lr, { ...N }),
129
+ [N]
130
+ ), q = t(() => !s || n ? null : /* @__PURE__ */ o(a, { children: [
131
+ /* @__PURE__ */ r(i, { height: e.separator.large }),
132
+ /* @__PURE__ */ r(Q, { teacherProfile: s })
133
+ ] }), [s, n, e.separator.large]), z = t(() => u ? null : /* @__PURE__ */ o(a, { children: [
134
+ /* @__PURE__ */ r(i, { height: e.separator.extraLarge }),
135
+ /* @__PURE__ */ r(Pr, { ..._ })
136
+ ] }), [u, e.separator.extraLarge, _]), G = t(() => E ? /* @__PURE__ */ o(a, { children: [
137
+ /* @__PURE__ */ r(i, { height: e.separator.small }),
138
+ /* @__PURE__ */ o(a, { $flexDirection: "row", $flexColumnGapX: 0.25, children: [
139
+ /* @__PURE__ */ r(U, { $renderAs: "ub1", $renderOnMobileAs: "ub2", $color: "WHITE", children: "Not the right fit for your child?" }),
152
140
  /* @__PURE__ */ r(
153
- gr,
141
+ pr,
154
142
  {
155
143
  color: "WHITE_1",
156
144
  sizeOnMobile: "small",
157
145
  label: "Try another tutor",
158
- onClick: _
146
+ onClick: v
159
147
  }
160
148
  )
161
149
  ] })
162
- ] }) : null, [I, e.separator.small, _]), X = t(() => s ? /* @__PURE__ */ o(i, { children: [
163
- /* @__PURE__ */ r(a, { height: e.separator.extraLarge }),
164
- /* @__PURE__ */ r(rr, { $renderAs: "ah4-bold", $renderOnMobileAs: "ab1-bold", $color: "WHITE", children: "Know your tutor" }),
165
- /* @__PURE__ */ r(a, { height: e.separator.medium }),
166
- /* @__PURE__ */ r(Z, { teacherProfile: s }),
167
- V
168
- ] }) : null, [s, e.separator, V]), J = t(() => d ? /* @__PURE__ */ o(i, { children: [
169
- /* @__PURE__ */ r(a, { height: e.separator.extraLarge }),
170
- /* @__PURE__ */ r($r, {}),
171
- /* @__PURE__ */ r(Er, { sessions: y }),
172
- X
173
- ] }) : null, [d, e.separator.extraLarge, y, X]), Q = t(() => n ? /* @__PURE__ */ o(i, { children: [
174
- /* @__PURE__ */ r(a, { height: e.separator.extraLarge }),
175
- /* @__PURE__ */ r(Pr, {})
176
- ] }) : null, [n, e.separator.extraLarge]), U = t(() => f ? null : /* @__PURE__ */ o(i, { children: [
177
- /* @__PURE__ */ r(a, { height: e.separator.extraLarge }),
178
- /* @__PURE__ */ r(Br, { children: /* @__PURE__ */ r(Dr, { onSwitchUser: C }) })
179
- ] }), [f, e.separator.extraLarge, C]), Y = t(() => u ? /* @__PURE__ */ o(i, { children: [
180
- /* @__PURE__ */ r(a, { height: e.separator.extraLarge }),
181
- /* @__PURE__ */ r(
182
- Tr,
183
- {
184
- billingDetails: u,
185
- onViewPaymentMethod: v,
186
- onCancelSubscription: W
187
- }
188
- )
189
- ] }) : null, [u, e.separator.extraLarge, v, W]), lr = t(
190
- () => /* @__PURE__ */ o(i, { children: [
191
- G,
192
- K,
150
+ ] }) : null, [E, e.separator.small, v]), K = t(() => s ? /* @__PURE__ */ o(a, { children: [
151
+ /* @__PURE__ */ r(i, { height: e.separator.extraLarge }),
152
+ /* @__PURE__ */ r(U, { $renderAs: "ah4-bold", $renderOnMobileAs: "ab1-bold", $color: "WHITE", children: "Know your tutor" }),
153
+ /* @__PURE__ */ r(i, { height: e.separator.medium }),
154
+ /* @__PURE__ */ r(Q, { teacherProfile: s }),
155
+ G
156
+ ] }) : null, [s, e.separator, G]), R = t(() => p ? /* @__PURE__ */ o(a, { children: [
157
+ /* @__PURE__ */ r(i, { height: e.separator.extraLarge }),
158
+ /* @__PURE__ */ r(br, {}),
159
+ /* @__PURE__ */ r(Dr, { sessions: A }),
160
+ K
161
+ ] }) : null, [p, e.separator.extraLarge, A, K]), X = t(() => n ? /* @__PURE__ */ o(a, { children: [
162
+ /* @__PURE__ */ r(i, { height: e.separator.extraLarge }),
163
+ /* @__PURE__ */ r(xr, {})
164
+ ] }) : null, [n, e.separator.extraLarge]), J = t(() => u ? null : /* @__PURE__ */ o(a, { children: [
165
+ /* @__PURE__ */ r(i, { height: e.separator.extraLarge }),
166
+ /* @__PURE__ */ r(Er, { children: /* @__PURE__ */ r(Tr, { onSwitchUser: T }) })
167
+ ] }), [u, e.separator.extraLarge, T]), ar = t(
168
+ () => /* @__PURE__ */ o(a, { children: [
169
+ j,
170
+ q,
171
+ z,
193
172
  R,
194
- J,
195
- Q,
196
- U,
197
- Y
173
+ X,
174
+ J
198
175
  ] }),
199
176
  [
200
- G,
201
- K,
177
+ j,
178
+ q,
179
+ z,
202
180
  R,
203
- J,
204
- Q,
205
- U,
206
- Y
181
+ X,
182
+ J
207
183
  ]
208
- ), cr = t(
209
- () => /* @__PURE__ */ o(i, { children: [
210
- /* @__PURE__ */ r(a, { height: e.separator.extraLarge }),
211
- /* @__PURE__ */ r(Ar, {}),
212
- /* @__PURE__ */ r(a, { height: e.separator.extraLarge })
184
+ ), ir = t(
185
+ () => /* @__PURE__ */ o(a, { children: [
186
+ /* @__PURE__ */ r(i, { height: e.separator.extraLarge }),
187
+ /* @__PURE__ */ r(Cr, {})
213
188
  ] }),
214
189
  [e.separator.extraLarge]
215
190
  );
216
- return t(() => H || w || !O || M, [w, H, O, M]) ? /* @__PURE__ */ r(xr, { height: "100dvh" }) : ir ? /* @__PURE__ */ r(i, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: /* @__PURE__ */ r(Sr, { theme: "dark", onTryAgain: nr }) }) : /* @__PURE__ */ o(Fr, { children: [
217
- /* @__PURE__ */ r(Cr, { HeaderAvatar: er }),
191
+ return t(() => H || I || !O || y, [I, H, O, y]) ? /* @__PURE__ */ r(dr, { height: "100dvh" }) : rr ? /* @__PURE__ */ r(a, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: /* @__PURE__ */ r(ur, { theme: "dark", onTryAgain: tr }) }) : /* @__PURE__ */ o(Or, { children: [
192
+ /* @__PURE__ */ r(Sr, { HeaderAvatar: V }),
218
193
  /* @__PURE__ */ o(
219
- Wr,
194
+ Ir,
220
195
  {
221
196
  $flex: 1,
222
197
  $width: "100%",
@@ -225,8 +200,8 @@ const de = hr(
225
200
  $gap: e.medium,
226
201
  $gutter: e.small,
227
202
  children: [
228
- ar ? sr : lr,
229
- cr
203
+ er ? or : ar,
204
+ ir
230
205
  ]
231
206
  }
232
207
  )
@@ -234,6 +209,6 @@ const de = hr(
234
209
  }
235
210
  );
236
211
  export {
237
- de as default
212
+ ne as default
238
213
  };
239
214
  //# sourceMappingURL=parent-dashboard-view.js.map