@cuemath/leap 3.0.10-hg2 → 3.0.10-j

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 (409) hide show
  1. package/dist/assets/illustrations/illustrations.js +3 -0
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/illustrations/loader-1.svg.js +6 -0
  4. package/dist/assets/illustrations/loader-1.svg.js.map +1 -0
  5. package/dist/assets/line-icons/icons/apple-icon.js +48 -0
  6. package/dist/assets/line-icons/icons/apple-icon.js.map +1 -0
  7. package/dist/assets/line-icons/icons/google-icon.js +42 -0
  8. package/dist/assets/line-icons/icons/google-icon.js.map +1 -0
  9. package/dist/assets/lottie/lottie.js +11 -0
  10. package/dist/assets/lottie/lottie.js.map +1 -1
  11. package/dist/features/auth/account-selector/account-selector-styled.js +37 -0
  12. package/dist/features/auth/account-selector/account-selector-styled.js.map +1 -0
  13. package/dist/features/auth/account-selector/account-selector.js +90 -0
  14. package/dist/features/auth/account-selector/account-selector.js.map +1 -0
  15. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +12 -0
  16. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +1 -0
  17. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +11 -0
  18. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -0
  19. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +17 -0
  20. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +1 -0
  21. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +20 -0
  22. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +1 -0
  23. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +29 -0
  24. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +1 -0
  25. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +8 -0
  26. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +1 -0
  27. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +25 -0
  28. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +1 -0
  29. package/dist/features/auth/comps/resend-otp/resend-otp.js +47 -0
  30. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -0
  31. package/dist/features/auth/comps/tabs/tabs-styled.js +23 -0
  32. package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -0
  33. package/dist/features/auth/comps/tabs/tabs.js +23 -0
  34. package/dist/features/auth/comps/tabs/tabs.js.map +1 -0
  35. package/dist/features/auth/forgot-password/forgot-password-styled.js +12 -0
  36. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -0
  37. package/dist/features/auth/forgot-password/otp-form/otp-form.js +67 -0
  38. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +1 -0
  39. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +89 -0
  40. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +1 -0
  41. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +60 -0
  42. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +1 -0
  43. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +12 -0
  44. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -0
  45. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +88 -0
  46. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +1 -0
  47. package/dist/features/auth/login/login-constants.js +12 -0
  48. package/dist/features/auth/login/login-constants.js.map +1 -0
  49. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +31 -0
  50. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +1 -0
  51. package/dist/features/auth/login/social-login-methods/social-login-methods.js +46 -0
  52. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +1 -0
  53. package/dist/features/auth/login/username-password-form/username-password-form.js +87 -0
  54. package/dist/features/auth/login/username-password-form/username-password-form.js.map +1 -0
  55. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +56 -0
  56. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -0
  57. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +131 -0
  58. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -0
  59. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +27 -0
  60. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +1 -0
  61. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +76 -0
  62. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +1 -0
  63. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js +33 -0
  64. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js.map +1 -0
  65. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js +98 -0
  66. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js.map +1 -0
  67. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js +57 -0
  68. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js.map +1 -0
  69. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js +26 -0
  70. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js.map +1 -0
  71. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +30 -0
  72. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +1 -0
  73. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +93 -0
  74. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -0
  75. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +88 -0
  76. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +1 -0
  77. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +58 -0
  78. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +1 -0
  79. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +31 -0
  80. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +1 -0
  81. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +30 -0
  82. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +1 -0
  83. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +11 -0
  84. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +1 -0
  85. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +33 -0
  86. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -0
  87. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js +9 -0
  88. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js.map +1 -0
  89. package/dist/features/auth/signup/signup-constants.js +1031 -0
  90. package/dist/features/auth/signup/signup-constants.js.map +1 -0
  91. package/dist/features/auth/signup/signup-methods/signup-methods.js +68 -0
  92. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +1 -0
  93. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +19 -0
  94. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +1 -0
  95. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +62 -0
  96. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +1 -0
  97. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +24 -0
  98. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +1 -0
  99. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +87 -0
  100. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +1 -0
  101. package/dist/features/post-game-stats/digital-meter/digital-meter.js +40 -49
  102. package/dist/features/post-game-stats/digital-meter/digital-meter.js.map +1 -1
  103. package/dist/index.d.ts +278 -0
  104. package/dist/index.js +551 -505
  105. package/dist/index.js.map +1 -1
  106. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +332 -0
  107. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  108. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +370 -0
  109. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  110. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +252 -0
  111. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +1 -0
  112. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +24 -0
  113. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +1 -0
  114. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +192 -0
  115. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  116. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +19 -0
  117. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  118. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +129 -0
  119. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  120. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +129 -0
  121. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  122. package/dist/node_modules/clsx/dist/clsx.js +18 -0
  123. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  124. package/dist/node_modules/date-fns/subYears.js +9 -0
  125. package/dist/node_modules/date-fns/subYears.js.map +1 -0
  126. package/dist/node_modules/react-datepicker/dist/index.es.js +2700 -0
  127. package/dist/node_modules/react-datepicker/dist/index.es.js.map +1 -0
  128. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
  129. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
  130. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +8 -0
  131. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
  132. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +518 -0
  133. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
  134. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +60 -0
  135. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
  136. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +53 -0
  137. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
  138. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +19 -0
  139. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
  140. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +12 -0
  141. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
  142. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +21 -0
  143. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
  144. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +11 -0
  145. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +1 -0
  146. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +10 -0
  147. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +1 -0
  148. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +10 -0
  149. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +1 -0
  150. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +11 -0
  151. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +1 -0
  152. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +21 -0
  153. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +1 -0
  154. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +9 -0
  155. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +1 -0
  156. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +9 -0
  157. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +1 -0
  158. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +9 -0
  159. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +1 -0
  160. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +9 -0
  161. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +1 -0
  162. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +10 -0
  163. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +1 -0
  164. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +9 -0
  165. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +1 -0
  166. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +17 -0
  167. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
  168. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +14 -0
  169. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +1 -0
  170. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +15 -0
  171. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +1 -0
  172. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +14 -0
  173. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +1 -0
  174. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +23 -0
  175. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +1 -0
  176. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +10 -0
  177. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +1 -0
  178. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +10 -0
  179. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +1 -0
  180. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +12 -0
  181. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +1 -0
  182. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +10 -0
  183. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +1 -0
  184. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +60 -0
  185. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +1 -0
  186. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +9 -0
  187. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +1 -0
  188. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +9 -0
  189. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +1 -0
  190. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +12 -0
  191. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +1 -0
  192. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +11 -0
  193. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +1 -0
  194. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +9 -0
  195. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +1 -0
  196. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +9 -0
  197. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +1 -0
  198. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +10 -0
  199. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +1 -0
  200. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +13 -0
  201. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +1 -0
  202. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +16 -0
  203. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +1 -0
  204. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +9 -0
  205. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +1 -0
  206. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +9 -0
  207. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +1 -0
  208. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +10 -0
  209. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +1 -0
  210. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +9 -0
  211. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +1 -0
  212. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +9 -0
  213. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +1 -0
  214. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +13 -0
  215. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +1 -0
  216. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +18 -0
  217. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +1 -0
  218. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +9 -0
  219. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +1 -0
  220. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +9 -0
  221. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +1 -0
  222. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +9 -0
  223. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +1 -0
  224. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +8 -0
  225. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +1 -0
  226. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +9 -0
  227. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +1 -0
  228. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +15 -0
  229. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +1 -0
  230. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +14 -0
  231. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +1 -0
  232. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +15 -0
  233. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +1 -0
  234. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +14 -0
  235. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +1 -0
  236. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +10 -0
  237. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +1 -0
  238. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +13 -0
  239. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +1 -0
  240. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
  241. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
  242. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
  243. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
  244. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +32 -0
  245. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
  246. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
  247. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
  248. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
  249. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
  250. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
  251. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
  252. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
  253. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
  254. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +156 -0
  255. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
  256. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +111 -0
  257. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
  258. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +22 -0
  259. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +1 -0
  260. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +15 -0
  261. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +1 -0
  262. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +15 -0
  263. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +1 -0
  264. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +23 -0
  265. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +1 -0
  266. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +42 -0
  267. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +1 -0
  268. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +50 -0
  269. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +1 -0
  270. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +50 -0
  271. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +1 -0
  272. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +50 -0
  273. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +1 -0
  274. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +62 -0
  275. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +1 -0
  276. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
  277. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +1 -0
  278. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +46 -0
  279. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +1 -0
  280. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +50 -0
  281. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +1 -0
  282. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +31 -0
  283. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +1 -0
  284. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +22 -0
  285. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +1 -0
  286. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +23 -0
  287. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +1 -0
  288. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +33 -0
  289. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +1 -0
  290. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +33 -0
  291. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +1 -0
  292. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +34 -0
  293. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +1 -0
  294. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
  295. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +1 -0
  296. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +100 -0
  297. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +1 -0
  298. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +49 -0
  299. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +1 -0
  300. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +49 -0
  301. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +1 -0
  302. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +50 -0
  303. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +1 -0
  304. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +41 -0
  305. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +1 -0
  306. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +75 -0
  307. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +1 -0
  308. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +49 -0
  309. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +1 -0
  310. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +70 -0
  311. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +1 -0
  312. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +33 -0
  313. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +1 -0
  314. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +72 -0
  315. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +1 -0
  316. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +71 -0
  317. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +1 -0
  318. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +33 -0
  319. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +1 -0
  320. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +75 -0
  321. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +1 -0
  322. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +72 -0
  323. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +1 -0
  324. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
  325. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +1 -0
  326. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +23 -0
  327. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +1 -0
  328. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +23 -0
  329. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +1 -0
  330. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +50 -0
  331. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +1 -0
  332. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +68 -0
  333. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +1 -0
  334. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +104 -0
  335. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +1 -0
  336. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +88 -0
  337. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +1 -0
  338. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +123 -0
  339. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +1 -0
  340. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +13 -0
  341. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +1 -0
  342. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +10 -0
  343. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +1 -0
  344. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +12 -0
  345. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +1 -0
  346. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +11 -0
  347. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +1 -0
  348. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +10 -0
  349. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +1 -0
  350. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +14 -0
  351. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +1 -0
  352. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +11 -0
  353. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +1 -0
  354. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +10 -0
  355. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +1 -0
  356. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +11 -0
  357. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +1 -0
  358. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +11 -0
  359. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +1 -0
  360. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +10 -0
  361. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +1 -0
  362. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +9 -0
  363. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +1 -0
  364. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +12 -0
  365. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
  366. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +10 -0
  367. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +1 -0
  368. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +10 -0
  369. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +1 -0
  370. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +12 -0
  371. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +1 -0
  372. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +14 -0
  373. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +1 -0
  374. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +10 -0
  375. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +1 -0
  376. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +9 -0
  377. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +1 -0
  378. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +9 -0
  379. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +1 -0
  380. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +9 -0
  381. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +1 -0
  382. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +9 -0
  383. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +1 -0
  384. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +9 -0
  385. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +1 -0
  386. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +9 -0
  387. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +1 -0
  388. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +19 -0
  389. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +1 -0
  390. package/dist/static/avatar-selected.860ee923.json +1 -0
  391. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +1 -0
  392. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +1 -0
  393. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  394. package/dist/static/dob.9ce3c15b.json +1 -0
  395. package/dist/static/error.cbe1ddde.json +1 -0
  396. package/dist/static/grade.b3730524.json +1 -0
  397. package/dist/static/key.d6846476.json +1 -0
  398. package/dist/static/mail.c30e8708.json +1 -0
  399. package/dist/static/otp.2d08f874.json +1 -0
  400. package/dist/static/otp.a3029760.json +1 -0
  401. package/dist/static/parent-avatar.772d53e0.json +1 -0
  402. package/dist/static/phone-number.0be312ea.json +1 -0
  403. package/dist/static/phone-number.84f55562.json +1 -0
  404. package/dist/static/student-avatar.524226bd.json +1 -0
  405. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +1 -0
  406. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +1 -0
  407. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +1 -0
  408. package/dist/static/username.9e034d51.json +1 -0
  409. package/package.json +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"digital-meter.js","sources":["../../../../src/features/post-game-stats/digital-meter/digital-meter.tsx"],"sourcesContent":["import type { IDigitalMeterProps } from './digital-meter-types';\nimport type { FC } from 'react';\n\nimport React, { memo, useCallback, useEffect, useState } from 'react';\n\nimport { LOTTIE } from '../../../assets/lottie/lottie';\nimport {\n GAME_LAUNCHER_SIZE,\n GAME_LAUNCHER_SIZE_LARGE,\n} from '../../circle-games/game-launcher/comps/card-container/constants';\nimport { useCircleSounds } from '../../circle-games/hooks/use-circle-sounds/use-circle-sounds';\nimport { CircleSoundKey } from '../../circle-games/hooks/use-circle-sounds/use-circle-sounds-enums';\nimport AnimatedArc from '../../ui/animated-arc/animated-arc';\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 { NumberCountAnimation } from '../number-count-animation/number-count-animation';\nimport {\n ANIMATED_ARC_START_ANGLE,\n ARC_RADIUS,\n PROGRESS_FILL_DELAY,\n PROGRESS_FILL_DURATION,\n STROKE_WIDTH,\n TARGET_ACHIEVED_DELAY,\n TOTAL_ANIMATION_DURATION,\n TOTAL_ARC_AVAILABLE,\n} from './constants';\nimport * as Styled from './digital-meter-styled';\n\nconst settings = {\n renderer: 'canvas',\n};\n\nexport const DigitalMeter: FC<IDigitalMeterProps> = memo(\n ({\n show,\n value,\n maxValue,\n targetValue = 0,\n displayText,\n progressType,\n helperTextPrimary,\n helperTextSecondary,\n onComplete,\n actAsTimer,\n }) => {\n const [isTargetAchieved, setIsTargetAchieved] = useState(false);\n const { play } = useCircleSounds();\n\n const isTargetValueAchieved = useCallback(\n (valueToCompare: number) => {\n if (targetValue) {\n if (actAsTimer) {\n return valueToCompare <= targetValue;\n }\n\n return valueToCompare >= targetValue;\n }\n\n return false;\n },\n [targetValue, actAsTimer],\n );\n\n useEffect(() => {\n let timer: ReturnType<typeof setTimeout>;\n let timerForAnimationComplete: ReturnType<typeof setTimeout>;\n const isTargetAchievedFlag = isTargetValueAchieved(value);\n\n if (show) {\n play(actAsTimer ? CircleSoundKey.TIME_INTRO : CircleSoundKey.ACCURACY_INTRO);\n play(CircleSoundKey.METER_FILL);\n if (isTargetAchievedFlag) {\n timer = setTimeout(() => {\n play(actAsTimer ? CircleSoundKey.TIME_TARGET : CircleSoundKey.ACCURACY_TARGET);\n setIsTargetAchieved(true);\n }, TARGET_ACHIEVED_DELAY * 1000);\n }\n\n const timeToFinishAnimation = isTargetAchievedFlag\n ? TOTAL_ANIMATION_DURATION\n : TARGET_ACHIEVED_DELAY;\n\n timerForAnimationComplete = setTimeout(() => {\n onComplete();\n }, timeToFinishAnimation * 1000);\n }\n\n return () => {\n timer && clearTimeout(timer);\n timerForAnimationComplete && clearTimeout(timerForAnimationComplete);\n };\n }, [show, value, onComplete, isTargetValueAchieved, actAsTimer, play]);\n\n if (!show) return null;\n\n return (\n <Styled.DigitalMeter $isTargetAchieved={isTargetAchieved}>\n {/* complete arc area to be filled */}\n <AnimatedArc\n targetAngle={TOTAL_ARC_AVAILABLE}\n strokeWidth={STROKE_WIDTH}\n color=\"BLACK_5\"\n radius={ARC_RADIUS}\n duration={0}\n startAngle={-ANIMATED_ARC_START_ANGLE}\n />\n\n {/* center area for the content */}\n <Styled.ContentContainer>\n <FlexView $flexDirection=\"column\" $alignItems=\"center\">\n <FlexView $flexDirection=\"row\" $alignItems=\"flex-end\">\n <Styled.NumberCountContainer>\n <Styled.RainboxColorText\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah1' : 'ah2'}\n $color=\"GREEN_4\"\n $isTargetAchieved={isTargetAchieved}\n >\n <NumberCountAnimation\n initialValue={0}\n targetValue={Math.floor(value)}\n durationInSec={PROGRESS_FILL_DURATION}\n delayInSec={PROGRESS_FILL_DELAY}\n />\n </Styled.RainboxColorText>\n </Styled.NumberCountContainer>\n {progressType === 'stepper' && (\n <Text\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah4' : 'ab1'}\n $color=\"WHITE\"\n >\n /{maxValue}\n </Text>\n )}\n </FlexView>\n <Separator height={8} />\n <Text\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color=\"WHITE_T_60\"\n >\n {displayText}\n </Text>\n </FlexView>\n </Styled.ContentContainer>\n\n {/* stepper animation */}\n {progressType === 'stepper' &&\n Array.from({ length: value }, (_, index) => {\n const arcLength = TOTAL_ARC_AVAILABLE / maxValue;\n\n return (\n <AnimatedArc\n key={index}\n startAngle={-ANIMATED_ARC_START_ANGLE + arcLength * index}\n targetAngle={arcLength}\n strokeWidth={STROKE_WIDTH}\n color=\"GREEN_4\"\n radius={ARC_RADIUS}\n mode=\"fade\"\n duration={PROGRESS_FILL_DURATION / maxValue}\n delay={PROGRESS_FILL_DELAY + (PROGRESS_FILL_DURATION / maxValue) * index}\n showAnimatedRainbowArc={isTargetAchieved}\n />\n );\n })}\n\n {/* numbers with markings */}\n {progressType === 'stepper' &&\n Array.from({ length: maxValue + 1 }, (_, index) => {\n const arcLength = TOTAL_ARC_AVAILABLE / maxValue;\n\n return (\n <React.Fragment key={index}>\n <Styled.LineMarking $angle={arcLength * index} />\n <Styled.MarkingContainer key={index} $angle={arcLength * index}>\n <Styled.MarkingText $angle={arcLength * index}>\n <Styled.RainboxColorText\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color={targetValue && targetValue === index ? 'GREEN_4' : 'WHITE_T_60'}\n $isTargetAchieved={\n targetValue === index && isTargetValueAchieved(index) && isTargetAchieved\n }\n >\n {index}\n </Styled.RainboxColorText>\n </Styled.MarkingText>\n </Styled.MarkingContainer>\n </React.Fragment>\n );\n })}\n\n {/* progress of linear */}\n {progressType === 'linear' && (\n <>\n <AnimatedArc\n targetAngle={(value * TOTAL_ARC_AVAILABLE) / maxValue}\n strokeWidth={STROKE_WIDTH}\n color=\"GREEN_4\"\n radius={ARC_RADIUS}\n duration={PROGRESS_FILL_DURATION}\n delay={PROGRESS_FILL_DELAY}\n showAnimatedRainbowArc={isTargetAchieved}\n startAngle={-ANIMATED_ARC_START_ANGLE}\n />\n <>\n {/* target line marking */}\n {targetValue && (\n <Styled.LineMarking $angle={(targetValue * TOTAL_ARC_AVAILABLE) / maxValue} />\n )}\n\n {/* all markings */}\n {Array.from(new Set([0, targetValue, maxValue])).map((val, index) => (\n <Styled.MarkingContainer\n key={index}\n $angle={(val * TOTAL_ARC_AVAILABLE) / maxValue}\n >\n <Styled.MarkingText $angle={(val * TOTAL_ARC_AVAILABLE) / maxValue}>\n <Styled.RainboxColorText\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color={targetValue && targetValue === val ? 'GREEN_4' : 'WHITE_T_60'}\n $isTargetAchieved={\n targetValue === val && isTargetAchieved && isTargetValueAchieved(val)\n }\n >\n {val}\n </Styled.RainboxColorText>\n </Styled.MarkingText>\n </Styled.MarkingContainer>\n ))}\n </>\n </>\n )}\n\n {/* helper text below the animation */}\n {isTargetAchieved && (\n <Styled.BottomAbsoluteView top={GAME_LAUNCHER_SIZE}>\n <LottieAnimation\n src={LOTTIE.TARGET_ACHIEVED_TEXT}\n settings={settings}\n width={GAME_LAUNCHER_SIZE * 0.6}\n />\n </Styled.BottomAbsoluteView>\n )}\n {!isTargetAchieved && (\n <Styled.BottomAbsoluteView top={GAME_LAUNCHER_SIZE}>\n <Separator height={25} />\n <FlexView $flexDirection=\"column\" $alignItems=\"center\">\n <Styled.HelperTextPrimary\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color=\"WHITE_T_60\"\n >\n {helperTextPrimary}\n <Separator height={GAME_LAUNCHER_SIZE * 0.03} />\n </Styled.HelperTextPrimary>\n <Styled.HelperTextSecondary\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah4' : 'ab1'}\n $color=\"WHITE\"\n >\n {helperTextSecondary}\n </Styled.HelperTextSecondary>\n </FlexView>\n </Styled.BottomAbsoluteView>\n )}\n </Styled.DigitalMeter>\n );\n },\n);\n"],"names":["settings","DigitalMeter","memo","show","value","maxValue","targetValue","displayText","progressType","helperTextPrimary","helperTextSecondary","onComplete","actAsTimer","isTargetAchieved","setIsTargetAchieved","useState","play","useCircleSounds","isTargetValueAchieved","useCallback","valueToCompare","useEffect","timer","timerForAnimationComplete","isTargetAchievedFlag","CircleSoundKey","TARGET_ACHIEVED_DELAY","TOTAL_ANIMATION_DURATION","jsxs","Styled.DigitalMeter","jsx","AnimatedArc","TOTAL_ARC_AVAILABLE","STROKE_WIDTH","ARC_RADIUS","ANIMATED_ARC_START_ANGLE","Styled.ContentContainer","FlexView","Styled.NumberCountContainer","Styled.RainboxColorText","GAME_LAUNCHER_SIZE","GAME_LAUNCHER_SIZE_LARGE","NumberCountAnimation","PROGRESS_FILL_DURATION","PROGRESS_FILL_DELAY","Text","Separator","_","index","arcLength","React","Styled.LineMarking","Styled.MarkingContainer","Styled.MarkingText","Fragment","val","Styled.BottomAbsoluteView","LottieAnimation","LOTTIE","Styled.HelperTextPrimary","Styled.HelperTextSecondary"],"mappings":";;;;;;;;;;;;;;AA8BA,MAAMA,KAAW;AAAA,EACf,UAAU;AACZ,GAEaC,KAAuCC;AAAA,EAClD,CAAC;AAAA,IACC,MAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,aAAAC,IAAc;AAAA,IACd,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,YAAAC;AAAA,EAAA,MACI;AACJ,UAAM,CAACC,GAAkBC,CAAmB,IAAI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AAAA,MAAA,GACF;AAAA,IAEJ,EAAA,CAAA,IAjLgB;AAAA,EAmLpB;AACF;"}
