@cuemath/leap 3.0.11-j8 → 3.0.12-as.1

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 (444) 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/chapters-list/chapter-item/chapter-item-styled.js +36 -27
  6. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
  7. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +43 -31
  8. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
  9. package/dist/features/chapters/chapters-list/chapters-list.js +16 -15
  10. package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
  11. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +2 -2
  12. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -1
  13. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +30 -30
  14. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
  15. package/dist/features/chapters-v2/chapter-details/chapter-details.js +35 -35
  16. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
  17. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +44 -44
  18. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -1
  19. package/dist/features/homework/homework-card.js +146 -131
  20. package/dist/features/homework/homework-card.js.map +1 -1
  21. package/dist/features/journey/hooks/use-chapter-journey.js +28 -28
  22. package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -1
  23. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +40 -38
  24. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  25. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +53 -50
  26. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  27. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +64 -62
  28. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  29. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +44 -42
  30. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  31. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +39 -37
  32. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  33. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +38 -31
  34. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -1
  35. package/dist/index.d.ts +8 -285
  36. package/dist/index.js +321 -367
  37. package/dist/index.js.map +1 -1
  38. package/package.json +2 -3
  39. package/dist/assets/illustrations/loader-1.svg.js +0 -6
  40. package/dist/assets/illustrations/loader-1.svg.js.map +0 -1
  41. package/dist/assets/line-icons/icons/apple-icon.js +0 -48
  42. package/dist/assets/line-icons/icons/apple-icon.js.map +0 -1
  43. package/dist/assets/line-icons/icons/google-icon.js +0 -42
  44. package/dist/assets/line-icons/icons/google-icon.js.map +0 -1
  45. package/dist/features/auth/account-selector/account-selector.js +0 -43
  46. package/dist/features/auth/account-selector/account-selector.js.map +0 -1
  47. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +0 -12
  48. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +0 -1
  49. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +0 -12
  50. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +0 -1
  51. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +0 -18
  52. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +0 -1
  53. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +0 -21
  54. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +0 -1
  55. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +0 -29
  56. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +0 -1
  57. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +0 -9
  58. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
  59. package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js +0 -24
  60. package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js.map +0 -1
  61. package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -65
  62. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
  63. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +0 -23
  64. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +0 -1
  65. package/dist/features/auth/comps/tabs/tabs-styled.js +0 -23
  66. package/dist/features/auth/comps/tabs/tabs-styled.js.map +0 -1
  67. package/dist/features/auth/comps/tabs/tabs.js +0 -9
  68. package/dist/features/auth/comps/tabs/tabs.js.map +0 -1
  69. package/dist/features/auth/forgot-password/forgot-password-styled.js +0 -12
  70. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +0 -1
  71. package/dist/features/auth/forgot-password/otp-form/otp-form.js +0 -66
  72. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +0 -1
  73. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +0 -101
  74. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +0 -1
  75. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +0 -68
  76. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +0 -1
  77. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +0 -12
  78. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +0 -1
  79. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +0 -100
  80. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +0 -1
  81. package/dist/features/auth/login/login-constants.js +0 -14
  82. package/dist/features/auth/login/login-constants.js.map +0 -1
  83. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +0 -32
  84. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +0 -1
  85. package/dist/features/auth/login/social-login-methods/social-login-methods.js +0 -47
  86. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +0 -1
  87. package/dist/features/auth/login/username-password-form/username-password-form.js +0 -98
  88. package/dist/features/auth/login/username-password-form/username-password-form.js.map +0 -1
  89. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -56
  90. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +0 -1
  91. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +0 -131
  92. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +0 -1
  93. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -53
  94. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
  95. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js +0 -34
  96. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js.map +0 -1
  97. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js +0 -98
  98. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js.map +0 -1
  99. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js +0 -57
  100. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js.map +0 -1
  101. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js +0 -26
  102. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js.map +0 -1
  103. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +0 -30
  104. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +0 -1
  105. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +0 -100
  106. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +0 -1
  107. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +0 -88
  108. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +0 -1
  109. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +0 -43
  110. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +0 -1
  111. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +0 -31
  112. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +0 -1
  113. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +0 -31
  114. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +0 -1
  115. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +0 -11
  116. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +0 -1
  117. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +0 -29
  118. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +0 -1
  119. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js +0 -9
  120. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js.map +0 -1
  121. package/dist/features/auth/signup/signup-constants.js +0 -1031
  122. package/dist/features/auth/signup/signup-constants.js.map +0 -1
  123. package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -69
  124. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +0 -1
  125. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +0 -19
  126. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +0 -1
  127. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +0 -62
  128. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +0 -1
  129. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +0 -24
  130. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +0 -1
  131. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +0 -85
  132. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
  133. package/dist/features/auth/user-list/user-item/user-item-styled.js +0 -21
  134. package/dist/features/auth/user-list/user-item/user-item-styled.js.map +0 -1
  135. package/dist/features/auth/user-list/user-item/user-item.js +0 -48
  136. package/dist/features/auth/user-list/user-item/user-item.js.map +0 -1
  137. package/dist/features/auth/user-list/user-list-styled.js +0 -19
  138. package/dist/features/auth/user-list/user-list-styled.js.map +0 -1
  139. package/dist/features/auth/user-list/user-list.js +0 -56
  140. package/dist/features/auth/user-list/user-list.js.map +0 -1
  141. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -332
  142. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  143. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -370
  144. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  145. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -252
  146. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
  147. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -24
  148. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
  149. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -192
  150. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  151. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -19
  152. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  153. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -129
  154. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  155. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  156. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  157. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  158. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  159. package/dist/node_modules/date-fns/subYears.js +0 -9
  160. package/dist/node_modules/date-fns/subYears.js.map +0 -1
  161. package/dist/node_modules/react-datepicker/dist/index.es.js +0 -2700
  162. package/dist/node_modules/react-datepicker/dist/index.es.js.map +0 -1
  163. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
  164. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
  165. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +0 -8
  166. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
  167. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +0 -518
  168. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
  169. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +0 -60
  170. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
  171. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +0 -53
  172. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
  173. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
  174. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
  175. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +0 -12
  176. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
  177. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +0 -21
  178. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
  179. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +0 -11
  180. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +0 -1
  181. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +0 -10
  182. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +0 -1
  183. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +0 -10
  184. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +0 -1
  185. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +0 -11
  186. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +0 -1
  187. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +0 -21
  188. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +0 -1
  189. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +0 -9
  190. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +0 -1
  191. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +0 -9
  192. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +0 -1
  193. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +0 -9
  194. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +0 -1
  195. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +0 -9
  196. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +0 -1
  197. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +0 -10
  198. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +0 -1
  199. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +0 -9
  200. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +0 -1
  201. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +0 -17
  202. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
  203. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
  204. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
  205. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +0 -15
  206. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +0 -1
  207. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +0 -14
  208. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +0 -1
  209. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +0 -23
  210. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +0 -1
  211. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +0 -10
  212. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +0 -1
  213. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +0 -10
  214. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +0 -1
  215. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +0 -12
  216. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +0 -1
  217. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +0 -10
  218. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +0 -1
  219. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +0 -60
  220. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +0 -1
  221. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +0 -9
  222. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +0 -1
  223. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +0 -9
  224. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +0 -1
  225. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +0 -12
  226. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +0 -1
  227. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +0 -11
  228. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +0 -1
  229. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +0 -9
  230. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +0 -1
  231. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +0 -9
  232. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +0 -1
  233. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +0 -10
  234. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +0 -1
  235. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +0 -13
  236. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +0 -1
  237. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +0 -16
  238. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +0 -1
  239. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +0 -9
  240. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +0 -1
  241. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +0 -9
  242. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +0 -1
  243. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +0 -10
  244. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +0 -1
  245. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +0 -9
  246. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +0 -1
  247. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +0 -9
  248. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +0 -1
  249. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +0 -13
  250. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +0 -1
  251. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +0 -18
  252. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +0 -1
  253. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +0 -9
  254. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +0 -1
  255. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +0 -9
  256. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +0 -1
  257. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +0 -9
  258. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +0 -1
  259. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +0 -8
  260. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +0 -1
  261. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +0 -9
  262. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +0 -1
  263. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +0 -15
  264. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +0 -1
  265. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +0 -14
  266. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +0 -1
  267. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +0 -15
  268. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +0 -1
  269. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +0 -14
  270. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +0 -1
  271. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +0 -10
  272. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +0 -1
  273. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +0 -13
  274. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +0 -1
  275. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  276. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
  277. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
  278. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
  279. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
  280. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
  281. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
  282. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
  283. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
  284. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
  285. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
  286. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
  287. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
  288. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
  289. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
  290. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
  291. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
  292. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
  293. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +0 -22
  294. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +0 -1
  295. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +0 -15
  296. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +0 -1
  297. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +0 -15
  298. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +0 -1
  299. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +0 -23
  300. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
  301. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +0 -42
  302. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
  303. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +0 -50
  304. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
  305. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -50
  306. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
  307. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -50
  308. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
  309. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -62
  310. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
  311. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
  312. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
  313. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -46
  314. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
  315. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -50
  316. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
  317. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -31
  318. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
  319. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -22
  320. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
  321. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -23
  322. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
  323. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -33
  324. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
  325. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -33
  326. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
  327. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -34
  328. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
  329. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
  330. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
  331. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -100
  332. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
  333. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -49
  334. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
  335. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -49
  336. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
  337. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -50
  338. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
  339. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -41
  340. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
  341. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -75
  342. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
  343. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -49
  344. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
  345. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -70
  346. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
  347. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -33
  348. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
  349. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -72
  350. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
  351. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
  352. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
  353. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -33
  354. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
  355. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -75
  356. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
  357. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -72
  358. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
  359. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
  360. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
  361. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -23
  362. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
  363. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -23
  364. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
  365. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -50
  366. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
  367. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +0 -68
  368. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
  369. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +0 -104
  370. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
  371. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +0 -88
  372. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +0 -1
  373. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +0 -123
  374. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +0 -1
  375. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +0 -13
  376. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +0 -1
  377. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +0 -10
  378. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +0 -1
  379. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +0 -12
  380. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +0 -1
  381. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +0 -11
  382. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +0 -1
  383. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +0 -10
  384. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +0 -1
  385. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +0 -14
  386. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +0 -1
  387. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +0 -11
  388. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +0 -1
  389. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +0 -10
  390. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +0 -1
  391. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +0 -11
  392. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +0 -1
  393. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +0 -11
  394. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +0 -1
  395. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +0 -10
  396. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +0 -1
  397. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +0 -9
  398. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +0 -1
  399. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +0 -12
  400. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
  401. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +0 -10
  402. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +0 -1
  403. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +0 -10
  404. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +0 -1
  405. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +0 -12
  406. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +0 -1
  407. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +0 -14
  408. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +0 -1
  409. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +0 -10
  410. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +0 -1
  411. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +0 -9
  412. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +0 -1
  413. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +0 -9
  414. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +0 -1
  415. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +0 -9
  416. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +0 -1
  417. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +0 -9
  418. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +0 -1
  419. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +0 -9
  420. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +0 -1
  421. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +0 -9
  422. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +0 -1
  423. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +0 -19
  424. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +0 -1
  425. package/dist/static/avatar-selected.860ee923.json +0 -1
  426. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +0 -1
  427. package/dist/static/cuemath-app-qr-code.4beefe48.svg +0 -1
  428. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +0 -1
  429. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  430. package/dist/static/dob.9ce3c15b.json +0 -1
  431. package/dist/static/error.cbe1ddde.json +0 -1
  432. package/dist/static/grade.b3730524.json +0 -1
  433. package/dist/static/key.d6846476.json +0 -1
  434. package/dist/static/mail.c30e8708.json +0 -1
  435. package/dist/static/otp.2d08f874.json +0 -1
  436. package/dist/static/otp.a3029760.json +0 -1
  437. package/dist/static/parent-avatar.772d53e0.json +0 -1
  438. package/dist/static/phone-number.0be312ea.json +0 -1
  439. package/dist/static/phone-number.84f55562.json +0 -1
  440. package/dist/static/student-avatar.524226bd.json +0 -1
  441. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +0 -1
  442. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +0 -1
  443. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +0 -1
  444. package/dist/static/username.9e034d51.json +0 -1
