@magmamath/students-features 0.6.12-rc.0 → 0.6.13

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 (185) hide show
  1. package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js +31 -0
  2. package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js.map +1 -0
  3. package/dist/commonjs/features/exampleSolution/assets/grid.png +0 -0
  4. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +97 -0
  5. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -0
  6. package/dist/commonjs/features/exampleSolution/components/LavaIcon.js +44 -0
  7. package/dist/commonjs/features/exampleSolution/components/LavaIcon.js.map +1 -0
  8. package/dist/commonjs/features/exampleSolution/components/MessageBlock.js +61 -0
  9. package/dist/commonjs/features/exampleSolution/components/MessageBlock.js.map +1 -0
  10. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +68 -0
  11. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +1 -0
  12. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +75 -0
  13. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -0
  14. package/dist/commonjs/features/exampleSolution/constants.js +13 -0
  15. package/dist/commonjs/features/exampleSolution/constants.js.map +1 -0
  16. package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js +61 -0
  17. package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js.map +1 -0
  18. package/dist/commonjs/features/exampleSolution/index.js +39 -0
  19. package/dist/commonjs/features/exampleSolution/index.js.map +1 -0
  20. package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js +22 -0
  21. package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js.map +1 -0
  22. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +32 -0
  23. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -0
  24. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js +18 -0
  25. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js.map +1 -0
  26. package/dist/commonjs/features/exampleSolution/types.js +6 -0
  27. package/dist/commonjs/features/exampleSolution/types.js.map +1 -0
  28. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js +1 -1
  29. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  30. package/dist/commonjs/index.js +24 -0
  31. package/dist/commonjs/index.js.map +1 -1
  32. package/dist/commonjs/shared/icons/ExcitedLavaIcon.js +681 -0
  33. package/dist/commonjs/shared/icons/ExcitedLavaIcon.js.map +1 -0
  34. package/dist/commonjs/shared/icons/LavaIconInGlasses.js +616 -0
  35. package/dist/commonjs/shared/icons/LavaIconInGlasses.js.map +1 -0
  36. package/dist/commonjs/shared/icons/index.js +204 -0
  37. package/dist/commonjs/shared/icons/index.js.map +1 -0
  38. package/dist/commonjs/shared/translation/localization/ca.json +6 -0
  39. package/dist/commonjs/shared/translation/localization/en.json +6 -0
  40. package/dist/commonjs/shared/translation/localization/gb.json +6 -0
  41. package/dist/commonjs/shared/translation/localization/sct.json +6 -0
  42. package/dist/commonjs/shared/translation/localization/sw.json +6 -0
  43. package/dist/module/features/exampleSolution/ExampleSolutionModal.js +25 -0
  44. package/dist/module/features/exampleSolution/ExampleSolutionModal.js.map +1 -0
  45. package/dist/module/features/exampleSolution/assets/grid.png +0 -0
  46. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +91 -0
  47. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -0
  48. package/dist/module/features/exampleSolution/components/LavaIcon.js +36 -0
  49. package/dist/module/features/exampleSolution/components/LavaIcon.js.map +1 -0
  50. package/dist/module/features/exampleSolution/components/MessageBlock.js +53 -0
  51. package/dist/module/features/exampleSolution/components/MessageBlock.js.map +1 -0
  52. package/dist/module/features/exampleSolution/components/QuestionSection.js +60 -0
  53. package/dist/module/features/exampleSolution/components/QuestionSection.js.map +1 -0
  54. package/dist/module/features/exampleSolution/components/SolutionSection.js +67 -0
  55. package/dist/module/features/exampleSolution/components/SolutionSection.js.map +1 -0
  56. package/dist/module/features/exampleSolution/constants.js +9 -0
  57. package/dist/module/features/exampleSolution/constants.js.map +1 -0
  58. package/dist/module/features/exampleSolution/hooks/useExampleSolution.js +56 -0
  59. package/dist/module/features/exampleSolution/hooks/useExampleSolution.js.map +1 -0
  60. package/dist/module/features/exampleSolution/index.js +6 -0
  61. package/dist/module/features/exampleSolution/index.js.map +1 -0
  62. package/dist/module/features/exampleSolution/model/ExampleSolution.model.js +17 -0
  63. package/dist/module/features/exampleSolution/model/ExampleSolution.model.js.map +1 -0
  64. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +27 -0
  65. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -0
  66. package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js +13 -0
  67. package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js.map +1 -0
  68. package/dist/module/features/exampleSolution/types.js +4 -0
  69. package/dist/module/features/exampleSolution/types.js.map +1 -0
  70. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js +1 -1
  71. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  72. package/dist/module/index.js +2 -0
  73. package/dist/module/index.js.map +1 -1
  74. package/dist/module/shared/icons/ExcitedLavaIcon.js +673 -0
  75. package/dist/module/shared/icons/ExcitedLavaIcon.js.map +1 -0
  76. package/dist/module/shared/icons/LavaIconInGlasses.js +608 -0
  77. package/dist/module/shared/icons/LavaIconInGlasses.js.map +1 -0
  78. package/dist/module/shared/icons/index.js +21 -0
  79. package/dist/module/shared/icons/index.js.map +1 -0
  80. package/dist/module/shared/translation/localization/ca.json +6 -0
  81. package/dist/module/shared/translation/localization/en.json +6 -0
  82. package/dist/module/shared/translation/localization/gb.json +6 -0
  83. package/dist/module/shared/translation/localization/sct.json +6 -0
  84. package/dist/module/shared/translation/localization/sw.json +6 -0
  85. package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts +11 -0
  86. package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts.map +1 -0
  87. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +4 -0
  88. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -0
  89. package/dist/typescript/commonjs/features/exampleSolution/components/LavaIcon.d.ts +10 -0
  90. package/dist/typescript/commonjs/features/exampleSolution/components/LavaIcon.d.ts.map +1 -0
  91. package/dist/typescript/commonjs/features/exampleSolution/components/MessageBlock.d.ts +10 -0
  92. package/dist/typescript/commonjs/features/exampleSolution/components/MessageBlock.d.ts.map +1 -0
  93. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts +9 -0
  94. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts.map +1 -0
  95. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts +9 -0
  96. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts.map +1 -0
  97. package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts +6 -0
  98. package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts.map +1 -0
  99. package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts +9 -0
  100. package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts.map +1 -0
  101. package/dist/typescript/commonjs/features/exampleSolution/index.d.ts +4 -0
  102. package/dist/typescript/commonjs/features/exampleSolution/index.d.ts.map +1 -0
  103. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts +9 -0
  104. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts.map +1 -0
  105. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts +13 -0
  106. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -0
  107. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts +11 -0
  108. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +1 -0
  109. package/dist/typescript/commonjs/features/exampleSolution/types.d.ts +26 -0
  110. package/dist/typescript/commonjs/features/exampleSolution/types.d.ts.map +1 -0
  111. package/dist/typescript/commonjs/index.d.ts +2 -0
  112. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  113. package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts +4 -0
  114. package/dist/typescript/commonjs/shared/icons/ExcitedLavaIcon.d.ts.map +1 -0
  115. package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts +4 -0
  116. package/dist/typescript/commonjs/shared/icons/LavaIconInGlasses.d.ts.map +1 -0
  117. package/dist/typescript/commonjs/shared/icons/index.d.ts +19 -0
  118. package/dist/typescript/commonjs/shared/icons/index.d.ts.map +1 -0
  119. package/dist/typescript/commonjs/shared/translation/constants.d.ts +30 -0
  120. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  121. package/dist/typescript/commonjs/shared/translation/model.d.ts +12 -0
  122. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  123. package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts +11 -0
  124. package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts.map +1 -0
  125. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +4 -0
  126. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -0
  127. package/dist/typescript/module/features/exampleSolution/components/LavaIcon.d.ts +10 -0
  128. package/dist/typescript/module/features/exampleSolution/components/LavaIcon.d.ts.map +1 -0
  129. package/dist/typescript/module/features/exampleSolution/components/MessageBlock.d.ts +10 -0
  130. package/dist/typescript/module/features/exampleSolution/components/MessageBlock.d.ts.map +1 -0
  131. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts +9 -0
  132. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts.map +1 -0
  133. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts +9 -0
  134. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts.map +1 -0
  135. package/dist/typescript/module/features/exampleSolution/constants.d.ts +6 -0
  136. package/dist/typescript/module/features/exampleSolution/constants.d.ts.map +1 -0
  137. package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts +9 -0
  138. package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts.map +1 -0
  139. package/dist/typescript/module/features/exampleSolution/index.d.ts +4 -0
  140. package/dist/typescript/module/features/exampleSolution/index.d.ts.map +1 -0
  141. package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts +9 -0
  142. package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts.map +1 -0
  143. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts +13 -0
  144. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -0
  145. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts +11 -0
  146. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +1 -0
  147. package/dist/typescript/module/features/exampleSolution/types.d.ts +26 -0
  148. package/dist/typescript/module/features/exampleSolution/types.d.ts.map +1 -0
  149. package/dist/typescript/module/index.d.ts +2 -0
  150. package/dist/typescript/module/index.d.ts.map +1 -1
  151. package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts +4 -0
  152. package/dist/typescript/module/shared/icons/ExcitedLavaIcon.d.ts.map +1 -0
  153. package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts +4 -0
  154. package/dist/typescript/module/shared/icons/LavaIconInGlasses.d.ts.map +1 -0
  155. package/dist/typescript/module/shared/icons/index.d.ts +19 -0
  156. package/dist/typescript/module/shared/icons/index.d.ts.map +1 -0
  157. package/dist/typescript/module/shared/translation/constants.d.ts +30 -0
  158. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  159. package/dist/typescript/module/shared/translation/model.d.ts +12 -0
  160. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  161. package/package.json +7 -3
  162. package/src/features/exampleSolution/ExampleSolutionModal.tsx +29 -0
  163. package/src/features/exampleSolution/assets/grid.png +0 -0
  164. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +71 -0
  165. package/src/features/exampleSolution/components/LavaIcon.tsx +35 -0
  166. package/src/features/exampleSolution/components/MessageBlock.tsx +67 -0
  167. package/src/features/exampleSolution/components/QuestionSection.tsx +56 -0
  168. package/src/features/exampleSolution/components/SolutionSection.tsx +69 -0
  169. package/src/features/exampleSolution/constants.ts +5 -0
  170. package/src/features/exampleSolution/hooks/useExampleSolution.ts +66 -0
  171. package/src/features/exampleSolution/index.ts +3 -0
  172. package/src/features/exampleSolution/model/ExampleSolution.model.ts +12 -0
  173. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +33 -0
  174. package/src/features/exampleSolution/model/ExampleSolutionCache.ts +20 -0
  175. package/src/features/exampleSolution/types.ts +26 -0
  176. package/src/features/problemSelector/components/ProblemSelectorButton.tsx +1 -1
  177. package/src/index.ts +2 -0
  178. package/src/shared/icons/ExcitedLavaIcon.tsx +541 -0
  179. package/src/shared/icons/LavaIconInGlasses.tsx +489 -0
  180. package/src/shared/icons/index.ts +18 -0
  181. package/src/shared/translation/localization/ca.json +6 -0
  182. package/src/shared/translation/localization/en.json +6 -0
  183. package/src/shared/translation/localization/gb.json +6 -0
  184. package/src/shared/translation/localization/sct.json +6 -0
  185. package/src/shared/translation/localization/sw.json +6 -0
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+
3
+ import { StyleSheet, View, Image, Text } from 'react-native';
4
+ import React from 'react';
5
+ import { COLORS, IS_WEB, SPACING } from '@magmamath/react-native-ui';
6
+ import Animated, { FadeIn } from 'react-native-reanimated';
7
+ import { ExampleSolutionStatuses } from "../constants.js";
8
+ import gridImage from '../assets/grid.png';
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ const gridImagePath = !IS_WEB ? Image.resolveAssetSource(gridImage).uri : gridImage;
11
+ export const SolutionSection = ({
12
+ answer,
13
+ status
14
+ }) => {
15
+ const shouldShowAnswer = answer && (status === ExampleSolutionStatuses.DONE_DATA || status === ExampleSolutionStatuses.CACHE);
16
+ return /*#__PURE__*/_jsxs(View, {
17
+ style: styles.container,
18
+ children: [/*#__PURE__*/_jsx(Image, {
19
+ source: {
20
+ uri: gridImagePath
21
+ },
22
+ style: [styles.gridImage, IS_WEB && styles.gridImageWeb]
23
+ }), shouldShowAnswer && /*#__PURE__*/_jsx(Animated.ScrollView, {
24
+ style: styles.solutionScroll,
25
+ contentContainerStyle: styles.solutionScrollContent,
26
+ entering: status === 'cache' ? undefined : FadeIn.delay(1000).duration(500),
27
+ children: /*#__PURE__*/_jsx(Text, {
28
+ style: styles.solutionText,
29
+ children: answer
30
+ })
31
+ })]
32
+ });
33
+ };
34
+ const styles = StyleSheet.create({
35
+ container: {
36
+ width: 500,
37
+ overflow: 'hidden',
38
+ borderRadius: 8,
39
+ borderWidth: 1,
40
+ borderColor: COLORS.NEUTRAL_5
41
+ },
42
+ gridImage: {
43
+ width: '100%',
44
+ height: '100%',
45
+ resizeMode: 'cover',
46
+ aspectRatio: 28 / 8
47
+ },
48
+ gridImageWeb: {
49
+ transform: [{
50
+ scale: 3.5
51
+ }]
52
+ },
53
+ solutionScroll: {
54
+ position: 'absolute',
55
+ width: '100%',
56
+ height: '100%'
57
+ },
58
+ solutionScrollContent: {
59
+ paddingHorizontal: SPACING[800],
60
+ paddingVertical: SPACING[400]
61
+ },
62
+ solutionText: {
63
+ fontFamily: 'PlaypenSans-Light',
64
+ fontSize: 22
65
+ }
66
+ });
67
+ //# sourceMappingURL=SolutionSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","View","Image","Text","React","COLORS","IS_WEB","SPACING","Animated","FadeIn","ExampleSolutionStatuses","gridImage","jsx","_jsx","jsxs","_jsxs","gridImagePath","resolveAssetSource","uri","SolutionSection","answer","status","shouldShowAnswer","DONE_DATA","CACHE","style","styles","container","children","source","gridImageWeb","ScrollView","solutionScroll","contentContainerStyle","solutionScrollContent","entering","undefined","delay","duration","solutionText","create","width","overflow","borderRadius","borderWidth","borderColor","NEUTRAL_5","height","resizeMode","aspectRatio","transform","scale","position","paddingHorizontal","paddingVertical","fontFamily","fontSize"],"sourceRoot":"../../../../../src","sources":["features/exampleSolution/components/SolutionSection.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,EAAEC,KAAK,EAAEC,IAAI,QAAQ,cAAc;AAC5D,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,EAAEC,MAAM,EAAEC,OAAO,QAAQ,4BAA4B;AACpE,OAAOC,QAAQ,IAAIC,MAAM,QAAQ,yBAAyB;AAC1D,SAASC,uBAAuB,QAAQ,iBAAc;AACtD,OAAOC,SAAS,MAAM,oBAAoB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAO1C,MAAMC,aAAa,GAAG,CAACV,MAAM,GAAGJ,KAAK,CAACe,kBAAkB,CAACN,SAAS,CAAC,CAACO,GAAG,GAAGP,SAAS;AAEnF,OAAO,MAAMQ,eAAe,GAAGA,CAAC;EAAEC,MAAM;EAAEC;AAA6B,CAAC,KAAK;EAC3E,MAAMC,gBAAgB,GACpBF,MAAM,KACLC,MAAM,KAAKX,uBAAuB,CAACa,SAAS,IAAIF,MAAM,KAAKX,uBAAuB,CAACc,KAAK,CAAC;EAE5F,oBACET,KAAA,CAACd,IAAI;IAACwB,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,gBAC5Bf,IAAA,CAACX,KAAK;MACJ2B,MAAM,EAAE;QAAEX,GAAG,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EAAE;IACZgB,UAAU,EAAE,mBAAmB;IAC/BC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ export let ExampleSolutionStatuses = /*#__PURE__*/function (ExampleSolutionStatuses) {
4
+ ExampleSolutionStatuses["LOADING"] = "loading";
5
+ ExampleSolutionStatuses["DONE_DATA"] = "doneData";
6
+ ExampleSolutionStatuses["CACHE"] = "cache";
7
+ return ExampleSolutionStatuses;
8
+ }({});
9
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ExampleSolutionStatuses"],"sourceRoot":"../../../../src","sources":["features/exampleSolution/constants.ts"],"mappings":";;AAAA,WAAkBA,uBAAuB,0BAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAA,OAAvBA,uBAAuB;AAAA","ignoreList":[]}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ import { useEffect, useState } from 'react';
4
+ import { useUnit } from 'effector-react';
5
+ import { ExampleSolutionStatuses } from "../constants.js";
6
+ const ANIMATION_DELAY = 600;
7
+ export const useExampleSolution = ({
8
+ model,
9
+ payload,
10
+ cacheKey
11
+ }) => {
12
+ const exampleSolutionsCache = useUnit(model.cache.$state);
13
+ const [result, setResult] = useState(null);
14
+ const [status, setStatus] = useState(ExampleSolutionStatuses.LOADING);
15
+ useEffect(() => {
16
+ let timer = null;
17
+ const fetchExampleSolution = async () => {
18
+ try {
19
+ if (exampleSolutionsCache[cacheKey]) {
20
+ setResult(exampleSolutionsCache[cacheKey]);
21
+ setStatus(ExampleSolutionStatuses.CACHE);
22
+ return;
23
+ }
24
+ const startTime = Date.now();
25
+ const response = await model.api.generateExampleSolutionFx(payload);
26
+ setResult(response);
27
+ model.cache.addExampleSolution({
28
+ cacheKey,
29
+ response
30
+ });
31
+ const elapsedTime = Date.now() - startTime;
32
+ if (elapsedTime >= ANIMATION_DELAY) {
33
+ setStatus(ExampleSolutionStatuses.DONE_DATA);
34
+ } else {
35
+ timer = setTimeout(() => {
36
+ setStatus(ExampleSolutionStatuses.DONE_DATA);
37
+ }, ANIMATION_DELAY - elapsedTime);
38
+ }
39
+ } catch (error) {
40
+ console.error('Failed to fetch example solution:', error);
41
+ setStatus(ExampleSolutionStatuses.DONE_DATA);
42
+ }
43
+ };
44
+ fetchExampleSolution();
45
+ return () => {
46
+ if (timer) {
47
+ clearTimeout(timer);
48
+ }
49
+ };
50
+ }, []);
51
+ return {
52
+ result,
53
+ status
54
+ };
55
+ };
56
+ //# sourceMappingURL=useExampleSolution.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useEffect","useState","useUnit","ExampleSolutionStatuses","ANIMATION_DELAY","useExampleSolution","model","payload","cacheKey","exampleSolutionsCache","cache","$state","result","setResult","status","setStatus","LOADING","timer","fetchExampleSolution","CACHE","startTime","Date","now","response","api","generateExampleSolutionFx","addExampleSolution","elapsedTime","DONE_DATA","setTimeout","error","console","clearTimeout"],"sourceRoot":"../../../../../src","sources":["features/exampleSolution/hooks/useExampleSolution.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,SAASC,OAAO,QAAQ,gBAAgB;AAExC,SAASC,uBAAuB,QAAQ,iBAAc;AAEtD,MAAMC,eAAe,GAAG,GAAG;AAO3B,OAAO,MAAMC,kBAAkB,GAAGA,CAAC;EACjCC,KAAK;EACLC,OAAO;EACPC;AAC0B,CAAC,KAA+B;EAC1D,MAAMC,qBAAqB,GAAGP,OAAO,CAACI,KAAK,CAACI,KAAK,CAACC,MAAM,CAAC;EACzD,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGZ,QAAQ,CAAiC,IAAI,CAAC;EAC1E,MAAM,CAACa,MAAM,EAAEC,SAAS,CAAC,GAAGd,QAAQ,CAA0BE,uBAAuB,CAACa,OAAO,CAAC;EAE9FhB,SAAS,CAAC,MAAM;IAC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ict";
2
+
3
+ export * from "./ExampleSolutionModal.js";
4
+ export * from "./model/ExampleSolution.model.js";
5
+ export * from "./types.js";
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["features/exampleSolution/index.ts"],"mappings":";;AAAA,cAAc,2BAAwB;AACtC,cAAc,kCAA+B;AAC7C,cAAc,YAAS","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ import { ExampleSolutionsApi } from "./ExampleSolutionApi.js";
4
+ import { ExampleSolutionCache } from "./ExampleSolutionCache.js";
5
+ export class ExampleSolutionModel {
6
+ cache = new ExampleSolutionCache();
7
+ constructor({
8
+ api,
9
+ errorHandler
10
+ }) {
11
+ this.api = new ExampleSolutionsApi({
12
+ api,
13
+ errorHandler
14
+ });
15
+ }
16
+ }
17
+ //# sourceMappingURL=ExampleSolution.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ExampleSolutionsApi","ExampleSolutionCache","ExampleSolutionModel","cache","constructor","api","errorHandler"],"sourceRoot":"../../../../../src","sources":["features/exampleSolution/model/ExampleSolution.model.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,yBAAsB;AAC1D,SAASC,oBAAoB,QAAQ,2BAAwB;AAE7D,OAAO,MAAMC,oBAAoB,CAAC;EAEhBC,KAAK,GAAG,IAAIF,oBAAoB,CAAC,CAAC;EAElDG,WAAWA,CAAC;IAAEC,GAAG;IAAEC;EAAwC,CAAC,EAAE;IAC5D,IAAI,CAACD,GAAG,GAAG,IAAIL,mBAAmB,CAAC;MAAEK,GAAG;MAAEC;IAAa,CAAC,CAAC;EAC3D;AACF","ignoreList":[]}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ import { createControllerEffect } from "./../../../lib/effector/createControllerEffect.js";
4
+ import { $localization } from "../../../shared/translation/index.js";
5
+ import { createEffect, sample, attach } from 'effector';
6
+ export class ExampleSolutionsApi {
7
+ errorHandlingFx = attach({
8
+ source: $localization,
9
+ effect: createEffect(localization => {
10
+ if (!this.errorHandlerFx) return;
11
+ const errorMessage = localization.exampleSolution.errorMessage;
12
+ this.errorHandlerFx(errorMessage);
13
+ })
14
+ });
15
+ constructor({
16
+ api,
17
+ errorHandler
18
+ }) {
19
+ this.generateExampleSolutionFx = createControllerEffect(api.generateExampleSolution);
20
+ this.errorHandlerFx = errorHandler;
21
+ sample({
22
+ clock: this.generateExampleSolutionFx.fail,
23
+ target: this.errorHandlingFx
24
+ });
25
+ }
26
+ }
27
+ //# sourceMappingURL=ExampleSolutionApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createControllerEffect","$localization","createEffect","sample","attach","ExampleSolutionsApi","errorHandlingFx","source","effect","localization","errorHandlerFx","errorMessage","exampleSolution","constructor","api","errorHandler","generateExampleSolutionFx","generateExampleSolution","clock","fail","target"],"sourceRoot":"../../../../../src","sources":["features/exampleSolution/model/ExampleSolutionApi.ts"],"mappings":";;AAAA,SAASA,sBAAsB,QAAQ,mDAAgD;AAEvF,SAASC,aAAa,QAAQ,sCAA6B;AAC3D,SAASC,YAAY,EAAEC,MAAM,EAAEC,MAAM,QAAoB,UAAU;AAOnE,OAAO,MAAMC,mBAAmB,CAAC;EAIfC,eAAe,GAAGF,MAAM,CAAC;IACvCG,MAAM,EAAEN,aAAa;IACrBO,MAAM,EAAEN,YAAY,CAAEO,YAA8C,IAAK;MACvE,IAAI,CAAC,IAAI,CAACC,cAAc,EAAE;MAC1B,MAAMC,YAAY,GAAGF,YAAY,CAACG,eAAe,CAACD,YAAY;MAC9D,IAAI,CAACD,cAAc,CAACC,YAAY,CAAC;IACnC,CAAC;EACH,CAAC,CAAC;EAEFE,WAAWA,CAAC;IAAEC,GAAG;IAAEC;EAAsC,CAAC,EAAE;IAC1D,IAAI,CAACC,yBAAyB,GAAGhB,sBAAsB,CAACc,GAAG,CAACG,uBAAuB,CAAC;IACpF,IAAI,CAACP,cAAc,GAAGK,YAAY;IAElCZ,MAAM,CAAC;MACLe,KAAK,EAAE,IAAI,CAACF,yBAAyB,CAACG,IAAI;MAC1CC,MAAM,EAAE,IAAI,CAACd;IACf,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ import { createEvent, createStore } from 'effector';
4
+ export class ExampleSolutionCache {
5
+ addExampleSolution = createEvent();
6
+ $state = createStore({}).on(this.addExampleSolution, (state, exampleSolution) => {
7
+ return {
8
+ ...state,
9
+ [exampleSolution.cacheKey]: exampleSolution.response
10
+ };
11
+ });
12
+ }
13
+ //# sourceMappingURL=ExampleSolutionCache.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createEvent","createStore","ExampleSolutionCache","addExampleSolution","$state","on","state","exampleSolution","cacheKey","response"],"sourceRoot":"../../../../../src","sources":["features/exampleSolution/model/ExampleSolutionCache.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,WAAW,QAAQ,UAAU;AAQnD,OAAO,MAAMC,oBAAoB,CAAC;EAChBC,kBAAkB,GAAGH,WAAW,CAAqB,CAAC;EACtDI,MAAM,GAAGH,WAAW,CAA0C,CAAC,CAAC,CAAC,CAACI,EAAE,CAClF,IAAI,CAACF,kBAAkB,EACvB,CAACG,KAAK,EAAEC,eAAe,KAAK;IAC1B,OAAO;MACL,GAAGD,KAAK;MACR,CAACC,eAAe,CAACC,QAAQ,GAAGD,eAAe,CAACE;IAC9C,CAAC;EACH,CACF,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["features/exampleSolution/types.ts"],"mappings":"","ignoreList":[]}
@@ -27,7 +27,7 @@ export const ProblemSelectorButton = ({
27
27
  disabled: locked,
28
28
  icon: locked ? /*#__PURE__*/_jsx(LockIcon, {
29
29
  color: customColorScheme[ButtonStates.DISABLED]?.color,
30
- size: 25
30
+ size: "large"
31
31
  }) : /*#__PURE__*/_jsx(Typography, {
32
32
  variant: "h3",
33
33
  style: [styles.buttonText, {
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","StyleSheet","UnreadMessagesBadge","Button","ButtonSize","ButtonStates","ButtonVariant","FONT_FAMILY","LockIcon","Typography","BADGE_COORDINATES","BUTTON_BORDER_WIDTH","BUTTON_SIZE","COLOR_SCHEME_MAP","jsx","_jsx","jsxs","_jsxs","ProblemSelectorButton","text","state","onClick","badgeValue","locked","customColorScheme","style","styles","wrapper","children","variant","PRIMARY","size","MEDIUM","onPress","button","disabled","icon","color","DISABLED","buttonText","DEFAULT","badgeContent","undefined","withBorder","badge","top","right","create","position","width","height","borderWidth","textAlign","fontWeight","fontFamily","buenosAires"],"sourceRoot":"../../../../../src","sources":["features/problemSelector/components/ProblemSelectorButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAE/C,SAASC,mBAAmB,QAAQ,8BAA8B;AAClE,SACEC,MAAM,EACNC,UAAU,EACVC,YAAY,EACZC,aAAa,EACbC,WAAW,EACXC,QAAQ,EACRC,UAAU,QACL,4BAA4B;AAEnC,SAASC,iBAAiB,EAAEC,mBAAmB,EAAEC,WAAW,EAAEC,gBAAgB,QAAQ,iBAAc;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAIpG,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EACpCC,IAAI;EACJC,KAAK;EACLC,OAAO;EACPC,UAAU;EACVC;AAC0B,CAAC,KAAK;EAChC,MAAMC,iBAAiB,GAAGX,gBAAgB,CAACO,KAAK,CAAC;EAEjD,oBACEH,KAAA,CAACjB,IAAI;IAACyB,KAAK,EAAEC,MAAM,CAACC,OAAQ;IAAAC,QAAA,gBAC1Bb,IAAA,CAACZ,MAAM;MACL0B,OAAO,EAAEvB,aAAa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C,WAAW;IACnBuC,WAAW,EAAExC;EACf,CAAC;EACD4B,UAAU,EAAE;IACVa,SAAS,EAAE,QAAQ;IACnBC,UAAU,EAAE,GAAG;IACfC,UAAU,EAAE/C,WAAW,CAACgD;EAC1B;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","View","StyleSheet","UnreadMessagesBadge","Button","ButtonSize","ButtonStates","ButtonVariant","FONT_FAMILY","LockIcon","Typography","BADGE_COORDINATES","BUTTON_BORDER_WIDTH","BUTTON_SIZE","COLOR_SCHEME_MAP","jsx","_jsx","jsxs","_jsxs","ProblemSelectorButton","text","state","onClick","badgeValue","locked","customColorScheme","style","styles","wrapper","children","variant","PRIMARY","size","MEDIUM","onPress","button","disabled","icon","color","DISABLED","buttonText","DEFAULT","badgeContent","undefined","withBorder","badge","top","right","create","position","width","height","borderWidth","textAlign","fontWeight","fontFamily","buenosAires"],"sourceRoot":"../../../../../src","sources":["features/problemSelector/components/ProblemSelectorButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAE/C,SAASC,mBAAmB,QAAQ,8BAA8B;AAClE,SACEC,MAAM,EACNC,UAAU,EACVC,YAAY,EACZC,aAAa,EACbC,WAAW,EACXC,QAAQ,EACRC,UAAU,QACL,4BAA4B;AAEnC,SAASC,iBAAiB,EAAEC,mBAAmB,EAAEC,WAAW,EAAEC,gBAAgB,QAAQ,iBAAc;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAIpG,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EACpCC,IAAI;EACJC,KAAK;EACLC,OAAO;EACPC,UAAU;EACVC;AAC0B,CAAC,KAAK;EAChC,MAAMC,iBAAiB,GAAGX,gBAAgB,CAACO,KAAK,CAAC;EAEjD,oBACEH,KAAA,CAACjB,IAAI;IAACyB,KAAK,EAAEC,MAAM,CAACC,OAAQ;IAAA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C/Bd,MAAM,EAAE;IACNe,KAAK,EAAErC,WAAW;IAClBsC,MAAM,EAAEtC,WAAW;IACnBuC,WAAW,EAAExC;EACf,CAAC;EACD4B,UAAU,EAAE;IACVa,SAAS,EAAE,QAAQ;IACnBC,UAAU,EAAE,GAAG;IACfC,UAAU,EAAE/C,WAAW,CAACgD;EAC1B;AACF,CAAC,CAAC","ignoreList":[]}
@@ -9,4 +9,6 @@ export * from "./features/endOfAssignment/index.js";
9
9
  export * from "./features/formulaSheet/index.js";
10
10
  export * from "./features/problemSelector/index.js";
11
11
  export * from "./features/gifCelebrations/index.js";
12
+ export * from "./features/exampleSolution/index.js";
13
+ export * from "./shared/icons/index.js";
12
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["useFeaturesLocalization","setFeaturesLocalization","Locale","generateRandomId"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,uBAAuB,EAAEC,uBAAuB,EAAEC,MAAM,QAAQ,+BAAsB;AAC/F,SAASC,gBAAgB,QAAQ,0BAAuB;AACxD,cAAc,6BAAoB;AAClC,cAAc,8BAAqB;AACnC,cAAc,kCAAyB;AACvC,cAAc,qCAA4B;AAC1C,cAAc,kCAAyB;AACvC,cAAc,qCAA4B;AAC1C,cAAc,qCAA4B","ignoreList":[]}
1
+ {"version":3,"names":["useFeaturesLocalization","setFeaturesLocalization","Locale","generateRandomId"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,uBAAuB,EAAEC,uBAAuB,EAAEC,MAAM,QAAQ,+BAAsB;AAC/F,SAASC,gBAAgB,QAAQ,0BAAuB;AACxD,cAAc,6BAAoB;AAClC,cAAc,8BAAqB;AACnC,cAAc,kCAAyB;AACvC,cAAc,qCAA4B;AAC1C,cAAc,kCAAyB;AACvC,cAAc,qCAA4B;AAC1C,cAAc,qCAA4B;AAC1C,cAAc,qCAA4B;AAC1C,cAAc,yBAAgB","ignoreList":[]}