@cuemath/leap 3.0.12-j → 3.0.13-ass1

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 (424) hide show
  1. package/dist/assets/illustrations/illustrations.js +0 -3
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/lottie/lottie.js +0 -11
  4. package/dist/assets/lottie/lottie.js.map +1 -1
  5. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +32 -68
  6. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -1
  7. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +95 -97
  8. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -1
  9. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +98 -102
  10. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -1
  11. package/dist/index.d.ts +0 -284
  12. package/dist/index.js +321 -367
  13. package/dist/index.js.map +1 -1
  14. package/package.json +2 -3
  15. package/dist/assets/illustrations/loader-1.svg.js +0 -6
  16. package/dist/assets/illustrations/loader-1.svg.js.map +0 -1
  17. package/dist/assets/line-icons/icons/apple-icon.js +0 -48
  18. package/dist/assets/line-icons/icons/apple-icon.js.map +0 -1
  19. package/dist/assets/line-icons/icons/google-icon.js +0 -42
  20. package/dist/assets/line-icons/icons/google-icon.js.map +0 -1
  21. package/dist/features/auth/account-selector/account-selector.js +0 -43
  22. package/dist/features/auth/account-selector/account-selector.js.map +0 -1
  23. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +0 -12
  24. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +0 -1
  25. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +0 -12
  26. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +0 -1
  27. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +0 -18
  28. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +0 -1
  29. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +0 -21
  30. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +0 -1
  31. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +0 -29
  32. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +0 -1
  33. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +0 -9
  34. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
  35. package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js +0 -24
  36. package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js.map +0 -1
  37. package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -65
  38. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
  39. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +0 -23
  40. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +0 -1
  41. package/dist/features/auth/comps/tabs/tabs-styled.js +0 -23
  42. package/dist/features/auth/comps/tabs/tabs-styled.js.map +0 -1
  43. package/dist/features/auth/comps/tabs/tabs.js +0 -9
  44. package/dist/features/auth/comps/tabs/tabs.js.map +0 -1
  45. package/dist/features/auth/forgot-password/forgot-password-styled.js +0 -12
  46. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +0 -1
  47. package/dist/features/auth/forgot-password/otp-form/otp-form.js +0 -66
  48. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +0 -1
  49. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +0 -101
  50. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +0 -1
  51. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +0 -68
  52. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +0 -1
  53. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +0 -12
  54. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +0 -1
  55. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +0 -100
  56. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +0 -1
  57. package/dist/features/auth/login/login-constants.js +0 -14
  58. package/dist/features/auth/login/login-constants.js.map +0 -1
  59. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +0 -32
  60. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +0 -1
  61. package/dist/features/auth/login/social-login-methods/social-login-methods.js +0 -47
  62. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +0 -1
  63. package/dist/features/auth/login/username-password-form/username-password-form.js +0 -98
  64. package/dist/features/auth/login/username-password-form/username-password-form.js.map +0 -1
  65. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -56
  66. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +0 -1
  67. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +0 -131
  68. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +0 -1
  69. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -53
  70. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
  71. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js +0 -34
  72. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js.map +0 -1
  73. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js +0 -98
  74. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js.map +0 -1
  75. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js +0 -57
  76. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js.map +0 -1
  77. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js +0 -26
  78. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js.map +0 -1
  79. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +0 -30
  80. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +0 -1
  81. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +0 -100
  82. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +0 -1
  83. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +0 -88
  84. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +0 -1
  85. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +0 -43
  86. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +0 -1
  87. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +0 -31
  88. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +0 -1
  89. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +0 -31
  90. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +0 -1
  91. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +0 -11
  92. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +0 -1
  93. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +0 -29
  94. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +0 -1
  95. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js +0 -9
  96. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js.map +0 -1
  97. package/dist/features/auth/signup/signup-constants.js +0 -1031
  98. package/dist/features/auth/signup/signup-constants.js.map +0 -1
  99. package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -69
  100. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +0 -1
  101. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +0 -19
  102. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +0 -1
  103. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +0 -62
  104. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +0 -1
  105. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +0 -24
  106. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +0 -1
  107. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +0 -85
  108. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
  109. package/dist/features/auth/user-list/user-item/user-item-styled.js +0 -21
  110. package/dist/features/auth/user-list/user-item/user-item-styled.js.map +0 -1
  111. package/dist/features/auth/user-list/user-item/user-item.js +0 -48
  112. package/dist/features/auth/user-list/user-item/user-item.js.map +0 -1
  113. package/dist/features/auth/user-list/user-list-styled.js +0 -19
  114. package/dist/features/auth/user-list/user-list-styled.js.map +0 -1
  115. package/dist/features/auth/user-list/user-list.js +0 -56
  116. package/dist/features/auth/user-list/user-list.js.map +0 -1
  117. package/dist/features/ui/border-path-animation/border-path-animation-styled.js +0 -51
  118. package/dist/features/ui/border-path-animation/border-path-animation-styled.js.map +0 -1
  119. package/dist/features/ui/border-path-animation/border-path-animation.js +0 -108
  120. package/dist/features/ui/border-path-animation/border-path-animation.js.map +0 -1
  121. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -332
  122. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  123. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -370
  124. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  125. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -252
  126. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
  127. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -24
  128. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
  129. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -192
  130. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  131. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -19
  132. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  133. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -129
  134. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  135. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  136. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  137. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  138. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  139. package/dist/node_modules/date-fns/subYears.js +0 -9
  140. package/dist/node_modules/date-fns/subYears.js.map +0 -1
  141. package/dist/node_modules/react-datepicker/dist/index.es.js +0 -2700
  142. package/dist/node_modules/react-datepicker/dist/index.es.js.map +0 -1
  143. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
  144. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
  145. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +0 -8
  146. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
  147. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +0 -518
  148. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
  149. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +0 -60
  150. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
  151. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +0 -53
  152. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
  153. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
  154. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
  155. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +0 -12
  156. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
  157. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +0 -21
  158. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
  159. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +0 -11
  160. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +0 -1
  161. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +0 -10
  162. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +0 -1
  163. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +0 -10
  164. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +0 -1
  165. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +0 -11
  166. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +0 -1
  167. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +0 -21
  168. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +0 -1
  169. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +0 -9
  170. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +0 -1
  171. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +0 -9
  172. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +0 -1
  173. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +0 -9
  174. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +0 -1
  175. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +0 -9
  176. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +0 -1
  177. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +0 -10
  178. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +0 -1
  179. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +0 -9
  180. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +0 -1
  181. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +0 -17
  182. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
  183. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
  184. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
  185. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +0 -15
  186. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +0 -1
  187. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +0 -14
  188. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +0 -1
  189. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +0 -23
  190. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +0 -1
  191. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +0 -10
  192. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +0 -1
  193. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +0 -10
  194. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +0 -1
  195. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +0 -12
  196. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +0 -1
  197. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +0 -10
  198. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +0 -1
  199. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +0 -60
  200. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +0 -1
  201. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +0 -9
  202. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +0 -1
  203. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +0 -9
  204. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +0 -1
  205. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +0 -12
  206. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +0 -1
  207. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +0 -11
  208. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +0 -1
  209. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +0 -9
  210. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +0 -1
  211. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +0 -9
  212. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +0 -1
  213. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +0 -10
  214. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +0 -1
  215. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +0 -13
  216. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +0 -1
  217. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +0 -16
  218. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +0 -1
  219. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +0 -9
  220. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +0 -1
  221. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +0 -9
  222. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +0 -1
  223. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +0 -10
  224. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +0 -1
  225. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +0 -9
  226. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +0 -1
  227. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +0 -9
  228. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +0 -1
  229. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +0 -13
  230. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +0 -1
  231. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +0 -18
  232. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +0 -1
  233. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +0 -9
  234. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +0 -1
  235. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +0 -9
  236. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +0 -1
  237. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +0 -9
  238. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +0 -1
  239. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +0 -8
  240. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +0 -1
  241. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +0 -9
  242. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +0 -1
  243. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +0 -15
  244. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +0 -1
  245. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +0 -14
  246. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +0 -1
  247. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +0 -15
  248. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +0 -1
  249. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +0 -14
  250. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +0 -1
  251. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +0 -10
  252. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +0 -1
  253. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +0 -13
  254. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +0 -1
  255. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  256. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
  257. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
  258. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
  259. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
  260. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
  261. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
  262. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
  263. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
  264. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
  265. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
  266. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
  267. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
  268. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
  269. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
  270. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
  271. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
  272. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
  273. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +0 -22
  274. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +0 -1
  275. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +0 -15
  276. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +0 -1
  277. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +0 -15
  278. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +0 -1
  279. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +0 -23
  280. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
  281. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +0 -42
  282. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
  283. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +0 -50
  284. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
  285. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -50
  286. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
  287. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -50
  288. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
  289. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -62
  290. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
  291. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
  292. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
  293. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -46
  294. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
  295. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -50
  296. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
  297. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -31
  298. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
  299. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -22
  300. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
  301. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -23
  302. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
  303. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -33
  304. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
  305. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -33
  306. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
  307. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -34
  308. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
  309. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
  310. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
  311. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -100
  312. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
  313. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -49
  314. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
  315. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -49
  316. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
  317. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -50
  318. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
  319. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -41
  320. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
  321. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -75
  322. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
  323. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -49
  324. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
  325. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -70
  326. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
  327. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -33
  328. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
  329. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -72
  330. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
  331. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
  332. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
  333. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -33
  334. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
  335. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -75
  336. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
  337. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -72
  338. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
  339. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
  340. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
  341. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -23
  342. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
  343. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -23
  344. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
  345. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -50
  346. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
  347. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +0 -68
  348. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
  349. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +0 -104
  350. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
  351. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +0 -88
  352. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +0 -1
  353. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +0 -123
  354. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +0 -1
  355. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +0 -13
  356. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +0 -1
  357. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +0 -10
  358. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +0 -1
  359. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +0 -12
  360. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +0 -1
  361. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +0 -11
  362. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +0 -1
  363. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +0 -10
  364. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +0 -1
  365. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +0 -14
  366. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +0 -1
  367. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +0 -11
  368. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +0 -1
  369. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +0 -10
  370. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +0 -1
  371. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +0 -11
  372. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +0 -1
  373. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +0 -11
  374. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +0 -1
  375. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +0 -10
  376. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +0 -1
  377. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +0 -9
  378. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +0 -1
  379. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +0 -12
  380. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
  381. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +0 -10
  382. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +0 -1
  383. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +0 -10
  384. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +0 -1
  385. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +0 -12
  386. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +0 -1
  387. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +0 -14
  388. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +0 -1
  389. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +0 -10
  390. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +0 -1
  391. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +0 -9
  392. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +0 -1
  393. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +0 -9
  394. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +0 -1
  395. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +0 -9
  396. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +0 -1
  397. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +0 -9
  398. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +0 -1
  399. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +0 -9
  400. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +0 -1
  401. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +0 -9
  402. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +0 -1
  403. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +0 -19
  404. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +0 -1
  405. package/dist/static/avatar-selected.860ee923.json +0 -1
  406. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +0 -1
  407. package/dist/static/cuemath-app-qr-code.4beefe48.svg +0 -1
  408. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +0 -1
  409. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  410. package/dist/static/dob.9ce3c15b.json +0 -1
  411. package/dist/static/error.cbe1ddde.json +0 -1
  412. package/dist/static/grade.b3730524.json +0 -1
  413. package/dist/static/key.d6846476.json +0 -1
  414. package/dist/static/mail.c30e8708.json +0 -1
  415. package/dist/static/otp.2d08f874.json +0 -1
  416. package/dist/static/otp.a3029760.json +0 -1
  417. package/dist/static/parent-avatar.772d53e0.json +0 -1
  418. package/dist/static/phone-number.0be312ea.json +0 -1
  419. package/dist/static/phone-number.84f55562.json +0 -1
  420. package/dist/static/student-avatar.524226bd.json +0 -1
  421. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +0 -1
  422. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +0 -1
  423. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +0 -1
  424. package/dist/static/username.9e034d51.json +0 -1
