@cuemath/leap 3.2.17-mb → 3.2.17-pzd-0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/dist/assets/illustrations/illustrations.js +6 -5
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/cue-board-filled.js +33 -0
  4. package/dist/assets/line-icons/icons/cue-board-filled.js.map +1 -0
  5. package/dist/assets/line-icons/icons/cue-board.js +23 -0
  6. package/dist/assets/line-icons/icons/cue-board.js.map +1 -0
  7. package/dist/assets/line-icons/icons/hint-fill.js +35 -0
  8. package/dist/assets/line-icons/icons/hint-fill.js.map +1 -0
  9. package/dist/assets/line-icons/icons/screen-grab-filled.js +35 -0
  10. package/dist/assets/line-icons/icons/screen-grab-filled.js.map +1 -0
  11. package/dist/assets/line-icons/icons/screen-grab.js +23 -0
  12. package/dist/assets/line-icons/icons/screen-grab.js.map +1 -0
  13. package/dist/assets/line-icons/icons/sticker-filled.js +64 -0
  14. package/dist/assets/line-icons/icons/sticker-filled.js.map +1 -0
  15. package/dist/assets/line-icons/icons/sticker.js +46 -0
  16. package/dist/assets/line-icons/icons/sticker.js.map +1 -0
  17. package/dist/assets/lottie/lottie.js +6 -1
  18. package/dist/assets/lottie/lottie.js.map +1 -1
  19. package/dist/features/analytics-events/platform-events-student.js +2 -1
  20. package/dist/features/analytics-events/platform-events-student.js.map +1 -1
  21. package/dist/features/analytics-events/platform-events-teacher.js +6 -4
  22. package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
  23. package/dist/features/analytics-events/whitelist-events.js +10 -8
  24. package/dist/features/analytics-events/whitelist-events.js.map +1 -1
  25. package/dist/features/auth/account-selector/account-selector.js +26 -25
  26. package/dist/features/auth/account-selector/account-selector.js.map +1 -1
  27. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +15 -14
  28. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  29. package/dist/features/auth/comps/user-list/user-item/user-item.js +30 -31
  30. package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
  31. package/dist/features/auth/comps/user-list/user-list.js +35 -34
  32. package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
  33. package/dist/features/auth/forgot-password/forgot-password-styled.js +14 -15
  34. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -1
  35. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +6 -7
  36. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -1
  37. package/dist/features/auth/login/login-styled.js +8 -9
  38. package/dist/features/auth/login/login-styled.js.map +1 -1
  39. package/dist/features/chapters-v2/utils/node-card-utils.js +9 -9
  40. package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
  41. package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js +4 -4
  42. package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js.map +1 -1
  43. package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js +85 -85
  44. package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +1 -1
  45. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +121 -98
  46. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
  47. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +29 -28
  48. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +1 -1
  49. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +43 -42
  50. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
  51. package/dist/features/circle-games/games/tutorial/tutorial.js +43 -35
  52. package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
  53. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js +2 -2
  54. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js.map +1 -1
  55. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js +1 -1
  56. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js.map +1 -1
  57. package/dist/features/circle-games/sign-up/comp/username-input/username-input.js +26 -24
  58. package/dist/features/circle-games/sign-up/comp/username-input/username-input.js.map +1 -1
  59. package/dist/features/circle-games/sign-up/constants.js +3 -1
  60. package/dist/features/circle-games/sign-up/constants.js.map +1 -1
  61. package/dist/features/communication/pub-sub/constants.js +7 -4
  62. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  63. package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js +42 -42
  64. package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js.map +1 -1
  65. package/dist/features/homework/homework-card-view.js +85 -97
  66. package/dist/features/homework/homework-card-view.js.map +1 -1
  67. package/dist/features/homework/homework-card.js +44 -42
  68. package/dist/features/homework/homework-card.js.map +1 -1
  69. package/dist/features/homework/hw-card-list/hw-card-list-view.js +31 -29
  70. package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -1
  71. package/dist/features/homework/hw-card-list/hw-card-list.js +54 -48
  72. package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
  73. package/dist/features/homework/utils.js +33 -27
  74. package/dist/features/homework/utils.js.map +1 -1
  75. package/dist/features/journey/comps/coachmark/coachmark.js +29 -27
  76. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  77. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +17 -11
  78. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -1
  79. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +72 -0
  80. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +1 -0
  81. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +59 -0
  82. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +1 -0
  83. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +63 -0
  84. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +1 -0
  85. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +67 -0
  86. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +1 -0
  87. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +70 -0
  88. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +1 -0
  89. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +59 -0
  90. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +1 -0
  91. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +59 -0
  92. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +1 -0
  93. package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +70 -0
  94. package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +1 -0
  95. package/dist/features/journey/journey-id/journey-id-student.js +2 -2
  96. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  97. package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
  98. package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
  99. package/dist/features/journey/use-journey/journey-context-provider.js +73 -72
  100. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  101. package/dist/features/journey/use-journey/journey-styled.js +6 -4
  102. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  103. package/dist/features/puzzles/api/puzzle-dashboard.js +10 -0
  104. package/dist/features/puzzles/api/puzzle-dashboard.js.map +1 -0
  105. package/dist/features/puzzles/app/puzzle-app-styled.js +85 -0
  106. package/dist/features/puzzles/app/puzzle-app-styled.js.map +1 -0
  107. package/dist/features/puzzles/app/puzzle-app-view.js +120 -0
  108. package/dist/features/puzzles/app/puzzle-app-view.js.map +1 -0
  109. package/dist/features/puzzles/app/puzzle-app.js +62 -0
  110. package/dist/features/puzzles/app/puzzle-app.js.map +1 -0
  111. package/dist/features/puzzles/comps/puzzle-card-styled.js +24 -69
  112. package/dist/features/puzzles/comps/puzzle-card-styled.js.map +1 -1
  113. package/dist/features/puzzles/comps/puzzle-card.js +79 -30
  114. package/dist/features/puzzles/comps/puzzle-card.js.map +1 -1
  115. package/dist/features/puzzles/constants/puzzle-container.js +8 -0
  116. package/dist/features/puzzles/constants/puzzle-container.js.map +1 -0
  117. package/dist/features/puzzles/puzzle-analytics-events.js +11 -0
  118. package/dist/features/puzzles/puzzle-analytics-events.js.map +1 -0
  119. package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js +55 -25
  120. package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js.map +1 -1
  121. package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +55 -0
  122. package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +1 -0
  123. package/dist/features/puzzles/puzzle-container/puzzle-container.js +100 -107
  124. package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
  125. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +37 -0
  126. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +1 -0
  127. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +110 -0
  128. package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +1 -0
  129. package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js +1 -1
  130. package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js.map +1 -1
  131. package/dist/features/puzzles/utils/puzzle-pattern.js +28 -13
  132. package/dist/features/puzzles/utils/puzzle-pattern.js.map +1 -1
  133. package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js +6 -0
  134. package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js.map +1 -0
  135. package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js +12 -60
  136. package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js.map +1 -1
  137. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +72 -77
  138. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  139. package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js +63 -0
  140. package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js.map +1 -0
  141. package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js +21 -0
  142. package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js.map +1 -0
  143. package/dist/features/ui/error/error.js +65 -27
  144. package/dist/features/ui/error/error.js.map +1 -1
  145. package/dist/features/ui/lottie-animation/lottie-animation.js +25 -29
  146. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  147. package/dist/features/ui/modals/modal-styled.js +34 -58
  148. package/dist/features/ui/modals/modal-styled.js.map +1 -1
  149. package/dist/features/ui/modals/modal.js +40 -14
  150. package/dist/features/ui/modals/modal.js.map +1 -1
  151. package/dist/features/ui/nudge/nudge-styled.js +14 -7
  152. package/dist/features/ui/nudge/nudge-styled.js.map +1 -1
  153. package/dist/features/ui/nudge/nudge.js +13 -12
  154. package/dist/features/ui/nudge/nudge.js.map +1 -1
  155. package/dist/features/{stickers/sticker-selector/sticker-selector-styles.js → ui/sticker-grid/sticker-grid-styles.js} +3 -4
  156. package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +1 -0
  157. package/dist/features/ui/sticker-grid/sticker-grid.js +24 -0
  158. package/dist/features/ui/sticker-grid/sticker-grid.js.map +1 -0
  159. package/dist/features/ui/sticker-grid/sticker.js +57 -0
  160. package/dist/features/ui/sticker-grid/sticker.js.map +1 -0
  161. package/dist/features/ui/stickers/constants.js +6 -0
  162. package/dist/features/ui/stickers/constants.js.map +1 -0
  163. package/dist/features/{stickers/stickers-effects/effects.js → ui/stickers/stickers-effects.js} +6 -6
  164. package/dist/features/ui/stickers/stickers-effects.js.map +1 -0
  165. package/dist/features/{stickers/stickers-effects/stickers-effects-styled.js → ui/stickers/stickers-styled.js} +2 -2
  166. package/dist/features/ui/stickers/stickers-styled.js.map +1 -0
  167. package/dist/features/{stickers/stickers-effects/stickers-effects-utils.js → ui/stickers/stickers-utils.js} +6 -6
  168. package/dist/features/ui/stickers/stickers-utils.js.map +1 -0
  169. package/dist/features/ui/stickers/stickers.js +40 -0
  170. package/dist/features/ui/stickers/stickers.js.map +1 -0
  171. package/dist/features/ui/streak-icon/streak-icon-styled.js +13 -13
  172. package/dist/features/ui/streak-icon/streak-icon-styled.js.map +1 -1
  173. package/dist/features/ui/streak-icon/streak-icon.js +17 -15
  174. package/dist/features/ui/streak-icon/streak-icon.js.map +1 -1
  175. package/dist/features/ui/text/text.js +40 -36
  176. package/dist/features/ui/text/text.js.map +1 -1
  177. package/dist/features/ui/theme/constants.js +4 -2
  178. package/dist/features/ui/theme/constants.js.map +1 -1
  179. package/dist/features/ui/theme/get-device.js +3 -3
  180. package/dist/features/ui/theme/get-device.js.map +1 -1
  181. package/dist/features/worksheet/worksheet/constants.js +12 -13
  182. package/dist/features/worksheet/worksheet/constants.js.map +1 -1
  183. package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +28 -0
  184. package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +1 -0
  185. package/dist/features/worksheet/worksheet/worksheet-helpers.js +20 -19
  186. package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
  187. package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +29 -25
  188. package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
  189. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +101 -47
  190. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
  191. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +244 -255
  192. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
  193. package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +242 -207
  194. package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
  195. package/dist/features/worksheet/worksheet/worksheet-styled.js +45 -36
  196. package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
  197. package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
  198. package/dist/features/worksheet/worksheet/worksheet.js +321 -325
  199. package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
  200. package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +1 -1
  201. package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
  202. package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +44 -35
  203. package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
  204. package/dist/index.d.ts +152 -56
  205. package/dist/index.js +563 -539
  206. package/dist/index.js.map +1 -1
  207. package/dist/static/nudge-tap.0591aef4.json +1 -0
  208. package/dist/static/puzzle-blue-lottie.7017e2e8.json +1 -0
  209. package/dist/static/puzzle-blue-lottie.bf64ebc5.json +12760 -0
  210. package/dist/static/puzzle-dashboard-banner.b7956519.svg +1 -0
  211. package/dist/static/puzzle-green-lottie.1da90698.json +1 -0
  212. package/dist/static/puzzle-orange-lottie.cfcf3724.json +1 -0
  213. package/dist/static/puzzle-pattern-blue.abff0164.svg +1 -0
  214. package/dist/static/puzzle-pattern-green.b8ba1840.svg +1 -0
  215. package/dist/static/puzzle-pattern-orange.3f5a17ff.svg +1 -0
  216. package/dist/static/puzzle-pattern-purple.14b09759.svg +1 -0
  217. package/dist/static/puzzle-pattern-yellow.50917fab.svg +1 -0
  218. package/dist/static/puzzle-purple-lottie.e70de110.json +9860 -0
  219. package/dist/static/puzzle-yellow-lottie.275b5cf4.json +1 -0
  220. package/package.json +1 -1
  221. package/dist/features/hooks/use-viewport/use-viewport.js +0 -22
  222. package/dist/features/hooks/use-viewport/use-viewport.js.map +0 -1
  223. package/dist/features/stickers/sticker-data.js +0 -234
  224. package/dist/features/stickers/sticker-data.js.map +0 -1
  225. package/dist/features/stickers/sticker-selector/sticker-selector-styles.js.map +0 -1
  226. package/dist/features/stickers/sticker-selector/sticker-selector.js +0 -25
  227. package/dist/features/stickers/sticker-selector/sticker-selector.js.map +0 -1
  228. package/dist/features/stickers/sticker-selector/sticker.js +0 -57
  229. package/dist/features/stickers/sticker-selector/sticker.js.map +0 -1
  230. package/dist/features/stickers/stickers-effects/effects.js.map +0 -1
  231. package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +0 -1
  232. package/dist/features/stickers/stickers-effects/stickers-effects-utils.js.map +0 -1
  233. package/dist/features/stickers/stickers-effects/stickers-effects.js +0 -39
  234. package/dist/features/stickers/stickers-effects/stickers-effects.js.map +0 -1
  235. package/dist/static/nudge-tap.5cb30093.json +0 -1057
  236. package/dist/static/puzzle-pattern-blue.f4bea1ee.svg +0 -1
  237. package/dist/static/puzzle-pattern-green.c9f84bbc.svg +0 -1
  238. package/dist/static/puzzle-pattern-orange.3da09665.svg +0 -1
  239. package/dist/static/puzzle-pattern-purple.5fb5a319.svg +0 -1
  240. package/dist/static/puzzle-pattern-yellow.aadbf457.svg +0 -1
