@cuemath/leap 3.0.11-j1 → 3.0.12-as1

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 (431) hide show
  1. package/dist/assets/illustrations/illustrations.js +0 -3
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/lottie/lottie.js +0 -11
  4. package/dist/assets/lottie/lottie.js.map +1 -1
  5. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +2 -2
  6. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -1
  7. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +30 -30
  8. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
  9. package/dist/features/chapters-v2/chapter-details/chapter-details.js +35 -35
  10. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
  11. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +44 -44
  12. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -1
  13. package/dist/features/homework/homework-card.js +145 -131
  14. package/dist/features/homework/homework-card.js.map +1 -1
  15. package/dist/features/journey/hooks/use-chapter-journey.js +28 -28
  16. package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -1
  17. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +40 -38
  18. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  19. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +53 -50
  20. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  21. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +64 -62
  22. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  23. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +44 -42
  24. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  25. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +39 -37
  26. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  27. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +38 -31
  28. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -1
  29. package/dist/index.d.ts +2 -280
  30. package/dist/index.js +505 -551
  31. package/dist/index.js.map +1 -1
  32. package/package.json +2 -3
  33. package/dist/assets/illustrations/loader-1.svg.js +0 -6
  34. package/dist/assets/illustrations/loader-1.svg.js.map +0 -1
  35. package/dist/assets/line-icons/icons/apple-icon.js +0 -48
  36. package/dist/assets/line-icons/icons/apple-icon.js.map +0 -1
  37. package/dist/assets/line-icons/icons/google-icon.js +0 -42
  38. package/dist/assets/line-icons/icons/google-icon.js.map +0 -1
  39. package/dist/features/auth/account-selector/account-selector-styled.js +0 -37
  40. package/dist/features/auth/account-selector/account-selector-styled.js.map +0 -1
  41. package/dist/features/auth/account-selector/account-selector.js +0 -90
  42. package/dist/features/auth/account-selector/account-selector.js.map +0 -1
  43. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +0 -12
  44. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +0 -1
  45. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +0 -11
  46. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +0 -1
  47. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +0 -17
  48. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +0 -1
  49. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +0 -20
  50. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +0 -1
  51. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +0 -29
  52. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +0 -1
  53. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +0 -8
  54. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
  55. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +0 -25
  56. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +0 -1
  57. package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -47
  58. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
  59. package/dist/features/auth/comps/tabs/tabs-styled.js +0 -23
  60. package/dist/features/auth/comps/tabs/tabs-styled.js.map +0 -1
  61. package/dist/features/auth/comps/tabs/tabs.js +0 -23
  62. package/dist/features/auth/comps/tabs/tabs.js.map +0 -1
  63. package/dist/features/auth/forgot-password/forgot-password-styled.js +0 -12
  64. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +0 -1
  65. package/dist/features/auth/forgot-password/otp-form/otp-form.js +0 -67
  66. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +0 -1
  67. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +0 -89
  68. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +0 -1
  69. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +0 -60
  70. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +0 -1
  71. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +0 -12
  72. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +0 -1
  73. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +0 -88
  74. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +0 -1
  75. package/dist/features/auth/login/login-constants.js +0 -12
  76. package/dist/features/auth/login/login-constants.js.map +0 -1
  77. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +0 -31
  78. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +0 -1
  79. package/dist/features/auth/login/social-login-methods/social-login-methods.js +0 -46
  80. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +0 -1
  81. package/dist/features/auth/login/username-password-form/username-password-form.js +0 -87
  82. package/dist/features/auth/login/username-password-form/username-password-form.js.map +0 -1
  83. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -56
  84. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +0 -1
  85. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +0 -131
  86. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +0 -1
  87. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +0 -27
  88. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +0 -1
  89. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -79
  90. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
  91. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js +0 -33
  92. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js.map +0 -1
  93. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js +0 -98
  94. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js.map +0 -1
  95. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js +0 -57
  96. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js.map +0 -1
  97. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js +0 -26
  98. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js.map +0 -1
  99. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +0 -30
  100. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +0 -1
  101. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +0 -93
  102. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +0 -1
  103. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +0 -88
  104. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +0 -1
  105. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +0 -58
  106. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +0 -1
  107. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +0 -31
  108. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +0 -1
  109. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +0 -30
  110. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +0 -1
  111. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +0 -11
  112. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +0 -1
  113. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +0 -33
  114. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +0 -1
  115. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js +0 -9
  116. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js.map +0 -1
  117. package/dist/features/auth/signup/signup-constants.js +0 -1031
  118. package/dist/features/auth/signup/signup-constants.js.map +0 -1
  119. package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -68
  120. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +0 -1
  121. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +0 -19
  122. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +0 -1
  123. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +0 -62
  124. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +0 -1
  125. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +0 -24
  126. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +0 -1
  127. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +0 -87
  128. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
  129. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -332
  130. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  131. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -370
  132. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  133. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -252
  134. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
  135. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -24
  136. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
  137. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -192
  138. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  139. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -19
  140. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  141. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -129
  142. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  143. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  144. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  145. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  146. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  147. package/dist/node_modules/date-fns/subYears.js +0 -9
  148. package/dist/node_modules/date-fns/subYears.js.map +0 -1
  149. package/dist/node_modules/react-datepicker/dist/index.es.js +0 -2700
  150. package/dist/node_modules/react-datepicker/dist/index.es.js.map +0 -1
  151. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
  152. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
  153. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +0 -8
  154. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
  155. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +0 -518
  156. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
  157. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +0 -60
  158. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
  159. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +0 -53
  160. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
  161. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
  162. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
  163. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +0 -12
  164. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
  165. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +0 -21
  166. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
  167. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +0 -11
  168. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +0 -1
  169. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +0 -10
  170. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +0 -1
  171. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +0 -10
  172. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +0 -1
  173. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +0 -11
  174. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +0 -1
  175. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +0 -21
  176. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +0 -1
  177. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +0 -9
  178. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +0 -1
  179. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +0 -9
  180. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +0 -1
  181. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +0 -9
  182. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +0 -1
  183. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +0 -9
  184. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +0 -1
  185. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +0 -10
  186. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +0 -1
  187. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +0 -9
  188. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +0 -1
  189. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +0 -17
  190. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
  191. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
  192. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
  193. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +0 -15
  194. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +0 -1
  195. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +0 -14
  196. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +0 -1
  197. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +0 -23
  198. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +0 -1
  199. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +0 -10
  200. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +0 -1
  201. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +0 -10
  202. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +0 -1
  203. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +0 -12
  204. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +0 -1
  205. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +0 -10
  206. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +0 -1
  207. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +0 -60
  208. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +0 -1
  209. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +0 -9
  210. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +0 -1
  211. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +0 -9
  212. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +0 -1
  213. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +0 -12
  214. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +0 -1
  215. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +0 -11
  216. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +0 -1
  217. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +0 -9
  218. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +0 -1
  219. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +0 -9
  220. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +0 -1
  221. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +0 -10
  222. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +0 -1
  223. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +0 -13
  224. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +0 -1
  225. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +0 -16
  226. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +0 -1
  227. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +0 -9
  228. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +0 -1
  229. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +0 -9
  230. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +0 -1
  231. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +0 -10
  232. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +0 -1
  233. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +0 -9
  234. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +0 -1
  235. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +0 -9
  236. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +0 -1
  237. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +0 -13
  238. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +0 -1
  239. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +0 -18
  240. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +0 -1
  241. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +0 -9
  242. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +0 -1
  243. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +0 -9
  244. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +0 -1
  245. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +0 -9
  246. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +0 -1
  247. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +0 -8
  248. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +0 -1
  249. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +0 -9
  250. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +0 -1
  251. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +0 -15
  252. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +0 -1
  253. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +0 -14
  254. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +0 -1
  255. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +0 -15
  256. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +0 -1
  257. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +0 -14
  258. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +0 -1
  259. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +0 -10
  260. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +0 -1
  261. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +0 -13
  262. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +0 -1
  263. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  264. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
  265. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
  266. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
  267. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
  268. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
  269. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
  270. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
  271. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
  272. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
  273. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
  274. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
  275. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
  276. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
  277. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
  278. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
  279. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
  280. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
  281. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +0 -22
  282. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +0 -1
  283. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +0 -15
  284. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +0 -1
  285. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +0 -15
  286. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +0 -1
  287. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +0 -23
  288. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
  289. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +0 -42
  290. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
  291. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +0 -50
  292. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
  293. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -50
  294. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
  295. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -50
  296. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
  297. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -62
  298. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
  299. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
  300. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
  301. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -46
  302. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
  303. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -50
  304. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
  305. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -31
  306. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
  307. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -22
  308. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
  309. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -23
  310. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
  311. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -33
  312. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
  313. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -33
  314. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
  315. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -34
  316. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
  317. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
  318. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
  319. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -100
  320. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
  321. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -49
  322. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
  323. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -49
  324. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
  325. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -50
  326. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
  327. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -41
  328. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
  329. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -75
  330. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
  331. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -49
  332. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
  333. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -70
  334. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
  335. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -33
  336. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
  337. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -72
  338. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
  339. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
  340. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
  341. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -33
  342. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
  343. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -75
  344. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
  345. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -72
  346. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
  347. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
  348. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
  349. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -23
  350. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
  351. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -23
  352. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
  353. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -50
  354. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
  355. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +0 -68
  356. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
  357. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +0 -104
  358. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
  359. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +0 -88
  360. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +0 -1
  361. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +0 -123
  362. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +0 -1
  363. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +0 -13
  364. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +0 -1
  365. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +0 -10
  366. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +0 -1
  367. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +0 -12
  368. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +0 -1
  369. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +0 -11
  370. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +0 -1
  371. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +0 -10
  372. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +0 -1
  373. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +0 -14
  374. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +0 -1
  375. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +0 -11
  376. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +0 -1
  377. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +0 -10
  378. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +0 -1
  379. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +0 -11
  380. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +0 -1
  381. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +0 -11
  382. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +0 -1
  383. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +0 -10
  384. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +0 -1
  385. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +0 -9
  386. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +0 -1
  387. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +0 -12
  388. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
  389. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +0 -10
  390. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +0 -1
  391. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +0 -10
  392. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +0 -1
  393. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +0 -12
  394. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +0 -1
  395. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +0 -14
  396. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +0 -1
  397. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +0 -10
  398. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +0 -1
  399. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +0 -9
  400. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +0 -1
  401. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +0 -9
  402. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +0 -1
  403. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +0 -9
  404. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +0 -1
  405. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +0 -9
  406. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +0 -1
  407. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +0 -9
  408. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +0 -1
  409. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +0 -9
  410. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +0 -1
  411. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +0 -19
  412. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +0 -1
  413. package/dist/static/avatar-selected.860ee923.json +0 -1
  414. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +0 -1
  415. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +0 -1
  416. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  417. package/dist/static/dob.9ce3c15b.json +0 -1
  418. package/dist/static/error.cbe1ddde.json +0 -1
  419. package/dist/static/grade.b3730524.json +0 -1
  420. package/dist/static/key.d6846476.json +0 -1
  421. package/dist/static/mail.c30e8708.json +0 -1
  422. package/dist/static/otp.2d08f874.json +0 -1
  423. package/dist/static/otp.a3029760.json +0 -1
  424. package/dist/static/parent-avatar.772d53e0.json +0 -1
  425. package/dist/static/phone-number.0be312ea.json +0 -1
  426. package/dist/static/phone-number.84f55562.json +0 -1
  427. package/dist/static/student-avatar.524226bd.json +0 -1
  428. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +0 -1
  429. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +0 -1
  430. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +0 -1
  431. package/dist/static/username.9e034d51.json +0 -1