@@ -1,128 +1,127 @@
1
- import { jsx as e, jsxs as m, Fragment as j } from "react/jsx-runtime";
2
- import { memo as z, useRef as F, useCallback as l } from "react";
3
- import Y from "../../../../../assets/line-icons/icons/eye2.js";
4
- import Z from "../../../../../assets/line-icons/icons/redo.js";
5
- import q from "../../../../ui/arrow-tooltip/arrow-tooltip.js";
6
- import J from "../../../../ui/border-path-animation/border-path-animation.js";
7
- import Q from "../../../../ui/context-menu/context-menu.js";
8
- import U from "../../../../ui/lottie-animation/lottie-animation.js";
9
- import V from "../../../../ui/text/text.js";
10
- import { BLOCK_TYPE as ee } from "../../../constants/block-constants.js";
11
- import { NODE_CARD_STATES as $ } from "../../../constants/node-constants.js";
12
- import { getNodeTypeBasedBgImage as te } from "../../../utils/index.js";
13
- import { getNodeCardBasedIcon as oe } from "../../../utils/node-card-utils.js";
14
- import { NodeCardContainer as re, NodeCardInfoWrapper as ne, IconWrapper as ae, StyledImportantIcon as ie, NodeCardContentWrapper as se, NodeCardTitle as ce } from "../node-card-styled.js";
15
- import de from "../node-card-tags.js";
16
- import me from "../node-menu-options/node-menu-options.js";
17
- const le = { renderer: "canvas", autoplay: !1 }, Le = z((A) => {
1
+ import { jsx as e, jsxs as d, Fragment as K } from "react/jsx-runtime";
2
+ import { memo as X, useRef as j, useCallback as m } from "react";
3
+ import G from "../../../../../assets/line-icons/icons/eye2.js";
4
+ import z from "../../../../../assets/line-icons/icons/redo.js";
5
+ import F from "../../../../ui/arrow-tooltip/arrow-tooltip.js";
6
+ import P from "../../../../ui/context-menu/context-menu.js";
7
+ import Y from "../../../../ui/lottie-animation/lottie-animation.js";
8
+ import Z from "../../../../ui/text/text.js";
9
+ import { BLOCK_TYPE as q } from "../../../constants/block-constants.js";
10
+ import { NODE_CARD_STATES as J } from "../../../constants/node-constants.js";
11
+ import { getNodeTypeBasedBgImage as Q } from "../../../utils/index.js";
12
+ import { getNodeCardBasedIcon as U } from "../../../utils/node-card-utils.js";
13
+ import { NodeCardContainer as V, NodeCardInfoWrapper as ee, IconWrapper as te, StyledImportantIcon as re, NodeCardContentWrapper as ne, NodeCardTitle as oe } from "../node-card-styled.js";
14
+ import ae from "../node-card-tags.js";
15
+ import ie from "../node-menu-options/node-menu-options.js";
16
+ const ce = { renderer: "canvas", autoplay: !1 }, ye = X((O) => {
18
17
  const {
19
18
  nodeData: t,
20
- imageHue: S,
21
- blockType: T,
19
+ imageHue: b,
20
+ blockType: y,
22
21
  onNodeAttempt: a,
23
22
  onNodeReattempt: i,
24
- onNodeReview: s,
25
- onNodeView: o,
26
- isStudent: E
27
- } = A, {
23
+ onNodeReview: c,
24
+ onNodeView: r,
25
+ isStudent: A
26
+ } = O, {
28
27
  accuracy: L,
29
- attempt_location: y,
30
- node_type: p,
31
- card_header: R,
32
- title: w,
33
- state: c,
34
- is_optional: g,
35
- sheet_statement: _,
36
- permissions: B,
37
- marked_as_completed: d
28
+ attempt_location: S,
29
+ node_type: l,
30
+ card_header: E,
31
+ title: T,
32
+ state: C,
33
+ is_optional: x,
34
+ sheet_statement: $,
35
+ permissions: R,
36
+ marked_as_completed: g,
37
+ user_attempt_id: _
38
38
  } = t, {
39
- can_review: I,
40
- can_start: u,
41
- can_resume: h,
42
- can_reset: O
43
- } = B, x = T === ee.GOAL, n = c === $.LOCKED, N = c === $.NOT_STARTED, W = c === $.IN_PROGRESS, v = y === "INCLASS", M = u || h, b = !g && (W || N), f = !M && (O || I), C = F(null), D = te(p), { lottie: K } = oe(p), k = l(
44
- (r) => {
45
- switch (r) {
39
+ can_review: s,
40
+ can_start: p,
41
+ can_resume: u,
42
+ can_reset: I
43
+ } = R, v = y === q.GOAL, o = C === J.LOCKED, w = S === "INCLASS", f = !(p || u) && (I || s), h = j(null), B = Q(l), { lottie: M } = U(l), k = m(
44
+ (n) => {
45
+ switch (n) {
46
46
  case "node-card-review":
47
- d ? o == null || o(t) : s == null || s(t);
47
+ s && _ ? c == null || c(t) : r == null || r(t);
48
48
  return;
49
49
  case "node-card-reattempt":
50
50
  i == null || i(t);
51
51
  return;
52
52
  default:
53
- throw new Error(`No callback function for ${r}`);
53
+ throw new Error(`No callback function for ${n}`);
54
54
  }
55
55
  },
56
- [t, i, s, o, d]
57
- ), G = l(() => {
58
- f || n || (u || h ? a == null || a(t) : d && (o == null || o(t)));
56
+ [s, t, i, c, r, _]
57
+ ), W = m(() => {
58
+ f || o || (p || u ? a == null || a(t) : g && (r == null || r(t)));
59
59
  }, [
60
- h,
61
60
  u,
61
+ p,
62
62
  t,
63
63
  a,
64
- o,
64
+ r,
65
65
  f,
66
- n,
67
- d
68
- ]), H = l(() => {
69
- var r;
70
- n || (r = C.current) == null || r.play();
71
- }, [n]), P = l(() => {
72
- var r;
73
- (r = C.current) == null || r.stop();
74
- }, []), X = [
66
+ o,
67
+ g
68
+ ]), N = m(() => {
69
+ var n;
70
+ o || (n = h.current) == null || n.play();
71
+ }, [o]), D = m(() => {
72
+ var n;
73
+ (n = h.current) == null || n.stop();
74
+ }, []), H = [
75
75
  {
76
76
  id: "node-card-review",
77
77
  label: "Review",
78
- icon: Y,
79
- disabled: !I,
78
+ icon: G,
79
+ disabled: !s,
80
80
  onClick: k
81
81
  },
82
82
  {
83
83
  id: "node-card-reattempt",
84
84
  label: "Reattempt",
85
- icon: Z,
86
- disabled: !O,
85
+ icon: z,
86
+ disabled: !I,
87
87
  onClick: k
88
88
  }
89
89
  ];
90
90
  return /* @__PURE__ */ e(
91
- Q,
91
+ P,
92
92
  {
93
93
  targetElement: /* @__PURE__ */ e(
94
- re,
94
+ V,
95
95
  {
96
- $showOutline: !b,
97
- $background: `${S}_2`,
98
- $disabled: n,
99
- onClick: G,
100
- children: /* @__PURE__ */ m(
101
- q,
96
+ $background: `${b}_2`,
97
+ $disabled: o,
98
+ onClick: W,
99
+ children: /* @__PURE__ */ d(
100
+ F,
102
101
  {
103
102
  renderAs: "primary",
104
- tooltipItem: _,
103
+ tooltipItem: $,
105
104
  position: "bottom",
106
105
  zIndex: 5,
107
- hidden: !_,
106
+ hidden: !$,
108
107
  parentWidth: "100%",
109
108
  widthX: 11.25,
110
109
  children: [
111
- /* @__PURE__ */ m(
112
- ne,
110
+ /* @__PURE__ */ d(
111
+ ee,
113
112
  {
114
113
  $flexDirection: "row",
115
114
  $alignItems: "center",
116
115
  $heightX: 3.5,
117
- $bgImage: D,
116
+ $bgImage: B,
118
117
  $gutterX: 0.78125,
119
118
  $flexGap: 8.5,
120
- $opacity: n ? 0.5 : 1,
121
- onMouseEnter: H,
122
- onMouseLeave: P,
119
+ $opacity: o ? 0.5 : 1,
120
+ onMouseEnter: N,
121
+ onMouseLeave: D,
123
122
  children: [
124
- /* @__PURE__ */ m(
125
- ae,
123
+ /* @__PURE__ */ d(
124
+ te,
126
125
  {
127
126
  $width: 31,
128
127
  $height: 31,
@@ -132,42 +131,41 @@ const le = { renderer: "canvas", autoplay: !1 }, Le = z((A) => {
132
131
  $justifyContent: "center",
133
132
  children: [
134
133
  /* @__PURE__ */ e(
135
- U,
134
+ Y,
136
135
  {
137
- src: K,
138
- ref: C,
139
- settings: le
136
+ src: M,
137
+ ref: h,
138
+ settings: ce
140
139
  }
141
140
  ),
142
- !g && /* @__PURE__ */ e(ie, {})
141
+ !x && /* @__PURE__ */ e(re, {})
143
142
  ]
144
143
  }
145
144
  ),
146
- /* @__PURE__ */ m(V, { $renderAs: "ac4-black", $color: "BLACK", children: [
147
- R,
145
+ /* @__PURE__ */ d(Z, { $renderAs: "ac4-black", $color: "BLACK", children: [
146
+ E,
148
147
  " ",
149
- v && "• CW"
150
- ] }),
151
- b && /* @__PURE__ */ e(J, { borderColor: "BLACK_1", borderWidth: 1 })
148
+ w && "• CW"
149
+ ] })
152
150
  ]
153
151
  }
154
152
  ),
155
153
  /* @__PURE__ */ e(
156
- de,
154
+ ae,
157
155
  {
158
- nodeType: p,
159
- state: c,
156
+ nodeType: l,
157
+ state: C,
160
158
  accuracy: L,
161
- isStudent: E
159
+ isStudent: A
162
160
  }
163
161
  ),
164
- !x && /* @__PURE__ */ e(se, { $background: "WHITE_1", $heightX: 4, children: /* @__PURE__ */ e(
165
- ce,
162
+ !v && /* @__PURE__ */ e(ne, { $background: "WHITE_1", $heightX: 4, children: /* @__PURE__ */ e(
163
+ oe,
166
164
  {
167
165
  $renderAs: "ab3",
168
166
  $color: "BLACK_1",
169
- $opacity: n ? 0.5 : 1,
170
- children: w
167
+ $opacity: o ? 0.5 : 1,
168
+ children: T
171
169
  }
172
170
  ) })
173
171
  ]
@@ -179,11 +177,11 @@ const le = { renderer: "canvas", autoplay: !1 }, Le = z((A) => {
179
177
  menuWidth: "100%",
180
178
  menuZIndex: 6,
181
179
  menuOffset: 2,
182
- menuElement: f ? /* @__PURE__ */ e(me, { options: X }) : /* @__PURE__ */ e(j, {})
180
+ menuElement: f ? /* @__PURE__ */ e(ie, { options: H }) : /* @__PURE__ */ e(K, {})
183
181
  }
184
182
  );
185
183
  });
186
184
  export {
187
- Le as default
185
+ ye as default
188
186
  };
189
187
  //# sourceMappingURL=student-actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"student-actions.js","sources":["../../../../../../src/features/chapters-v2/comps/node-card/student-actions/student-actions.tsx"],"sourcesContent":["import type { ILottieAnimationRef } from '../../../../ui/lottie-animation/types';\nimport type { INodeCardProps } from '../node-card-types';\nimport type { INodeMenuOption } from '../node-menu-options/node-menu-options-types';\n\nimport { memo, useCallback, useRef, type FC } from 'react';\n\nimport Eye2Icon from '../../../../../assets/line-icons/icons/eye2';\nimport RedoIcon from '../../../../../assets/line-icons/icons/redo';\nimport ArrowTooltip from '../../../../ui/arrow-tooltip/arrow-tooltip';\nimport BorderPathAnimation from '../../../../ui/border-path-animation/border-path-animation';\nimport ContextMenu from '../../../../ui/context-menu/context-menu';\nimport LottieAnimation from '../../../../ui/lottie-animation/lottie-animation';\nimport Text from '../../../../ui/text/text';\nimport { BLOCK_TYPE } from '../../../constants/block-constants';\nimport { NODE_CARD_STATES } from '../../../constants/node-constants';\nimport { getNodeTypeBasedBgImage } from '../../../utils';\nimport { getNodeCardBasedIcon } from '../../../utils/node-card-utils';\nimport * as Styled from '../node-card-styled';\nimport NodeCardTags from '../node-card-tags';\nimport NodeMenuOptions from '../node-menu-options/node-menu-options';\n\nconst renderSettings = { renderer: 'canvas', autoplay: false };\n\nconst StudentActions: FC<Omit<INodeCardProps, 'userType'>> = memo(props => {\n const {\n nodeData,\n imageHue,\n blockType,\n onNodeAttempt,\n onNodeReattempt,\n onNodeReview,\n onNodeView,\n isStudent,\n } = props;\n const {\n accuracy,\n attempt_location: attemptLocation,\n node_type: nodeType,\n card_header: cardHeader,\n title,\n state,\n is_optional: isOptional,\n sheet_statement: sheetStatement,\n permissions,\n marked_as_completed: teacherMarkedAsCompleted,\n } = nodeData;\n const {\n can_review: canReview,\n can_start: canStart,\n can_resume: canResume,\n can_reset: canReset,\n } = permissions;\n\n const isGoalBlock = blockType === BLOCK_TYPE.GOAL;\n const sheetLocked = state === NODE_CARD_STATES.LOCKED;\n const sheetNotStarted = state === NODE_CARD_STATES.NOT_STARTED;\n const sheetInProgress = state === NODE_CARD_STATES.IN_PROGRESS;\n const inClassSheet = attemptLocation === 'INCLASS';\n const canStartOrResume = canStart || canResume;\n\n const showCardAnimation = !isOptional && (sheetInProgress || sheetNotStarted);\n const renderOptions = !canStartOrResume && (canReset || canReview);\n const animationRef = useRef<ILottieAnimationRef | null>(null);\n const nodeBgImage = getNodeTypeBasedBgImage(nodeType);\n const { lottie: nodeCardLottie } = getNodeCardBasedIcon(nodeType);\n\n const handleOnMenuOptionClick = useCallback(\n (optionId: string) => {\n switch (optionId) {\n case 'node-card-review':\n teacherMarkedAsCompleted ? onNodeView?.(nodeData) : onNodeReview?.(nodeData);\n\n return;\n\n case 'node-card-reattempt':\n onNodeReattempt?.(nodeData);\n\n return;\n\n default:\n throw new Error(`No callback function for ${optionId}`);\n }\n },\n [nodeData, onNodeReattempt, onNodeReview, onNodeView, teacherMarkedAsCompleted],\n );\n\n const handleOnNodeCardClick = useCallback(() => {\n if (renderOptions || sheetLocked) return;\n\n if (canStart || canResume) {\n onNodeAttempt?.(nodeData);\n } else if (teacherMarkedAsCompleted) {\n onNodeView?.(nodeData);\n }\n }, [\n canResume,\n canStart,\n nodeData,\n onNodeAttempt,\n onNodeView,\n renderOptions,\n sheetLocked,\n teacherMarkedAsCompleted,\n ]);\n\n const handleOnMouseEnter = useCallback(() => {\n if (sheetLocked) return;\n animationRef.current?.play();\n }, [sheetLocked]);\n\n const handleOnMouseLeave = useCallback(() => {\n animationRef.current?.stop();\n }, []);\n\n const menuOptions: INodeMenuOption[] = [\n {\n id: 'node-card-review',\n label: 'Review',\n icon: Eye2Icon,\n disabled: !canReview,\n onClick: handleOnMenuOptionClick,\n },\n {\n id: 'node-card-reattempt',\n label: 'Reattempt',\n icon: RedoIcon,\n disabled: !canReset,\n onClick: handleOnMenuOptionClick,\n },\n ];\n\n return (\n <ContextMenu\n targetElement={\n <Styled.NodeCardContainer\n $showOutline={!showCardAnimation}\n $background={`${imageHue}_2`}\n $disabled={sheetLocked}\n onClick={handleOnNodeCardClick}\n >\n <ArrowTooltip\n renderAs=\"primary\"\n tooltipItem={sheetStatement}\n position=\"bottom\"\n zIndex={5}\n hidden={!sheetStatement}\n parentWidth=\"100%\"\n widthX={11.25}\n >\n <Styled.NodeCardInfoWrapper\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $heightX={3.5}\n $bgImage={nodeBgImage}\n $gutterX={0.78125}\n $flexGap={8.5}\n $opacity={sheetLocked ? 0.5 : 1}\n onMouseEnter={handleOnMouseEnter}\n onMouseLeave={handleOnMouseLeave}\n >\n <Styled.IconWrapper\n $width={31}\n $height={31}\n $background=\"WHITE_1\"\n $position=\"relative\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n >\n <LottieAnimation\n src={nodeCardLottie}\n ref={animationRef}\n settings={renderSettings}\n />\n {!isOptional && <Styled.StyledImportantIcon />}\n </Styled.IconWrapper>\n\n <Text $renderAs=\"ac4-black\" $color=\"BLACK\">\n {cardHeader} {inClassSheet && `• CW`}\n </Text>\n {showCardAnimation && <BorderPathAnimation borderColor=\"BLACK_1\" borderWidth={1} />}\n </Styled.NodeCardInfoWrapper>\n\n <NodeCardTags\n nodeType={nodeType}\n state={state}\n accuracy={accuracy}\n isStudent={isStudent}\n />\n\n {!isGoalBlock && (\n <Styled.NodeCardContentWrapper $background=\"WHITE_1\" $heightX={4}>\n <Styled.NodeCardTitle\n $renderAs=\"ab3\"\n $color=\"BLACK_1\"\n $opacity={sheetLocked ? 0.5 : 1}\n >\n {title}\n </Styled.NodeCardTitle>\n </Styled.NodeCardContentWrapper>\n )}\n </ArrowTooltip>\n </Styled.NodeCardContainer>\n }\n startLeft\n menuWidth=\"100%\"\n menuZIndex={6}\n menuOffset={2}\n menuElement={renderOptions ? <NodeMenuOptions options={menuOptions} /> : <></>}\n />\n );\n});\n\nexport default StudentActions;\n"],"names":["renderSettings","StudentActions","memo","props","nodeData","imageHue","blockType","onNodeAttempt","onNodeReattempt","onNodeReview","onNodeView","isStudent","accuracy","attemptLocation","nodeType","cardHeader","title","state","isOptional","sheetStatement","permissions","teacherMarkedAsCompleted","canReview","canStart","canResume","canReset","isGoalBlock","BLOCK_TYPE","sheetLocked","NODE_CARD_STATES","sheetNotStarted","sheetInProgress","inClassSheet","canStartOrResume","showCardAnimation","renderOptions","animationRef","useRef","nodeBgImage","getNodeTypeBasedBgImage","nodeCardLottie","getNodeCardBasedIcon","handleOnMenuOptionClick","useCallback","optionId","handleOnNodeCardClick","handleOnMouseEnter","_a","handleOnMouseLeave","menuOptions","Eye2Icon","RedoIcon","jsx","ContextMenu","Styled.NodeCardContainer","jsxs","ArrowTooltip","Styled.NodeCardInfoWrapper","Styled.IconWrapper","LottieAnimation","Styled.StyledImportantIcon","Text","BorderPathAnimation","NodeCardTags","Styled.NodeCardContentWrapper","Styled.NodeCardTitle","NodeMenuOptions","Fragment"],"mappings":";;;;;;;;;;;;;;;;AAqBA,MAAMA,KAAiB,EAAE,UAAU,UAAU,UAAU,GAAM,GAEvDC,KAAuDC,EAAK,CAASC,MAAA;AACnE,QAAA;AAAA,IACJ,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,eAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,YAAAC;AAAA,IACA,WAAAC;AAAA,EACE,IAAAR,GACE;AAAA,IACJ,UAAAS;AAAA,IACA,kBAAkBC;AAAA,IAClB,WAAWC;AAAA,IACX,aAAaC;AAAA,IACb,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,aAAaC;AAAA,IACb,iBAAiBC;AAAA,IACjB,aAAAC;AAAA,IACA,qBAAqBC;AAAA,EACnB,IAAAjB,GACE;AAAA,IACJ,YAAYkB;AAAA,IACZ,WAAWC;AAAA,IACX,YAAYC;AAAA,IACZ,WAAWC;AAAA,EACT,IAAAL,GAEEM,IAAcpB,MAAcqB,GAAW,MACvCC,IAAcX,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;AAAA,wBAAA;AAAA,sBAC9C;AAAA,sBAEC,gBAAAL,EAAAM,GAAA,EAAK,WAAU,aAAY,QAAO,SAChC,UAAA;AAAA,wBAAA9C;AAAA,wBAAW;AAAA,wBAAEiB,KAAgB;AAAA,sBAAA,GAChC;AAAA,sBACCE,KAAsB,gBAAAkB,EAAAU,GAAA,EAAoB,aAAY,WAAU,aAAa,GAAG;AAAA,oBAAA;AAAA,kBAAA;AAAA,gBACnF;AAAA,gBAEA,gBAAAV;AAAA,kBAACW;AAAA,kBAAA;AAAA,oBACC,UAAAjD;AAAA,oBACA,OAAAG;AAAA,oBACA,UAAAL;AAAA,oBACA,WAAAD;AAAA,kBAAA;AAAA,gBACF;AAAA,gBAEC,CAACe,KACC,gBAAA0B,EAAAY,IAAA,EAA8B,aAAY,WAAU,UAAU,GAC7D,UAAA,gBAAAZ;AAAA,kBAACa;AAAAA,kBAAA;AAAA,oBACC,WAAU;AAAA,oBACV,QAAO;AAAA,oBACP,UAAUrC,IAAc,MAAM;AAAA,oBAE7B,UAAAZ;AAAA,kBAAA;AAAA,gBAAA,GAEL;AAAA,cAAA;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA;AAAA,MACF;AAAA,MAEF,WAAS;AAAA,MACT,WAAU;AAAA,MACV,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,aAAamB,IAAgB,gBAAAiB,EAACc,MAAgB,SAASjB,EAAA,CAAa,IAAO,gBAAAG,EAAAe,GAAA,EAAA;AAAA,IAAA;AAAA,EAAA;AAGjF,CAAC;"}
1
+ {"version":3,"file":"student-actions.js","sources":["../../../../../../src/features/chapters-v2/comps/node-card/student-actions/student-actions.tsx"],"sourcesContent":["import type { ILottieAnimationRef } from '../../../../ui/lottie-animation/types';\nimport type { INodeCardProps } from '../node-card-types';\nimport type { INodeMenuOption } from '../node-menu-options/node-menu-options-types';\n\nimport { memo, useCallback, useRef, type FC } from 'react';\n\nimport Eye2Icon from '../../../../../assets/line-icons/icons/eye2';\nimport RedoIcon from '../../../../../assets/line-icons/icons/redo';\nimport ArrowTooltip from '../../../../ui/arrow-tooltip/arrow-tooltip';\nimport ContextMenu from '../../../../ui/context-menu/context-menu';\nimport LottieAnimation from '../../../../ui/lottie-animation/lottie-animation';\nimport Text from '../../../../ui/text/text';\nimport { BLOCK_TYPE } from '../../../constants/block-constants';\nimport { NODE_CARD_STATES } from '../../../constants/node-constants';\nimport { getNodeTypeBasedBgImage } from '../../../utils';\nimport { getNodeCardBasedIcon } from '../../../utils/node-card-utils';\nimport * as Styled from '../node-card-styled';\nimport NodeCardTags from '../node-card-tags';\nimport NodeMenuOptions from '../node-menu-options/node-menu-options';\n\nconst renderSettings = { renderer: 'canvas', autoplay: false };\n\nconst StudentActions: FC<Omit<INodeCardProps, 'userType'>> = memo(props => {\n const {\n nodeData,\n imageHue,\n blockType,\n onNodeAttempt,\n onNodeReattempt,\n onNodeReview,\n onNodeView,\n isStudent,\n } = props;\n const {\n accuracy,\n attempt_location: attemptLocation,\n node_type: nodeType,\n card_header: cardHeader,\n title,\n state,\n is_optional: isOptional,\n sheet_statement: sheetStatement,\n permissions,\n marked_as_completed: teacherMarkedAsCompleted,\n user_attempt_id: userAttemptId,\n } = nodeData;\n const {\n can_review: canReview,\n can_start: canStart,\n can_resume: canResume,\n can_reset: canReset,\n } = permissions;\n\n const isGoalBlock = blockType === BLOCK_TYPE.GOAL;\n const sheetLocked = state === NODE_CARD_STATES.LOCKED;\n const inClassSheet = attemptLocation === 'INCLASS';\n const canStartOrResume = canStart || canResume;\n\n const renderOptions = !canStartOrResume && (canReset || canReview);\n const animationRef = useRef<ILottieAnimationRef | null>(null);\n const nodeBgImage = getNodeTypeBasedBgImage(nodeType);\n const { lottie: nodeCardLottie } = getNodeCardBasedIcon(nodeType);\n\n const handleOnMenuOptionClick = useCallback(\n (optionId: string) => {\n switch (optionId) {\n case 'node-card-review':\n if (canReview && userAttemptId) {\n onNodeReview?.(nodeData);\n } else {\n onNodeView?.(nodeData);\n }\n\n return;\n\n case 'node-card-reattempt':\n onNodeReattempt?.(nodeData);\n\n return;\n\n default:\n throw new Error(`No callback function for ${optionId}`);\n }\n },\n [canReview, nodeData, onNodeReattempt, onNodeReview, onNodeView, userAttemptId],\n );\n\n const handleOnNodeCardClick = useCallback(() => {\n if (renderOptions || sheetLocked) return;\n\n if (canStart || canResume) {\n onNodeAttempt?.(nodeData);\n } else if (teacherMarkedAsCompleted) {\n onNodeView?.(nodeData);\n }\n }, [\n canResume,\n canStart,\n nodeData,\n onNodeAttempt,\n onNodeView,\n renderOptions,\n sheetLocked,\n teacherMarkedAsCompleted,\n ]);\n\n const handleOnMouseEnter = useCallback(() => {\n if (sheetLocked) return;\n animationRef.current?.play();\n }, [sheetLocked]);\n\n const handleOnMouseLeave = useCallback(() => {\n animationRef.current?.stop();\n }, []);\n\n const menuOptions: INodeMenuOption[] = [\n {\n id: 'node-card-review',\n label: 'Review',\n icon: Eye2Icon,\n disabled: !canReview,\n onClick: handleOnMenuOptionClick,\n },\n {\n id: 'node-card-reattempt',\n label: 'Reattempt',\n icon: RedoIcon,\n disabled: !canReset,\n onClick: handleOnMenuOptionClick,\n },\n ];\n\n return (\n <ContextMenu\n targetElement={\n <Styled.NodeCardContainer\n $background={`${imageHue}_2`}\n $disabled={sheetLocked}\n onClick={handleOnNodeCardClick}\n >\n <ArrowTooltip\n renderAs=\"primary\"\n tooltipItem={sheetStatement}\n position=\"bottom\"\n zIndex={5}\n hidden={!sheetStatement}\n parentWidth=\"100%\"\n widthX={11.25}\n >\n <Styled.NodeCardInfoWrapper\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $heightX={3.5}\n $bgImage={nodeBgImage}\n $gutterX={0.78125}\n $flexGap={8.5}\n $opacity={sheetLocked ? 0.5 : 1}\n onMouseEnter={handleOnMouseEnter}\n onMouseLeave={handleOnMouseLeave}\n >\n <Styled.IconWrapper\n $width={31}\n $height={31}\n $background=\"WHITE_1\"\n $position=\"relative\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n >\n <LottieAnimation\n src={nodeCardLottie}\n ref={animationRef}\n settings={renderSettings}\n />\n {!isOptional && <Styled.StyledImportantIcon />}\n </Styled.IconWrapper>\n\n <Text $renderAs=\"ac4-black\" $color=\"BLACK\">\n {cardHeader} {inClassSheet && `• CW`}\n </Text>\n </Styled.NodeCardInfoWrapper>\n\n <NodeCardTags\n nodeType={nodeType}\n state={state}\n accuracy={accuracy}\n isStudent={isStudent}\n />\n\n {!isGoalBlock && (\n <Styled.NodeCardContentWrapper $background=\"WHITE_1\" $heightX={4}>\n <Styled.NodeCardTitle\n $renderAs=\"ab3\"\n $color=\"BLACK_1\"\n $opacity={sheetLocked ? 0.5 : 1}\n >\n {title}\n </Styled.NodeCardTitle>\n </Styled.NodeCardContentWrapper>\n )}\n </ArrowTooltip>\n </Styled.NodeCardContainer>\n }\n startLeft\n menuWidth=\"100%\"\n menuZIndex={6}\n menuOffset={2}\n menuElement={renderOptions ? <NodeMenuOptions options={menuOptions} /> : <></>}\n />\n );\n});\n\nexport default StudentActions;\n"],"names":["renderSettings","StudentActions","memo","props","nodeData","imageHue","blockType","onNodeAttempt","onNodeReattempt","onNodeReview","onNodeView","isStudent","accuracy","attemptLocation","nodeType","cardHeader","title","state","isOptional","sheetStatement","permissions","teacherMarkedAsCompleted","userAttemptId","canReview","canStart","canResume","canReset","isGoalBlock","BLOCK_TYPE","sheetLocked","NODE_CARD_STATES","inClassSheet","renderOptions","animationRef","useRef","nodeBgImage","getNodeTypeBasedBgImage","nodeCardLottie","getNodeCardBasedIcon","handleOnMenuOptionClick","useCallback","optionId","handleOnNodeCardClick","handleOnMouseEnter","_a","handleOnMouseLeave","menuOptions","Eye2Icon","RedoIcon","jsx","ContextMenu","Styled.NodeCardContainer","jsxs","ArrowTooltip","Styled.NodeCardInfoWrapper","Styled.IconWrapper","LottieAnimation","Styled.StyledImportantIcon","Text","NodeCardTags","Styled.NodeCardContentWrapper","Styled.NodeCardTitle","NodeMenuOptions","Fragment"],"m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;AAAA,MACV,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,aAAagB,IAAgB,gBAAAiB,EAACa,MAAgB,SAAShB,EAAA,CAAa,IAAO,gBAAAG,EAAAc,GAAA,EAAA;AAAA,IAAA;AAAA,EAAA;AAGjF,CAAC;"}
@@ -1,150 +1,147 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { memo as q, useRef as L, useCallback as $ } from "react";
3
- import J from "../../../../../assets/line-icons/icons/check2.js";
4
- import Q from "../../../../../assets/line-icons/icons/eye2.js";
5
- import V from "../../../../../assets/line-icons/icons/home2.js";
6
- import O from "../../../../../assets/line-icons/icons/more-vertical.js";
7
- import Z from "../../../../../assets/line-icons/icons/redo.js";
8
- import D from "../../../../ui/arrow-tooltip/arrow-tooltip.js";
9
- import N from "../../../../ui/border-path-animation/border-path-animation.js";
10
- import ee from "../../../../ui/hooks/use-context-menu-click-handler.js";
11
- import re from "../../../../ui/layout/flex-view.js";
12
- import te from "../../../../ui/lottie-animation/lottie-animation.js";
13
- import ne from "../../../../ui/text/text.js";
14
- import { BLOCK_TYPE as ie } from "../../../constants/block-constants.js";
15
- import { NODE_CARD_STATES as _, TEACHER_MENU_LABELS as oe } from "../../../constants/node-constants.js";
16
- import { getNodeTypeBasedBgImage as ce } from "../../../utils/index.js";
17
- import { getNodeCardBasedIcon as ae } from "../../../utils/node-card-utils.js";
18
- import { NodeCardContainer as se, NodeCardInfoWrapper as le, IconWrapper as de, StyledImportantIcon as me, NodeKebabMenuWrapper as y, NodeCardContentWrapper as pe, NodeCardTitle as he, NodeMenuOptionsWrapper as fe } from "../node-card-styled.js";
19
- import ue from "../node-card-tags.js";
20
- import Ce from "../node-menu-options/node-menu-options.js";
21
- const $e = { renderer: "canvas", autoplay: !1 }, { ASSIGN_AS_HW: _e, REVIEW: Ie, VIEW: be, MARK_AS_DONE: ge, RESET: Ee } = oe, Fe = q(
2
+ import { memo as P, useRef as g, useCallback as C } from "react";
3
+ import R from "../../../../../assets/line-icons/icons/check2.js";
4
+ import U from "../../../../../assets/line-icons/icons/eye2.js";
5
+ import Y from "../../../../../assets/line-icons/icons/home2.js";
6
+ import E from "../../../../../assets/line-icons/icons/more-vertical.js";
7
+ import q from "../../../../../assets/line-icons/icons/redo.js";
8
+ import J from "../../../../ui/arrow-tooltip/arrow-tooltip.js";
9
+ import Q from "../../../../ui/hooks/use-context-menu-click-handler.js";
10
+ import V from "../../../../ui/layout/flex-view.js";
11
+ import Z from "../../../../ui/lottie-animation/lottie-animation.js";
12
+ import D from "../../../../ui/text/text.js";
13
+ import { BLOCK_TYPE as N } from "../../../constants/block-constants.js";
14
+ import { NODE_CARD_STATES as ee, TEACHER_MENU_LABELS as re } from "../../../constants/node-constants.js";
15
+ import { getNodeTypeBasedBgImage as te } from "../../../utils/index.js";
16
+ import { getNodeCardBasedIcon as ne } from "../../../utils/node-card-utils.js";
17
+ import { NodeCardContainer as ie, NodeCardInfoWrapper as ce, IconWrapper as ae, StyledImportantIcon as oe, NodeKebabMenuWrapper as y, NodeCardContentWrapper as le, NodeCardTitle as se, NodeMenuOptionsWrapper as de } from "../node-card-styled.js";
18
+ import me from "../node-card-tags.js";
19
+ import pe from "../node-menu-options/node-menu-options.js";
20
+ const he = { renderer: "canvas", autoplay: !1 }, { ASSIGN_AS_HW: fe, REVIEW: ue, VIEW: Ce, MARK_AS_DONE: $e, RESET: _e } = re, ve = P(
22
21
  ({
23
22
  nodeData: t,
24
- imageHue: k,
25
- blockType: W,
26
- isSkipped: I,
27
- onNodeAssignAsHomework: o,
28
- onNodeMarkAsDone: c,
29
- onNodeView: a,
30
- onNodeReview: s,
31
- onNodeReattempt: l
23
+ imageHue: L,
24
+ blockType: S,
25
+ isSkipped: T,
26
+ onNodeAssignAsHomework: c,
27
+ onNodeMarkAsDone: a,
28
+ onNodeView: o,
29
+ onNodeReview: l,
30
+ onNodeReattempt: s
32
31
  }) => {
33
- const p = L(null), { menuVisible: x, onMenuClick: b } = ee(p), {
34
- accuracy: B,
35
- attempt_location: A,
36
- node_type: h,
37
- card_header: M,
38
- title: w,
39
- state: d,
40
- is_optional: g,
41
- sheet_statement: E,
42
- permissions: K,
43
- user_attempt_id: f
44
- } = t, { lottie: G } = ae(h), u = L(null), {
45
- can_mark_familiar: j,
46
- can_review: C,
47
- can_assign_as_homework: v,
48
- can_reset: P
49
- } = K, S = W === ie.GOAL, n = d === _.LOCKED, R = d === _.NOT_STARTED, X = d === _.IN_PROGRESS, H = A === "INCLASS", T = !g && (X || R), F = ce(h), m = $(
32
+ const m = g(null), { menuVisible: k, onMenuClick: $ } = Q(m), {
33
+ accuracy: O,
34
+ attempt_location: x,
35
+ node_type: p,
36
+ card_header: W,
37
+ title: B,
38
+ state: _,
39
+ is_optional: M,
40
+ sheet_statement: I,
41
+ permissions: w,
42
+ user_attempt_id: h
43
+ } = t, { lottie: A } = ne(p), f = g(null), {
44
+ can_mark_familiar: K,
45
+ can_review: u,
46
+ can_assign_as_homework: G,
47
+ can_reset: j
48
+ } = w, b = S === N.GOAL, n = _ === ee.LOCKED, v = x === "INCLASS", X = te(p), d = C(
50
49
  (r) => {
51
50
  switch (r) {
52
51
  case "node-card-view":
53
- C && f ? s == null || s(t) : a == null || a(t);
52
+ u && h ? l == null || l(t) : o == null || o(t);
54
53
  return;
55
54
  case "node-card-assign-as-hw":
56
- o == null || o(t);
55
+ c == null || c(t);
57
56
  return;
58
57
  case "node-card-mark-as-done":
59
- c == null || c(t);
58
+ a == null || a(t);
60
59
  return;
61
60
  case "node-card-reset":
62
- l == null || l(t);
61
+ s == null || s(t);
63
62
  return;
64
63
  default:
65
64
  throw new Error(`No callback function for ${r}`);
66
65
  }
67
66
  },
68
67
  [
69
- C,
68
+ u,
70
69
  t,
71
- o,
72
70
  c,
73
- l,
74
- s,
75
71
  a,
76
- f
72
+ s,
73
+ l,
74
+ o,
75
+ h
77
76
  ]
78
- ), z = $(() => {
77
+ ), H = C(() => {
79
78
  var r;
80
- n || (r = u.current) == null || r.play();
81
- }, [n]), U = $(() => {
79
+ n || (r = f.current) == null || r.play();
80
+ }, [n]), F = C(() => {
82
81
  var r;
83
- (r = u.current) == null || r.stop();
84
- }, []), Y = [
82
+ (r = f.current) == null || r.stop();
83
+ }, []), z = [
85
84
  {
86
85
  id: "node-card-view",
87
- label: C && f ? Ie : be,
88
- icon: Q,
86
+ label: u && h ? ue : Ce,
87
+ icon: U,
89
88
  disabled: !1,
90
- onClick: m
89
+ onClick: d
91
90
  },
92
91
  {
93
92
  id: "node-card-assign-as-hw",
94
- label: _e,
95
- icon: V,
96
- disabled: !v,
97
- onClick: m
93
+ label: fe,
94
+ icon: Y,
95
+ disabled: !G,
96
+ onClick: d
98
97
  },
99
98
  {
100
99
  id: "node-card-reset",
101
- label: Ee,
102
- icon: Z,
103
- disabled: !P,
104
- onClick: m
100
+ label: _e,
101
+ icon: q,
102
+ disabled: !j,
103
+ onClick: d
105
104
  },
106
105
  {
107
106
  id: "node-card-mark-as-done",
108
- label: ge,
109
- icon: J,
110
- disabled: !j,
111
- onClick: m
107
+ label: $e,
108
+ icon: R,
109
+ disabled: !K,
110
+ onClick: d
112
111
  }
113
112
  ];
114
113
  return /* @__PURE__ */ i(
115
- se,
114
+ ie,
116
115
  {
117
- $showOutline: !T,
118
- $isSheetLocked: n,
119
- $background: `${k}_2`,
120
- $disabled: !!I,
116
+ $background: `${L}_2`,
117
+ $disabled: !!(T || n),
121
118
  children: [
122
119
  /* @__PURE__ */ i(
123
- D,
120
+ J,
124
121
  {
125
122
  renderAs: "primary",
126
- tooltipItem: E,
123
+ tooltipItem: I,
127
124
  position: "bottom",
128
125
  zIndex: 5,
129
- hidden: !E,
126
+ hidden: !I,
130
127
  parentWidth: "100%",
131
128
  widthX: 11.25,
132
129
  children: [
133
130
  /* @__PURE__ */ i(
134
- le,
131
+ ce,
135
132
  {
136
133
  $flexDirection: "row",
137
134
  $alignItems: "center",
138
135
  $width: "100%",
139
136
  $heightX: 3.5,
140
- $bgImage: F,
137
+ $bgImage: X,
141
138
  $gutterX: 0.78125,
142
139
  $flexGap: 8.5,
143
- onMouseEnter: z,
144
- onMouseLeave: U,
140
+ onMouseEnter: H,
141
+ onMouseLeave: F,
145
142
  children: [
146
143
  /* @__PURE__ */ i(
147
- de,
144
+ ae,
148
145
  {
149
146
  $width: 31,
150
147
  $height: 31,
@@ -154,24 +151,23 @@ const $e = { renderer: "canvas", autoplay: !1 }, { ASSIGN_AS_HW: _e, REVIEW: Ie,
154
151
  $justifyContent: "center",
155
152
  $opacity: n ? 0.5 : 1,
156
153
  children: [
157
- /* @__PURE__ */ e(te, { src: G, ref: u, settings: $e }),
158
- !g && /* @__PURE__ */ e(me, {})
154
+ /* @__PURE__ */ e(Z, { src: A, ref: f, settings: he }),
155
+ !M && /* @__PURE__ */ e(oe, {})
159
156
  ]
160
157
  }
161
158
  ),
162
- /* @__PURE__ */ i(ne, { $renderAs: "ac4-black", $color: "BLACK", $opacity: n ? 0.5 : 1, children: [
163
- M,
159
+ /* @__PURE__ */ i(D, { $renderAs: "ac4-black", $color: "BLACK", $opacity: n ? 0.5 : 1, children: [
160
+ W,
164
161
  " ",
165
- H && "• CW"
162
+ v && "• CW"
166
163
  ] }),
167
- /* @__PURE__ */ e(re, { className: "context-menu", children: S && /* @__PURE__ */ e(y, { ref: p, onClick: b, children: /* @__PURE__ */ e(O, { width: 16, height: 16 }) }) }),
168
- T && !I && /* @__PURE__ */ e(N, { borderColor: "BLACK_1", borderWidth: 1 })
164
+ /* @__PURE__ */ e(V, { className: "context-menu", children: b && /* @__PURE__ */ e(y, { ref: m, onClick: $, children: /* @__PURE__ */ e(E, { width: 16, height: 16 }) }) })
169
165
  ]
170
166
  }
171
167
  ),
172
- /* @__PURE__ */ e(ue, { nodeType: h, state: d, accuracy: B }),
173
- !S && /* @__PURE__ */ i(
174
- pe,
168
+ /* @__PURE__ */ e(me, { nodeType: p, state: _, accuracy: O }),
169
+ !b && /* @__PURE__ */ i(
170
+ le,
175
171
  {
176
172
  $flexDirection: "row",
177
173
  $alignItems: "center",
@@ -181,28 +177,28 @@ const $e = { renderer: "canvas", autoplay: !1 }, { ASSIGN_AS_HW: _e, REVIEW: Ie,
181
177
  $justifyContent: "space-between",
182
178
  children: [
183
179
  /* @__PURE__ */ e(
184
- he,
180
+ se,
185
181
  {
186
182
  $renderAs: "ab3",
187
183
  $color: "BLACK_1",
188
184
  $opacity: n ? 0.5 : 1,
189
- children: w
185
+ children: B
190
186
  }
191
187
  ),
192
- /* @__PURE__ */ e(y, { ref: p, onClick: b, children: /* @__PURE__ */ e(O, { width: 16, height: 16 }) })
188
+ /* @__PURE__ */ e(y, { ref: m, onClick: $, children: /* @__PURE__ */ e(E, { width: 16, height: 16 }) })
193
189
  ]
194
190
  }
195
191
  )
196
192
  ]
197
193
  }
198
194
  ),
199
- /* @__PURE__ */ e(fe, { $visible: x, children: /* @__PURE__ */ e(Ce, { options: Y }) })
195
+ /* @__PURE__ */ e(de, { $visible: k, children: /* @__PURE__ */ e(pe, { options: z }) })
200
196
  ]
201
197
  }
202
198
  );
203
199
  }
204
200
  );
205
201
  export {
206
- Fe as default
202
+ ve as default
207
203
  };
208
204
  //# sourceMappingURL=teacher-actions.js.map