@@ -1,100 +0,0 @@
1
- import { jsx as e, jsxs as n, Fragment as x } from "react/jsx-runtime";
2
- import { memo as C, useCallback as c } from "react";
3
- import E from "../../../ui/buttons/button/button.js";
4
- import u from "../../../ui/inputs/text-input/text-input.js";
5
- import s from "../../../ui/layout/flex-view.js";
6
- import l from "../../../ui/separator/separator.js";
7
- import p from "../../comps/input-status-icon/input-status-icon.js";
8
- import v from "../../comps/resend-otp/resend-otp.js";
9
- import { FormWrapper as A } from "./identifier-otp-form-styled.js";
10
- const S = ({
11
- identifier: f,
12
- otp: m,
13
- errors: r,
14
- isOtpVerified: i,
15
- isLoading: o,
16
- isSubmitDisabled: h,
17
- showOtpInput: t,
18
- onChange: a,
19
- onSubmit: g,
20
- onSendOtp: b
21
- }) => {
22
- const k = t ? "success-dark" : "primary-dark", $ = i ? "success-dark" : "primary-dark", y = c(
23
- (d) => {
24
- a("identifier", d.target.value);
25
- },
26
- [a]
27
- ), F = c(
28
- (d) => {
29
- a("otp", d.target.value);
30
- },
31
- [a]
32
- );
33
- return /* @__PURE__ */ e(s, { $gutterX: 2, $gapX: 1.5, $background: "BLACK_2", $height: 308, children: /* @__PURE__ */ n(A, { onSubmit: g, children: [
34
- /* @__PURE__ */ n(s, { $alignItems: "center", $justifyContent: "center", children: [
35
- /* @__PURE__ */ e(
36
- u,
37
- {
38
- renderAs: r.identifier ? "error-dark" : k,
39
- autoFocus: !0,
40
- label: "Email or Phone",
41
- value: f,
42
- onChange: y,
43
- width: 330,
44
- required: !0,
45
- shape: "borderLess",
46
- errorMessage: r.identifier,
47
- disabled: t,
48
- siblingElement: /* @__PURE__ */ e(p, { isValid: t, isError: !!r.identifier })
49
- }
50
- ),
51
- t && /* @__PURE__ */ n(x, { children: [
52
- /* @__PURE__ */ e(l, { height: 36 }),
53
- /* @__PURE__ */ e(
54
- u,
55
- {
56
- type: "password",
57
- renderAs: r.otp ? "error-dark" : $,
58
- autoComplete: "password",
59
- label: "Verification code",
60
- value: m,
61
- onChange: F,
62
- width: 330,
63
- required: !0,
64
- autoFocus: !0,
65
- shape: "borderLess",
66
- errorMessage: r.otp,
67
- disabled: i || m.length === 4 && o,
68
- siblingElement: /* @__PURE__ */ e(
69
- p,
70
- {
71
- isLoading: o,
72
- isValid: i,
73
- isError: !!r.otp
74
- }
75
- )
76
- }
77
- ),
78
- /* @__PURE__ */ e(l, { heightX: 1.25 }),
79
- /* @__PURE__ */ e(s, { $alignItems: "flex-end", $width: "100%", children: /* @__PURE__ */ e(v, { onResendOTP: b, disabled: i }) }),
80
- /* @__PURE__ */ e(l, { heightX: 2 })
81
- ] })
82
- ] }),
83
- /* @__PURE__ */ e(
84
- E,
85
- {
86
- size: "small",
87
- renderAs: "secondary-dark",
88
- type: "submit",
89
- label: t ? "Log In" : "Get Verification Code",
90
- width: 336,
91
- busy: !t && o,
92
- disabled: h
93
- }
94
- )
95
- ] }) });
96
- }, P = C(S);
97
- export {
98
- P as default
99
- };
100
- //# sourceMappingURL=identifier-otp-form.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"identifier-otp-form.js","sources":["../../../../../src/features/auth/login/identifier-otp-form/identifier-otp-form.tsx"],"sourcesContent":["// In @cuemath/leap/src/components/IdentifierOtpForm.tsx\n\nimport type { IIdentifierOtpFormProps } from './identifier-otp-form-types';\n\nimport React, { type ChangeEvent, memo, useCallback } 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 ResendOTP from '../../comps/resend-otp/resend-otp';\nimport * as Styled from './identifier-otp-form-styled';\n\nconst IdentifierOtpForm: React.FC<IIdentifierOtpFormProps> = ({\n identifier,\n otp,\n errors,\n isOtpVerified,\n isLoading,\n isSubmitDisabled,\n showOtpInput,\n onChange,\n onSubmit,\n onSendOtp,\n}) => {\n const identifierStatusVariant = showOtpInput ? 'success-dark' : 'primary-dark';\n const otpStatusVariant = isOtpVerified ? 'success-dark' : 'primary-dark';\n\n const handleIdentifierChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('identifier', e.target.value);\n },\n [onChange],\n );\n\n const handleOtpChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('otp', e.target.value);\n },\n [onChange],\n );\n\n return (\n <FlexView $gutterX={2} $gapX={1.5} $background=\"BLACK_2\" $height={308}>\n <Styled.FormWrapper onSubmit={onSubmit}>\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <TextInput\n renderAs={errors.identifier ? 'error-dark' : identifierStatusVariant}\n autoFocus\n label=\"Email or Phone\"\n value={identifier}\n onChange={handleIdentifierChange}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.identifier}\n disabled={showOtpInput}\n siblingElement={\n <InputStatusIcon isValid={showOtpInput} isError={!!errors.identifier} />\n }\n />\n {showOtpInput && (\n <>\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.otp ? 'error-dark' : otpStatusVariant}\n autoComplete=\"password\"\n label=\"Verification code\"\n value={otp}\n onChange={handleOtpChange}\n width={330}\n required\n autoFocus\n shape=\"borderLess\"\n errorMessage={errors.otp}\n disabled={isOtpVerified || (otp.length === 4 && isLoading)}\n siblingElement={\n <InputStatusIcon\n isLoading={isLoading}\n isValid={isOtpVerified}\n isError={!!errors.otp}\n />\n }\n />\n <Separator heightX={1.25} />\n <FlexView $alignItems=\"flex-end\" $width=\"100%\">\n <ResendOTP onResendOTP={onSendOtp} disabled={isOtpVerified} />\n </FlexView>\n <Separator heightX={2} />\n </>\n )}\n </FlexView>\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label={showOtpInput ? 'Log In' : 'Get Verification Code'}\n width={336}\n busy={!showOtpInput && isLoading}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default memo(IdentifierOtpForm);\n"],"names":["IdentifierOtpForm","identifier","otp","errors","isOtpVerified","isLoading","isSubmitDisabled","showOtpInput","onChange","onSubmit","onSendOtp","identifierStatusVariant","otpStatusVariant","handleIdentifierChange","useCallback","e","handleOtpChange","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","InputStatusIcon","Fragment","Separator","ResendOTP","Button","identifierOtpForm","memo"],"mappings":";;;;;;;;;AAcA,MAAMA,IAAuD,CAAC;AAAA,EAC5D,YAAAC;AAAA,EACA,KAAAC;AAAA,EACA,QAAAC;AAAA,EACA,eAAAC;AAAA,EACA,WAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AACF,MAAM;AACE,QAAAC,IAA0BJ,IAAe,iBAAiB,gBAC1DK,IAAmBR,IAAgB,iBAAiB,gBAEpDS,IAAyBC;AAAA,IAC7B,CAACC,MAAqC;AAC3B,MAAAP,EAAA,cAAcO,EAAE,OAAO,KAAK;AAAA,IACvC;AAAA,IACA,CAACP,CAAQ;AAAA,EAAA,GAGLQ,IAAkBF;AAAA,IACtB,CAACC,MAAqC;AAC3B,MAAAP,EAAA,OAAOO,EAAE,OAAO,KAAK;AAAA,IAChC;AAAA,IACA,CAACP,CAAQ;AAAA,EAAA;AAGX,SACG,gBAAAS,EAAAC,GAAA,EAAS,UAAU,GAAG,OAAO,KAAK,aAAY,WAAU,SAAS,KAChE,UAAA,gBAAAC,EAACC,GAAA,EAAmB,UAAAX,GAClB,UAAA;AAAA,IAAA,gBAAAU,EAACD,GAAS,EAAA,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,MAAA,gBAAAD;AAAA,QAACI;AAAA,QAAA;AAAA,UACC,UAAUlB,EAAO,aAAa,eAAeQ;AAAA,UAC7C,WAAS;AAAA,UACT,OAAM;AAAA,UACN,OAAOV;AAAA,UACP,UAAUY;AAAA,UACV,OAAO;AAAA,UACP,UAAQ;AAAA,UACR,OAAM;AAAA,UACN,cAAcV,EAAO;AAAA,UACrB,UAAUI;AAAA,UACV,kCACGe,GAAgB,EAAA,SAASf,GAAc,SAAS,CAAC,CAACJ,EAAO,YAAY;AAAA,QAAA;AAAA,MAE1E;AAAA,MACCI,KAEG,gBAAAY,EAAAI,GAAA,EAAA,UAAA;AAAA,QAAC,gBAAAN,EAAAO,GAAA,EAAU,QAAQ,GAAI,CAAA;AAAA,QACvB,gBAAAP;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAUlB,EAAO,MAAM,eAAeS;AAAA,YACtC,cAAa;AAAA,YACb,OAAM;AAAA,YACN,OAAOV;AAAA,YACP,UAAUc;AAAA,YACV,OAAO;AAAA,YACP,UAAQ;AAAA,YACR,WAAS;AAAA,YACT,OAAM;AAAA,YACN,cAAcb,EAAO;AAAA,YACrB,UAAUC,KAAkBF,EAAI,WAAW,KAAKG;AAAA,YAChD,gBACE,gBAAAY;AAAA,cAACK;AAAA,cAAA;AAAA,gBACC,WAAAjB;AAAA,gBACA,SAASD;AAAA,gBACT,SAAS,CAAC,CAACD,EAAO;AAAA,cAAA;AAAA,YACpB;AAAA,UAAA;AAAA,QAEJ;AAAA,QACA,gBAAAc,EAACO,GAAU,EAAA,SAAS,KAAM,CAAA;AAAA,QACzB,gBAAAP,EAAAC,GAAA,EAAS,aAAY,YAAW,QAAO,QACtC,UAAC,gBAAAD,EAAAQ,GAAA,EAAU,aAAaf,GAAW,UAAUN,EAAe,CAAA,GAC9D;AAAA,QACA,gBAAAa,EAACO,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,MAAA,GACzB;AAAA,IAAA,GAEJ;AAAA,IACA,gBAAAP;AAAA,MAACS;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,UAAS;AAAA,QACT,MAAK;AAAA,QACL,OAAOnB,IAAe,WAAW;AAAA,QACjC,OAAO;AAAA,QACP,MAAM,CAACA,KAAgBF;AAAA,QACvB,UAAUC;AAAA,MAAA;AAAA,IACZ;AAAA,EAAA,EACF,CAAA,EACF,CAAA;AAEJ,GAEeqB,IAAAC,EAAK5B,CAAiB;"}
@@ -1,14 +0,0 @@
1
- const e = [
2
- {
3
- id: "username",
4
- label: "Username"
5
- },
6
- {
7
- id: "identifier",
8
- label: "Email/Phone"
9
- }
10
- ];
11
- export {
12
- e as AUTH_TABS
13
- };
14
- //# sourceMappingURL=login-constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"login-constants.js","sources":["../../../../src/features/auth/login/login-constants.ts"],"sourcesContent":["import type { TAuthTabKeys } from './login-types';\n\ninterface IAuthTab {\n id: TAuthTabKeys;\n label: string;\n}\n\nexport const AUTH_TABS: IAuthTab[] = [\n {\n id: 'username',\n label: 'Username',\n },\n {\n id: 'identifier',\n label: 'Email/Phone',\n },\n];\n"],"names":["AUTH_TABS"],"mappings":"AAOO,MAAMA,IAAwB;AAAA,EACnC;AAAA,IACE,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AACF;"}
@@ -1,32 +0,0 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import { memo as a } from "react";
3
- import e from "../../../ui/buttons/button/button.js";
4
- import i from "../../../ui/layout/flex-view.js";
5
- import c from "../../../ui/separator/separator.js";
6
- const s = ({ onRetryLogin: t, onGoToSignup: r }) => /* @__PURE__ */ n(i, { $alignItems: "center", $justifyContent: "center", children: [
7
- /* @__PURE__ */ o(
8
- e,
9
- {
10
- size: "small",
11
- renderAs: "secondary-dark",
12
- label: "Create a new account",
13
- width: 232,
14
- onClick: r
15
- }
16
- ),
17
- /* @__PURE__ */ o(c, { heightX: 1 }),
18
- /* @__PURE__ */ o(
19
- e,
20
- {
21
- size: "small",
22
- renderAs: "secondary-dark",
23
- label: "Try another Login method",
24
- width: 232,
25
- onClick: t
26
- }
27
- )
28
- ] }), h = a(s);
29
- export {
30
- h as default
31
- };
32
- //# sourceMappingURL=social-account-not-found.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"social-account-not-found.js","sources":["../../../../../src/features/auth/login/social-account-not-found/social-account-not-found.tsx"],"sourcesContent":["import type { ISocialAccountNotFoundProps } from './social-account-not-found-types';\n\nimport { memo } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\n\nconst SocialAccountNotFound = ({ onRetryLogin, onGoToSignup }: ISocialAccountNotFoundProps) => {\n return (\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n label=\"Create a new account\"\n width={232}\n onClick={onGoToSignup}\n />\n <Separator heightX={1} />\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n label=\"Try another Login method\"\n width={232}\n onClick={onRetryLogin}\n />\n </FlexView>\n );\n};\n\nexport default memo(SocialAccountNotFound);\n"],"names":["SocialAccountNotFound","onRetryLogin","onGoToSignup","jsxs","FlexView","jsx","Button","Separator","socialAccountNotFound","memo"],"mappings":";;;;;AAQA,MAAMA,IAAwB,CAAC,EAAE,cAAAC,GAAc,cAAAC,QAE1C,gBAAAC,EAAAC,GAAA,EAAS,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,EAAA,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,UAAS;AAAA,MACT,OAAM;AAAA,MACN,OAAO;AAAA,MACP,SAASJ;AAAA,IAAA;AAAA,EACX;AAAA,EACA,gBAAAG,EAACE,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACvB,gBAAAF;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,UAAS;AAAA,MACT,OAAM;AAAA,MACN,OAAO;AAAA,MACP,SAASL;AAAA,IAAA;AAAA,EACX;AACF,EAAA,CAAA,GAIWO,IAAAC,EAAKT,CAAqB;"}
@@ -1,47 +0,0 @@
1
- import { jsxs as a, jsx as i } from "react/jsx-runtime";
2
- import { memo as r } from "react";
3
- import c from "../../../../assets/line-icons/icons/apple-icon.js";
4
- import d from "../../../../assets/line-icons/icons/google-icon.js";
5
- import s from "../../../ui/buttons/button/button.js";
6
- import p from "../../../ui/layout/flex-view.js";
7
- const m = ({
8
- onGoogleLogin: n,
9
- onAppleLogin: t,
10
- loadingProvider: o
11
- }) => {
12
- const e = o === "google", l = o === "apple";
13
- return /* @__PURE__ */ a(p, { $flexGapX: 1, $flexDirection: "row", $justifyContent: "space-between", $width: 336, children: [
14
- /* @__PURE__ */ i(
15
- s,
16
- {
17
- renderAs: "secondary-dark",
18
- Icon: d,
19
- width: 160,
20
- label: "",
21
- analyticsLabel: "google_login",
22
- onClick: n,
23
- size: "small",
24
- busy: e,
25
- disabled: e
26
- }
27
- ),
28
- /* @__PURE__ */ i(
29
- s,
30
- {
31
- renderAs: "secondary-dark",
32
- size: "small",
33
- width: 160,
34
- Icon: c,
35
- label: "",
36
- analyticsLabel: "apple_login",
37
- onClick: t,
38
- busy: l,
39
- disabled: l
40
- }
41
- )
42
- ] });
43
- }, w = r(m);
44
- export {
45
- w as default
46
- };
47
- //# sourceMappingURL=social-login-methods.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"social-login-methods.js","sources":["../../../../../src/features/auth/login/social-login-methods/social-login-methods.tsx"],"sourcesContent":["import type { ISocialLoginMethodsProps } from './social-login-methods-types';\nimport type { FC } from 'react';\n\nimport { memo } from 'react';\n\nimport AppleIcon from '../../../../assets/line-icons/icons/apple-icon';\nimport GoogleIcon from '../../../../assets/line-icons/icons/google-icon';\nimport Button from '../../../ui/buttons/button/button';\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst SocialLoginMethods: FC<ISocialLoginMethodsProps> = ({\n onGoogleLogin,\n onAppleLogin,\n loadingProvider,\n}) => {\n const isLoadingGoogle = loadingProvider === 'google';\n const isLoadingApple = loadingProvider === 'apple';\n\n return (\n <FlexView $flexGapX={1} $flexDirection=\"row\" $justifyContent=\"space-between\" $width={336}>\n <Button\n renderAs=\"secondary-dark\"\n Icon={GoogleIcon}\n width={160}\n label=\"\"\n analyticsLabel=\"google_login\"\n onClick={onGoogleLogin}\n size=\"small\"\n busy={isLoadingGoogle}\n disabled={isLoadingGoogle}\n />\n <Button\n renderAs=\"secondary-dark\"\n size=\"small\"\n width={160}\n Icon={AppleIcon}\n label=\"\"\n analyticsLabel=\"apple_login\"\n onClick={onAppleLogin}\n busy={isLoadingApple}\n disabled={isLoadingApple}\n />\n </FlexView>\n );\n};\n\nexport default memo(SocialLoginMethods);\n"],"names":["SocialLoginMethods","onGoogleLogin","onAppleLogin","loadingProvider","isLoadingGoogle","isLoadingApple","jsxs","FlexView","jsx","Button","GoogleIcon","AppleIcon","socialLoginMethods","memo"],"mappings":";;;;;;AAUA,MAAMA,IAAmD,CAAC;AAAA,EACxD,eAAAC;AAAA,EACA,cAAAC;AAAA,EACA,iBAAAC;AACF,MAAM;AACJ,QAAMC,IAAkBD,MAAoB,UACtCE,IAAiBF,MAAoB;AAGzC,SAAA,gBAAAG,EAACC,KAAS,WAAW,GAAG,gBAAe,OAAM,iBAAgB,iBAAgB,QAAQ,KACnF,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,UAAS;AAAA,QACT,MAAMC;AAAA,QACN,OAAO;AAAA,QACP,OAAM;AAAA,QACN,gBAAe;AAAA,QACf,SAAST;AAAA,QACT,MAAK;AAAA,QACL,MAAMG;AAAA,QACN,UAAUA;AAAA,MAAA;AAAA,IACZ;AAAA,IACA,gBAAAI;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,UAAS;AAAA,QACT,MAAK;AAAA,QACL,OAAO;AAAA,QACP,MAAME;AAAA,QACN,OAAM;AAAA,QACN,gBAAe;AAAA,QACf,SAAST;AAAA,QACT,MAAMG;AAAA,QACN,UAAUA;AAAA,MAAA;AAAA,IACZ;AAAA,EACF,EAAA,CAAA;AAEJ,GAEeO,IAAAC,EAAKb,CAAkB;"}
@@ -1,98 +0,0 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { memo as f, useCallback as l } from "react";
3
- import w from "../../../ui/buttons/button/button.js";
4
- import $ from "../../../ui/buttons/text-button/text-button.js";
5
- import u from "../../../ui/inputs/text-input/text-input.js";
6
- import s from "../../../ui/layout/flex-view.js";
7
- import a from "../../../ui/separator/separator.js";
8
- import y from "../../comps/input-status-icon/input-status-icon.js";
9
- const C = ({
10
- username: i,
11
- password: m,
12
- errors: r,
13
- isLoading: d,
14
- onChange: t,
15
- onSubmit: p,
16
- onForgotPassword: h
17
- }) => {
18
- const c = d || !i.trim() || !m.trim(), g = l(
19
- (o) => {
20
- t("username", o.target.value);
21
- },
22
- [t]
23
- ), b = l(
24
- (o) => {
25
- t("password", o.target.value);
26
- },
27
- [t]
28
- );
29
- return /* @__PURE__ */ n(
30
- s,
31
- {
32
- $gutterX: 2,
33
- $gapX: 1.5,
34
- $alignItems: "center",
35
- $justifyContent: "center",
36
- $background: "BLACK_2",
37
- $height: 308,
38
- children: [
39
- /* @__PURE__ */ e(a, { heightX: 0.5 }),
40
- /* @__PURE__ */ n("form", { onSubmit: p, children: [
41
- /* @__PURE__ */ n(s, { $alignItems: "center", $justifyContent: "center", children: [
42
- /* @__PURE__ */ e(
43
- u,
44
- {
45
- renderAs: r.username ? "error-dark" : "primary-dark",
46
- autoFocus: !0,
47
- autoComplete: "username",
48
- label: "Username",
49
- value: i,
50
- onChange: g,
51
- width: 330,
52
- required: !0,
53
- shape: "borderLess",
54
- errorMessage: r.username
55
- }
56
- ),
57
- /* @__PURE__ */ e(a, { height: 36 }),
58
- /* @__PURE__ */ e(
59
- u,
60
- {
61
- type: "password",
62
- renderAs: r.password ? "error-dark" : "primary-dark",
63
- autoComplete: "password",
64
- label: "Password",
65
- value: m,
66
- onChange: b,
67
- width: 330,
68
- required: !0,
69
- shape: "borderLess",
70
- errorMessage: r.password,
71
- siblingElement: /* @__PURE__ */ e(y, { isError: !!r.password })
72
- }
73
- )
74
- ] }),
75
- /* @__PURE__ */ e(a, { heightX: 1.25 }),
76
- /* @__PURE__ */ e(s, { $alignItems: "flex-end", children: /* @__PURE__ */ e($, { label: "Forgot Password?", onClick: h, color: "WHITE_T_60" }) }),
77
- /* @__PURE__ */ e(a, { heightX: 2 }),
78
- /* @__PURE__ */ e(s, { $justifyContent: "center", children: /* @__PURE__ */ e(
79
- w,
80
- {
81
- size: "small",
82
- renderAs: "secondary-dark",
83
- type: "submit",
84
- label: "Log in",
85
- width: 336,
86
- busy: d,
87
- disabled: c
88
- }
89
- ) })
90
- ] })
91
- ]
92
- }
93
- );
94
- }, A = f(C);
95
- export {
96
- A as default
97
- };
98
- //# sourceMappingURL=username-password-form.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"username-password-form.js","sources":["../../../../../src/features/auth/login/username-password-form/username-password-form.tsx"],"sourcesContent":["import type { IUsernamePasswordFormProps } from './username-password-form-types';\n\nimport { type ChangeEvent, type FC, memo, useCallback } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextButton from '../../../ui/buttons/text-button/text-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';\n\nconst UsernamePasswordForm: FC<IUsernamePasswordFormProps> = ({\n username,\n password,\n errors,\n isLoading,\n onChange,\n onSubmit,\n onForgotPassword,\n}) => {\n const isSubmitDisabled = isLoading || !username.trim() || !password.trim();\n\n const handleUsernameChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('username', e.target.value);\n },\n [onChange],\n );\n\n const handlePasswordChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('password', e.target.value);\n },\n [onChange],\n );\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 <Separator heightX={0.5} />\n <form onSubmit={onSubmit}>\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <TextInput\n renderAs={errors.username ? 'error-dark' : 'primary-dark'}\n autoFocus\n autoComplete=\"username\"\n label=\"Username\"\n value={username}\n onChange={handleUsernameChange}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.username}\n />\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.password ? 'error-dark' : 'primary-dark'}\n autoComplete=\"password\"\n label=\"Password\"\n value={password}\n onChange={handlePasswordChange}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.password}\n siblingElement={<InputStatusIcon isError={!!errors.password} />}\n />\n </FlexView>\n <Separator heightX={1.25} />\n <FlexView $alignItems=\"flex-end\">\n <TextButton label=\"Forgot Password?\" onClick={onForgotPassword} color=\"WHITE_T_60\" />\n </FlexView>\n <Separator heightX={2} />\n <FlexView $justifyContent=\"center\">\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Log in\"\n width={336}\n busy={isLoading}\n disabled={isSubmitDisabled}\n />\n </FlexView>\n </form>\n </FlexView>\n );\n};\n\nexport default memo(UsernamePasswordForm);\n"],"names":["UsernamePasswordForm","username","password","errors","isLoading","onChange","onSubmit","onForgotPassword","isSubmitDisabled","handleUsernameChange","useCallback","e","handlePasswordChange","jsxs","FlexView","jsx","Separator","TextInput","InputStatusIcon","TextButton","Button","usernamePasswordForm","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAAuD,CAAC;AAAA,EAC5D,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,kBAAAC;AACF,MAAM;AACE,QAAAC,IAAmBJ,KAAa,CAACH,EAAS,UAAU,CAACC,EAAS,QAE9DO,IAAuBC;AAAA,IAC3B,CAACC,MAAqC;AAC3B,MAAAN,EAAA,YAAYM,EAAE,OAAO,KAAK;AAAA,IACrC;AAAA,IACA,CAACN,CAAQ;AAAA,EAAA,GAGLO,IAAuBF;AAAA,IAC3B,CAACC,MAAqC;AAC3B,MAAAN,EAAA,YAAYM,EAAE,OAAO,KAAK;AAAA,IACrC;AAAA,IACA,CAACN,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAQ;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAA;AAAA,QAAC,gBAAAC,EAAAC,GAAA,EAAU,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAH,EAAC,UAAK,UAAAP,GACJ,UAAA;AAAA,UAAA,gBAAAO,EAACC,GAAS,EAAA,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,YAAA,gBAAAC;AAAA,cAACE;AAAA,cAAA;AAAA,gBACC,UAAUd,EAAO,WAAW,eAAe;AAAA,gBAC3C,WAAS;AAAA,gBACT,cAAa;AAAA,gBACb,OAAM;AAAA,gBACN,OAAOF;AAAA,gBACP,UAAUQ;AAAA,gBACV,OAAO;AAAA,gBACP,UAAQ;AAAA,gBACR,OAAM;AAAA,gBACN,cAAcN,EAAO;AAAA,cAAA;AAAA,YACvB;AAAA,YACA,gBAAAY,EAACC,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,YACvB,gBAAAD;AAAA,cAACE;AAAA,cAAA;AAAA,gBACC,MAAK;AAAA,gBACL,UAAUd,EAAO,WAAW,eAAe;AAAA,gBAC3C,cAAa;AAAA,gBACb,OAAM;AAAA,gBACN,OAAOD;AAAA,gBACP,UAAUU;AAAA,gBACV,OAAO;AAAA,gBACP,UAAQ;AAAA,gBACR,OAAM;AAAA,gBACN,cAAcT,EAAO;AAAA,gBACrB,gBAAiB,gBAAAY,EAAAG,GAAA,EAAgB,SAAS,CAAC,CAACf,EAAO,UAAU;AAAA,cAAA;AAAA,YAC/D;AAAA,UAAA,GACF;AAAA,UACA,gBAAAY,EAACC,GAAU,EAAA,SAAS,KAAM,CAAA;AAAA,UACzB,gBAAAD,EAAAD,GAAA,EAAS,aAAY,YACpB,UAAC,gBAAAC,EAAAI,GAAA,EAAW,OAAM,oBAAmB,SAASZ,GAAkB,OAAM,aAAa,CAAA,GACrF;AAAA,UACA,gBAAAQ,EAACC,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,UACvB,gBAAAD,EAACD,GAAS,EAAA,iBAAgB,UACxB,UAAA,gBAAAC;AAAA,YAACK;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,UAAS;AAAA,cACT,MAAK;AAAA,cACL,OAAM;AAAA,cACN,OAAO;AAAA,cACP,MAAMhB;AAAA,cACN,UAAUI;AAAA,YAAA;AAAA,UAAA,GAEd;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEea,IAAAC,EAAKtB,CAAoB;"}
@@ -1,56 +0,0 @@
1
- import t from "styled-components";
2
- import i from "../../../ui/layout/flex-view.js";
3
- const n = t(i)`
4
- position: relative;
5
- `, s = t(i)`
6
- position: absolute;
7
- border-radius: 100%;
8
- top: 216px;
9
- border: ${({ theme: o }) => `2px solid ${o.colors.BLACK_5}`};
10
- `, p = t(i)`
11
- opacity: ${({ $isVisible: o }) => o ? 1 : 0};
12
- transition: opacity 0.5s ease-in-out;
13
- `, l = t.div`
14
- position: relative;
15
- `;
16
- t(i)`
17
- position: relative;
18
- overflow: hidden;
19
- background: ${({ theme: o }) => o.colors.BLACK_2};
20
- border-radius: 100%;
21
- flex-shrink: 0;
22
- display: flex;
23
- align-items: center;
24
- justify-content: center;
25
- color: ${({ theme: o }) => o.colors.WHITE};
26
- `;
27
- t.div`
28
- position: absolute;
29
- width: 100%;
30
- height: 100%;
31
- z-index: 2;
32
- `;
33
- const a = t(i)`
34
- position: absolute;
35
- top: 55%;
36
- right: 24px;
37
- `, c = t(i)`
38
- position: absolute;
39
- top: 55%;
40
- left: 24px;
41
- button {
42
- background-color: ${({ theme: o }) => o.colors.BLACK_1};
43
- svg {
44
- color: ${({ theme: o }) => o.colors.WHITE};
45
- }
46
- }
47
- `;
48
- export {
49
- s as CircularStepContainer,
50
- n as Container,
51
- p as ContentWrapper,
52
- l as InputContainer,
53
- a as NextButtonWrapper,
54
- c as PrevButtonWrapper
55
- };
56
- //# sourceMappingURL=circular-step-wrapper-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"circular-step-wrapper-styled.js","sources":["../../../../../src/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst Container = styled(FlexView)`\n position: relative;\n`;\n\nconst CircularStepContainer = styled(FlexView)`\n position: absolute;\n border-radius: 100%;\n top: 216px;\n border: ${({ theme }) => `2px solid ${theme.colors.BLACK_5}`};\n`;\n\nconst ContentWrapper = styled(FlexView)<{ $isVisible: boolean }>`\n opacity: ${({ $isVisible }) => ($isVisible ? 1 : 0)};\n transition: opacity 0.5s ease-in-out;\n`;\n\nconst InputContainer = styled.div`\n position: relative;\n`;\n\nconst CircularProgressContainer = styled(FlexView)<{\n isVerticallyCentered?: boolean;\n}>`\n position: relative;\n overflow: hidden;\n background: ${({ theme }) => theme.colors.BLACK_2};\n border-radius: 100%;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ${({ theme }) => theme.colors.WHITE};\n`;\n\nexport const CircularProgress = styled.div`\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 2;\n`;\n\nconst NextButtonWrapper = styled(FlexView)`\n position: absolute;\n top: 55%;\n right: 24px;\n`;\nconst PrevButtonWrapper = styled(FlexView)`\n position: absolute;\n top: 55%;\n left: 24px;\n button {\n background-color: ${({ theme }) => theme.colors.BLACK_1};\n svg {\n color: ${({ theme }) => theme.colors.WHITE};\n }\n }\n`;\n\nexport {\n NextButtonWrapper,\n PrevButtonWrapper,\n InputContainer,\n Container,\n CircularStepContainer,\n CircularProgressContainer,\n ContentWrapper,\n};\n"],"names":["Container","styled","FlexView","CircularStepContainer","theme","ContentWrapper","$isVisible","InputContainer","NextButtonWrapper","PrevButtonWrapper"],"mappings":";;AAIM,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,GAI3BC,IAAwBF,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,YAIjC,CAAC,EAAE,OAAAE,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA,GAGxDC,IAAiBJ,EAAOC,CAAQ;AAAA,aACzB,CAAC,EAAE,YAAAI,EAAA,MAAkBA,IAAa,IAAI,CAAE;AAAA;AAAA,GAI/CC,IAAiBN,EAAO;AAAA;AAAA;AAIIA,EAAOC,CAAQ;AAAA;AAAA;AAAA,gBAKjC,CAAC,EAAE,OAAAE,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAMxC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAGZH,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAOjC,MAAAO,IAAoBP,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,GAKnCO,IAAoBR,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,wBAKjB,CAAC,EAAE,OAAAE,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA,eAE5C,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;"}
@@ -1,131 +0,0 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { memo as b, forwardRef as E, useRef as c, useState as $, useCallback as H, useEffect as B, useImperativeHandle as T, useLayoutEffect as j } from "react";
3
- import P from "../../../../assets/line-icons/icons/back2.js";
4
- import z from "../../../../assets/line-icons/icons/next2.js";
5
- import F from "../../../ui/animated-arc/animated-arc.js";
6
- import g from "../../../ui/buttons/icon-button/icon-button.js";
7
- import M from "../../../ui/layout/flex-view.js";
8
- import N from "../../../ui/lottie-animation/lottie-animation.js";
9
- import O from "../../../ui/separator/separator.js";
10
- import V from "../../../ui/text/text.js";
11
- import { Container as X, CircularStepContainer as D, ContentWrapper as K, InputContainer as Y, PrevButtonWrapper as _, NextButtonWrapper as q } from "./circular-step-wrapper-styled.js";
12
- const G = {
13
- autoplay: !1,
14
- loop: !1,
15
- renderer: "canvas",
16
- rendererSettings: {
17
- preserveAspectRatio: "xMidYMin slice"
18
- }
19
- }, J = E(
20
- ({
21
- children: C,
22
- onGoBack: y,
23
- onNext: I,
24
- label: a,
25
- showNext: x,
26
- showPrevious: A,
27
- animation: r,
28
- introFrames: S,
29
- outroFrames: w,
30
- isNextLoading: s,
31
- progressAngle: l
32
- }, R) => {
33
- const t = c(null), o = c(null), [u, k] = $(), [v, m] = $(!1), i = c(null), L = H(() => {
34
- r && t.current && (t.current.playSegments(S, !0), m(!0));
35
- }, [r]);
36
- return B(() => () => {
37
- i.current && clearTimeout(i.current);
38
- }, [r]), T(R, () => ({
39
- playOutroAndFadeOut: async () => new Promise((W) => {
40
- var f, p;
41
- const d = () => {
42
- var h;
43
- W(), (h = t.current) == null || h.removeEventListener("complete", d);
44
- };
45
- (f = t.current) == null || f.playSegments(w, !0), i.current = setTimeout(() => m(!1), 400), (p = t.current) == null || p.addEventListener("complete", d);
46
- })
47
- })), j(() => {
48
- o.current && k(o.current.offsetHeight);
49
- }, []), /* @__PURE__ */ n(
50
- X,
51
- {
52
- $flex: 1,
53
- $flexDirection: "column",
54
- $alignItems: "center",
55
- $justifyContent: "center",
56
- $width: "100%",
57
- $height: "100%",
58
- ref: o,
59
- children: [
60
- u && /* @__PURE__ */ e(
61
- N,
62
- {
63
- width: 1280,
64
- height: u,
65
- src: r,
66
- ref: t,
67
- onRender: L,
68
- settings: G
69
- }
70
- ),
71
- /* @__PURE__ */ n(
72
- D,
73
- {
74
- $width: 400,
75
- $height: 400,
76
- $background: "REAL_BLACK",
77
- $alignItems: "center",
78
- $justifyContent: "center",
79
- children: [
80
- l && /* @__PURE__ */ e(
81
- F,
82
- {
83
- radius: 200,
84
- strokeWidth: 2,
85
- color: "WHITE",
86
- targetAngle: l,
87
- mode: "fade",
88
- duration: 1
89
- }
90
- ),
91
- /* @__PURE__ */ n(K, { $isVisible: v, $width: "100%", children: [
92
- a && /* @__PURE__ */ n(M, { $gutterX: 3.5, children: [
93
- /* @__PURE__ */ e(V, { $renderAs: "ab2", $color: "WHITE", $align: "center", children: a }),
94
- /* @__PURE__ */ e(O, { heightX: 1 })
95
- ] }),
96
- /* @__PURE__ */ e(Y, { children: C })
97
- ] })
98
- ]
99
- }
100
- ),
101
- A && /* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(
102
- g,
103
- {
104
- Icon: P,
105
- renderAs: "secondary-dark",
106
- analyticsLabel: "Prev",
107
- onClick: y,
108
- disabled: s,
109
- size: "small"
110
- }
111
- ) }),
112
- x && /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(
113
- g,
114
- {
115
- size: "small",
116
- Icon: z,
117
- renderAs: "secondary-dark",
118
- analyticsLabel: "Next",
119
- onClick: I,
120
- busy: s
121
- }
122
- ) })
123
- ]
124
- }
125
- );
126
- }
127
- ), se = b(J);
128
- export {
129
- se as default
130
- };
131
- //# sourceMappingURL=circular-step-wrapper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"circular-step-wrapper.js","sources":["../../../../../src/features/auth/signup/circular-step-wrapper/circular-step-wrapper.tsx"],"sourcesContent":["import type { ILottieAnimationRef } from '../../../ui/lottie-animation/types';\nimport type { ICircularStepRef, ICircularStepWrapperProps } from './circular-step-wrapper-types';\n\nimport {\n forwardRef,\n useCallback,\n useEffect,\n useImperativeHandle,\n useLayoutEffect,\n useRef,\n useState,\n memo,\n type Ref,\n} from 'react';\n\nimport Back2Icon from '../../../../assets/line-icons/icons/back2';\nimport Next2Icon from '../../../../assets/line-icons/icons/next2';\nimport AnimatedArc from '../../../ui/animated-arc/animated-arc';\nimport IconButton from '../../../ui/buttons/icon-button/icon-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport LottieAnimation from '../../../ui/lottie-animation/lottie-animation';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport * as Styled from './circular-step-wrapper-styled';\n\nconst animationSettings = {\n autoplay: false,\n loop: false,\n renderer: 'canvas',\n rendererSettings: {\n preserveAspectRatio: 'xMidYMin slice',\n },\n};\n\nconst CircularStepWrapper = forwardRef<ICircularStepRef, ICircularStepWrapperProps>(\n (\n {\n children,\n onGoBack,\n onNext,\n label,\n showNext,\n showPrevious,\n animation,\n introFrames,\n outroFrames,\n isNextLoading,\n progressAngle,\n },\n ref: Ref<ICircularStepRef>,\n ) => {\n const animationRef = useRef<ILottieAnimationRef | null>(null);\n const containerRef = useRef<HTMLDivElement>(null);\n const [containerHeight, setContainerHeight] = useState<number | undefined>();\n const [showContent, setShowContent] = useState(false);\n const timeoutRef = useRef<NodeJS.Timeout | null>(null);\n\n const onLottieRender = useCallback(() => {\n if (animation && animationRef.current) {\n animationRef.current.playSegments(introFrames, true);\n setShowContent(true);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [animation]);\n\n useEffect(() => {\n return () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n };\n }, [animation]);\n\n useImperativeHandle(ref, () => ({\n playOutroAndFadeOut: async () => {\n return new Promise<void>(resolve => {\n const handleComplete = () => {\n resolve();\n animationRef.current?.removeEventListener('complete', handleComplete);\n };\n\n animationRef.current?.playSegments(outroFrames, true);\n timeoutRef.current = setTimeout(() => setShowContent(false), 400);\n animationRef.current?.addEventListener('complete', handleComplete);\n });\n },\n }));\n\n useLayoutEffect(() => {\n if (containerRef.current) {\n setContainerHeight(containerRef.current.offsetHeight);\n }\n }, []);\n\n return (\n <Styled.Container\n $flex={1}\n $flexDirection=\"column\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n ref={containerRef}\n >\n {containerHeight && (\n <LottieAnimation\n width={1280}\n height={containerHeight}\n src={animation}\n ref={animationRef}\n onRender={onLottieRender}\n settings={animationSettings}\n />\n )}\n <Styled.CircularStepContainer\n $width={400}\n $height={400}\n $background=\"REAL_BLACK\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n >\n {progressAngle && (\n <AnimatedArc\n radius={200}\n strokeWidth={2}\n color=\"WHITE\"\n targetAngle={progressAngle}\n mode=\"fade\"\n duration={1}\n />\n )}\n <Styled.ContentWrapper $isVisible={showContent} $width=\"100%\">\n {label && (\n <FlexView $gutterX={3.5}>\n <Text $renderAs=\"ab2\" $color=\"WHITE\" $align=\"center\">\n {label}\n </Text>\n <Separator heightX={1} />\n </FlexView>\n )}\n <Styled.InputContainer>{children}</Styled.InputContainer>\n </Styled.ContentWrapper>\n </Styled.CircularStepContainer>\n {showPrevious && (\n <Styled.PrevButtonWrapper>\n <IconButton\n Icon={Back2Icon}\n renderAs=\"secondary-dark\"\n analyticsLabel=\"Prev\"\n onClick={onGoBack}\n disabled={isNextLoading}\n size=\"small\"\n />\n </Styled.PrevButtonWrapper>\n )}\n {showNext && (\n <Styled.NextButtonWrapper>\n <IconButton\n size=\"small\"\n Icon={Next2Icon}\n renderAs=\"secondary-dark\"\n analyticsLabel=\"Next\"\n onClick={onNext}\n busy={isNextLoading}\n />\n </Styled.NextButtonWrapper>\n )}\n </Styled.Container>\n );\n },\n);\n\nexport default memo(CircularStepWrapper);\n"],"names":["animationSettings","CircularStepWrapper","forwardRef","children","onGoBack","onNext","label","showNext","showPrevious","animation","introFrames","outroFrames","isNextLoading","progressAngle","ref","animationRef","useRef","containerRef","containerHeight","setContainerHeight","useState","showContent","setShowContent","timeoutRef","onLottieRender","useCallback","useEffect","useImperativeHandle","resolve","handleComplete","_a","_b","useLayoutEffect","jsxs","Styled.Container","jsx","LottieAnimation","Styled.CircularStepContainer","AnimatedArc","Styled.ContentWrapper","FlexView","Text","Separator","Styled.InputContainer","Styled.PrevButtonWrapper","IconButton","Back2Icon","Styled.NextButtonWrapper","Next2Icon","circularStepWrapper","memo"],"mappings":";;;;;;;;;;;AAyBA,MAAMA,IAAoB;AAAA,EACxB,UAAU;AAAA,EACV,MAAM;AAAA,EACN,UAAU;AAAA,EACV,kBAAkB;AAAA,IAChB,qBAAqB;AAAA,EACvB;AACF,GAEMC,IAAsBC;AAAA,EAC1B,CACE;AAAA,IACE,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,QAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,aAAAC;AAAA,IACA,eAAAC;AAAA,IACA,eAAAC;AAAA,KAEFC,MACG;AACG,UAAAC,IAAeC,EAAmC,IAAI,GACtDC,IAAeD,EAAuB,IAAI,GAC1C,CAACE,GAAiBC,CAAkB,IAAIC,EAA6B,GACrE,CAACC,GAAaC,CAAc,IAAIF,EAAS,EAAK,GAC9CG,IAAaP,EAA8B,IAAI,GAE/CQ,IAAiBC,EAAY,MAAM;AACnC,MAAAhB,KAAaM,EAAa,YACfA,EAAA,QAAQ,aAAaL,GAAa,EAAI,GACnDY,EAAe,EAAI;AAAA,IACrB,GAEC,CAACb,CAAS,CAAC;AAEd,WAAAiB,EAAU,MACD,MAAM;AACX,MAAIH,EAAW,WACb,aAAaA,EAAW,OAAO;AAAA,IACjC,GAED,CAACd,CAAS,CAAC,GAEdkB,EAAoBb,GAAK,OAAO;AAAA,MAC9B,qBAAqB,YACZ,IAAI,QAAc,CAAWc,MAAA;;AAClC,cAAMC,IAAiB,MAAM;;AACnB,UAAAD,MACKE,IAAAf,EAAA,YAAA,QAAAe,EAAS,oBAAoB,YAAYD;AAAA,QAAc;AAGzD,SAAAC,IAAAf,EAAA,YAAA,QAAAe,EAAS,aAAanB,GAAa,KAChDY,EAAW,UAAU,WAAW,MAAMD,EAAe,EAAK,GAAG,GAAG,IACnDS,IAAAhB,EAAA,YAAA,QAAAgB,EAAS,iBAAiB,YAAYF;AAAA,MAAc,CAClE;AAAA,IAEH,EAAA,GAEFG,EAAgB,MAAM;AACpB,MAAIf,EAAa,WACIE,EAAAF,EAAa,QAAQ,YAAY;AAAA,IAExD,GAAG,CAAE,CAAA,GAGH,gBAAAgB;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,gBAAe;AAAA,QACf,aAAY;AAAA,QACZ,iBAAgB;AAAA,QAChB,QAAO;AAAA,QACP,SAAQ;AAAA,QACR,KAAKjB;AAAA,QAEJ,UAAA;AAAA,UACCC,KAAA,gBAAAiB;AAAA,YAACC;AAAA,YAAA;AAAA,cACC,OAAO;AAAA,cACP,QAAQlB;AAAA,cACR,KAAKT;AAAA,cACL,KAAKM;AAAA,cACL,UAAUS;AAAA,cACV,UAAUxB;AAAA,YAAA;AAAA,UACZ;AAAA,UAEF,gBAAAiC;AAAA,YAACI;AAAAA,YAAA;AAAA,cACC,QAAQ;AAAA,cACR,SAAS;AAAA,cACT,aAAY;AAAA,cACZ,aAAY;AAAA,cACZ,iBAAgB;AAAA,cAEf,UAAA;AAAA,gBACCxB,KAAA,gBAAAsB;AAAA,kBAACG;AAAA,kBAAA;AAAA,oBACC,QAAQ;AAAA,oBACR,aAAa;AAAA,oBACb,OAAM;AAAA,oBACN,aAAazB;AAAA,oBACb,MAAK;AAAA,oBACL,UAAU;AAAA,kBAAA;AAAA,gBACZ;AAAA,kCAED0B,GAAA,EAAsB,YAAYlB,GAAa,QAAO,QACpD,UAAA;AAAA,kBACCf,KAAA,gBAAA2B,EAACO,GAAS,EAAA,UAAU,KAClB,UAAA;AAAA,oBAAA,gBAAAL,EAACM,KAAK,WAAU,OAAM,QAAO,SAAQ,QAAO,UACzC,UACHnC,EAAA,CAAA;AAAA,oBACA,gBAAA6B,EAACO,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,kBAAA,GACzB;AAAA,kBAED,gBAAAP,EAAAQ,GAAA,EAAuB,UAAAxC,GAAS;AAAA,gBAAA,GACnC;AAAA,cAAA;AAAA,YAAA;AAAA,UACF;AAAA,UACCK,KACC,gBAAA2B,EAACS,GAAA,EACC,UAAA,gBAAAT;AAAA,YAACU;AAAA,YAAA;AAAA,cACC,MAAMC;AAAA,cACN,UAAS;AAAA,cACT,gBAAe;AAAA,cACf,SAAS1C;AAAA,cACT,UAAUQ;AAAA,cACV,MAAK;AAAA,YAAA;AAAA,UAAA,GAET;AAAA,UAEDL,KACC,gBAAA4B,EAACY,GAAA,EACC,UAAA,gBAAAZ;AAAA,YAACU;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,MAAMG;AAAA,cACN,UAAS;AAAA,cACT,gBAAe;AAAA,cACf,SAAS3C;AAAA,cACT,MAAMO;AAAA,YAAA;AAAA,UAAA,GAEV;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF,GAEeqC,KAAAC,EAAKjD,CAAmB;"}
@@ -1,53 +0,0 @@
1
- import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { memo as d } from "react";
3
- import { ILLUSTRATIONS as h } from "../../../../assets/illustrations/illustrations.js";
4
- import $ from "../../../ui/buttons/button/button.js";
5
- import f from "../../../ui/image/image.js";
6
- import i from "../../../ui/layout/flex-view.js";
7
- import o from "../../../ui/separator/separator.js";
8
- import t from "../../../ui/text/text.js";
9
- import u from "../../comps/overlay-loader/overlay-loader.js";
10
- import p from "../../user-list/user-list.js";
11
- const g = ({
12
- email: l,
13
- onSelectAccount: c,
14
- userAccounts: s,
15
- onCreateNewAccount: m,
16
- isCreatingAccount: n,
17
- isLoading: a
18
- }) => /* @__PURE__ */ r(i, { $flex: 1, $alignItems: "center", $justifyContent: "center", $width: "100%", $height: "100%", children: [
19
- /* @__PURE__ */ e(u, { isLoading: a }),
20
- /* @__PURE__ */ e(f, { src: h.CIRCLE_CUEMATH_LOGO_WHITE, alt: "Parent Signup", withLoader: !1 }),
21
- /* @__PURE__ */ e(o, { heightX: 1 }),
22
- /* @__PURE__ */ r(i, { children: [
23
- /* @__PURE__ */ r(t, { $renderAs: "ab1", $color: "WHITE", $align: "center", children: [
24
- "We found multiple profiles linked to",
25
- " ",
26
- /* @__PURE__ */ e(t, { $color: "WHITE", $inline: !0, $renderAs: "ab1-bold", children: l })
27
- ] }),
28
- /* @__PURE__ */ e(t, { $renderAs: "ab1", $color: "WHITE", $align: "center", children: "Which one would you like to proceed with?" })
29
- ] }),
30
- /* @__PURE__ */ e(o, { heightX: 5 }),
31
- /* @__PURE__ */ e(p, { users: s, onSelect: c }),
32
- /* @__PURE__ */ e(o, { heightX: 5 }),
33
- /* @__PURE__ */ r(i, { $alignItems: "center", $justifyContent: "center", children: [
34
- /* @__PURE__ */ e(t, { $renderAs: "ub2", $color: "WHITE", children: "Don't recognize these accounts?" }),
35
- /* @__PURE__ */ e(o, { heightX: 1 }),
36
- /* @__PURE__ */ e(
37
- $,
38
- {
39
- width: 232,
40
- size: "small",
41
- label: "Create new account",
42
- renderAs: "secondary-dark",
43
- onClick: m,
44
- busy: n,
45
- disabled: n
46
- }
47
- )
48
- ] })
49
- ] }), y = d(g);
50
- export {
51
- y as default
52
- };
53
- //# sourceMappingURL=claim-user-account.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"claim-user-account.js","sources":["../../../../../src/features/auth/signup/claim-user-account/claim-user-account.tsx"],"sourcesContent":["import type { IClaimUserAccountProps } from './claim-user-account-types';\n\nimport { memo } from 'react';\nimport { type FC } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Button from '../../../ui/buttons/button/button';\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 UserList from '../../user-list/user-list';\n\nconst ClaimUserAccount: FC<IClaimUserAccountProps> = ({\n email,\n onSelectAccount,\n userAccounts,\n onCreateNewAccount,\n isCreatingAccount,\n isLoading,\n}) => {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\" $width=\"100%\" $height=\"100%\">\n <OverlayLoader isLoading={isLoading} />\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Parent Signup\" withLoader={false} />\n <Separator heightX={1} />\n <FlexView>\n <Text $renderAs=\"ab1\" $color=\"WHITE\" $align=\"center\">\n We found multiple profiles linked to{' '}\n <Text $color=\"WHITE\" $inline $renderAs=\"ab1-bold\">\n {email}\n </Text>\n </Text>\n <Text $renderAs=\"ab1\" $color=\"WHITE\" $align=\"center\">\n Which one would you like to proceed with?\n </Text>\n </FlexView>\n <Separator heightX={5} />\n <UserList users={userAccounts} onSelect={onSelectAccount} />\n <Separator heightX={5} />\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <Text $renderAs=\"ub2\" $color=\"WHITE\">\n Don't recognize these accounts?\n </Text>\n <Separator heightX={1} />\n <Button\n width={232}\n size=\"small\"\n label=\"Create new account\"\n renderAs=\"secondary-dark\"\n onClick={onCreateNewAccount}\n busy={isCreatingAccount}\n disabled={isCreatingAccount}\n />\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(ClaimUserAccount);\n"],"names":["ClaimUserAccount","email","onSelectAccount","userAccounts","onCreateNewAccount","isCreatingAccount","isLoading","jsxs","FlexView","jsx","OverlayLoader","Image","ILLUSTRATIONS","Separator","Text","UserList","Button","claimUserAccount","memo"],"mappings":";;;;;;;;;;AAcA,MAAMA,IAA+C,CAAC;AAAA,EACpD,OAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,WAAAC;AACF,MAEI,gBAAAC,EAACC,GAAS,EAAA,OAAO,GAAG,aAAY,UAAS,iBAAgB,UAAS,QAAO,QAAO,SAAQ,QACtF,UAAA;AAAA,EAAA,gBAAAC,EAACC,KAAc,WAAAJ,GAAsB;AAAA,EACrC,gBAAAG,EAACE,KAAM,KAAKC,EAAc,2BAA2B,KAAI,iBAAgB,YAAY,IAAO;AAAA,EAC5F,gBAAAH,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,oBACtBL,GACC,EAAA,UAAA;AAAA,IAAA,gBAAAD,EAACO,KAAK,WAAU,OAAM,QAAO,SAAQ,QAAO,UAAS,UAAA;AAAA,MAAA;AAAA,MACd;AAAA,MACrC,gBAAAL,EAACK,KAAK,QAAO,SAAQ,SAAO,IAAC,WAAU,YACpC,UACHb,EAAA,CAAA;AAAA,IAAA,GACF;AAAA,IACA,gBAAAQ,EAACK,KAAK,WAAU,OAAM,QAAO,SAAQ,QAAO,UAAS,UAErD,4CAAA,CAAA;AAAA,EAAA,GACF;AAAA,EACA,gBAAAL,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACtB,gBAAAJ,EAAAM,GAAA,EAAS,OAAOZ,GAAc,UAAUD,GAAiB;AAAA,EAC1D,gBAAAO,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACtB,gBAAAN,EAAAC,GAAA,EAAS,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,IAAA,gBAAAC,EAACK,GAAK,EAAA,WAAU,OAAM,QAAO,SAAQ,UAErC,mCAAA;AAAA,IACA,gBAAAL,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,IACvB,gBAAAJ;AAAA,MAACO;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,MAAK;AAAA,QACL,OAAM;AAAA,QACN,UAAS;AAAA,QACT,SAASZ;AAAA,QACT,MAAMC;AAAA,QACN,UAAUA;AAAA,MAAA;AAAA,IACZ;AAAA,EAAA,GACF;AACF,EAAA,CAAA,GAIWY,IAAAC,EAAKlB,CAAgB;"}