@@ -1,90 +0,0 @@
1
- import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { ILLUSTRATIONS as h } from "../../../assets/illustrations/illustrations.js";
3
- import u from "../../../assets/line-icons/icons/plus.js";
4
- import f from "../../ui/avatar/avatar.js";
5
- import l from "../../ui/image/image.js";
6
- import o from "../../ui/layout/flex-view.js";
7
- import r from "../../ui/separator/separator.js";
8
- import i from "../../ui/text/text.js";
9
- import C from "../comps/overlay-loader/overlay-loader.js";
10
- import { Container as A, AccountListWrapper as w, AccountCard as I, AddAccountButton as L } from "./account-selector-styled.js";
11
- const _ = ({
12
- userAccounts: n,
13
- onSelect: d,
14
- onAddNew: $,
15
- isLoading: m
16
- }) => {
17
- const c = n.length + 1;
18
- return /* @__PURE__ */ t(
19
- A,
20
- {
21
- $flex: 1,
22
- $alignItems: "center",
23
- $justifyContent: "center",
24
- $width: "100%",
25
- $height: "100%",
26
- children: [
27
- /* @__PURE__ */ e(C, { isLoading: m }),
28
- /* @__PURE__ */ e(l, { src: h.CIRCLE_CUEMATH_LOGO_WHITE, alt: "Parent Signup", withLoader: !1 }),
29
- /* @__PURE__ */ e(r, { heightX: 1 }),
30
- /* @__PURE__ */ e(i, { $renderAs: "ab1", $color: "WHITE_T_60", children: "Switch between accounts" }),
31
- /* @__PURE__ */ e(r, { heightX: 5 }),
32
- /* @__PURE__ */ t(w, { itemCount: c, children: [
33
- n.map(({ id: a, username: g, user_avatar: s }, p) => /* @__PURE__ */ t(
34
- I,
35
- {
36
- onClick: () => d(a),
37
- $background: "BLACK_1",
38
- $gutter: 55,
39
- $gap: 45,
40
- $alignItems: "center",
41
- $width: 200,
42
- $height: 200,
43
- $justifyContent: "center",
44
- index: p,
45
- children: [
46
- /* @__PURE__ */ e(f, { avatar: s, size: 80 }),
47
- /* @__PURE__ */ e(r, { heightX: 0.5 }),
48
- /* @__PURE__ */ e(i, { $color: "WHITE", $renderAs: "ab2", $align: "center", children: g })
49
- ]
50
- },
51
- a
52
- )),
53
- /* @__PURE__ */ e(
54
- L,
55
- {
56
- isLastItem: !0,
57
- index: c,
58
- $gutterX: 5,
59
- $gapX: 5,
60
- $background: "BLACK_3",
61
- onClick: $,
62
- children: /* @__PURE__ */ e(o, { $width: 40, $height: 40, children: /* @__PURE__ */ e(u, { color: "WHITE", width: 40, height: 40 }) })
63
- }
64
- )
65
- ] }),
66
- /* @__PURE__ */ e(r, { heightX: 5 }),
67
- /* @__PURE__ */ t(
68
- o,
69
- {
70
- $gutterX: 0.5,
71
- $gapX: 1,
72
- $flexGapX: 0.5,
73
- $width: 280,
74
- $borderColor: "BLACK_5",
75
- $background: "BLACK_3",
76
- $flexDirection: "row",
77
- children: [
78
- /* @__PURE__ */ e(l, { src: h.CUEMATH_APP_QR_CODE, width: 80, height: 80, withLoader: !1 }),
79
- /* @__PURE__ */ e(o, { $gapX: 0.5, $flex: 1, children: /* @__PURE__ */ e(i, { $color: "WHITE", $renderAs: "ab2", children: "Download the cuemath app to view your children’s report" }) })
80
- ]
81
- }
82
- )
83
- ]
84
- }
85
- );
86
- }, O = _;
87
- export {
88
- O as default
89
- };
90
- //# sourceMappingURL=account-selector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"account-selector.js","sources":["../../../../src/features/auth/account-selector/account-selector.tsx"],"sourcesContent":["import type { IAccountSelectorViewProps } from './account-selector-types';\n\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\nimport PlusIcon from '../../../assets/line-icons/icons/plus';\nimport Avatar from '../../ui/avatar/avatar';\nimport Image from '../../ui/image/image';\nimport FlexView from '../../ui/layout/flex-view';\nimport Separator from '../../ui/separator/separator';\nimport Text from '../../ui/text/text';\nimport OverlayLoader from '../comps/overlay-loader/overlay-loader';\nimport * as Styled from './account-selector-styled';\n\nconst AccountSelector = ({\n userAccounts,\n onSelect,\n onAddNew,\n isLoading,\n}: IAccountSelectorViewProps) => {\n const totalCards = userAccounts.length + 1;\n\n return (\n <Styled.Container\n $flex={1}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n >\n <OverlayLoader isLoading={isLoading} />\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Parent Signup\" withLoader={false} />\n <Separator heightX={1} />\n <Text $renderAs=\"ab1\" $color=\"WHITE_T_60\">\n Switch between accounts\n </Text>\n <Separator heightX={5} />\n <Styled.AccountListWrapper itemCount={totalCards}>\n {userAccounts.map(({ id, username, user_avatar: avatar }, i) => (\n <Styled.AccountCard\n key={id}\n onClick={() => onSelect(id)}\n $background=\"BLACK_1\"\n $gutter={55}\n $gap={45}\n $alignItems=\"center\"\n $width={200}\n $height={200}\n $justifyContent=\"center\"\n index={i}\n >\n <Avatar avatar={avatar} size={80} />\n <Separator heightX={0.5} />\n <Text $color=\"WHITE\" $renderAs=\"ab2\" $align=\"center\">\n {username}\n </Text>\n </Styled.AccountCard>\n ))}\n <Styled.AddAccountButton\n isLastItem\n index={totalCards}\n $gutterX={5}\n $gapX={5}\n $background=\"BLACK_3\"\n onClick={onAddNew}\n >\n <FlexView $width={40} $height={40}>\n <PlusIcon color=\"WHITE\" width={40} height={40} />\n </FlexView>\n </Styled.AddAccountButton>\n </Styled.AccountListWrapper>\n <Separator heightX={5} />\n <FlexView\n $gutterX={0.5}\n $gapX={1}\n $flexGapX={0.5}\n $width={280}\n $borderColor=\"BLACK_5\"\n $background=\"BLACK_3\"\n $flexDirection=\"row\"\n >\n <Image src={ILLUSTRATIONS.CUEMATH_APP_QR_CODE} width={80} height={80} withLoader={false} />\n <FlexView $gapX={0.5} $flex={1}>\n <Text $color=\"WHITE\" $renderAs=\"ab2\">\n Download the cuemath app to view your children’s report\n </Text>\n </FlexView>\n </FlexView>\n </Styled.Container>\n );\n};\n\nexport default AccountSelector;\n"],"names":["AccountSelector","userAccounts","onSelect","onAddNew","isLoading","totalCards","jsxs","Styled.Container","jsx","OverlayLoader","Image","ILLUSTRATIONS","Separator","Text","Styled.AccountListWrapper","id","username","avatar","i","Styled.AccountCard","Avatar","Styled.AddAccountButton","FlexView","PlusIcon","AccountSelector$1"],"mappings":";;;;;;;;;;AAYA,MAAMA,IAAkB,CAAC;AAAA,EACvB,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AACF,MAAiC;AACzB,QAAAC,IAAaJ,EAAa,SAAS;AAGvC,SAAA,gBAAAK;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,QAAO;AAAA,MACP,SAAQ;AAAA,MAER,UAAA;AAAA,QAAA,gBAAAC,EAACC,KAAc,WAAAL,GAAsB;AAAA,QACrC,gBAAAI,EAACE,KAAM,KAAKC,EAAc,2BAA2B,KAAI,iBAAgB,YAAY,IAAO;AAAA,QAC5F,gBAAAH,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,0BACtBC,GAAK,EAAA,WAAU,OAAM,QAAO,cAAa,UAE1C,2BAAA;AAAA,QACA,gBAAAL,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,QACtB,gBAAAN,EAAAQ,GAAA,EAA0B,WAAWT,GACnC,UAAA;AAAA,UAAaJ,EAAA,IAAI,CAAC,EAAE,IAAAc,GAAI,UAAAC,GAAU,aAAaC,KAAUC,MACxD,gBAAAZ;AAAA,YAACa;AAAAA,YAAA;AAAA,cAEC,SAAS,MAAMjB,EAASa,CAAE;AAAA,cAC1B,aAAY;AAAA,cACZ,SAAS;AAAA,cACT,MAAM;AAAA,cACN,aAAY;AAAA,cACZ,QAAQ;AAAA,cACR,SAAS;AAAA,cACT,iBAAgB;AAAA,cAChB,OAAOG;AAAA,cAEP,UAAA;AAAA,gBAAC,gBAAAV,EAAAY,GAAA,EAAO,QAAAH,GAAgB,MAAM,GAAI,CAAA;AAAA,gBAClC,gBAAAT,EAACI,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,gBACzB,gBAAAJ,EAACK,KAAK,QAAO,SAAQ,WAAU,OAAM,QAAO,UACzC,UACHG,EAAA,CAAA;AAAA,cAAA;AAAA,YAAA;AAAA,YAfKD;AAAA,UAAA,CAiBR;AAAA,UACD,gBAAAP;AAAA,YAACa;AAAAA,YAAA;AAAA,cACC,YAAU;AAAA,cACV,OAAOhB;AAAA,cACP,UAAU;AAAA,cACV,OAAO;AAAA,cACP,aAAY;AAAA,cACZ,SAASF;AAAA,cAET,UAAC,gBAAAK,EAAAc,GAAA,EAAS,QAAQ,IAAI,SAAS,IAC7B,UAAA,gBAAAd,EAACe,GAAS,EAAA,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,GACjD;AAAA,YAAA;AAAA,UACF;AAAA,QAAA,GACF;AAAA,QACA,gBAAAf,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,QACvB,gBAAAN;AAAA,UAACgB;AAAA,UAAA;AAAA,YACC,UAAU;AAAA,YACV,OAAO;AAAA,YACP,WAAW;AAAA,YACX,QAAQ;AAAA,YACR,cAAa;AAAA,YACb,aAAY;AAAA,YACZ,gBAAe;AAAA,YAEf,UAAA;AAAA,cAAC,gBAAAd,EAAAE,GAAA,EAAM,KAAKC,EAAc,qBAAqB,OAAO,IAAI,QAAQ,IAAI,YAAY,GAAO,CAAA;AAAA,cACxF,gBAAAH,EAAAc,GAAA,EAAS,OAAO,KAAK,OAAO,GAC3B,UAAC,gBAAAd,EAAAK,GAAA,EAAK,QAAO,SAAQ,WAAU,OAAM,oEAErC,CAAA,GACF;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEAW,IAAexB;"}
@@ -1,12 +0,0 @@
1
- import o from "styled-components";
2
- import e from "../../../ui/layout/flex-view.js";
3
- const n = o(e)`
4
- min-height: 100vh;
5
- `, i = o(e)`
6
- overflow: hidden;
7
- `;
8
- export {
9
- n as Container,
10
- i as ContentWrapper
11
- };
12
- //# sourceMappingURL=auth-page-layout-styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth-page-layout-styles.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout-styles.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n min-height: 100vh;\n`;\n\nexport const ContentWrapper = styled(FlexView)`\n overflow: hidden;\n`;\n"],"names":["Container","styled","FlexView","ContentWrapper"],"mappings":";;AAIa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,GAI3BC,IAAiBF,EAAOC,CAAQ;AAAA;AAAA;"}
@@ -1,11 +0,0 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import i from "../../../ui/layout/flex-view.js";
3
- import { Container as a, ContentWrapper as d } from "./auth-page-layout-styles.js";
4
- const h = ({ leftBlock: o, rightBlock: r, isFullWidth: t }) => /* @__PURE__ */ n(a, { $width: "100%", $height: "100%", $flexDirection: "row", children: [
5
- /* @__PURE__ */ e(d, { $width: t ? "100%" : "50%", $background: "BLACK_1", children: o }),
6
- !t && r && /* @__PURE__ */ e(i, { $width: "50%", $background: "BLACK_2", children: r })
7
- ] }), m = h;
8
- export {
9
- m as default
10
- };
11
- //# sourceMappingURL=auth-page-layout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth-page-layout.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout.tsx"],"sourcesContent":["import type { IAuthPageLayoutProps } from './auth-page-layout-types';\nimport type { FC } from 'react';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport * as Styled from './auth-page-layout-styles';\n\nconst AuthPageLayout: FC<IAuthPageLayoutProps> = ({ leftBlock, rightBlock, isFullWidth }) => {\n return (\n <Styled.Container $width=\"100%\" $height=\"100%\" $flexDirection=\"row\">\n <Styled.ContentWrapper $width={isFullWidth ? '100%' : '50%'} $background=\"BLACK_1\">\n {leftBlock}\n </Styled.ContentWrapper>\n {!isFullWidth && rightBlock && (\n <FlexView $width=\"50%\" $background=\"BLACK_2\">\n {rightBlock}\n </FlexView>\n )}\n </Styled.Container>\n );\n};\n\nexport default AuthPageLayout;\n"],"names":["AuthPageLayout","leftBlock","rightBlock","isFullWidth","jsxs","Styled.Container","jsx","Styled.ContentWrapper","FlexView","AuthPageLayout$1"],"mappings":";;;AAMA,MAAMA,IAA2C,CAAC,EAAE,WAAAC,GAAW,YAAAC,GAAY,aAAAC,QAEvE,gBAAAC,EAACC,GAAA,EAAiB,QAAO,QAAO,SAAQ,QAAO,gBAAe,OAC5D,UAAA;AAAA,EAAC,gBAAAC,EAAAC,GAAA,EAAsB,QAAQJ,IAAc,SAAS,OAAO,aAAY,WACtE,UACHF,EAAA,CAAA;AAAA,EACC,CAACE,KAAeD,KACf,gBAAAI,EAACE,KAAS,QAAO,OAAM,aAAY,WAChC,UACHN,EAAA,CAAA;AAEJ,EAAA,CAAA,GAIJO,IAAeT;"}
@@ -1,17 +0,0 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { ILLUSTRATIONS as a } from "../../../../assets/illustrations/illustrations.js";
3
- import l from "../../../ui/image/image.js";
4
- import c from "../../../ui/layout/flex-view.js";
5
- import t from "../../../ui/separator/separator.js";
6
- import r from "../../../ui/text/text.js";
7
- const m = ({ title: o, description: i }) => /* @__PURE__ */ n(c, { $flex: 1, $alignItems: "center", $justifyContent: "center", $gutterX: 6, children: [
8
- /* @__PURE__ */ e(l, { src: a.CIRCLE_CUEMATH_LOGO_WHITE, alt: "Cuemath Logo", withLoader: !1 }),
9
- /* @__PURE__ */ e(t, { heightX: 1.5 }),
10
- /* @__PURE__ */ e(r, { $whiteSpace: "pre-line", $renderAs: "ah2", $color: "WHITE", $align: "center", children: o }),
11
- /* @__PURE__ */ e(t, { heightX: 1 }),
12
- /* @__PURE__ */ e(r, { $whiteSpace: "pre-line", $renderAs: "ab1", $color: "WHITE_T_60", $align: "center", children: i })
13
- ] }), I = m;
14
- export {
15
- I as default
16
- };
17
- //# sourceMappingURL=auth-static-panel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth-static-panel.js","sources":["../../../../../src/features/auth/comps/auth-static-panel/auth-static-panel.tsx"],"sourcesContent":["import type { IAuthStaticPanelProps } from './auth-static-panel-types';\nimport type { FC } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\n\nconst AuthStaticPanel: FC<IAuthStaticPanelProps> = ({ title, description }) => {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\" $gutterX={6}>\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Cuemath Logo\" withLoader={false} />\n <Separator heightX={1.5} />\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ah2\" $color=\"WHITE\" $align=\"center\">\n {title}\n </Text>\n <Separator heightX={1} />\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ab1\" $color=\"WHITE_T_60\" $align=\"center\">\n {description}\n </Text>\n </FlexView>\n );\n};\n\nexport default AuthStaticPanel;\n"],"names":["AuthStaticPanel","title","description","jsxs","FlexView","jsx","Image","ILLUSTRATIONS","Separator","Text","AuthStaticPanel$1"],"mappings":";;;;;;AASA,MAAMA,IAA6C,CAAC,EAAE,OAAAC,GAAO,aAAAC,QAEzD,gBAAAC,EAACC,KAAS,OAAO,GAAG,aAAY,UAAS,iBAAgB,UAAS,UAAU,GAC1E,UAAA;AAAA,EAAA,gBAAAC,EAACC,KAAM,KAAKC,EAAc,2BAA2B,KAAI,gBAAe,YAAY,IAAO;AAAA,EAC3F,gBAAAF,EAACG,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,EACzB,gBAAAH,EAACI,GAAK,EAAA,aAAY,YAAW,WAAU,OAAM,QAAO,SAAQ,QAAO,UAChE,UACHR,EAAA,CAAA;AAAA,EACA,gBAAAI,EAACG,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACvB,gBAAAH,EAACI,GAAK,EAAA,aAAY,YAAW,WAAU,OAAM,QAAO,cAAa,QAAO,UACrE,UACHP,EAAA,CAAA;AACF,EAAA,CAAA,GAIJQ,IAAeV;"}
@@ -1,20 +0,0 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { useTheme as h } from "styled-components";
3
- import { ReactComponent as u } from "../../../../assets/illustrations/loader-1.svg.js";
4
- import a from "../../../../assets/line-icons/icons/check2.js";
5
- import s from "../../../../assets/line-icons/icons/cross.js";
6
- const i = ({
7
- isLoading: n = !1,
8
- isValid: e = !1,
9
- isError: c = !1,
10
- size: o = 24,
11
- successColor: f = "GREEN_4",
12
- errorColor: m = "ORANGE_4"
13
- }) => {
14
- const { colors: r } = h();
15
- return n ? /* @__PURE__ */ t(u, { width: o, height: o }) : c ? /* @__PURE__ */ t(s, { color: r[m], width: o, height: o }) : e ? /* @__PURE__ */ t(a, { color: r[f], width: o, height: o }) : null;
16
- }, w = i;
17
- export {
18
- w as default
19
- };
20
- //# sourceMappingURL=input-status-icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-status-icon.js","sources":["../../../../../src/features/auth/comps/input-status-icon/input-status-icon.tsx"],"sourcesContent":["import type { IInputStatusIconProps } from './input-status-icon-types';\n\nimport { useTheme } from 'styled-components';\n\nimport { ReactComponent as LoaderSVG } from '../../../../assets/illustrations/loader-1.svg';\nimport Check2Icon from '../../../../assets/line-icons/icons/check2';\nimport CrossIcon from '../../../../assets/line-icons/icons/cross';\n\nconst InputStatusIcon: React.FC<IInputStatusIconProps> = ({\n isLoading = false,\n isValid = false,\n isError = false,\n size = 24,\n successColor = 'GREEN_4',\n errorColor = 'ORANGE_4',\n}) => {\n const { colors } = useTheme();\n\n if (isLoading) {\n return <LoaderSVG width={size} height={size} />;\n }\n\n if (isError) {\n return <CrossIcon color={colors[errorColor]} width={size} height={size} />;\n }\n\n if (isValid) {\n return <Check2Icon color={colors[successColor]} width={size} height={size} />;\n }\n\n return null;\n};\n\nexport default InputStatusIcon;\n"],"names":["InputStatusIcon","isLoading","isValid","isError","size","successColor","errorColor","colors","useTheme","jsx","LoaderSVG","CrossIcon","Check2Icon","InputStatusIcon$1"],"mappings":";;;;;AAQA,MAAMA,IAAmD,CAAC;AAAA,EACxD,WAAAC,IAAY;AAAA,EACZ,SAAAC,IAAU;AAAA,EACV,SAAAC,IAAU;AAAA,EACV,MAAAC,IAAO;AAAA,EACP,cAAAC,IAAe;AAAA,EACf,YAAAC,IAAa;AACf,MAAM;AACE,QAAA,EAAE,QAAAC,MAAWC;AAEnB,SAAIP,IACM,gBAAAQ,EAAAC,GAAA,EAAU,OAAON,GAAM,QAAQA,EAAM,CAAA,IAG3CD,IACK,gBAAAM,EAACE,KAAU,OAAOJ,EAAOD,CAAU,GAAG,OAAOF,GAAM,QAAQA,EAAM,CAAA,IAGtEF,IACK,gBAAAO,EAACG,KAAW,OAAOL,EAAOF,CAAY,GAAG,OAAOD,GAAM,QAAQA,EAAM,CAAA,IAGtE;AACT,GAEAS,IAAeb;"}
@@ -1,29 +0,0 @@
1
- import o from "styled-components";
2
- const e = o.div(({ theme: t }) => `
3
- position: absolute;
4
- left: 0;
5
- right: 0;
6
- top: 0;
7
- bottom: 0;
8
- background: rgba(204, 204, 204, 0.25);
9
- backdrop-filter: blur(1.5px);
10
- z-index: 2;
11
-
12
- & * {
13
- pointer-events: none;
14
- }
15
-
16
- & img {
17
- top: 50%;
18
- position: absolute;
19
- left: 50%;
20
- transform: translate(-50%, -50%);
21
- width: ${t.layout.gutter * 5}px;
22
- height: ${t.layout.gutter * 5}px;
23
- filter: brightness(0);
24
- }
25
- `);
26
- export {
27
- e as LoaderWrapper
28
- };
29
- //# sourceMappingURL=overlay-loader-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"overlay-loader-styled.js","sources":["../../../../../src/features/auth/comps/overlay-loader/overlay-loader-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nexport const LoaderWrapper = styled.div(({ theme }) => {\n return `\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(204, 204, 204, 0.25);\n backdrop-filter: blur(1.5px);\n z-index: 2;\n\n & * {\n pointer-events: none;\n }\n\n & img {\n top: 50%;\n position: absolute;\n left: 50%;\n transform: translate(-50%, -50%);\n width: ${theme.layout.gutter * 5}px;\n height: ${theme.layout.gutter * 5}px;\n filter: brightness(0);\n }\n `;\n});\n"],"names":["LoaderWrapper","styled","theme"],"mappings":";AAEO,MAAMA,IAAgBC,EAAO,IAAI,CAAC,EAAE,OAAAC,QAClC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAmBYA,EAAM,OAAO,SAAS,CAAC;AAAA,sBACtBA,EAAM,OAAO,SAAS,CAAC;AAAA;AAAA;AAAA,KAI5C;"}
@@ -1,8 +0,0 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { ILLUSTRATIONS as o } from "../../../../assets/illustrations/illustrations.js";
3
- import { LoaderWrapper as a } from "./overlay-loader-styled.js";
4
- const t = ({ isLoading: e = !1 }) => e ? /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r("img", { src: o.LOADER_1, alt: "loader" }) }) : null, f = t;
5
- export {
6
- f as default
7
- };
8
- //# sourceMappingURL=overlay-loader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"overlay-loader.js","sources":["../../../../../src/features/auth/comps/overlay-loader/overlay-loader.tsx"],"sourcesContent":["import { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport * as Styled from './overlay-loader-styled';\n\nconst OverlayLoader = ({ isLoading = false }) => {\n if (isLoading) {\n return (\n <Styled.LoaderWrapper>\n <img src={ILLUSTRATIONS.LOADER_1} alt=\"loader\" />\n </Styled.LoaderWrapper>\n );\n }\n\n return null;\n};\n\nexport default OverlayLoader;\n"],"names":["OverlayLoader","isLoading","jsx","Styled.LoaderWrapper","ILLUSTRATIONS","OverlayLoader$1"],"mappings":";;;AAGA,MAAMA,IAAgB,CAAC,EAAE,WAAAC,IAAY,SAC/BA,IAEA,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAAC,OAAI,EAAA,KAAKE,EAAc,UAAU,KAAI,SAAS,CAAA,EACjD,CAAA,IAIG,MAGTC,IAAeL;"}
@@ -1,25 +0,0 @@
1
- import { jsx as u, jsxs as T } from "react/jsx-runtime";
2
- import { memo as d, useState as f, useEffect as s } from "react";
3
- import m from "../../../../ui/layout/flex-view.js";
4
- import n from "../../../../ui/text/text.js";
5
- const $ = ({ onComplete: r, timerSeconds: t }) => {
6
- const [e, i] = f(t);
7
- return s(() => {
8
- if (e <= 0) {
9
- r == null || r();
10
- return;
11
- }
12
- const o = setTimeout(() => i((c) => c - 1), 1e3);
13
- return () => clearTimeout(o);
14
- }, [e, r]), s(() => {
15
- i(t);
16
- }, [t]), /* @__PURE__ */ u(m, { $width: 105, children: /* @__PURE__ */ T(n, { $renderAs: "ub2", $color: "WHITE_T_60", children: [
17
- "Resend in",
18
- " ",
19
- /* @__PURE__ */ u(n, { $renderAs: "ub2-bold", $inline: !0, $color: "WHITE_T_60", children: `0:${String(e).padStart(2, "0")}` })
20
- ] }) });
21
- }, _ = d($);
22
- export {
23
- _ as default
24
- };
25
- //# sourceMappingURL=otp-timer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"otp-timer.js","sources":["../../../../../../src/features/auth/comps/resend-otp/otp-timer/otp-timer.tsx"],"sourcesContent":["import type { IOTPTimerProps } from './otp-timer-types';\n\nimport { memo, useState, useEffect } from 'react';\n\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\n\nconst OTPTimer = ({ onComplete, timerSeconds }: IOTPTimerProps) => {\n const [count, setCount] = useState(timerSeconds);\n\n useEffect(() => {\n if (count <= 0) {\n onComplete?.();\n\n return;\n }\n\n const timeoutId = setTimeout(() => setCount(c => c - 1), 1000);\n\n return () => clearTimeout(timeoutId);\n }, [count, onComplete]);\n\n useEffect(() => {\n setCount(timerSeconds);\n }, [timerSeconds]);\n\n return (\n <FlexView $width={105}>\n <Text $renderAs=\"ub2\" $color=\"WHITE_T_60\">\n Resend in{' '}\n <Text $renderAs=\"ub2-bold\" $inline $color=\"WHITE_T_60\">\n {`0:${String(count).padStart(2, '0')}`}\n </Text>\n </Text>\n </FlexView>\n );\n};\n\nexport default memo(OTPTimer);\n"],"names":["OTPTimer","onComplete","timerSeconds","count","setCount","useState","useEffect","timeoutId","jsx","FlexView","Text","OtpTimer","memo"],"mappings":";;;;AAOA,MAAMA,IAAW,CAAC,EAAE,YAAAC,GAAY,cAAAC,QAAmC;AACjE,QAAM,CAACC,GAAOC,CAAQ,IAAIC,EAASH,CAAY;AAE/C,SAAAI,EAAU,MAAM;AACd,QAAIH,KAAS,GAAG;AACD,MAAAF,KAAA,QAAAA;AAEb;AAAA,IACF;AAEM,UAAAM,IAAY,WAAW,MAAMH,EAAS,OAAK,IAAI,CAAC,GAAG,GAAI;AAEtD,WAAA,MAAM,aAAaG,CAAS;AAAA,EAAA,GAClC,CAACJ,GAAOF,CAAU,CAAC,GAEtBK,EAAU,MAAM;AACd,IAAAF,EAASF,CAAY;AAAA,EAAA,GACpB,CAACA,CAAY,CAAC,GAGf,gBAAAM,EAACC,KAAS,QAAQ,KAChB,4BAACC,GAAK,EAAA,WAAU,OAAM,QAAO,cAAa,UAAA;AAAA,IAAA;AAAA,IAC9B;AAAA,sBACTA,GAAK,EAAA,WAAU,YAAW,SAAO,IAAC,QAAO,cACvC,UAAK,KAAA,OAAOP,CAAK,EAAE,SAAS,GAAG,GAAG,CAAC,IACtC;AAAA,EAAA,EACF,CAAA,EACF,CAAA;AAEJ,GAEeQ,IAAAC,EAAKZ,CAAQ;"}
@@ -1,47 +0,0 @@
1
- import { jsx as l, jsxs as c, Fragment as C } from "react/jsx-runtime";
2
- import { useState as u, useCallback as o } from "react";
3
- import i from "../../../ui/buttons/text-button/text-button.js";
4
- import a from "../../../ui/layout/flex-view.js";
5
- import x from "../../../ui/text/text.js";
6
- import $ from "./otp-timer/otp-timer.js";
7
- const _ = ({
8
- onResendOTP: e,
9
- onResendVoiceOTP: r,
10
- timerSeconds: m = 15,
11
- showVoiceOTP: s = !1,
12
- disabled: n
13
- }) => {
14
- const [f, t] = u(!1), p = o(() => {
15
- t(!0);
16
- }, []), d = o(() => {
17
- e == null || e(), t(!1);
18
- }, [e]), h = o(() => {
19
- r == null || r(), t(!1);
20
- }, [r]);
21
- return /* @__PURE__ */ l(a, { children: f ? /* @__PURE__ */ c(a, { $flexDirection: "row", $alignItems: "center", $flexColumnGapX: 0.5, children: [
22
- /* @__PURE__ */ l(
23
- i,
24
- {
25
- disabled: n,
26
- label: "Resend",
27
- color: "WHITE_T_60",
28
- onClick: d
29
- }
30
- ),
31
- s && /* @__PURE__ */ c(C, { children: [
32
- /* @__PURE__ */ l(x, { $renderAs: "ub2", $color: "WHITE_T_60", children: "or" }),
33
- /* @__PURE__ */ l(a, { $width: 116, children: /* @__PURE__ */ l(
34
- i,
35
- {
36
- label: "Get code via call",
37
- color: "WHITE_T_60",
38
- onClick: h
39
- }
40
- ) })
41
- ] })
42
- ] }) : /* @__PURE__ */ l($, { timerSeconds: m, onComplete: p }) });
43
- }, W = _;
44
- export {
45
- W as default
46
- };
47
- //# sourceMappingURL=resend-otp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resend-otp.js","sources":["../../../../../src/features/auth/comps/resend-otp/resend-otp.tsx"],"sourcesContent":["import type { IOTPResendProps } from './resend-otp-types';\n\nimport { useState, useCallback } from 'react';\n\nimport TextButton from '../../../ui/buttons/text-button/text-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Text from '../../../ui/text/text';\nimport OtpTimer from './otp-timer/otp-timer';\n\nconst ResendOTP: React.FC<IOTPResendProps> = ({\n onResendOTP,\n onResendVoiceOTP,\n timerSeconds = 15,\n showVoiceOTP = false,\n disabled,\n}) => {\n const [canResend, setCanResend] = useState(false);\n\n const handleTimerComplete = useCallback(() => {\n setCanResend(true);\n }, []);\n\n const handleResendClick = useCallback(() => {\n onResendOTP?.();\n setCanResend(false);\n }, [onResendOTP]);\n\n const handleVoiceResendClick = useCallback(() => {\n onResendVoiceOTP?.();\n setCanResend(false);\n }, [onResendVoiceOTP]);\n\n return (\n <FlexView>\n {!canResend ? (\n <OtpTimer timerSeconds={timerSeconds} onComplete={handleTimerComplete} />\n ) : (\n <FlexView $flexDirection=\"row\" $alignItems=\"center\" $flexColumnGapX={0.5}>\n <TextButton\n disabled={disabled}\n label=\"Resend\"\n color=\"WHITE_T_60\"\n onClick={handleResendClick}\n />\n {showVoiceOTP && (\n <>\n <Text $renderAs=\"ub2\" $color=\"WHITE_T_60\">\n or\n </Text>\n <FlexView $width={116}>\n <TextButton\n label=\"Get code via call\"\n color=\"WHITE_T_60\"\n onClick={handleVoiceResendClick}\n />\n </FlexView>\n </>\n )}\n </FlexView>\n )}\n </FlexView>\n );\n};\n\nexport default ResendOTP;\n"],"names":["ResendOTP","onResendOTP","onResendVoiceOTP","timerSeconds","showVoiceOTP","disabled","canResend","setCanResend","useState","handleTimerComplete","useCallback","handleResendClick","handleVoiceResendClick","FlexView","jsx","TextButton","jsxs","Fragment","Text","OtpTimer","ResendOTP$1"],"mappings":";;;;;;AASA,MAAMA,IAAuC,CAAC;AAAA,EAC5C,aAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,cAAAC,IAAe;AAAA,EACf,UAAAC;AACF,MAAM;AACJ,QAAM,CAACC,GAAWC,CAAY,IAAIC,EAAS,EAAK,GAE1CC,IAAsBC,EAAY,MAAM;AAC5C,IAAAH,EAAa,EAAI;AAAA,EACnB,GAAG,CAAE,CAAA,GAECI,IAAoBD,EAAY,MAAM;AAC5B,IAAAT,KAAA,QAAAA,KACdM,EAAa,EAAK;AAAA,EAAA,GACjB,CAACN,CAAW,CAAC,GAEVW,IAAyBF,EAAY,MAAM;AAC5B,IAAAR,KAAA,QAAAA,KACnBK,EAAa,EAAK;AAAA,EAAA,GACjB,CAACL,CAAgB,CAAC;AAErB,2BACGW,GACE,EAAA,UAACP,sBAGCO,GAAS,EAAA,gBAAe,OAAM,aAAY,UAAS,iBAAiB,KACnE,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,UAAAV;AAAA,QACA,OAAM;AAAA,QACN,OAAM;AAAA,QACN,SAASM;AAAA,MAAA;AAAA,IACX;AAAA,IACCP,KAEG,gBAAAY,EAAAC,GAAA,EAAA,UAAA;AAAA,MAAA,gBAAAH,EAACI,GAAK,EAAA,WAAU,OAAM,QAAO,cAAa,UAE1C,MAAA;AAAA,MACA,gBAAAJ,EAACD,GAAS,EAAA,QAAQ,KAChB,UAAA,gBAAAC;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,OAAM;AAAA,UACN,OAAM;AAAA,UACN,SAASH;AAAA,QAAA;AAAA,MAAA,GAEb;AAAA,IAAA,GACF;AAAA,EAAA,EAEJ,CAAA,IAvBA,gBAAAE,EAACK,KAAS,cAAAhB,GAA4B,YAAYM,EAAqB,CAAA,EAyB3E,CAAA;AAEJ,GAEAW,IAAepB;"}
@@ -1,23 +0,0 @@
1
- import s from "styled-components";
2
- import p from "../../../ui/text/text.js";
3
- const d = s.div(({ theme: r, tabsCount: o }) => {
4
- const { colors: t } = r;
5
- return `
6
- display: grid;
7
- background: ${t.BLACK_4};
8
- grid-template-columns: repeat(${o}, 1fr);
9
- `;
10
- }), l = s(p)(({ theme: r, $selected: o }) => {
11
- const { layout: t, colors: e } = r, { WHITE_T_15: n, WHITE: a } = e;
12
- return `
13
- cursor: pointer;
14
- padding: ${t.gutter * 0.875}px 0;
15
- border-bottom: 1.5px solid ${o ? a : n};
16
- transition: all 0.3s ease;
17
- `;
18
- });
19
- export {
20
- l as TabsText,
21
- d as TabsWrapper
22
- };
23
- //# sourceMappingURL=tabs-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tabs-styled.js","sources":["../../../../../src/features/auth/comps/tabs/tabs-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport Text from '../../../ui/text/text';\n\ninterface TabsWrapperProps {\n tabsCount: number;\n}\n\nconst TabsWrapper = styled.div<TabsWrapperProps>(({ theme, tabsCount }) => {\n const { colors } = theme;\n\n return `\n display: grid;\n background: ${colors.BLACK_4};\n grid-template-columns: repeat(${tabsCount}, 1fr);\n `;\n});\n\ninterface ITabsText {\n $selected?: boolean;\n}\n\nconst TabsText = styled(Text)<ITabsText>(({ theme, $selected }) => {\n const { layout, colors } = theme;\n const { WHITE_T_15, WHITE } = colors;\n\n return `\n cursor: pointer;\n padding: ${layout.gutter * 0.875}px 0;\n border-bottom: 1.5px solid ${$selected ? WHITE : WHITE_T_15};\n transition: all 0.3s ease;\n `;\n});\n\nexport { TabsWrapper, TabsText };\n"],"names":["TabsWrapper","styled","theme","tabsCount","colors","TabsText","Text","$selected","layout","WHITE_T_15","WHITE"],"mappings":";;AAQA,MAAMA,IAAcC,EAAO,IAAsB,CAAC,EAAE,OAAAC,GAAO,WAAAC,QAAgB;AACnE,QAAA,EAAE,QAAAC,EAAW,IAAAF;AAEZ,SAAA;AAAA;AAAA,kBAESE,EAAO,OAAO;AAAA,oCACID,CAAS;AAAA;AAE7C,CAAC,GAMKE,IAAWJ,EAAOK,CAAI,EAAa,CAAC,EAAE,OAAAJ,GAAO,WAAAK,QAAgB;AAC3D,QAAA,EAAE,QAAAC,GAAQ,QAAAJ,EAAW,IAAAF,GACrB,EAAE,YAAAO,GAAY,OAAAC,EAAU,IAAAN;AAEvB,SAAA;AAAA;AAAA,eAEMI,EAAO,SAAS,KAAK;AAAA,iCACHD,IAAYG,IAAQD,CAAU;AAAA;AAAA;AAG/D,CAAC;"}
@@ -1,23 +0,0 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import { TabsWrapper as b, TabsText as i } from "./tabs-styled.js";
3
- function m({ selectedTab: o, onChange: c, tabs: t }) {
4
- return /* @__PURE__ */ n(b, { tabsCount: Object.keys(t).length, children: Object.entries(t).map((s) => {
5
- const [e, a] = s, { label: l } = a, r = e === o;
6
- return /* @__PURE__ */ n(
7
- i,
8
- {
9
- $renderAs: r ? "ub2-bold" : "ub2",
10
- $align: "center",
11
- $selected: r,
12
- onClick: () => c(e),
13
- $color: "WHITE",
14
- children: l
15
- },
16
- e
17
- );
18
- }) });
19
- }
20
- export {
21
- m as default
22
- };
23
- //# sourceMappingURL=tabs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tabs.js","sources":["../../../../../src/features/auth/comps/tabs/tabs.tsx"],"sourcesContent":["import type { ITabItem, ITabsProps } from './tabs-types';\n\nimport * as Styled from './tabs-styled';\n\nfunction Tabs<T extends string>({ selectedTab, onChange, tabs }: ITabsProps<T>) {\n return (\n <Styled.TabsWrapper tabsCount={Object.keys(tabs).length}>\n {Object.entries(tabs).map(tabConfig => {\n const [tabName, tabInfo] = tabConfig;\n const { label } = tabInfo as ITabItem;\n const isSelected = tabName === selectedTab;\n\n return (\n <Styled.TabsText\n $renderAs={isSelected ? 'ub2-bold' : 'ub2'}\n $align=\"center\"\n key={tabName}\n $selected={isSelected}\n onClick={() => onChange(tabName as T)}\n $color=\"WHITE\"\n >\n {label}\n </Styled.TabsText>\n );\n })}\n </Styled.TabsWrapper>\n );\n}\n\nexport default Tabs;\n"],"names":["Tabs","selectedTab","onChange","tabs","jsx","Styled.TabsWrapper","tabConfig","tabName","tabInfo","label","isSelected","Styled.TabsText"],"mappings":";;AAIA,SAASA,EAAuB,EAAE,aAAAC,GAAa,UAAAC,GAAU,MAAAC,KAAuB;AAC9E,SACG,gBAAAC,EAAAC,GAAA,EAAmB,WAAW,OAAO,KAAKF,CAAI,EAAE,QAC9C,UAAO,OAAA,QAAQA,CAAI,EAAE,IAAI,CAAaG,MAAA;AAC/B,UAAA,CAACC,GAASC,CAAO,IAAIF,GACrB,EAAE,OAAAG,EAAU,IAAAD,GACZE,IAAaH,MAAYN;AAG7B,WAAA,gBAAAG;AAAA,MAACO;AAAAA,MAAA;AAAA,QACC,WAAWD,IAAa,aAAa;AAAA,QACrC,QAAO;AAAA,QAEP,WAAWA;AAAA,QACX,SAAS,MAAMR,EAASK,CAAY;AAAA,QACpC,QAAO;AAAA,QAEN,UAAAE;AAAA,MAAA;AAAA,MALIF;AAAA,IAAA;AAAA,EAQV,CAAA,EACH,CAAA;AAEJ;"}
@@ -1,12 +0,0 @@
1
- import { styled as e } from "styled-components";
2
- const t = e.form`
3
- display: flex;
4
- flex: 1;
5
- margin-top: 8px;
6
- flex-direction: column;
7
- justify-content: space-between;
8
- `;
9
- export {
10
- t as FormWrapper
11
- };
12
- //# sourceMappingURL=forgot-password-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"forgot-password-styled.js","sources":["../../../../src/features/auth/forgot-password/forgot-password-styled.tsx"],"sourcesContent":["import { styled } from 'styled-components';\n\nexport const FormWrapper = styled.form`\n display: flex;\n flex: 1;\n margin-top: 8px;\n flex-direction: column;\n justify-content: space-between;\n`;\n"],"names":["FormWrapper","styled"],"mappings":";AAEO,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
@@ -1,67 +0,0 @@
1
- import { jsx as t, jsxs as p } from "react/jsx-runtime";
2
- import { useState as i, useEffect as $ } from "react";
3
- import g from "../../../ui/buttons/button/button.js";
4
- import b from "../../../ui/inputs/text-input/text-input.js";
5
- import u from "../../../ui/layout/flex-view.js";
6
- import h from "../../comps/input-status-icon/input-status-icon.js";
7
- const C = ({
8
- onSubmit: c,
9
- onChange: m,
10
- value: s,
11
- error: n,
12
- isProcessing: d,
13
- isValid: o = !1
14
- }) => {
15
- const [a, l] = i(!1), [e, f] = i(30);
16
- return $(() => {
17
- if (e <= 0) {
18
- l(!0);
19
- return;
20
- }
21
- const r = setTimeout(() => f(e - 1), 1e3);
22
- return () => clearTimeout(r);
23
- }, [e]), /* @__PURE__ */ t(
24
- u,
25
- {
26
- $gutterX: 2,
27
- $gapX: 1.5,
28
- $alignItems: "center",
29
- $justifyContent: "center",
30
- $background: "BLACK_2",
31
- $height: 308,
32
- children: /* @__PURE__ */ p(u, { $alignItems: "center", $justifyContent: "space-between", $flex: 1, children: [
33
- /* @__PURE__ */ t(
34
- b,
35
- {
36
- renderAs: n ? "error-dark" : o ? "success-dark" : "primary-dark",
37
- autoFocus: !0,
38
- label: "Verification code",
39
- value: s,
40
- onChange: (r) => m("username", r.target.value),
41
- width: 330,
42
- required: !0,
43
- shape: "borderLess",
44
- errorMessage: s,
45
- siblingElement: /* @__PURE__ */ t(h, { isError: !!n, isValid: o, isLoading: d })
46
- }
47
- ),
48
- /* @__PURE__ */ t(
49
- g,
50
- {
51
- size: "small",
52
- renderAs: "secondary-dark",
53
- type: "submit",
54
- label: a ? "Resend" : `Resend in 0:${e < 10 ? "0" : ""}${e}`,
55
- width: 336,
56
- onClick: c,
57
- disabled: !a
58
- }
59
- )
60
- ] })
61
- }
62
- );
63
- }, F = C;
64
- export {
65
- F as default
66
- };
67
- //# sourceMappingURL=otp-form.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"otp-form.js","sources":["../../../../../src/features/auth/forgot-password/otp-form/otp-form.tsx"],"sourcesContent":["import type { ISingleFieldFormProps } from '../forgot-password-types';\n\nimport { useEffect, useState, type ChangeEvent } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\n\nconst OTPForm = ({\n onSubmit,\n onChange,\n value,\n error,\n isProcessing,\n isValid = false,\n}: ISingleFieldFormProps) => {\n const [canResend, setCanResend] = useState(false);\n const [count, setCount] = useState(30);\n\n useEffect(() => {\n if (count <= 0) {\n setCanResend(true);\n\n return;\n }\n\n const timeoutId = setTimeout(() => setCount(count - 1), 1000);\n\n return () => clearTimeout(timeoutId);\n }, [count]);\n\n const statusVariant = isValid ? 'success-dark' : 'primary-dark';\n\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <FlexView $alignItems=\"center\" $justifyContent=\"space-between\" $flex={1}>\n <TextInput\n renderAs={error ? 'error-dark' : statusVariant}\n autoFocus\n label=\"Verification code\"\n value={value}\n onChange={(e: ChangeEvent<HTMLInputElement>) => onChange('username', e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={value}\n siblingElement={\n <InputStatusIcon isError={!!error} isValid={isValid} isLoading={isProcessing} />\n }\n />\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label={canResend ? 'Resend' : `Resend in 0:${count < 10 ? '0' : ''}${count}`}\n width={336}\n onClick={onSubmit}\n disabled={!canResend}\n />\n </FlexView>\n </FlexView>\n );\n};\n\nexport default OTPForm;\n"],"names":["OTPForm","onSubmit","onChange","value","error","isProcessing","isValid","canResend","setCanResend","useState","count","setCount","useEffect","timeoutId","jsx","FlexView","TextInput","e","InputStatusIcon","Button","OTPForm$1"],"mappings":";;;;;;AASA,MAAMA,IAAU,CAAC;AAAA,EACf,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AACZ,MAA6B;AAC3B,QAAM,CAACC,GAAWC,CAAY,IAAIC,EAAS,EAAK,GAC1C,CAACC,GAAOC,CAAQ,IAAIF,EAAS,EAAE;AAErC,SAAAG,EAAU,MAAM;AACd,QAAIF,KAAS,GAAG;AACd,MAAAF,EAAa,EAAI;AAEjB;AAAA,IACF;AAEA,UAAMK,IAAY,WAAW,MAAMF,EAASD,IAAQ,CAAC,GAAG,GAAI;AAErD,WAAA,MAAM,aAAaG,CAAS;AAAA,EAAA,GAClC,CAACH,CAAK,CAAC,GAKR,gBAAAI;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,4BAACA,GAAS,EAAA,aAAY,UAAS,iBAAgB,iBAAgB,OAAO,GACpE,UAAA;AAAA,QAAA,gBAAAD;AAAA,UAACE;AAAA,UAAA;AAAA,YACC,UAAUZ,IAAQ,eAbJE,IAAU,iBAAiB;AAAA,YAczC,WAAS;AAAA,YACT,OAAM;AAAA,YACN,OAAAH;AAAA,YACA,UAAU,CAACc,MAAqCf,EAAS,YAAYe,EAAE,OAAO,KAAK;AAAA,YACnF,OAAO;AAAA,YACP,UAAQ;AAAA,YACR,OAAM;AAAA,YACN,cAAcd;AAAA,YACd,kCACGe,GAAgB,EAAA,SAAS,CAAC,CAACd,GAAO,SAAAE,GAAkB,WAAWD,GAAc;AAAA,UAAA;AAAA,QAElF;AAAA,QACA,gBAAAS;AAAA,UAACK;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAS;AAAA,YACT,MAAK;AAAA,YACL,OAAOZ,IAAY,WAAW,eAAeG,IAAQ,KAAK,MAAM,EAAE,GAAGA,CAAK;AAAA,YAC1E,OAAO;AAAA,YACP,SAAST;AAAA,YACT,UAAU,CAACM;AAAA,UAAA;AAAA,QACb;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEAa,IAAepB;"}
@@ -1,89 +0,0 @@
1
- import { jsx as r, jsxs as d } from "react/jsx-runtime";
2
- import c from "../../../ui/buttons/button/button.js";
3
- import i from "../../../ui/inputs/text-input/text-input.js";
4
- import n from "../../../ui/layout/flex-view.js";
5
- import f from "../../../ui/separator/separator.js";
6
- import p from "../../comps/input-status-icon/input-status-icon.js";
7
- import { FormWrapper as g } from "../forgot-password-styled.js";
8
- const h = ({
9
- onSubmit: m,
10
- onChange: a,
11
- formData: e,
12
- errors: s,
13
- isSubmitDisabled: l,
14
- isProcessing: w,
15
- isValid: t = !1
16
- }) => {
17
- const u = t && e.password === e.confirmPassword;
18
- return /* @__PURE__ */ r(
19
- n,
20
- {
21
- $gutterX: 2,
22
- $gapX: 1.5,
23
- $alignItems: "center",
24
- $justifyContent: "center",
25
- $background: "BLACK_2",
26
- $height: 308,
27
- children: /* @__PURE__ */ d(g, { onSubmit: m, children: [
28
- /* @__PURE__ */ d(n, { children: [
29
- /* @__PURE__ */ r(
30
- i,
31
- {
32
- type: "password",
33
- renderAs: s.password ? "error-dark" : "primary-dark",
34
- autoComplete: "password",
35
- label: "New Password",
36
- value: e.password,
37
- onChange: (o) => a("password", o.target.value),
38
- width: 330,
39
- required: !0,
40
- shape: "borderLess",
41
- errorMessage: s.password,
42
- siblingElement: /* @__PURE__ */ r(p, { isError: !!s.password, isValid: t, isLoading: !1 })
43
- }
44
- ),
45
- /* @__PURE__ */ r(f, { height: 36 }),
46
- /* @__PURE__ */ r(
47
- i,
48
- {
49
- type: "password",
50
- renderAs: s.confirmPassword ? "error-dark" : "primary-dark",
51
- autoComplete: "password",
52
- label: "Re-enter Password",
53
- value: e.confirmPassword,
54
- onChange: (o) => a("confirmPassword", o.target.value),
55
- width: 330,
56
- required: !0,
57
- shape: "borderLess",
58
- errorMessage: s.confirmPassword,
59
- siblingElement: /* @__PURE__ */ r(
60
- p,
61
- {
62
- isError: !!s.confirmPassword,
63
- isValid: u,
64
- isLoading: !1
65
- }
66
- )
67
- }
68
- )
69
- ] }),
70
- /* @__PURE__ */ r(
71
- c,
72
- {
73
- size: "small",
74
- renderAs: "secondary-dark",
75
- type: "submit",
76
- label: "Continue",
77
- width: 336,
78
- busy: w,
79
- disabled: l
80
- }
81
- )
82
- ] })
83
- }
84
- );
85
- }, L = h;
86
- export {
87
- L as default
88
- };
89
- //# sourceMappingURL=reset-password-form.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reset-password-form.js","sources":["../../../../../src/features/auth/forgot-password/reset-password-form/reset-password-form.tsx"],"sourcesContent":["import type { IResetPasswordFormProps } from './reset-password-form-types';\n\nimport { type ChangeEvent } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport * as Styled from '../forgot-password-styled';\n\nconst ResetPasswordForm = ({\n onSubmit,\n onChange,\n formData,\n errors,\n isSubmitDisabled,\n isProcessing,\n isValid = false,\n}: IResetPasswordFormProps) => {\n const isConfirmPasswordValid = isValid && formData.password === formData.confirmPassword;\n\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Styled.FormWrapper onSubmit={onSubmit}>\n <FlexView>\n <TextInput\n type={'password'}\n renderAs={errors.password ? 'error-dark' : 'primary-dark'}\n autoComplete=\"password\"\n label=\"New Password\"\n value={formData.password}\n onChange={(e: ChangeEvent<HTMLInputElement>) => onChange('password', e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.password}\n siblingElement={\n <InputStatusIcon isError={!!errors.password} isValid={isValid} isLoading={false} />\n }\n />\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.confirmPassword ? 'error-dark' : 'primary-dark'}\n autoComplete=\"password\"\n label=\"Re-enter Password\"\n value={formData.confirmPassword}\n onChange={(e: ChangeEvent<HTMLInputElement>) =>\n onChange('confirmPassword', e.target.value)\n }\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.confirmPassword}\n siblingElement={\n <InputStatusIcon\n isError={!!errors.confirmPassword}\n isValid={isConfirmPasswordValid}\n isLoading={false}\n />\n }\n />\n </FlexView>\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Continue\"\n width={336}\n busy={isProcessing}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default ResetPasswordForm;\n"],"names":["ResetPasswordForm","onSubmit","onChange","formData","errors","isSubmitDisabled","isProcessing","isValid","isConfirmPasswordValid","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","e","InputStatusIcon","Separator","Button","ResetPasswordForm$1"],"mappings":";;;;;;;AAWA,MAAMA,IAAoB,CAAC;AAAA,EACzB,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AACZ,MAA+B;AAC7B,QAAMC,IAAyBD,KAAWJ,EAAS,aAAaA,EAAS;AAGvE,SAAA,gBAAAM;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAC,gBAAAC,EAAAC,GAAA,EAAmB,UAAAX,GAClB,UAAA;AAAA,QAAA,gBAAAU,EAACD,GACC,EAAA,UAAA;AAAA,UAAA,gBAAAD;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,MAAM;AAAA,cACN,UAAUT,EAAO,WAAW,eAAe;AAAA,cAC3C,cAAa;AAAA,cACb,OAAM;AAAA,cACN,OAAOD,EAAS;AAAA,cAChB,UAAU,CAACW,MAAqCZ,EAAS,YAAYY,EAAE,OAAO,KAAK;AAAA,cACnF,OAAO;AAAA,cACP,UAAQ;AAAA,cACR,OAAM;AAAA,cACN,cAAcV,EAAO;AAAA,cACrB,gBACG,gBAAAK,EAAAM,GAAA,EAAgB,SAAS,CAAC,CAACX,EAAO,UAAU,SAAAG,GAAkB,WAAW,GAAO,CAAA;AAAA,YAAA;AAAA,UAErF;AAAA,UACA,gBAAAE,EAACO,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,UACvB,gBAAAP;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,UAAUT,EAAO,kBAAkB,eAAe;AAAA,cAClD,cAAa;AAAA,cACb,OAAM;AAAA,cACN,OAAOD,EAAS;AAAA,cAChB,UAAU,CAACW,MACTZ,EAAS,mBAAmBY,EAAE,OAAO,KAAK;AAAA,cAE5C,OAAO;AAAA,cACP,UAAQ;AAAA,cACR,OAAM;AAAA,cACN,cAAcV,EAAO;AAAA,cACrB,gBACE,gBAAAK;AAAA,gBAACM;AAAA,gBAAA;AAAA,kBACC,SAAS,CAAC,CAACX,EAAO;AAAA,kBAClB,SAASI;AAAA,kBACT,WAAW;AAAA,gBAAA;AAAA,cACb;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,GACF;AAAA,QACA,gBAAAC;AAAA,UAACQ;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAS;AAAA,YACT,MAAK;AAAA,YACL,OAAM;AAAA,YACN,OAAO;AAAA,YACP,MAAMX;AAAA,YACN,UAAUD;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEAa,IAAelB;"}