1
+ {"version":3,"file":"digital-meter.js","sources":["../../../../src/features/post-game-stats/digital-meter/digital-meter.tsx"],"sourcesContent":["import type { IDigitalMeterProps } from './digital-meter-types';\nimport type { FC } from 'react';\n\nimport React, { memo, useCallback, useEffect, useState } from 'react';\n\nimport { LOTTIE } from '../../../assets/lottie/lottie';\nimport {\n GAME_LAUNCHER_SIZE,\n GAME_LAUNCHER_SIZE_LARGE,\n} from '../../circle-games/game-launcher/comps/card-container/constants';\nimport { useCircleSounds } from '../../circle-games/hooks/use-circle-sounds/use-circle-sounds';\nimport { CircleSoundKey } from '../../circle-games/hooks/use-circle-sounds/use-circle-sounds-enums';\nimport AnimatedArc from '../../ui/animated-arc/animated-arc';\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 { NumberCountAnimation } from '../number-count-animation/number-count-animation';\nimport {\n ANIMATED_ARC_START_ANGLE,\n ARC_RADIUS,\n PROGRESS_FILL_DELAY,\n PROGRESS_FILL_DURATION,\n STROKE_WIDTH,\n TARGET_ACHIEVED_DELAY,\n TOTAL_ANIMATION_DURATION,\n TOTAL_ARC_AVAILABLE,\n} from './constants';\nimport * as Styled from './digital-meter-styled';\n\nexport const DigitalMeter: FC<IDigitalMeterProps> = memo(\n ({\n show,\n value,\n maxValue,\n targetValue = 0,\n displayText,\n progressType,\n helperTextPrimary,\n helperTextSecondary,\n onComplete,\n actAsTimer,\n }) => {\n const [isTargetAchieved, setIsTargetAchieved] = useState(false);\n const { play } = useCircleSounds();\n\n const isTargetValueAchieved = useCallback(\n (valueToCompare: number) => {\n if (targetValue) {\n if (actAsTimer) {\n return valueToCompare <= targetValue;\n }\n\n return valueToCompare >= targetValue;\n }\n\n return false;\n },\n [targetValue, actAsTimer],\n );\n\n useEffect(() => {\n let timer: ReturnType<typeof setTimeout>;\n let timerForAnimationComplete: ReturnType<typeof setTimeout>;\n const isTargetAchievedFlag = isTargetValueAchieved(value);\n\n if (show) {\n play(actAsTimer ? CircleSoundKey.TIME_INTRO : CircleSoundKey.ACCURACY_INTRO);\n play(CircleSoundKey.METER_FILL);\n if (isTargetAchievedFlag) {\n timer = setTimeout(() => {\n play(actAsTimer ? CircleSoundKey.TIME_TARGET : CircleSoundKey.ACCURACY_TARGET);\n setIsTargetAchieved(true);\n }, TARGET_ACHIEVED_DELAY * 1000);\n }\n\n const timeToFinishAnimation = isTargetAchievedFlag\n ? TOTAL_ANIMATION_DURATION\n : TARGET_ACHIEVED_DELAY;\n\n timerForAnimationComplete = setTimeout(() => {\n onComplete();\n }, timeToFinishAnimation * 1000);\n }\n\n return () => {\n timer && clearTimeout(timer);\n timerForAnimationComplete && clearTimeout(timerForAnimationComplete);\n };\n }, [show, value, onComplete, isTargetValueAchieved, actAsTimer, play]);\n\n if (!show) return null;\n\n return (\n <Styled.DigitalMeter $isTargetAchieved={isTargetAchieved}>\n {/* complete arc area to be filled */}\n <AnimatedArc\n targetAngle={TOTAL_ARC_AVAILABLE}\n strokeWidth={STROKE_WIDTH}\n color=\"BLACK_5\"\n radius={ARC_RADIUS}\n duration={0}\n startAngle={-ANIMATED_ARC_START_ANGLE}\n />\n\n {/* center area for the content */}\n <Styled.ContentContainer>\n <FlexView $flexDirection=\"column\" $alignItems=\"center\">\n <FlexView $flexDirection=\"row\" $alignItems=\"flex-end\">\n <Styled.NumberCountContainer>\n <Styled.RainboxColorText\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah1' : 'ah2'}\n $color=\"GREEN_4\"\n $isTargetAchieved={isTargetAchieved}\n >\n <NumberCountAnimation\n initialValue={0}\n targetValue={Math.floor(value)}\n durationInSec={PROGRESS_FILL_DURATION}\n delayInSec={PROGRESS_FILL_DELAY}\n />\n </Styled.RainboxColorText>\n </Styled.NumberCountContainer>\n {progressType === 'stepper' && (\n <Text\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah4' : 'ab1'}\n $color=\"WHITE\"\n >\n /{maxValue}\n </Text>\n )}\n </FlexView>\n <Separator height={8} />\n <Text\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color=\"WHITE_T_60\"\n >\n {displayText}\n </Text>\n </FlexView>\n </Styled.ContentContainer>\n\n {/* stepper animation */}\n {progressType === 'stepper' &&\n Array.from({ length: value }, (_, index) => {\n const arcLength = TOTAL_ARC_AVAILABLE / maxValue;\n\n return (\n <AnimatedArc\n key={index}\n startAngle={-ANIMATED_ARC_START_ANGLE + arcLength * index}\n targetAngle={arcLength}\n strokeWidth={STROKE_WIDTH}\n color=\"GREEN_4\"\n radius={ARC_RADIUS}\n mode=\"fade\"\n duration={PROGRESS_FILL_DURATION / maxValue}\n delay={PROGRESS_FILL_DELAY + (PROGRESS_FILL_DURATION / maxValue) * index}\n showAnimatedRainbowArc={isTargetAchieved}\n />\n );\n })}\n\n {/* numbers with markings */}\n {progressType === 'stepper' &&\n Array.from({ length: maxValue + 1 }, (_, index) => {\n const arcLength = TOTAL_ARC_AVAILABLE / maxValue;\n\n return (\n <React.Fragment key={index}>\n <Styled.LineMarking $angle={arcLength * index} />\n <Styled.MarkingContainer key={index} $angle={arcLength * index}>\n <Styled.MarkingText $angle={arcLength * index}>\n <Styled.RainboxColorText\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color={targetValue && targetValue === index ? 'GREEN_4' : 'WHITE_T_60'}\n $isTargetAchieved={\n targetValue === index && isTargetValueAchieved(index) && isTargetAchieved\n }\n >\n {index}\n </Styled.RainboxColorText>\n </Styled.MarkingText>\n </Styled.MarkingContainer>\n </React.Fragment>\n );\n })}\n\n {/* progress of linear */}\n {progressType === 'linear' && (\n <>\n <AnimatedArc\n targetAngle={(value * TOTAL_ARC_AVAILABLE) / maxValue}\n strokeWidth={STROKE_WIDTH}\n color=\"GREEN_4\"\n radius={ARC_RADIUS}\n duration={PROGRESS_FILL_DURATION}\n delay={PROGRESS_FILL_DELAY}\n showAnimatedRainbowArc={isTargetAchieved}\n startAngle={-ANIMATED_ARC_START_ANGLE}\n />\n <>\n {/* target line marking */}\n {targetValue && (\n <Styled.LineMarking $angle={(targetValue * TOTAL_ARC_AVAILABLE) / maxValue} />\n )}\n\n {/* all markings */}\n {Array.from(new Set([0, targetValue, maxValue])).map((val, index) => (\n <Styled.MarkingContainer\n key={index}\n $angle={(val * TOTAL_ARC_AVAILABLE) / maxValue}\n >\n <Styled.MarkingText $angle={(val * TOTAL_ARC_AVAILABLE) / maxValue}>\n <Styled.RainboxColorText\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color={targetValue && targetValue === val ? 'GREEN_4' : 'WHITE_T_60'}\n $isTargetAchieved={\n targetValue === val && isTargetAchieved && isTargetValueAchieved(val)\n }\n >\n {val}\n </Styled.RainboxColorText>\n </Styled.MarkingText>\n </Styled.MarkingContainer>\n ))}\n </>\n </>\n )}\n\n {/* helper text below the animation */}\n {isTargetAchieved && (\n <Styled.BottomAbsoluteView top={GAME_LAUNCHER_SIZE}>\n <LottieAnimation src={LOTTIE.TARGET_ACHIEVED_TEXT} />\n </Styled.BottomAbsoluteView>\n )}\n {!isTargetAchieved && (\n <Styled.BottomAbsoluteView top={GAME_LAUNCHER_SIZE}>\n <Separator height={25} />\n <FlexView $flexDirection=\"column\" $alignItems=\"center\">\n <Styled.HelperTextPrimary\n $renderAs={\n GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ac3-black' : 'ac4-black'\n }\n $color=\"WHITE_T_60\"\n >\n {helperTextPrimary}\n <Separator height={GAME_LAUNCHER_SIZE * 0.03} />\n </Styled.HelperTextPrimary>\n <Styled.HelperTextSecondary\n $renderAs={GAME_LAUNCHER_SIZE === GAME_LAUNCHER_SIZE_LARGE ? 'ah4' : 'ab1'}\n $color=\"WHITE\"\n >\n {helperTextSecondary}\n </Styled.HelperTextSecondary>\n </FlexView>\n </Styled.BottomAbsoluteView>\n )}\n </Styled.DigitalMeter>\n );\n },\n);\n"],"names":["DigitalMeter","memo","show","value","maxValue","targetValue","displayText","progressType","helperTextPrimary","helperTextSecondary","onComplete","actAsTimer","isTargetAchieved","setIsTargetAchieved","useState","play","useCircleSounds","isTargetValueAchieved","useCallback","valueToCompare","useEffect","timer","timerForAnimationComplete","isTargetAchievedFlag","CircleSoundKey","TARGET_ACHIEVED_DELAY","TOTAL_ANIMATION_DURATION","jsxs","Styled.DigitalMeter","jsx","AnimatedArc","TOTAL_ARC_AVAILABLE","STROKE_WIDTH","ARC_RADIUS","ANIMATED_ARC_START_ANGLE","Styled.ContentContainer","FlexView","Styled.NumberCountContainer","Styled.RainboxColorText","GAME_LAUNCHER_SIZE","GAME_LAUNCHER_SIZE_LARGE","NumberCountAnimation","PROGRESS_FILL_DURATION","PROGRESS_FILL_DELAY","Text","Separator","_","index","arcLength","React","Styled.LineMarking","Styled.MarkingContainer","Styled.MarkingText","Fragment","val","Styled.BottomAbsoluteView","LottieAnimation","LOTTIE","Styled.HelperTextPrimary","Styled.HelperTextSecondary"],"mappings":";;;;;;;;;;;;;;AA8BO,MAAMA,KAAuCC;AAAA,EAClD,CAAC;AAAA,IACC,MAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,aAAAC,IAAc;AAAA,IACd,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,YAAAC;AAAA,EAAA,MACI;AACJ,UAAM,CAACC,GAAkBC,CAAmB,IAAIC,EAAS,EAAK,GACxD,EAAE,MAAAC,MAASC,KAE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@ import type { DefaultTheme } from 'styled-components';
7
7
  import { DetailedHTMLProps } from 'react';
8
8
  import type { Dispatch } from 'react';
9
9
  import { FC } from 'react';
10
+ import type { FormEvent } from 'react';
10
11
  import { ForwardRefExoticComponent } from 'react';
11
12
  import { HTMLAttributes } from 'react';
12
13
  import { IChannelMessage } from '@cuemath/cue-message-broker';
@@ -40,6 +41,8 @@ import { Substitute } from 'styled-components/dist/types';
40
41
  */
41
42
  export declare const AccordionSection: FC<IAccordionSectionProps>;
42
43
 
44
+ export declare const AccountSelector: ({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX_2.Element;
45
+
43
46
  export declare const ACHIEVEMENT_ACTIONS: {
44
47
  SHARE: string;
45
48
  NOT_SHARE_CHOSEN: string;
@@ -61,6 +64,22 @@ export declare const ArcButton: MemoExoticComponent<ForwardRefExoticComponent<IA
61
64
 
62
65
  export declare const ArrowTooltip: FC<IArrowTooltipProps>;
63
66
 
67
+ export declare const AUTH_TABS: ITabConfig<TAuthTabKeys>;
68
+
69
+ export declare const AuthApiErrorCode: {
70
+ readonly USER_NOT_FOUND: 8000;
71
+ readonly INVALID_PASSWORD: 8001;
72
+ readonly MULTIPLE_USERS_FOUND: 8002;
73
+ readonly ACCESS_TOKEN_FAILURE: 8003;
74
+ readonly INVALID_ACCESS_TOKEN: 8004;
75
+ readonly INVALID_USERNAME_OR_USER_ALREADY_EXIST: 8005;
76
+ readonly SOCIAL_SIGNUP_EMAIL_MISSING: 8006;
77
+ };
78
+
79
+ export declare const AuthPageLayout: FC<IAuthPageLayoutProps>;
80
+
81
+ export declare const AuthStaticPanel: FC<IAuthStaticPanelProps>;
82
+
64
83
  export declare const AutoPlayPermissionProvider: FC<{
65
84
  children: ReactNode;
66
85
  }>;
@@ -231,6 +250,10 @@ export declare const CircularLoader: () => JSX_2.Element;
231
250
 
232
251
  export declare const CircularSteps: FC<ICircularStepsProps>;
233
252
 
253
+ export declare const CircularStepWrapper: ForwardRefExoticComponent<ICircularStepWrapperProps & RefAttributes<ICircularStepRef>>;
254
+
255
+ export declare const ClaimUserAccount: NamedExoticComponent<IClaimUserAccountProps>;
256
+
234
257
  export declare const Clickable: React_2.FC<IClickableProps>;
235
258
 
236
259
  export declare const ClipboardIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -279,8 +302,12 @@ export declare const CuemathLogo: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
279
302
 
280
303
  export declare const CueRocket: React.FC<React.SVGProps<SVGSVGElement>>;
281
304
 
305
+ export declare const CustomInputField: FC<ICustomInputFieldProps>;
306
+
282
307
  export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
283
308
 
309
+ export declare const DatePickerInput: FC<IDatePickerInputProps>;
310
+
284
311
  export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
285
312
 
286
313
  export declare const DigitalMeter: FC<IDigitalMeterProps>;
@@ -487,6 +514,8 @@ export declare const GoalEdit: React.FC<IMileStoneEditContainerProps>;
487
514
 
488
515
  export declare const GooglePlacesSearchInput: ComponentType<Omit_2<IGooglePlacesSearchInputProps, IProvidedProps>>;
489
516
 
517
+ export declare const GradeInput: FC<ICustomInputFieldProps>;
518
+
490
519
  export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size, layoutAlignment, }: IGradeSelectorProps): JSX.Element;
491
520
 
492
521
  export declare const HandIcon: React_2.FC;
@@ -523,6 +552,17 @@ declare interface IAccordionSectionProps {
523
552
  bodyOverFlow?: TStyleAttrubutes['overflow'];
524
553
  }
525
554
 
555
+ declare interface IAccountSelectorViewProps {
556
+ userAccounts: {
557
+ id: string;
558
+ username: string;
559
+ user_avatar?: IAvatarLayer[] | null;
560
+ }[];
561
+ onSelect: (accountId: string) => void;
562
+ onAddNew: () => void;
563
+ isLoading: boolean;
564
+ }
565
+
526
566
  declare interface IAchievementConfig {
527
567
  pollingInterval?: number;
528
568
  maxPollingAttempts?: number;
@@ -589,6 +629,17 @@ declare interface IAttempt {
589
629
  score: ILearnosityQuestionScore;
590
630
  }
591
631
 
632
+ declare interface IAuthPageLayoutProps {
633
+ leftBlock: ReactNode;
634
+ rightBlock?: ReactNode;
635
+ isFullWidth?: boolean;
636
+ }
637
+
638
+ declare interface IAuthStaticPanelProps {
639
+ title?: string;
640
+ description?: string;
641
+ }
642
+
592
643
  declare interface IAutoPlayPermissionContextType {
593
644
  canAutoPlayAudio: boolean;
594
645
  canAutoPlayVideo: boolean;
@@ -965,6 +1016,10 @@ export declare interface ICircleHomeDetails {
965
1016
  timestamps: ITodaysContentTimeStamps;
966
1017
  }
967
1018
 
1019
+ export declare type ICircularStepRef = {
1020
+ playOutroAndFadeOut: () => Promise<void>;
1021
+ };
1022
+
968
1023
  declare interface ICircularSteps {
969
1024
  id: string;
970
1025
  label?: React.ReactNode;
@@ -988,6 +1043,29 @@ declare interface ICircularStepsProps {
988
1043
  sizeInPercent?: number;
989
1044
  }
990
1045
 
1046
+ declare interface ICircularStepWrapperProps {
1047
+ children: ReactNode;
1048
+ animation: string;
1049
+ introFrames: [number, number];
1050
+ outroFrames: [number, number];
1051
+ onGoBack?: () => void;
1052
+ onNext?: () => void;
1053
+ label?: string;
1054
+ showNext?: boolean;
1055
+ showPrevious?: boolean;
1056
+ isNextLoading?: boolean;
1057
+ progressAngle?: number;
1058
+ }
1059
+
1060
+ declare interface IClaimUserAccountProps {
1061
+ email?: string;
1062
+ onSelectAccount: (userId: string) => void;
1063
+ onCreateNewAccount: () => void;
1064
+ userAccounts: TUserAccount[];
1065
+ isCreatingAccount: boolean;
1066
+ isLoading: boolean;
1067
+ }
1068
+
991
1069
  declare interface IClassStatus {
992
1070
  next_class_time?: number;
993
1071
  class_duration: number;
@@ -1071,6 +1149,16 @@ declare interface ICountdownTimer {
1071
1149
  theme: 'GREEN_1' | 'ORANGE_1';
1072
1150
  }
1073
1151
 
1152
+ declare interface ICountryOption {
1153
+ code: string;
1154
+ id: string;
1155
+ value: string;
1156
+ label: string;
1157
+ icon: string;
1158
+ url: string;
1159
+ geoIPCountryCode: string;
1160
+ }
1161
+
1074
1162
  export declare interface ICreateUserPayloadDal {
1075
1163
  username: string;
1076
1164
  grade: string;
@@ -1129,6 +1217,26 @@ declare interface ICurriculumStandards {
1129
1217
  name: string;
1130
1218
  }
1131
1219
 
1220
+ declare interface ICustomInputFieldProps {
1221
+ value: string;
1222
+ onChange: (value: string) => void;
1223
+ onEnter?: () => void;
1224
+ error?: string;
1225
+ helperText?: string;
1226
+ actionElement?: ReactNode;
1227
+ isLoading?: boolean;
1228
+ isValid?: boolean;
1229
+ type?: 'text' | 'password' | 'number' | 'phone';
1230
+ placeholder?: string;
1231
+ maxLength?: number;
1232
+ width?: number;
1233
+ textTransform?: string;
1234
+ textAlign?: string;
1235
+ onCountryChange?: (option: TSelectedCountry) => void;
1236
+ selectedCountry?: TSelectedCountry;
1237
+ autoSize?: boolean;
1238
+ }
1239
+
1132
1240
  declare interface ICustomVideoProps extends React_2.DetailedHTMLProps<React_2.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement> {
1133
1241
  isYoutube?: boolean;
1134
1242
  analyticsData?: Record<string, unknown>;
@@ -1136,6 +1244,13 @@ declare interface ICustomVideoProps extends React_2.DetailedHTMLProps<React_2.Vi
1136
1244
  src: string;
1137
1245
  }
1138
1246
 
1247
+ declare interface IDatePickerInputProps extends Omit<ICustomInputFieldProps, 'value' | 'onChange'> {
1248
+ value: Date | null;
1249
+ onChange: (date: Date | null) => void;
1250
+ }
1251
+
1252
+ export declare const IdentifierOtpForm: React_2.FC<IIdentifierOtpFormProps>;
1253
+
1139
1254
  declare interface IDesmosCalculatorProps {
1140
1255
  onClose: () => void;
1141
1256
  height?: string | number;
@@ -1360,6 +1475,22 @@ declare interface IIconButtonProps extends Omit<IButtonProps, 'label' | 'shape'
1360
1475
  renderAs: TButtonVariants;
1361
1476
  }
1362
1477
 
1478
+ declare interface IIdentifierOtpFormProps {
1479
+ identifier: string;
1480
+ otp: string;
1481
+ errors: {
1482
+ identifier: string;
1483
+ otp: string;
1484
+ };
1485
+ isOtpVerified: boolean;
1486
+ isLoading: boolean;
1487
+ isSubmitDisabled: boolean;
1488
+ showOtpInput: boolean;
1489
+ onChange: (key: 'identifier' | 'otp', value: string) => void;
1490
+ onSubmit: (e: FormEvent<HTMLFormElement>) => void;
1491
+ onSendOtp: () => void;
1492
+ }
1493
+
1363
1494
  declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
1364
1495
  withLoader: boolean;
1365
1496
  borderRadius?: number;
@@ -1385,6 +1516,15 @@ export declare interface IInputSizeConfig {
1385
1516
  iconPadding: number;
1386
1517
  }
1387
1518
 
1519
+ declare interface IInputStatusIconProps {
1520
+ isLoading?: boolean;
1521
+ isValid?: boolean;
1522
+ isError?: boolean;
1523
+ size?: number;
1524
+ successColor?: TColorNames;
1525
+ errorColor?: TColorNames;
1526
+ }
1527
+
1388
1528
  export declare interface IInputVariantConfig {
1389
1529
  valueColorName: {
1390
1530
  inactive: TColorNames;
@@ -1744,6 +1884,7 @@ export declare const ILLUSTRATIONS: {
1744
1884
  CHAPTER_HEADER_BG: string;
1745
1885
  CHAPTER_HEADER_BG_2: string;
1746
1886
  CIRCLE_CUEMATH_LOGO: string;
1887
+ CIRCLE_CUEMATH_LOGO_WHITE: string;
1747
1888
  CIRCLE_OUTERCIRCLE_BG: string;
1748
1889
  CLOCK_ORANGE: string;
1749
1890
  COMMUNITY_BULB: string;
@@ -1751,6 +1892,7 @@ export declare const ILLUSTRATIONS: {
1751
1892
  CROWN: string;
1752
1893
  CROWN_OVERLAY: string;
1753
1894
  CUECOIN_GOLD: string;
1895
+ CUEMATH_APP_QR_CODE: string;
1754
1896
  DESKTOP_WITH_PURPLE_FILL: string;
1755
1897
  DURATION_30MIN_GRAY: string;
1756
1898
  DURATION_45MIN_GRAY: string;
@@ -1835,6 +1977,7 @@ export declare const ILLUSTRATIONS: {
1835
1977
  USER_DOWN: string;
1836
1978
  USER_PIN: string;
1837
1979
  USER_PROFILE_BACKGROUND: string;
1980
+ USER_TYPE_SELECTOR_GRID_BG: string;
1838
1981
  USER_UP: string;
1839
1982
  YELLOW_FACE: string;
1840
1983
  };
@@ -2264,6 +2407,8 @@ declare interface INodePermissions {
2264
2407
  can_unassign: boolean;
2265
2408
  }
2266
2409
 
2410
+ export declare const InputStatusIcon: React.FC<IInputStatusIconProps>;
2411
+
2267
2412
  export declare interface INudgeProps {
2268
2413
  nudge: 'click';
2269
2414
  content: ReactNode;
@@ -2296,6 +2441,14 @@ declare interface IOpenImageReviewModalProps {
2296
2441
  image?: string;
2297
2442
  }
2298
2443
 
2444
+ declare interface IOTPResendProps {
2445
+ onResendOTP: () => void;
2446
+ onResendVoiceOTP?: () => void;
2447
+ timerSeconds?: number;
2448
+ showVoiceOTP?: boolean;
2449
+ disabled?: boolean;
2450
+ }
2451
+
2299
2452
  declare interface IOutcomeConfig {
2300
2453
  id: string;
2301
2454
  input_type: string;
@@ -2573,6 +2726,16 @@ declare interface IReferenceSheetProps {
2573
2726
  };
2574
2727
  }
2575
2728
 
2729
+ declare interface IResetPasswordFormProps {
2730
+ onSubmit: (e: FormEvent<HTMLFormElement>) => void;
2731
+ onChange: (key: string, value: string) => void;
2732
+ formData: Record<string, string>;
2733
+ errors: Record<string, string>;
2734
+ isProcessing: boolean;
2735
+ isSubmitDisabled: boolean;
2736
+ isValid?: boolean;
2737
+ }
2738
+
2576
2739
  export declare interface IResourceItemData {
2577
2740
  boards: string[];
2578
2741
  created_on: string;
@@ -2791,6 +2954,14 @@ declare interface ISheetsListProps extends ISheetItemCallbackProps {
2791
2954
  section?: TSheetsSection;
2792
2955
  }
2793
2956
 
2957
+ declare interface ISignupMethodsProps {
2958
+ onEmailSignup: () => void;
2959
+ onPhoneSignup: () => void;
2960
+ onGoogleSignup: () => void;
2961
+ onAppleSignup: () => void;
2962
+ loadingProvider: TSocialAuthProvider | null;
2963
+ }
2964
+
2794
2965
  export declare interface ISignUpProps {
2795
2966
  circleOnLeapSignedUp: boolean;
2796
2967
  circleOnLeapPremiumEnabled: boolean;
@@ -2808,6 +2979,29 @@ export declare interface ISignUpProps {
2808
2979
  onSignupStepsComplete: (data: IUpdateUserPayloadDal | ICreateUserResponseDal | null) => void;
2809
2980
  }
2810
2981
 
2982
+ declare interface ISingleFieldFormProps {
2983
+ onSubmit: (e?: FormEvent<HTMLFormElement>) => void;
2984
+ onChange: (key: string, value: string) => void;
2985
+ value: string;
2986
+ error: string;
2987
+ isProcessing: boolean;
2988
+ isSubmitDisabled?: boolean;
2989
+ isValid?: boolean;
2990
+ field?: string;
2991
+ label?: string;
2992
+ }
2993
+
2994
+ declare interface ISocialAccountNotFoundProps {
2995
+ onRetryLogin: () => void;
2996
+ onGoToSignup: () => void;
2997
+ }
2998
+
2999
+ declare interface ISocialLoginMethodsProps {
3000
+ onGoogleLogin: () => void;
3001
+ onAppleLogin: () => void;
3002
+ loadingProvider: TSocialAuthProvider | null;
3003
+ }
3004
+
2811
3005
  export declare const isOkayTypeQuestion: IIsOkayTypeQuestion;
2812
3006
 
2813
3007
  export declare enum IStatsToAwardErrorCode {
@@ -2903,6 +3097,13 @@ declare interface ISyncableWebGameProps {
2903
3097
  enableSync?: boolean;
2904
3098
  }
2905
3099
 
3100
+ export declare type ITabConfig<T extends string = string> = Record<T, ITabItem>;
3101
+
3102
+ declare interface ITabItem {
3103
+ label: string;
3104
+ component?: JSX.Element;
3105
+ }
3106
+
2906
3107
  export declare interface ITable {
2907
3108
  tableList: ITableInfo[];
2908
3109
  infiniteModeHighScore: number;
@@ -2966,6 +3167,12 @@ export declare interface ITabSizeConfig {
2966
3167
  textVariant: TTextVariants;
2967
3168
  }
2968
3169
 
3170
+ declare interface ITabsProps<T extends string> {
3171
+ selectedTab: T;
3172
+ onChange: (tab: T) => void;
3173
+ tabs: ITabConfig<T>;
3174
+ }
3175
+
2969
3176
  export declare interface ITabVariantConfig {
2970
3177
  backgroundColorName: {
2971
3178
  inactive: TColorNames;
@@ -3322,6 +3529,25 @@ declare interface IUserChapterProgressProps {
3322
3529
  total_core_sheets: number;
3323
3530
  }
3324
3531
 
3532
+ declare interface IUsernamePasswordFormProps {
3533
+ username: string;
3534
+ password: string;
3535
+ errors: {
3536
+ username: string;
3537
+ password: string;
3538
+ };
3539
+ isLoading: boolean;
3540
+ onChange: (key: 'username' | 'password', value: string) => void;
3541
+ onSubmit: (e: FormEvent<HTMLFormElement>) => void;
3542
+ onForgotPassword: () => void;
3543
+ }
3544
+
3545
+ declare interface IUserTypeSelectorProps {
3546
+ onNext: () => void;
3547
+ onUserTypeChange: (id: TAuthUserType) => void;
3548
+ userType: TAuthUserType;
3549
+ }
3550
+
3325
3551
  declare interface IUseTrialSessionMessageBroker {
3326
3552
  (options: {
3327
3553
  teacherClassroomId?: string;
@@ -3711,6 +3937,7 @@ export declare const LOTTIE: {
3711
3937
  ACCURACY_METER: string;
3712
3938
  ACCURACY_NEEDLE: string;
3713
3939
  ADVANCE_MODE_SEGMENT_LOTTIE: string;
3940
+ AVATAR_SELECTED: string;
3714
3941
  BEGINNER1X: string;
3715
3942
  BRONZE_1: string;
3716
3943
  BRONZE_2: string;
@@ -3725,8 +3952,10 @@ export declare const LOTTIE: {
3725
3952
  COLOR_3: string;
3726
3953
  COMPETITIVE_ARENA: string;
3727
3954
  DIFFICULT: string;
3955
+ DOB: string;
3728
3956
  EASY: string;
3729
3957
  ELITE_CIRCLE: string;
3958
+ ERROR: string;
3730
3959
  ERROR_LOTTIE: string;
3731
3960
  FAMILIAR1X: string;
3732
3961
  FIFTEEN_MIN_CLOCK: string;
@@ -3734,12 +3963,18 @@ export declare const LOTTIE: {
3734
3963
  GOLD_1: string;
3735
3964
  GOLD_2: string;
3736
3965
  GOLD_3: string;
3966
+ GRADE: string;
3737
3967
  INFINITE_BUTTON_BG: string;
3738
3968
  INFINITE_BUTTON_SYMBOL: string;
3969
+ KEY: string;
3739
3970
  LEARN: string;
3740
3971
  LEVELUP_RINGS: string;
3972
+ MAIL: string;
3741
3973
  MEDIUM: string;
3742
3974
  NUDGE_TAP: string;
3975
+ OTP: string;
3976
+ PARENT_AVATAR: string;
3977
+ PHONE_NUMBER: string;
3743
3978
  POINT100: string;
3744
3979
  POINT10: string;
3745
3980
  POINT15: string;
@@ -3769,6 +4004,7 @@ export declare const LOTTIE: {
3769
4004
  SLEEPY_BOI: string;
3770
4005
  SPINNER_WHITE: string;
3771
4006
  SPLASH_SCREEN: string;
4007
+ STUDENT_AVATAR: string;
3772
4008
  TABLE_MODE_REVEAL: string;
3773
4009
  TABLE_MODE_STAR: string;
3774
4010
  TABLE_SEGMENT_STAR: string;
@@ -3779,6 +4015,7 @@ export declare const LOTTIE: {
3779
4015
  TOTAL_TIME: string;
3780
4016
  TOTAL_TIME_SPENT: string;
3781
4017
  TOURNAMENT_RIPPLE: string;
4018
+ USERNAME: string;
3782
4019
  VIDEO: string;
3783
4020
  };
3784
4021
 
@@ -3963,8 +4200,14 @@ declare interface NumRangeInputProps {
3963
4200
  endPlaceholder?: string;
3964
4201
  }
3965
4202
 
4203
+ export declare const OTPForm: ({ onSubmit, onChange, value, error, isProcessing, isValid, }: ISingleFieldFormProps) => JSX_2.Element;
4204
+
3966
4205
  export declare type OutcomeStage = keyof typeof STAGES;
3967
4206
 
4207
+ export declare const OverlayLoader: ({ isLoading }: {
4208
+ isLoading?: boolean | undefined;
4209
+ }) => JSX_2.Element | null;
4210
+
3968
4211
  export declare const PencilIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3969
4212
 
3970
4213
  export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercentileProps & React_2.RefAttributes<HTMLInputElement>>;
@@ -4103,6 +4346,10 @@ export declare const ReferenceSheet: FC<IReferenceSheetProps>;
4103
4346
 
4104
4347
  export declare const RemotePeerPointer: MemoExoticComponent<({ containerRef, onPublish, onSubscribe, responseId }: IPointerProps) => JSX_2.Element>;
4105
4348
 
4349
+ export declare const ResendOTP: React.FC<IOTPResendProps>;
4350
+
4351
+ export declare const ResetPasswordForm: ({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IResetPasswordFormProps) => JSX_2.Element;
4352
+
4106
4353
  export declare const REWARDS_LIST: string[];
4107
4354
 
4108
4355
  export declare const RightIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -4192,6 +4439,8 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
4192
4439
 
4193
4440
  export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX_2.Element;
4194
4441
 
4442
+ export declare const SignupMethods: FC<ISignupMethodsProps>;
4443
+
4195
4444
  declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4196
4445
  export { SketchIcon as ScribbleIcon }
4197
4446
  export { SketchIcon }
@@ -4202,6 +4451,10 @@ export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4202
4451
 
4203
4452
  export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4204
4453
 
4454
+ export declare const SocialAccountNotFound: ({ onRetryLogin, onGoToSignup }: ISocialAccountNotFoundProps) => JSX_2.Element;
4455
+
4456
+ export declare const SocialLoginMethods: FC<ISocialLoginMethodsProps>;
4457
+
4205
4458
  export declare const SplashScreen: ({ animationCompleted }: {
4206
4459
  animationCompleted: () => void;
4207
4460
  }) => JSX_2.Element;
@@ -4269,6 +4522,8 @@ declare const TAB_CODES: {
4269
4522
 
4270
4523
  export declare const TabComponent: React_2.FC<ITabProps>;
4271
4524
 
4525
+ export declare function Tabs<T extends string>({ selectedTab, onChange, tabs }: ITabsProps<T>): JSX_2.Element;
4526
+
4272
4527
  export declare type TAction = EventToPayload<TInclassMessage>;
4273
4528
 
4274
4529
  declare type TActionListenerOptions = {
@@ -4295,6 +4550,14 @@ export declare type TArrowTooltipConfig = {
4295
4550
 
4296
4551
  export declare type TArrowTooltipVariants = 'primary' | 'secondary';
4297
4552
 
4553
+ export declare type TAuthApiErrorCode = (typeof AuthApiErrorCode)[keyof typeof AuthApiErrorCode];
4554
+
4555
+ export declare type TAuthProvider = 'email' | 'phone';
4556
+
4557
+ export declare type TAuthTabKeys = 'identifier' | 'username';
4558
+
4559
+ export declare type TAuthUserType = 'student' | 'parent';
4560
+
4298
4561
  declare type TBadgeData = {
4299
4562
  acknowledged_on: number | null;
4300
4563
  animation_url: string;
@@ -5130,6 +5393,8 @@ declare type TSectionSummary = {
5130
5393
  modules: TSATModule[];
5131
5394
  };
5132
5395
 
5396
+ export declare type TSelectedCountry = Pick<ICountryOption, 'id' | 'code'>;
5397
+
5133
5398
  declare type TSheetAttemptLocation = keyof typeof SHEET_ATTEMPT_LOCATION;
5134
5399
 
5135
5400
  declare type TSheetAttemptLocation_2 = keyof typeof SHEET_ATTEMPT_LOCATION;
@@ -5199,6 +5464,8 @@ declare type TSheetStates = keyof typeof NODE_CARD_STATES;
5199
5464
 
5200
5465
  export declare type TSkillStatus = 'pending' | 'completed';
5201
5466
 
5467
+ export declare type TSocialAuthProvider = 'google' | 'apple';
5468
+
5202
5469
  declare type TStickerData = {
5203
5470
  actor_id: string;
5204
5471
  badge_id: string;
@@ -5271,6 +5538,11 @@ export declare type TTrialSessionMessage = {
5271
5538
  };
5272
5539
  };
5273
5540
 
5541
+ declare type TUserAccount = {
5542
+ id: string;
5543
+ phone: string;
5544
+ };
5545
+
5274
5546
  declare type TUserChapterStates = 'MASTERED' | 'PROFICIENT' | 'FAMILIAR' | 'STARTED';
5275
5547
 
5276
5548
  declare type TUserProgram = {
@@ -5454,6 +5726,12 @@ export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
5454
5726
 
5455
5727
  export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
5456
5728
 
5729
+ export declare const UserIdentifierForm: ({ onSubmit, onChange, value, error, isSubmitDisabled, isProcessing, isValid, label, field, }: ISingleFieldFormProps) => JSX_2.Element;
5730
+
5731
+ export declare const UsernamePasswordForm: FC<IUsernamePasswordFormProps>;
5732
+
5733
+ export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
5734
+
5457
5735
  export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
5458
5736
  onClick: TTrackCTA;
5459
5737
  onResponse: TTrackInput;