@@ -1,23 +1,24 @@
1
- import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
- import { memo as l } from "react";
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
+ import { memo as s } from "react";
3
+ import { useTheme as $ } from "styled-components";
3
4
  import { ILLUSTRATIONS as a } from "../../../assets/illustrations/illustrations.js";
4
- import s from "../../hooks/use-viewport/use-viewport.js";
5
- import $ from "../../ui/image/image.js";
6
- import t from "../../ui/layout/flex-view.js";
7
- import o from "../../ui/separator/separator.js";
5
+ import d from "../../ui/image/image.js";
6
+ import r from "../../ui/layout/flex-view.js";
7
+ import t from "../../ui/separator/separator.js";
8
8
  import c from "../../ui/text/text.js";
9
- import f from "../comps/overlay-loader/overlay-loader.js";
10
- import d from "../comps/user-list/user-list.js";
11
- import { ImageWrapper as g } from "./account-selector-styled.js";
12
- const u = ({
9
+ import { EDeviceType as f } from "../../ui/theme/constants.js";
10
+ import g from "../comps/overlay-loader/overlay-loader.js";
11
+ import T from "../comps/user-list/user-list.js";
12
+ import { ImageWrapper as u } from "./account-selector-styled.js";
13
+ const w = ({
13
14
  userAccounts: m,
14
15
  onSelect: n,
15
16
  onAddNew: p,
16
17
  isLoading: h
17
18
  }) => {
18
- const { isCompact: e } = s();
19
+ const { device: l } = $(), o = l <= f.TABLET;
19
20
  return /* @__PURE__ */ i(
20
- t,
21
+ r,
21
22
  {
22
23
  $flex: 1,
23
24
  $alignItems: "center",
@@ -26,15 +27,15 @@ const u = ({
26
27
  $height: "100%",
27
28
  $gapX: 2,
28
29
  children: [
29
- /* @__PURE__ */ r(f, { isLoading: h }),
30
- /* @__PURE__ */ r($, { src: a.CIRCLE_CUEMATH_LOGO_WHITE, alt: "Parent Signup", withLoader: !1 }),
31
- /* @__PURE__ */ r(o, { heightX: 1 }),
32
- /* @__PURE__ */ r(c, { $renderAs: "ab1", $color: "WHITE_T_60", $align: "center", children: "Switch between accounts" }),
33
- /* @__PURE__ */ r(o, { heightX: e ? 1.5 : 5 }),
34
- /* @__PURE__ */ r(d, { users: m, onSelect: n, onAddNew: p }),
35
- /* @__PURE__ */ r(o, { heightX: e ? 1.5 : 5 }),
30
+ /* @__PURE__ */ e(g, { isLoading: h }),
31
+ /* @__PURE__ */ e(d, { src: a.CIRCLE_CUEMATH_LOGO_WHITE, alt: "Parent Signup", withLoader: !1 }),
32
+ /* @__PURE__ */ e(t, { heightX: 1 }),
33
+ /* @__PURE__ */ e(c, { $renderAs: "ab1", $color: "WHITE_T_60", $align: "center", children: "Switch between accounts" }),
34
+ /* @__PURE__ */ e(t, { heightX: o ? 1.5 : 5 }),
35
+ /* @__PURE__ */ e(T, { users: m, onSelect: n, onAddNew: p }),
36
+ /* @__PURE__ */ e(t, { heightX: o ? 1.5 : 5 }),
36
37
  /* @__PURE__ */ i(
37
- t,
38
+ r,
38
39
  {
39
40
  $gutterX: 0.5,
40
41
  $gapX: 1,
@@ -44,8 +45,8 @@ const u = ({
44
45
  $background: "BLACK_3",
45
46
  $flexDirection: "row",
46
47
  children: [
47
- /* @__PURE__ */ r(
48
- g,
48
+ /* @__PURE__ */ e(
49
+ u,
49
50
  {
50
51
  src: a.CUEMATH_APP_QR_CODE,
51
52
  width: 80,
@@ -53,15 +54,15 @@ const u = ({
53
54
  withLoader: !1
54
55
  }
55
56
  ),
56
- /* @__PURE__ */ r(t, { $gapX: 0.5, $flex: 1, children: /* @__PURE__ */ r(c, { $color: "WHITE", $renderAs: e ? "ab3" : "ab2", children: "Download the cuemath app to view your children’s report" }) })
57
+ /* @__PURE__ */ e(r, { $gapX: 0.5, $flex: 1, children: /* @__PURE__ */ e(c, { $color: "WHITE", $renderOnTabletAs: "ab3", $renderAs: "ab2", children: "Download the cuemath app to view your children’s report" }) })
57
58
  ]
58
59
  }
59
60
  )
60
61
  ]
61
62
  }
62
63
  );
63
- }, b = l(u);
64
+ }, v = s(w);
64
65
  export {
65
- b as default
66
+ v as default
66
67
  };
67
68
  //# sourceMappingURL=account-selector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"account-selector.js","sources":["../../../../src/features/auth/account-selector/account-selector.tsx"],"sourcesContent":["import type { IAccountSelectorViewProps } from './account-selector-types';\n\nimport { memo } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\nimport useViewport from '../../hooks/use-viewport/use-viewport';\nimport Image from '../../ui/image/image';\nimport FlexView from '../../ui/layout/flex-view';\nimport Separator from '../../ui/separator/separator';\nimport Text from '../../ui/text/text';\nimport OverlayLoader from '../comps/overlay-loader/overlay-loader';\nimport UserList from '../comps/user-list/user-list';\nimport * as Styled from './account-selector-styled';\n\nconst AccountSelector = ({\n userAccounts,\n onSelect,\n onAddNew,\n isLoading,\n}: IAccountSelectorViewProps) => {\n const { isCompact } = useViewport();\n\n return (\n <FlexView\n $flex={1}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n $gapX={2}\n >\n <OverlayLoader isLoading={isLoading} />\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Parent Signup\" withLoader={false} />\n <Separator heightX={1} />\n <Text $renderAs=\"ab1\" $color=\"WHITE_T_60\" $align=\"center\">\n Switch between accounts\n </Text>\n <Separator heightX={isCompact ? 1.5 : 5} />\n <UserList users={userAccounts} onSelect={onSelect} onAddNew={onAddNew} />\n <Separator heightX={isCompact ? 1.5 : 5} />\n <FlexView\n $gutterX={0.5}\n $gapX={1}\n $flexGapX={0.5}\n $width={280}\n $borderColor=\"BLACK_5\"\n $background=\"BLACK_3\"\n $flexDirection=\"row\"\n >\n <Styled.ImageWrapper\n src={ILLUSTRATIONS.CUEMATH_APP_QR_CODE}\n width={80}\n height={80}\n withLoader={false}\n />\n <FlexView $gapX={0.5} $flex={1}>\n <Text $color=\"WHITE\" $renderAs={isCompact ? 'ab3' : 'ab2'}>\n Download the cuemath app to view your children’s report\n </Text>\n </FlexView>\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(AccountSelector);\n"],"names":["AccountSelector","userAccounts","onSelect","onAddNew","isLoading","isCompact","useViewport","jsxs","FlexView","jsx","OverlayLoader","Image","ILLUSTRATIONS","Separator","Text","UserList","Styled.ImageWrapper","accountSelector","memo"],"mappings":";;;;;;;;;;;AAcA,MAAMA,IAAkB,CAAC;AAAA,EACvB,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AACF,MAAiC;AACzB,QAAA,EAAE,WAAAC,MAAcC;AAGpB,SAAA,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,OAAO;AAAA,MAEP,UAAA;AAAA,QAAA,gBAAAC,EAACC,KAAc,WAAAN,GAAsB;AAAA,QACrC,gBAAAK,EAACE,KAAM,KAAKC,EAAc,2BAA2B,KAAI,iBAAgB,YAAY,IAAO;AAAA,QAC5F,gBAAAH,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,QACvB,gBAAAJ,EAACK,KAAK,WAAU,OAAM,QAAO,cAAa,QAAO,UAAS,UAE1D,0BAAA,CAAA;AAAA,QACC,gBAAAL,EAAAI,GAAA,EAAU,SAASR,IAAY,MAAM,GAAG;AAAA,QACxC,gBAAAI,EAAAM,GAAA,EAAS,OAAOd,GAAc,UAAAC,GAAoB,UAAAC,GAAoB;AAAA,QACtE,gBAAAM,EAAAI,GAAA,EAAU,SAASR,IAAY,MAAM,GAAG;AAAA,QACzC,gBAAAE;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAU;AAAA,YACV,OAAO;AAAA,YACP,WAAW;AAAA,YACX,QAAQ;AAAA,YACR,cAAa;AAAA,YACb,aAAY;AAAA,YACZ,gBAAe;AAAA,YAEf,UAAA;AAAA,cAAA,gBAAAC;AAAA,gBAACO;AAAAA,gBAAA;AAAA,kBACC,KAAKJ,EAAc;AAAA,kBACnB,OAAO;AAAA,kBACP,QAAQ;AAAA,kBACR,YAAY;AAAA,gBAAA;AAAA,cACd;AAAA,cACC,gBAAAH,EAAAD,GAAA,EAAS,OAAO,KAAK,OAAO,GAC3B,UAAA,gBAAAC,EAACK,GAAK,EAAA,QAAO,SAAQ,WAAWT,IAAY,QAAQ,OAAO,oEAE3D,CAAA,GACF;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeY,IAAAC,EAAKlB,CAAe;"}
1
+ {"version":3,"file":"account-selector.js","sources":["../../../../src/features/auth/account-selector/account-selector.tsx"],"sourcesContent":["import type { IAccountSelectorViewProps } from './account-selector-types';\n\nimport { memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\nimport Image from '../../ui/image/image';\nimport FlexView from '../../ui/layout/flex-view';\nimport Separator from '../../ui/separator/separator';\nimport Text from '../../ui/text/text';\nimport { EDeviceType } from '../../ui/theme/constants';\nimport OverlayLoader from '../comps/overlay-loader/overlay-loader';\nimport UserList from '../comps/user-list/user-list';\nimport * as Styled from './account-selector-styled';\n\nconst AccountSelector = ({\n userAccounts,\n onSelect,\n onAddNew,\n isLoading,\n}: IAccountSelectorViewProps) => {\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n\n return (\n <FlexView\n $flex={1}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n $gapX={2}\n >\n <OverlayLoader isLoading={isLoading} />\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Parent Signup\" withLoader={false} />\n <Separator heightX={1} />\n <Text $renderAs=\"ab1\" $color=\"WHITE_T_60\" $align=\"center\">\n Switch between accounts\n </Text>\n <Separator heightX={isCompact ? 1.5 : 5} />\n <UserList users={userAccounts} onSelect={onSelect} onAddNew={onAddNew} />\n <Separator heightX={isCompact ? 1.5 : 5} />\n <FlexView\n $gutterX={0.5}\n $gapX={1}\n $flexGapX={0.5}\n $width={280}\n $borderColor=\"BLACK_5\"\n $background=\"BLACK_3\"\n $flexDirection=\"row\"\n >\n <Styled.ImageWrapper\n src={ILLUSTRATIONS.CUEMATH_APP_QR_CODE}\n width={80}\n height={80}\n withLoader={false}\n />\n <FlexView $gapX={0.5} $flex={1}>\n <Text $color=\"WHITE\" $renderOnTabletAs=\"ab3\" $renderAs=\"ab2\">\n Download the cuemath app to view your children’s report\n </Text>\n </FlexView>\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(AccountSelector);\n"],"names":["AccountSelector","userAccounts","onSelect","onAddNew","isLoading","device","useTheme","isCompact","EDeviceType","jsxs","FlexView","jsx","OverlayLoader","Image","ILLUSTRATIONS","Separator","Text","UserList","Styled.ImageWrapper","accountSelector","memo"],"mappings":";;;;;;;;;;;;AAeA,MAAMA,IAAkB,CAAC;AAAA,EACvB,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AACF,MAAiC;AACzB,QAAA,EAAE,QAAAC,MAAWC,KACbC,IAAYF,KAAUG,EAAY;AAGtC,SAAA,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,OAAO;AAAA,MAEP,UAAA;AAAA,QAAA,gBAAAC,EAACC,KAAc,WAAAR,GAAsB;AAAA,QACrC,gBAAAO,EAACE,KAAM,KAAKC,EAAc,2BAA2B,KAAI,iBAAgB,YAAY,IAAO;AAAA,QAC5F,gBAAAH,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,QACvB,gBAAAJ,EAACK,KAAK,WAAU,OAAM,QAAO,cAAa,QAAO,UAAS,UAE1D,0BAAA,CAAA;AAAA,QACC,gBAAAL,EAAAI,GAAA,EAAU,SAASR,IAAY,MAAM,GAAG;AAAA,QACxC,gBAAAI,EAAAM,GAAA,EAAS,OAAOhB,GAAc,UAAAC,GAAoB,UAAAC,GAAoB;AAAA,QACtE,gBAAAQ,EAAAI,GAAA,EAAU,SAASR,IAAY,MAAM,GAAG;AAAA,QACzC,gBAAAE;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAU;AAAA,YACV,OAAO;AAAA,YACP,WAAW;AAAA,YACX,QAAQ;AAAA,YACR,cAAa;AAAA,YACb,aAAY;AAAA,YACZ,gBAAe;AAAA,YAEf,UAAA;AAAA,cAAA,gBAAAC;AAAA,gBAACO;AAAAA,gBAAA;AAAA,kBACC,KAAKJ,EAAc;AAAA,kBACnB,OAAO;AAAA,kBACP,QAAQ;AAAA,kBACR,YAAY;AAAA,gBAAA;AAAA,cACd;AAAA,cACC,gBAAAH,EAAAD,GAAA,EAAS,OAAO,KAAK,OAAO,GAC3B,UAAA,gBAAAC,EAACK,GAAK,EAAA,QAAO,SAAQ,mBAAkB,OAAM,WAAU,OAAM,oEAE7D,CAAA,GACF;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeG,IAAAC,EAAKpB,CAAe;"}
@@ -1,23 +1,24 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { memo as m } from "react";
3
- import a from "../../../hooks/use-viewport/use-viewport.js";
4
- import c from "../../../ui/layout/flex-view.js";
5
- import { Container as h, ContentWrapper as s } from "./auth-page-layout-styled.js";
6
- const p = ({ leftBlock: i, rightBlock: o, isFullWidth: t }) => {
7
- const { isCompact: r } = a();
8
- return /* @__PURE__ */ n(h, { $width: "100%", $height: "100%", $flexDirection: "row", children: [
9
- /* @__PURE__ */ e(
10
- s,
1
+ import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
+ import { memo as c } from "react";
3
+ import { useTheme as h } from "styled-components";
4
+ import a from "../../../ui/layout/flex-view.js";
5
+ import { EDeviceType as s } from "../../../ui/theme/constants.js";
6
+ import { Container as p, ContentWrapper as d } from "./auth-page-layout-styled.js";
7
+ const f = ({ leftBlock: i, rightBlock: o, isFullWidth: t }) => {
8
+ const { device: m } = h(), e = m <= s.TABLET;
9
+ return /* @__PURE__ */ n(p, { $width: "100%", $height: "100%", $flexDirection: "row", children: [
10
+ /* @__PURE__ */ r(
11
+ d,
11
12
  {
12
- $width: t || r ? "100%" : "50%",
13
+ $width: t || e ? "100%" : "50%",
13
14
  $background: "BLACK_1",
14
15
  children: i
15
16
  }
16
17
  ),
17
- !r && o && !t && /* @__PURE__ */ e(c, { $width: "50%", $background: "BLACK_2", children: o })
18
+ !e && o && !t && /* @__PURE__ */ r(a, { $width: "50%", $background: "BLACK_2", children: o })
18
19
  ] });
19
- }, l = m(p);
20
+ }, L = c(f);
20
21
  export {
21
- l as default
22
+ L as default
22
23
  };
23
24
  //# sourceMappingURL=auth-page-layout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth-page-layout.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout.tsx"],"sourcesContent":["import type { IAuthPageLayoutProps } from './auth-page-layout-types';\n\nimport { memo, type FC } from 'react';\n\nimport useViewport from '../../../hooks/use-viewport/use-viewport';\nimport FlexView from '../../../ui/layout/flex-view';\nimport * as Styled from './auth-page-layout-styled';\n\nconst AuthPageLayout: FC<IAuthPageLayoutProps> = ({ leftBlock, rightBlock, isFullWidth }) => {\n const { isCompact } = useViewport();\n const showRightBlock = !isCompact && rightBlock && !isFullWidth;\n\n return (\n <Styled.Container $width=\"100%\" $height=\"100%\" $flexDirection=\"row\">\n <Styled.ContentWrapper\n $width={isFullWidth || isCompact ? '100%' : '50%'}\n $background=\"BLACK_1\"\n >\n {leftBlock}\n </Styled.ContentWrapper>\n {showRightBlock && (\n <FlexView $width=\"50%\" $background=\"BLACK_2\">\n {rightBlock}\n </FlexView>\n )}\n </Styled.Container>\n );\n};\n\nexport default memo(AuthPageLayout);\n"],"names":["AuthPageLayout","leftBlock","rightBlock","isFullWidth","isCompact","useViewport","jsxs","Styled.Container","jsx","Styled.ContentWrapper","FlexView","authPageLayout","memo"],"mappings":";;;;;AAQA,MAAMA,IAA2C,CAAC,EAAE,WAAAC,GAAW,YAAAC,GAAY,aAAAC,QAAkB;AACrF,QAAA,EAAE,WAAAC,MAAcC;AAIpB,SAAA,gBAAAC,EAACC,GAAA,EAAiB,QAAO,QAAO,SAAQ,QAAO,gBAAe,OAC5D,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,QAAQN,KAAeC,IAAY,SAAS;AAAA,QAC5C,aAAY;AAAA,QAEX,UAAAH;AAAA,MAAA;AAAA,IACH;AAAA,IATmB,CAACG,KAAaF,KAAc,CAACC,KAW7C,gBAAAK,EAAAE,GAAA,EAAS,QAAO,OAAM,aAAY,WAChC,UACHR,GAAA;AAAA,EAEJ,EAAA,CAAA;AAEJ,GAEeS,IAAAC,EAAKZ,CAAc;"}
1
+ {"version":3,"file":"auth-page-layout.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout.tsx"],"sourcesContent":["import type { IAuthPageLayoutProps } from './auth-page-layout-types';\n\nimport { memo, type FC } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport { EDeviceType } from '../../../ui/theme/constants';\nimport * as Styled from './auth-page-layout-styled';\n\nconst AuthPageLayout: FC<IAuthPageLayoutProps> = ({ leftBlock, rightBlock, isFullWidth }) => {\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n const showRightBlock = !isCompact && rightBlock && !isFullWidth;\n\n return (\n <Styled.Container $width=\"100%\" $height=\"100%\" $flexDirection=\"row\">\n <Styled.ContentWrapper\n $width={isFullWidth || isCompact ? '100%' : '50%'}\n $background=\"BLACK_1\"\n >\n {leftBlock}\n </Styled.ContentWrapper>\n {showRightBlock && (\n <FlexView $width=\"50%\" $background=\"BLACK_2\">\n {rightBlock}\n </FlexView>\n )}\n </Styled.Container>\n );\n};\n\nexport default memo(AuthPageLayout);\n"],"names":["AuthPageLayout","leftBlock","rightBlock","isFullWidth","device","useTheme","isCompact","EDeviceType","jsxs","Styled.Container","jsx","Styled.ContentWrapper","FlexView","authPageLayout","memo"],"mappings":";;;;;;AASA,MAAMA,IAA2C,CAAC,EAAE,WAAAC,GAAW,YAAAC,GAAY,aAAAC,QAAkB;AACrF,QAAA,EAAE,QAAAC,MAAWC,KACbC,IAAYF,KAAUG,EAAY;AAItC,SAAA,gBAAAC,EAACC,GAAA,EAAiB,QAAO,QAAO,SAAQ,QAAO,gBAAe,OAC5D,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,QAAQR,KAAeG,IAAY,SAAS;AAAA,QAC5C,aAAY;AAAA,QAEX,UAAAL;AAAA,MAAA;AAAA,IACH;AAAA,IATmB,CAACK,KAAaJ,KAAc,CAACC,KAW7C,gBAAAO,EAAAE,GAAA,EAAS,QAAO,OAAM,aAAY,WAChC,UACHV,GAAA;AAAA,EAEJ,EAAA,CAAA;AAEJ,GAEeW,IAAAC,EAAKd,CAAc;"}
@@ -1,50 +1,49 @@
1
- import { jsxs as g, jsx as t } from "react/jsx-runtime";
2
- import { memo as u, useCallback as C } from "react";
3
- import A from "../../../../hooks/use-viewport/use-viewport.js";
4
- import I from "../../../../ui/avatar/avatar.js";
5
- import b from "../../../../ui/separator/separator.js";
6
- import d from "../../../../ui/text/text.js";
7
- import { AVATAR_CONFIGURATIONS as a } from "../user-list-constants.js";
8
- import { UserItemCard as k } from "./user-item-styled.js";
9
- const T = ({
1
+ import { jsxs as h, jsx as t } from "react/jsx-runtime";
2
+ import { memo as g, useCallback as A } from "react";
3
+ import u from "../../../../ui/avatar/avatar.js";
4
+ import C from "../../../../ui/separator/separator.js";
5
+ import I from "../../../../ui/text/text.js";
6
+ import { AVATAR_CONFIGURATIONS as m } from "../user-list-constants.js";
7
+ import { UserItemCard as b } from "./user-item-styled.js";
8
+ const d = ({
10
9
  id: r,
11
- phone: s,
12
- username: n,
10
+ phone: n,
11
+ username: s,
13
12
  avatar: i,
14
- index: o,
13
+ index: e,
15
14
  isLastItem: c,
16
- onSelect: e,
17
- avatarSize: p,
18
- maxColumns: l,
19
- cardSize: m
15
+ onSelect: o,
16
+ avatarSize: l,
17
+ maxColumns: $,
18
+ cardSize: a
20
19
  }) => {
21
- const { isCompact: $ } = A(), f = C(() => {
22
- e(r);
23
- }, [r, e]), h = i ?? a[o % a.length];
24
- return /* @__PURE__ */ g(
25
- k,
20
+ const p = A(() => {
21
+ o(r);
22
+ }, [r, o]), f = i ?? m[e % m.length];
23
+ return /* @__PURE__ */ h(
24
+ b,
26
25
  {
27
- onClick: f,
28
- maxColumns: l,
26
+ onClick: p,
27
+ maxColumns: $,
29
28
  $gutterX: 1.5,
30
29
  $gapX: 1.5,
31
- $width: m,
32
- $height: m,
30
+ $width: a,
31
+ $height: a,
33
32
  $alignItems: "center",
34
33
  $justifyContent: "center",
35
- index: o,
34
+ index: e,
36
35
  isLastItem: c,
37
36
  $background: "BLACK_1",
38
37
  children: [
39
- /* @__PURE__ */ t(I, { size: p, avatar: h }),
40
- /* @__PURE__ */ t(b, { heightX: 0.5 }),
41
- /* @__PURE__ */ t(d, { $color: "WHITE", $renderAs: $ ? "ab3" : "ab2", $align: "center", children: n || s })
38
+ /* @__PURE__ */ t(u, { size: l, avatar: f }),
39
+ /* @__PURE__ */ t(C, { heightX: 0.5 }),
40
+ /* @__PURE__ */ t(I, { $color: "WHITE", $renderOnTabletAs: "ab3", $renderAs: "ab2", $align: "center", children: s || n })
42
41
  ]
43
42
  },
44
43
  r
45
44
  );
46
- }, R = u(T);
45
+ }, X = g(d);
47
46
  export {
48
- R as default
47
+ X as default
49
48
  };
50
49
  //# sourceMappingURL=user-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-item.js","sources":["../../../../../../src/features/auth/comps/user-list/user-item/user-item.tsx"],"sourcesContent":["import type { IUserItemProps } from './user-item-types';\n\nimport { useCallback, type FC, memo } from 'react';\n\nimport useViewport from '../../../../hooks/use-viewport/use-viewport';\nimport Avatar from '../../../../ui/avatar/avatar';\nimport Separator from '../../../../ui/separator/separator';\nimport Text from '../../../../ui/text/text';\nimport { AVATAR_CONFIGURATIONS } from '../user-list-constants';\nimport * as Styled from './user-item-styled';\n\nconst UserItem: FC<IUserItemProps> = ({\n id,\n phone,\n username,\n avatar,\n index,\n isLastItem,\n onSelect,\n avatarSize,\n maxColumns,\n cardSize,\n}) => {\n const { isCompact } = useViewport();\n const handleClick = useCallback(() => {\n onSelect(id);\n }, [id, onSelect]);\n\n const avatarSource = avatar ?? AVATAR_CONFIGURATIONS[index % AVATAR_CONFIGURATIONS.length];\n\n return (\n <Styled.UserItemCard\n key={id}\n onClick={handleClick}\n maxColumns={maxColumns}\n $gutterX={1.5}\n $gapX={1.5}\n $width={cardSize}\n $height={cardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n index={index}\n isLastItem={isLastItem}\n $background=\"BLACK_1\"\n >\n <Avatar size={avatarSize} avatar={avatarSource} />\n <Separator heightX={0.5} />\n <Text $color=\"WHITE\" $renderAs={isCompact ? 'ab3' : 'ab2'} $align=\"center\">\n {username || phone}\n </Text>\n </Styled.UserItemCard>\n );\n};\n\nexport default memo(UserItem);\n"],"names":["UserItem","id","phone","username","avatar","index","isLastItem","onSelect","avatarSize","maxColumns","cardSize","isCompact","useViewport","handleClick","useCallback","avatarSource","AVATAR_CONFIGURATIONS","jsxs","Styled.UserItemCard","jsx","Avatar","Separator","Text","UserItem$1","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAA+B,CAAC;AAAA,EACpC,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AACF,MAAM;AACE,QAAA,EAAE,WAAAC,MAAcC,KAChBC,IAAcC,EAAY,MAAM;AACpC,IAAAP,EAASN,CAAE;AAAA,EAAA,GACV,CAACA,GAAIM,CAAQ,CAAC,GAEXQ,IAAeX,KAAUY,EAAsBX,IAAQW,EAAsB,MAAM;AAGvF,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MAEC,SAASL;AAAA,MACT,YAAAJ;AAAA,MACA,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQC;AAAA,MACR,SAASA;AAAA,MACT,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,OAAAL;AAAA,MACA,YAAAC;AAAA,MACA,aAAY;AAAA,MAEZ,UAAA;AAAA,QAAA,gBAAAa,EAACC,GAAO,EAAA,MAAMZ,GAAY,QAAQO,GAAc;AAAA,QAChD,gBAAAI,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAF,EAACG,GAAK,EAAA,QAAO,SAAQ,WAAWX,IAAY,QAAQ,OAAO,QAAO,UAC/D,UAAAR,KAAYD,EACf,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAjBKD;AAAA,EAAA;AAoBX,GAEesB,IAAAC,EAAKxB,CAAQ;"}
1
+ {"version":3,"file":"user-item.js","sources":["../../../../../../src/features/auth/comps/user-list/user-item/user-item.tsx"],"sourcesContent":["import type { IUserItemProps } from './user-item-types';\n\nimport { useCallback, type FC, memo } from 'react';\n\nimport Avatar from '../../../../ui/avatar/avatar';\nimport Separator from '../../../../ui/separator/separator';\nimport Text from '../../../../ui/text/text';\nimport { AVATAR_CONFIGURATIONS } from '../user-list-constants';\nimport * as Styled from './user-item-styled';\n\nconst UserItem: FC<IUserItemProps> = ({\n id,\n phone,\n username,\n avatar,\n index,\n isLastItem,\n onSelect,\n avatarSize,\n maxColumns,\n cardSize,\n}) => {\n const handleClick = useCallback(() => {\n onSelect(id);\n }, [id, onSelect]);\n\n const avatarSource = avatar ?? AVATAR_CONFIGURATIONS[index % AVATAR_CONFIGURATIONS.length];\n\n return (\n <Styled.UserItemCard\n key={id}\n onClick={handleClick}\n maxColumns={maxColumns}\n $gutterX={1.5}\n $gapX={1.5}\n $width={cardSize}\n $height={cardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n index={index}\n isLastItem={isLastItem}\n $background=\"BLACK_1\"\n >\n <Avatar size={avatarSize} avatar={avatarSource} />\n <Separator heightX={0.5} />\n <Text $color=\"WHITE\" $renderOnTabletAs=\"ab3\" $renderAs=\"ab2\" $align=\"center\">\n {username || phone}\n </Text>\n </Styled.UserItemCard>\n );\n};\n\nexport default memo(UserItem);\n"],"names":["UserItem","id","phone","username","avatar","index","isLastItem","onSelect","avatarSize","maxColumns","cardSize","handleClick","useCallback","avatarSource","AVATAR_CONFIGURATIONS","jsxs","Styled.UserItemCard","jsx","Avatar","Separator","Text","UserItem$1","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAA+B,CAAC;AAAA,EACpC,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AACF,MAAM;AACE,QAAAC,IAAcC,EAAY,MAAM;AACpC,IAAAL,EAASN,CAAE;AAAA,EAAA,GACV,CAACA,GAAIM,CAAQ,CAAC,GAEXM,IAAeT,KAAUU,EAAsBT,IAAQS,EAAsB,MAAM;AAGvF,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MAEC,SAASL;AAAA,MACT,YAAAF;AAAA,MACA,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQC;AAAA,MACR,SAASA;AAAA,MACT,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,OAAAL;AAAA,MACA,YAAAC;AAAA,MACA,aAAY;AAAA,MAEZ,UAAA;AAAA,QAAA,gBAAAW,EAACC,GAAO,EAAA,MAAMV,GAAY,QAAQK,GAAc;AAAA,QAChD,gBAAAI,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAF,EAACG,GAAK,EAAA,QAAO,SAAQ,mBAAkB,OAAM,WAAU,OAAM,QAAO,UACjE,UAAAjB,KAAYD,EACf,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAjBKD;AAAA,EAAA;AAoBX,GAEeoB,IAAAC,EAAKtB,CAAQ;"}
@@ -1,49 +1,50 @@
1
- import { jsxs as $, jsx as r } from "react/jsx-runtime";
2
- import { memo as g } from "react";
3
- import x from "../../../../assets/line-icons/icons/plus.js";
4
- import I from "../../../hooks/use-viewport/use-viewport.js";
5
- import L from "../../../ui/layout/flex-view.js";
6
- import w from "./user-item/user-item.js";
7
- import { UserListWrapper as U, AddAccountButton as j } from "./user-list-styled.js";
8
- const v = ({
1
+ import { jsxs as g, jsx as e } from "react/jsx-runtime";
2
+ import { memo as x } from "react";
3
+ import { useTheme as L } from "styled-components";
4
+ import I from "../../../../assets/line-icons/icons/plus.js";
5
+ import v from "../../../ui/layout/flex-view.js";
6
+ import { EDeviceType as T } from "../../../ui/theme/constants.js";
7
+ import U from "./user-item/user-item.js";
8
+ import { UserListWrapper as j, AddAccountButton as w } from "./user-list-styled.js";
9
+ const A = ({
9
10
  users: s,
10
- onSelect: c,
11
+ onSelect: a,
11
12
  showAddButton: i = !1,
12
- onAddNew: l,
13
- maxColumns: p = 5,
14
- cardSize: u = 200,
15
- avatarSize: h = 80
13
+ onAddNew: p,
14
+ maxColumns: l = 5,
15
+ cardSize: h = 200,
16
+ avatarSize: u = 80
16
17
  }) => {
17
- const e = s.length + (i ? 1 : 0), { isCompact: m } = I(), o = m ? 2 : p, t = m ? 180 : u;
18
- return /* @__PURE__ */ $(
19
- U,
18
+ const o = s.length + (i ? 1 : 0), { device: d } = L(), m = d <= T.TABLET, r = m ? 2 : l, t = m ? 180 : h;
19
+ return /* @__PURE__ */ g(
20
+ j,
20
21
  {
21
- itemCount: e,
22
- maxColumns: o,
22
+ itemCount: o,
23
+ maxColumns: r,
23
24
  cardWidth: t,
24
25
  children: [
25
- s.map(({ id: n, username: d, user_avatar: C, phone: f }, a) => /* @__PURE__ */ r(
26
- w,
26
+ s.map(({ id: n, username: f, user_avatar: C, phone: $ }, c) => /* @__PURE__ */ e(
27
+ U,
27
28
  {
28
29
  id: n,
29
- onSelect: c,
30
+ onSelect: a,
30
31
  cardSize: t,
31
- index: a,
32
- maxColumns: o,
33
- avatarSize: h,
32
+ index: c,
33
+ maxColumns: r,
34
+ avatarSize: u,
34
35
  avatar: C,
35
- phone: f,
36
- username: d,
37
- isLastItem: a === e - 1
36
+ phone: $,
37
+ username: f,
38
+ isLastItem: c === o - 1
38
39
  },
39
40
  n
40
41
  )),
41
- i && /* @__PURE__ */ r(
42
- j,
42
+ i && /* @__PURE__ */ e(
43
+ w,
43
44
  {
44
45
  isLastItem: !0,
45
- index: e,
46
- maxColumns: o,
46
+ index: o,
47
+ maxColumns: r,
47
48
  $gutterX: 5,
48
49
  $gapX: 5,
49
50
  $background: "BLACK_3",
@@ -51,14 +52,14 @@ const v = ({
51
52
  $height: t,
52
53
  $alignItems: "center",
53
54
  $justifyContent: "center",
54
- onClick: l,
55
- children: /* @__PURE__ */ r(L, { $width: 40, $height: 40, children: /* @__PURE__ */ r(x, { color: "WHITE", width: 40, height: 40 }) })
55
+ onClick: p,
56
+ children: /* @__PURE__ */ e(v, { $width: 40, $height: 40, children: /* @__PURE__ */ e(I, { color: "WHITE", width: 40, height: 40 }) })
56
57
  }
57
58
  )
58
59
  ]
59
60
  }
60
61
  );
61
- }, _ = g(v);
62
+ }, _ = x(A);
62
63
  export {
63
64
  _ as default
64
65
  };
@@ -1 +1 @@
1
- {"version":3,"file":"user-list.js","sources":["../../../../../src/features/auth/comps/user-list/user-list.tsx"],"sourcesContent":["import type { IUserListProps } from './user-list-types';\n\nimport { type FC, memo } from 'react';\n\nimport PlusIcon from '../../../../assets/line-icons/icons/plus';\nimport useViewport from '../../../hooks/use-viewport/use-viewport';\nimport FlexView from '../../../ui/layout/flex-view';\nimport UserItem from './user-item/user-item';\nimport * as Styled from './user-list-styled';\n\nconst UserList: FC<IUserListProps> = ({\n users,\n onSelect,\n showAddButton = false,\n onAddNew,\n maxColumns = 5,\n cardSize = 200,\n avatarSize = 80,\n}) => {\n const totalCards = users.length + (showAddButton ? 1 : 0);\n const { isCompact } = useViewport();\n\n const responsiveColumnNos = isCompact ? 2 : maxColumns;\n const responsiveCardSize = isCompact ? 180 : cardSize;\n\n return (\n <Styled.UserListWrapper\n itemCount={totalCards}\n maxColumns={responsiveColumnNos}\n cardWidth={responsiveCardSize}\n >\n {users.map(({ id, username, user_avatar: avatar, phone }, index) => (\n <UserItem\n key={id}\n id={id}\n onSelect={onSelect}\n cardSize={responsiveCardSize}\n index={index}\n maxColumns={responsiveColumnNos}\n avatarSize={avatarSize}\n avatar={avatar}\n phone={phone}\n username={username}\n isLastItem={index === totalCards - 1}\n />\n ))}\n\n {showAddButton && (\n <Styled.AddAccountButton\n isLastItem\n index={totalCards}\n maxColumns={responsiveColumnNos}\n $gutterX={5}\n $gapX={5}\n $background=\"BLACK_3\"\n $width={responsiveCardSize}\n $height={responsiveCardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n onClick={onAddNew}\n >\n <FlexView $width={40} $height={40}>\n <PlusIcon color=\"WHITE\" width={40} height={40} />\n </FlexView>\n </Styled.AddAccountButton>\n )}\n </Styled.UserListWrapper>\n );\n};\n\nexport default memo(UserList);\n"],"names":["UserList","users","onSelect","showAddButton","onAddNew","maxColumns","cardSize","avatarSize","totalCards","isCompact","useViewport","responsiveColumnNos","responsiveCardSize","jsxs","Styled.UserListWrapper","id","username","avatar","phone","index","jsx","UserItem","Styled.AddAccountButton","FlexView","PlusIcon","UserList$1","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAA+B,CAAC;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,UAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AACf,MAAM;AACJ,QAAMC,IAAaP,EAAM,UAAUE,IAAgB,IAAI,IACjD,EAAE,WAAAM,MAAcC,KAEhBC,IAAsBF,IAAY,IAAIJ,GACtCO,IAAqBH,IAAY,MAAMH;AAG3C,SAAA,gBAAAO;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAWN;AAAA,MACX,YAAYG;AAAA,MACZ,WAAWC;AAAA,MAEV,UAAA;AAAA,QAAMX,EAAA,IAAI,CAAC,EAAE,IAAAc,GAAI,UAAAC,GAAU,aAAaC,GAAQ,OAAAC,KAASC,MACxD,gBAAAC;AAAA,UAACC;AAAA,UAAA;AAAA,YAEC,IAAAN;AAAA,YACA,UAAAb;AAAA,YACA,UAAUU;AAAA,YACV,OAAAO;AAAA,YACA,YAAYR;AAAA,YACZ,YAAAJ;AAAA,YACA,QAAAU;AAAA,YACA,OAAAC;AAAA,YACA,UAAAF;AAAA,YACA,YAAYG,MAAUX,IAAa;AAAA,UAAA;AAAA,UAV9BO;AAAA,QAAA,CAYR;AAAA,QAEAZ,KACC,gBAAAiB;AAAA,UAACE;AAAAA,UAAA;AAAA,YACC,YAAU;AAAA,YACV,OAAOd;AAAA,YACP,YAAYG;AAAA,YACZ,UAAU;AAAA,YACV,OAAO;AAAA,YACP,aAAY;AAAA,YACZ,QAAQC;AAAA,YACR,SAASA;AAAA,YACT,aAAY;AAAA,YACZ,iBAAgB;AAAA,YAChB,SAASR;AAAA,YAET,UAAC,gBAAAgB,EAAAG,GAAA,EAAS,QAAQ,IAAI,SAAS,IAC7B,UAAA,gBAAAH,EAACI,GAAS,EAAA,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,GACjD;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR,GAEeC,IAAAC,EAAK1B,CAAQ;"}
1
+ {"version":3,"file":"user-list.js","sources":["../../../../../src/features/auth/comps/user-list/user-list.tsx"],"sourcesContent":["import type { IUserListProps } from './user-list-types';\n\nimport { type FC, memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport PlusIcon from '../../../../assets/line-icons/icons/plus';\nimport FlexView from '../../../ui/layout/flex-view';\nimport { EDeviceType } from '../../../ui/theme/constants';\nimport UserItem from './user-item/user-item';\nimport * as Styled from './user-list-styled';\n\nconst UserList: FC<IUserListProps> = ({\n users,\n onSelect,\n showAddButton = false,\n onAddNew,\n maxColumns = 5,\n cardSize = 200,\n avatarSize = 80,\n}) => {\n const totalCards = users.length + (showAddButton ? 1 : 0);\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n\n const responsiveColumnNos = isCompact ? 2 : maxColumns;\n const responsiveCardSize = isCompact ? 180 : cardSize;\n\n return (\n <Styled.UserListWrapper\n itemCount={totalCards}\n maxColumns={responsiveColumnNos}\n cardWidth={responsiveCardSize}\n >\n {users.map(({ id, username, user_avatar: avatar, phone }, index) => (\n <UserItem\n key={id}\n id={id}\n onSelect={onSelect}\n cardSize={responsiveCardSize}\n index={index}\n maxColumns={responsiveColumnNos}\n avatarSize={avatarSize}\n avatar={avatar}\n phone={phone}\n username={username}\n isLastItem={index === totalCards - 1}\n />\n ))}\n\n {showAddButton && (\n <Styled.AddAccountButton\n isLastItem\n index={totalCards}\n maxColumns={responsiveColumnNos}\n $gutterX={5}\n $gapX={5}\n $background=\"BLACK_3\"\n $width={responsiveCardSize}\n $height={responsiveCardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n onClick={onAddNew}\n >\n <FlexView $width={40} $height={40}>\n <PlusIcon color=\"WHITE\" width={40} height={40} />\n </FlexView>\n </Styled.AddAccountButton>\n )}\n </Styled.UserListWrapper>\n );\n};\n\nexport default memo(UserList);\n"],"names":["UserList","users","onSelect","showAddButton","onAddNew","maxColumns","cardSize","avatarSize","totalCards","device","useTheme","isCompact","EDeviceType","responsiveColumnNos","responsiveCardSize","jsxs","Styled.UserListWrapper","id","username","avatar","phone","index","jsx","UserItem","Styled.AddAccountButton","FlexView","PlusIcon","UserList$1","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAA+B,CAAC;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,UAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AACf,MAAM;AACJ,QAAMC,IAAaP,EAAM,UAAUE,IAAgB,IAAI,IACjD,EAAE,QAAAM,MAAWC,KACbC,IAAYF,KAAUG,EAAY,QAElCC,IAAsBF,IAAY,IAAIN,GACtCS,IAAqBH,IAAY,MAAML;AAG3C,SAAA,gBAAAS;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAWR;AAAA,MACX,YAAYK;AAAA,MACZ,WAAWC;AAAA,MAEV,UAAA;AAAA,QAAMb,EAAA,IAAI,CAAC,EAAE,IAAAgB,GAAI,UAAAC,GAAU,aAAaC,GAAQ,OAAAC,KAASC,MACxD,gBAAAC;AAAA,UAACC;AAAA,UAAA;AAAA,YAEC,IAAAN;AAAA,YACA,UAAAf;AAAA,YACA,UAAUY;AAAA,YACV,OAAAO;AAAA,YACA,YAAYR;AAAA,YACZ,YAAAN;AAAA,YACA,QAAAY;AAAA,YACA,OAAAC;AAAA,YACA,UAAAF;AAAA,YACA,YAAYG,MAAUb,IAAa;AAAA,UAAA;AAAA,UAV9BS;AAAA,QAAA,CAYR;AAAA,QAEAd,KACC,gBAAAmB;AAAA,UAACE;AAAAA,UAAA;AAAA,YACC,YAAU;AAAA,YACV,OAAOhB;AAAA,YACP,YAAYK;AAAA,YACZ,UAAU;AAAA,YACV,OAAO;AAAA,YACP,aAAY;AAAA,YACZ,QAAQC;AAAA,YACR,SAASA;AAAA,YACT,aAAY;AAAA,YACZ,iBAAgB;AAAA,YAChB,SAASV;AAAA,YAET,UAAC,gBAAAkB,EAAAG,GAAA,EAAS,QAAQ,IAAI,SAAS,IAC7B,UAAA,gBAAAH,EAACI,GAAS,EAAA,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,GACjD;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR,GAEeC,IAAAC,EAAK5B,CAAQ;"}
@@ -1,8 +1,7 @@
1
- import { styled as t } from "styled-components";
2
- import e from "../../ui/buttons/button/button.js";
3
- import o from "../../ui/layout/flex-view.js";
4
- import { getTheme as p } from "../../ui/theme/get-theme.js";
5
- const { mediaQueries: i } = p(), x = t.form`
1
+ import { styled as e } from "styled-components";
2
+ import o from "../../ui/buttons/button/button.js";
3
+ import i from "../../ui/layout/flex-view.js";
4
+ const n = e.form`
6
5
  display: flex;
7
6
  flex: 1;
8
7
  margin-top: 0;
@@ -11,28 +10,28 @@ const { mediaQueries: i } = p(), x = t.form`
11
10
  max-width: 336px;
12
11
  width: 100%;
13
12
  height: 308px;
14
- ${i.minWidthDesktop} {
13
+ ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
15
14
  margin-top: 8px;
16
15
  }
17
- `, a = t(o)`
16
+ `, h = e(i)`
18
17
  margin-top: 0;
19
18
  max-width: 336px;
20
19
  width: 100%;
21
- ${i.minWidthDesktop} {
20
+ ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
22
21
  margin-top: 8px;
23
22
  }
24
- `, s = t(o)`
23
+ `, x = e(i)`
25
24
  min-height: 300px;
26
- ${i.minWidthDesktop} {
25
+ ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
27
26
  height: 308px;
28
27
  }
29
- `, d = t(e)`
28
+ `, a = e(o)`
30
29
  width: 100%;
31
30
  `;
32
31
  export {
33
- d as ButtonWrapper,
34
- s as Container,
35
- x as FormWrapper,
36
- a as OtpFormWrapper
32
+ a as ButtonWrapper,
33
+ x as Container,
34
+ n as FormWrapper,
35
+ h as OtpFormWrapper
37
36
  };
38
37
  //# sourceMappingURL=forgot-password-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"forgot-password-styled.js","sources":["../../../../src/features/auth/forgot-password/forgot-password-styled.tsx"],"sourcesContent":["import { styled } from 'styled-components';\n\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\nimport { getTheme } from '../../ui/theme/get-theme';\n\nconst { mediaQueries } = getTheme();\n\nexport const FormWrapper = styled.form`\n display: flex;\n flex: 1;\n margin-top: 0;\n flex-direction: column;\n justify-content: space-between;\n max-width: 336px;\n width: 100%;\n height: 308px;\n ${mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nexport const OtpFormWrapper = styled(FlexView)`\n margin-top: 0;\n max-width: 336px;\n width: 100%;\n ${mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nexport const Container = styled(FlexView)`\n min-height: 300px;\n ${mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport const ButtonWrapper = styled(Button)`\n width: 100%;\n`;\n"],"names":["mediaQueries","getTheme","FormWrapper","styled","OtpFormWrapper","FlexView","Container","ButtonWrapper","Button"],"mappings":";;;;AAMA,MAAM,EAAE,cAAAA,EAAa,IAAIC,KAEZC,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAS9BH,EAAa,eAAe;AAAA;AAAA;AAAA,GAKnBI,IAAiBD,EAAOE,CAAQ;AAAA;AAAA;AAAA;AAAA,IAIzCL,EAAa,eAAe;AAAA;AAAA;AAAA,GAKnBM,IAAYH,EAAOE,CAAQ;AAAA;AAAA,IAEpCL,EAAa,eAAe;AAAA;AAAA;AAAA,GAKnBO,IAAgBJ,EAAOK,CAAM;AAAA;AAAA;"}
1
+ {"version":3,"file":"forgot-password-styled.js","sources":["../../../../src/features/auth/forgot-password/forgot-password-styled.tsx"],"sourcesContent":["import { styled } from 'styled-components';\n\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\n\nexport const FormWrapper = styled.form`\n display: flex;\n flex: 1;\n margin-top: 0;\n flex-direction: column;\n justify-content: space-between;\n max-width: 336px;\n width: 100%;\n height: 308px;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nexport const OtpFormWrapper = styled(FlexView)`\n margin-top: 0;\n max-width: 336px;\n width: 100%;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nexport const Container = styled(FlexView)`\n min-height: 300px;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport const ButtonWrapper = styled(Button)`\n width: 100%;\n`;\n"],"names":["FormWrapper","styled","mediaQueries","OtpFormWrapper","FlexView","Container","ButtonWrapper","Button"],"mappings":";;;AAKO,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAS9B,CAAC,EAAE,OAAO,EAAE,cAAAC,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA,GAKpDC,IAAiBF,EAAOG,CAAQ;AAAA;AAAA;AAAA;AAAA,IAIzC,CAAC,EAAE,OAAO,EAAE,cAAAF,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA,GAKpDG,IAAYJ,EAAOG,CAAQ;AAAA;AAAA,IAEpC,CAAC,EAAE,OAAO,EAAE,cAAAF,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA,GAKpDI,IAAgBL,EAAOM,CAAM;AAAA;AAAA;"}
@@ -1,7 +1,6 @@
1
1
  import e from "styled-components";
2
2
  import i from "../../../ui/layout/flex-view.js";
3
- import { getTheme as o } from "../../../ui/theme/get-theme.js";
4
- const { mediaQueries: t } = o(), n = e.form`
3
+ const m = e.form`
5
4
  display: flex;
6
5
  flex-direction: column;
7
6
  justify-content: space-between;
@@ -9,17 +8,17 @@ const { mediaQueries: t } = o(), n = e.form`
9
8
  flex: 1;
10
9
  width: 100%;
11
10
  max-width: 336px;
12
- ${t.minWidthDesktop} {
11
+ ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
13
12
  margin-top: 8px;
14
13
  }
15
- `, s = e(i)`
14
+ `, n = e(i)`
16
15
  height: 300px;
17
- ${t.minWidthDesktop} {
16
+ ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
18
17
  height: 308px;
19
18
  }
20
19
  `;
21
20
  export {
22
- s as Container,
23
- n as FormWrapper
21
+ n as Container,
22
+ m as FormWrapper
24
23
  };
25
24
  //# sourceMappingURL=identifier-otp-form-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"identifier-otp-form-styled.js","sources":["../../../../../src/features/auth/login/identifier-otp-form/identifier-otp-form-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport { getTheme } from '../../../ui/theme/get-theme';\n\nconst { mediaQueries } = getTheme();\n\nconst FormWrapper = styled.form`\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-top: 0;\n flex: 1;\n width: 100%;\n max-width: 336px;\n ${mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nconst Container = styled(FlexView)`\n height: 300px;\n ${mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport { FormWrapper, Container };\n"],"names":["mediaQueries","getTheme","FormWrapper","styled","Container","FlexView"],"mappings":";;;AAKA,MAAM,EAAE,cAAAA,EAAa,IAAIC,KAEnBC,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQvBH,EAAa,eAAe;AAAA;AAAA;AAAA,GAK1BI,IAAYD,EAAOE,CAAQ;AAAA;AAAA,IAE7BL,EAAa,eAAe;AAAA;AAAA;AAAA;"}
1
+ {"version":3,"file":"identifier-otp-form-styled.js","sources":["../../../../../src/features/auth/login/identifier-otp-form/identifier-otp-form-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst FormWrapper = styled.form`\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-top: 0;\n flex: 1;\n width: 100%;\n max-width: 336px;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nconst Container = styled(FlexView)`\n height: 300px;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport { FormWrapper, Container };\n"],"names":["FormWrapper","styled","mediaQueries","Container","FlexView"],"mappings":";;AAIA,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQvB,CAAC,EAAE,OAAO,EAAE,cAAAC,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA,GAK3DC,IAAYF,EAAOG,CAAQ;AAAA;AAAA,IAE7B,CAAC,EAAE,OAAO,EAAE,cAAAF,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA;"}
@@ -1,26 +1,25 @@
1
- import t from "styled-components";
1
+ import i from "styled-components";
2
2
  import o from "../../ui/buttons/button/button.js";
3
3
  import m from "../../ui/layout/flex-view.js";
4
- import { getTheme as e } from "../../ui/theme/get-theme.js";
5
- const { mediaQueries: i } = e(), x = t.form`
4
+ const n = i.form`
6
5
  max-width: 336px;
7
6
  width: 100%;
8
7
  margin-top: 0;
9
- ${i.minWidthDesktop} {
8
+ ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
10
9
  margin-top: 8px;
11
10
  }
12
11
  `;
13
- t(o)`
12
+ i(o)`
14
13
  max-width: 160px;
15
14
  `;
16
- const a = t(m)`
15
+ const h = i(m)`
17
16
  min-height: 300px;
18
- ${i.minWidthDesktop} {
17
+ ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
19
18
  height: 308px;
20
19
  }
21
20
  `;
22
21
  export {
23
- a as Container,
24
- x as FormContainer
22
+ h as Container,
23
+ n as FormContainer
25
24
  };
26
25
  //# sourceMappingURL=login-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"login-styled.js","sources":["../../../../src/features/auth/login/login-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\nimport { getTheme } from '../../ui/theme/get-theme';\n\nconst { mediaQueries } = getTheme();\n\nexport const FormContainer = styled.form`\n max-width: 336px;\n width: 100%;\n margin-top: 0;\n ${mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nconst ButtonWrapper = styled(Button)`\n max-width: 160px;\n`;\n\nconst Container = styled(FlexView)`\n min-height: 300px;\n ${mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport { ButtonWrapper, Container };\n"],"names":["mediaQueries","getTheme","FormContainer","styled","Button","Container","FlexView"],"mappings":";;;;AAMA,MAAM,EAAE,cAAAA,EAAa,IAAIC,KAEZC,IAAgBC,EAAO;AAAA;AAAA;AAAA;AAAA,IAIhCH,EAAa,eAAe;AAAA;AAAA;AAAA;AAKVG,EAAOC,CAAM;AAAA;AAAA;AAI7B,MAAAC,IAAYF,EAAOG,CAAQ;AAAA;AAAA,IAE7BN,EAAa,eAAe;AAAA;AAAA;AAAA;"}
1
+ {"version":3,"file":"login-styled.js","sources":["../../../../src/features/auth/login/login-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\n\nexport const FormContainer = styled.form`\n max-width: 336px;\n width: 100%;\n margin-top: 0;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nconst ButtonWrapper = styled(Button)`\n max-width: 160px;\n`;\n\nconst Container = styled(FlexView)`\n min-height: 300px;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport { ButtonWrapper, Container };\n"],"names":["FormContainer","styled","mediaQueries","Button","Container","FlexView"],"mappings":";;;AAKO,MAAMA,IAAgBC,EAAO;AAAA;AAAA;AAAA;AAAA,IAIhC,CAAC,EAAE,OAAO,EAAE,cAAAC,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA;AAK3CD,EAAOE,CAAM;AAAA;AAAA;AAI7B,MAAAC,IAAYH,EAAOI,CAAQ;AAAA;AAAA,IAE7B,CAAC,EAAE,OAAO,EAAE,cAAAH,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA;"}
@@ -9,14 +9,14 @@ import E from "../../ui/arrow-tooltip/arrow-tooltip.js";
9
9
  import I from "../../ui/text/text.js";
10
10
  import { InProgressIconWrapper as d } from "../comps/node-card/node-card-styled.js";
11
11
  import A from "../comps/tag/tag.js";
12
- const _ = 60 * 60 * 24, u = ["NOT_STARTED", "IN_PROGRESS"], C = (r, c) => {
12
+ const u = 60 * 60 * 24, _ = ["NOT_STARTED"], C = (r, c) => {
13
13
  if (!r || c)
14
14
  return { isOverdue: !1, daysText: "", differenceInDays: 0 };
15
- const i = Math.floor(Date.now() / 1e3), s = r - i, o = Math.ceil(s / _), a = o < 0, n = o > 0 ? `${Math.abs(o)}D` : "";
15
+ const i = Math.floor(Date.now() / 1e3), s = r - i, o = Math.ceil(s / u), a = o < 0, n = o > 0 ? `${Math.abs(o)}D` : "";
16
16
  return { isOverdue: a, daysText: n, differenceInDays: o };
17
- }, U = (r, c, i, s, o) => {
17
+ }, x = (r, c, i, s, o) => {
18
18
  const { isOverdue: a, daysText: n, differenceInDays: T } = C(s, o);
19
- if (!o && a && u.includes(r))
19
+ if (!o && a && _.includes(r))
20
20
  return {
21
21
  icon: /* @__PURE__ */ e(
22
22
  E,
@@ -64,8 +64,8 @@ const _ = 60 * 60 * 24, u = ["NOT_STARTED", "IN_PROGRESS"], C = (r, c) => {
64
64
  case "LOCKED":
65
65
  return {
66
66
  icon: /* @__PURE__ */ e(m, { width: 32, height: 32 }),
67
- top: -12,
68
- right: -12
67
+ top: -16,
68
+ right: -16
69
69
  };
70
70
  case "IN_PROGRESS":
71
71
  return {
@@ -117,7 +117,7 @@ const _ = 60 * 60 * 24, u = ["NOT_STARTED", "IN_PROGRESS"], C = (r, c) => {
117
117
  icon: void 0
118
118
  };
119
119
  }
120
- }, x = (r) => {
120
+ }, y = (r) => {
121
121
  switch (r) {
122
122
  case "LEVEL2":
123
123
  case "LEVEL3":
@@ -186,7 +186,7 @@ const _ = 60 * 60 * 24, u = ["NOT_STARTED", "IN_PROGRESS"], C = (r, c) => {
186
186
  }
187
187
  };
188
188
  export {
189
- x as getNodeCardBasedIcon,
190
- U as getNodeStateBasedTagInfo
189
+ y as getNodeCardBasedIcon,
190
+ x as getNodeStateBasedTagInfo
191
191
  };
192
192
  //# sourceMappingURL=node-card-utils.js.map