@magmamath/students-features 1.8.1 → 1.8.2-rc.0

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 (138) hide show
  1. package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js +29 -0
  2. package/dist/commonjs/features/exampleSolution/ExampleSolutionModal.js.map +1 -0
  3. package/dist/commonjs/features/exampleSolution/assets/grid.webp +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/QuestionSection.js +70 -0
  7. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +1 -0
  8. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +104 -0
  9. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -0
  10. package/dist/commonjs/features/exampleSolution/constants.js +13 -0
  11. package/dist/commonjs/features/exampleSolution/constants.js.map +1 -0
  12. package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js +61 -0
  13. package/dist/commonjs/features/exampleSolution/hooks/useExampleSolution.js.map +1 -0
  14. package/dist/commonjs/features/exampleSolution/index.js +39 -0
  15. package/dist/commonjs/features/exampleSolution/index.js.map +1 -0
  16. package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js +24 -0
  17. package/dist/commonjs/features/exampleSolution/model/ExampleSolution.model.js.map +1 -0
  18. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +28 -0
  19. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -0
  20. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js +18 -0
  21. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionCache.js.map +1 -0
  22. package/dist/commonjs/features/exampleSolution/types.js +6 -0
  23. package/dist/commonjs/features/exampleSolution/types.js.map +1 -0
  24. package/dist/commonjs/features/uiMode/uiMode.helpers.js +6 -1
  25. package/dist/commonjs/features/uiMode/uiMode.helpers.js.map +1 -1
  26. package/dist/commonjs/i18n/i18n.js +3 -1
  27. package/dist/commonjs/i18n/i18n.js.map +1 -1
  28. package/dist/commonjs/index.js +22 -10
  29. package/dist/commonjs/index.js.map +1 -1
  30. package/dist/module/features/exampleSolution/ExampleSolutionModal.js +23 -0
  31. package/dist/module/features/exampleSolution/ExampleSolutionModal.js.map +1 -0
  32. package/dist/module/features/exampleSolution/assets/grid.webp +0 -0
  33. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +91 -0
  34. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -0
  35. package/dist/module/features/exampleSolution/components/QuestionSection.js +62 -0
  36. package/dist/module/features/exampleSolution/components/QuestionSection.js.map +1 -0
  37. package/dist/module/features/exampleSolution/components/SolutionSection.js +96 -0
  38. package/dist/module/features/exampleSolution/components/SolutionSection.js.map +1 -0
  39. package/dist/module/features/exampleSolution/constants.js +9 -0
  40. package/dist/module/features/exampleSolution/constants.js.map +1 -0
  41. package/dist/module/features/exampleSolution/hooks/useExampleSolution.js +56 -0
  42. package/dist/module/features/exampleSolution/hooks/useExampleSolution.js.map +1 -0
  43. package/dist/module/features/exampleSolution/index.js +6 -0
  44. package/dist/module/features/exampleSolution/index.js.map +1 -0
  45. package/dist/module/features/exampleSolution/model/ExampleSolution.model.js +19 -0
  46. package/dist/module/features/exampleSolution/model/ExampleSolution.model.js.map +1 -0
  47. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +23 -0
  48. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -0
  49. package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js +13 -0
  50. package/dist/module/features/exampleSolution/model/ExampleSolutionCache.js.map +1 -0
  51. package/dist/module/features/exampleSolution/types.js +4 -0
  52. package/dist/module/features/exampleSolution/types.js.map +1 -0
  53. package/dist/module/features/uiMode/uiMode.helpers.js +6 -1
  54. package/dist/module/features/uiMode/uiMode.helpers.js.map +1 -1
  55. package/dist/module/i18n/i18n.js +3 -1
  56. package/dist/module/i18n/i18n.js.map +1 -1
  57. package/dist/module/index.js +1 -0
  58. package/dist/module/index.js.map +1 -1
  59. package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts +11 -0
  60. package/dist/typescript/commonjs/features/exampleSolution/ExampleSolutionModal.d.ts.map +1 -0
  61. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +8 -0
  62. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -0
  63. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts +10 -0
  64. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts.map +1 -0
  65. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts +9 -0
  66. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts.map +1 -0
  67. package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts +6 -0
  68. package/dist/typescript/commonjs/features/exampleSolution/constants.d.ts.map +1 -0
  69. package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts +9 -0
  70. package/dist/typescript/commonjs/features/exampleSolution/hooks/useExampleSolution.d.ts.map +1 -0
  71. package/dist/typescript/commonjs/features/exampleSolution/index.d.ts +4 -0
  72. package/dist/typescript/commonjs/features/exampleSolution/index.d.ts.map +1 -0
  73. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts +10 -0
  74. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolution.model.d.ts.map +1 -0
  75. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts +13 -0
  76. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -0
  77. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts +11 -0
  78. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +1 -0
  79. package/dist/typescript/commonjs/features/exampleSolution/types.d.ts +27 -0
  80. package/dist/typescript/commonjs/features/exampleSolution/types.d.ts.map +1 -0
  81. package/dist/typescript/commonjs/features/fluency/hooks/useFluencyNumpad.d.ts +1 -2
  82. package/dist/typescript/commonjs/features/fluency/hooks/useFluencyNumpad.d.ts.map +1 -1
  83. package/dist/typescript/commonjs/features/uiMode/uiMode.helpers.d.ts.map +1 -1
  84. package/dist/typescript/commonjs/features/voice/playing/hooks/useVoiceTranscriptionController.d.ts +1 -1
  85. package/dist/typescript/commonjs/i18n/i18n.d.ts.map +1 -1
  86. package/dist/typescript/commonjs/index.d.ts +1 -0
  87. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  88. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts +1 -1
  89. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  90. package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts +11 -0
  91. package/dist/typescript/module/features/exampleSolution/ExampleSolutionModal.d.ts.map +1 -0
  92. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts +8 -0
  93. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -0
  94. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts +10 -0
  95. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts.map +1 -0
  96. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts +9 -0
  97. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts.map +1 -0
  98. package/dist/typescript/module/features/exampleSolution/constants.d.ts +6 -0
  99. package/dist/typescript/module/features/exampleSolution/constants.d.ts.map +1 -0
  100. package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts +9 -0
  101. package/dist/typescript/module/features/exampleSolution/hooks/useExampleSolution.d.ts.map +1 -0
  102. package/dist/typescript/module/features/exampleSolution/index.d.ts +4 -0
  103. package/dist/typescript/module/features/exampleSolution/index.d.ts.map +1 -0
  104. package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts +10 -0
  105. package/dist/typescript/module/features/exampleSolution/model/ExampleSolution.model.d.ts.map +1 -0
  106. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts +13 -0
  107. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -0
  108. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts +11 -0
  109. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionCache.d.ts.map +1 -0
  110. package/dist/typescript/module/features/exampleSolution/types.d.ts +27 -0
  111. package/dist/typescript/module/features/exampleSolution/types.d.ts.map +1 -0
  112. package/dist/typescript/module/features/fluency/hooks/useFluencyNumpad.d.ts +1 -2
  113. package/dist/typescript/module/features/fluency/hooks/useFluencyNumpad.d.ts.map +1 -1
  114. package/dist/typescript/module/features/uiMode/uiMode.helpers.d.ts.map +1 -1
  115. package/dist/typescript/module/features/voice/playing/hooks/useVoiceTranscriptionController.d.ts +1 -1
  116. package/dist/typescript/module/i18n/i18n.d.ts.map +1 -1
  117. package/dist/typescript/module/index.d.ts +1 -0
  118. package/dist/typescript/module/index.d.ts.map +1 -1
  119. package/dist/typescript/module/lib/helpers/helpers.d.ts +1 -1
  120. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  121. package/package.json +2 -2
  122. package/src/features/exampleSolution/ExampleSolutionModal.tsx +23 -0
  123. package/src/features/exampleSolution/assets/grid.webp +0 -0
  124. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +80 -0
  125. package/src/features/exampleSolution/components/QuestionSection.tsx +61 -0
  126. package/src/features/exampleSolution/components/SolutionSection.tsx +117 -0
  127. package/src/features/exampleSolution/constants.ts +5 -0
  128. package/src/features/exampleSolution/hooks/useExampleSolution.ts +66 -0
  129. package/src/features/exampleSolution/index.ts +3 -0
  130. package/src/features/exampleSolution/model/ExampleSolution.model.ts +15 -0
  131. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +29 -0
  132. package/src/features/exampleSolution/model/ExampleSolutionCache.ts +20 -0
  133. package/src/features/exampleSolution/types.ts +27 -0
  134. package/src/features/uiMode/__tests__/getUIMode.test.ts +64 -0
  135. package/src/features/uiMode/uiMode.helpers.ts +16 -1
  136. package/src/i18n/i18n.ts +2 -1
  137. package/src/index.ts +1 -0
  138. package/src/i18n/.generated/schema.json +0 -154
@@ -1 +1 @@
1
- {"version":3,"names":["UIMode","GRADE_K2","INVALID_GRADE","AnswerType","MyScriptMathCharacterTypes","ToolBarVariants","Locale","isValidGrade","grade","undefined","isBelowGradeK2","isSimpleMode","user","practice","assignment","isEnabled","getAnswerAreaMode","problem","isHandwritingNumbersWhole","answerType","HANDWRITING","characterType","NUMBERS_WHOLE","hasAnswerVariants","SIMPLE","REGULAR","getToolbarMode","isSimpleModeGrade","locale","isUSOrCA","US","CA","gradeThreshold","isAdvanced","ADVANCED","COMMON"],"sourceRoot":"../../../../src","sources":["features/uiMode/uiMode.helpers.ts"],"mappings":";;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,aAAa,QAAQ,uBAAoB;AAQpE,SAASC,UAAU,QAAQ,4BAAyB;AACpD,SAASC,0BAA0B,QAAQ,+BAA4B;AACvE,SAASC,eAAe,QAAQ,oCAAoC;AACpE,SAASC,MAAM,QAAQ,4BAA4B;AAEnD,MAAMC,YAAY,GAAIC,KAAY,IAAsB;EACtD,OAAOA,KAAK,KAAKC,SAAS,IAAID,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAKN,aAAa;AACzE,CAAC;AAED,OAAO,MAAMQ,cAAc,GAAIF,KAAY,IAAK;EAC9C,OAAOD,YAAY,CAACC,KAAK,CAAC,IAAIA,KAAK,IAAI,CAAC,IAAIA,KAAK,IAAIP,QAAQ;AAC/D,CAAC;AAED,OAAO,MAAMU,YAAY,GAAGA,CAAC;EAAEC,IAAI;EAAEC,QAAQ;EAAEC;AAA8B,CAAC,KAAK;EACjF,IAAID,QAAQ,CAACE,SAAS,EAAE,OAAOL,cAAc,CAACG,QAAQ,CAACL,KAAK,CAAC;EAC7D,IAAI,CAACD,YAAY,CAACK,IAAI,CAACJ,KAAK,CAAC,EAAE,OAAOE,cAAc,CAACI,UAAU,CAACN,KAAK,CAAC;EACtE,OAAOE,cAAc,CAACE,IAAI,CAACJ,KAAK,CAAC;AACnC,CAAC;AAED,OAAO,MAAMQ,iBAAiB,GAAGA,CAAC;EAAEH,QAAQ;EAAEI;AAAgC,CAAC,KAAa;EAC1F,MAAMC,yBAAyB,GAC7BD,OAAO,CAACE,UAAU,KAAKhB,UAAU,CAACiB,WAAW,IAC7CH,OAAO,CAACI,aAAa,KAAKjB,0BAA0B,CAACkB,aAAa;EAEpE,IAAIT,QAAQ,CAACE,SAAS,IAAIE,OAAO,CAACM,iBAAiB,IAAIL,yBAAyB,EAAE;IAChF,OAAOlB,MAAM,CAACwB,MAAM;EACtB;EAEA,OAAOxB,MAAM,CAACyB,OAAO;AACvB,CAAC;AAED,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAC7BC,iBAAiB;EACjBnB,KAAK;EACLoB;AACmB,CAAC,KAAsB;EAC1C,MAAMC,QAAQ,GAAGD,MAAM,KAAKtB,MAAM,CAACwB,EAAE,IAAIF,MAAM,KAAKtB,MAAM,CAACyB,EAAE;EAC7D,MAAMC,cAAc,GAAGH,QAAQ,GAAG,CAAC,GAAG,CAAC;EACvC,MAAMI,UAAU,GAAG1B,YAAY,CAACC,KAAK,CAAC,IAAIA,KAAK,IAAIwB,cAAc;EAEjE,IAAIC,UAAU,EAAE,OAAO5B,eAAe,CAAC6B,QAAQ;EAC/C,IAAIP,iBAAiB,EAAE,OAAOtB,eAAe,CAACmB,MAAM;EACpD,OAAOnB,eAAe,CAAC8B,MAAM;AAC/B,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["UIMode","GRADE_K2","INVALID_GRADE","AnswerType","MyScriptMathCharacterTypes","ToolBarVariants","Locale","isValidGrade","grade","undefined","isBelowGradeK2","isSimpleMode","user","practice","assignment","isEnabled","SPECIAL_CHAR_TYPES","CURRENCY","UNITS","NUMBERS_AND_UNITS","TIME","getAnswerAreaMode","problem","isHandwritingNumbersWhole","answerType","HANDWRITING","characterType","NUMBERS_WHOLE","hasAnswerVariants","SIMPLE","needsSpecialKeyboard","includes","REGULAR","getToolbarMode","isSimpleModeGrade","locale","isUSOrCA","US","CA","gradeThreshold","isAdvanced","ADVANCED","COMMON"],"sourceRoot":"../../../../src","sources":["features/uiMode/uiMode.helpers.ts"],"mappings":";;AAAA,SAASA,MAAM,EAAEC,QAAQ,EAAEC,aAAa,QAAQ,uBAAoB;AAQpE,SAASC,UAAU,QAAQ,4BAAyB;AACpD,SAASC,0BAA0B,QAAQ,+BAA4B;AACvE,SAASC,eAAe,QAAQ,oCAAoC;AACpE,SAASC,MAAM,QAAQ,4BAA4B;AAEnD,MAAMC,YAAY,GAAIC,KAAY,IAAsB;EACtD,OAAOA,KAAK,KAAKC,SAAS,IAAID,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAKN,aAAa;AACzE,CAAC;AAED,OAAO,MAAMQ,cAAc,GAAIF,KAAY,IAAK;EAC9C,OAAOD,YAAY,CAACC,KAAK,CAAC,IAAIA,KAAK,IAAI,CAAC,IAAIA,KAAK,IAAIP,QAAQ;AAC/D,CAAC;AAED,OAAO,MAAMU,YAAY,GAAGA,CAAC;EAAEC,IAAI;EAAEC,QAAQ;EAAEC;AAA8B,CAAC,KAAK;EACjF,IAAID,QAAQ,CAACE,SAAS,EAAE,OAAOL,cAAc,CAACG,QAAQ,CAACL,KAAK,CAAC;EAC7D,IAAI,CAACD,YAAY,CAACK,IAAI,CAACJ,KAAK,CAAC,EAAE,OAAOE,cAAc,CAACI,UAAU,CAACN,KAAK,CAAC;EACtE,OAAOE,cAAc,CAACE,IAAI,CAACJ,KAAK,CAAC;AACnC,CAAC;AAED,MAAMQ,kBAAkB,GAAG,CACzBZ,0BAA0B,CAACa,QAAQ,EACnCb,0BAA0B,CAACc,KAAK,EAChCd,0BAA0B,CAACe,iBAAiB,EAC5Cf,0BAA0B,CAACgB,IAAI,CAChC;AAED,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAAER,QAAQ;EAAES;AAAgC,CAAC,KAAa;EAC1F,MAAMC,yBAAyB,GAC7BD,OAAO,CAACE,UAAU,KAAKrB,UAAU,CAACsB,WAAW,IAC7CH,OAAO,CAACI,aAAa,KAAKtB,0BAA0B,CAACuB,aAAa;EAEpE,IAAIL,OAAO,CAACM,iBAAiB,IAAIL,yBAAyB,EAAE;IAC1D,OAAOvB,MAAM,CAAC6B,MAAM;EACtB;EAEA,MAAMC,oBAAoB,GACxBR,OAAO,CAACE,UAAU,KAAKrB,UAAU,CAACsB,WAAW,IAC7CT,kBAAkB,CAACe,QAAQ,CAACT,OAAO,CAACI,aAAa,CAAC;EAEpD,IAAIb,QAAQ,CAACE,SAAS,IAAI,CAACe,oBAAoB,EAAE;IAC/C,OAAO9B,MAAM,CAAC6B,MAAM;EACtB;EAEA,OAAO7B,MAAM,CAACgC,OAAO;AACvB,CAAC;AAED,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAC7BC,iBAAiB;EACjB1B,KAAK;EACL2B;AACmB,CAAC,KAAsB;EAC1C,MAAMC,QAAQ,GAAGD,MAAM,KAAK7B,MAAM,CAAC+B,EAAE,IAAIF,MAAM,KAAK7B,MAAM,CAACgC,EAAE;EAC7D,MAAMC,cAAc,GAAGH,QAAQ,GAAG,CAAC,GAAG,CAAC;EACvC,MAAMI,UAAU,GAAGjC,YAAY,CAACC,KAAK,CAAC,IAAIA,KAAK,IAAI+B,cAAc;EAEjE,IAAIC,UAAU,EAAE,OAAOnC,eAAe,CAACoC,QAAQ;EAC/C,IAAIP,iBAAiB,EAAE,OAAO7B,eAAe,CAACwB,MAAM;EACpD,OAAOxB,eAAe,CAACqC,MAAM;AAC/B,CAAC","ignoreList":[]}
@@ -4,7 +4,9 @@ import i18next from 'i18next';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { TranslationNamespace } from '@magmamath/frontend-config/translation/constants';
6
6
  export const NAMESPACE = TranslationNamespace.STUDENTS_FEATURES;
7
- export const getText = (key, options) => i18next.t(key, {
7
+ export const getText = (key, options) =>
8
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
+ i18next.t(key, {
8
10
  ns: NAMESPACE,
9
11
  ...options
10
12
  });
@@ -1 +1 @@
1
- {"version":3,"names":["i18next","useTranslation","TranslationNamespace","NAMESPACE","STUDENTS_FEATURES","getText","key","options","t","ns","useText"],"sourceRoot":"../../../src","sources":["i18n/i18n.ts"],"mappings":";;AAAA,OAAOA,OAAO,MAAgC,SAAS;AACvD,SAASC,cAAc,QAAQ,eAAe;AAC9C,SAASC,oBAAoB,QAAQ,kDAAkD;AAEvF,OAAO,MAAMC,SAAS,GAAGD,oBAAoB,CAACE,iBAAiB;AAK/D,OAAO,MAAMC,OAAgB,GAAIA,CAACC,GAAmB,EAAEC,OAAgB,KACrEP,OAAO,CAACQ,CAAC,CAACF,GAAG,EAAE;EAAEG,EAAE,EAAEN,SAAS;EAAE,GAAGI;AAAQ,CAAC,CAAa;AAE3D,OAAO,MAAMG,OAAO,GAAGA,CAAA,KAAeT,cAAc,CAACE,SAAS,CAAC,CAACK,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["i18next","useTranslation","TranslationNamespace","NAMESPACE","STUDENTS_FEATURES","getText","key","options","t","ns","useText"],"sourceRoot":"../../../src","sources":["i18n/i18n.ts"],"mappings":";;AAAA,OAAOA,OAAO,MAAgC,SAAS;AACvD,SAASC,cAAc,QAAQ,eAAe;AAC9C,SAASC,oBAAoB,QAAQ,kDAAkD;AAEvF,OAAO,MAAMC,SAAS,GAAGD,oBAAoB,CAACE,iBAAiB;AAK/D,OAAO,MAAMC,OAAgB,GAAIA,CAACC,GAAmB,EAAEC,OAAgB;AACrE;AACCP,OAAO,CAACQ,CAAC,CAASF,GAAG,EAAE;EAAEG,EAAE,EAAEN,SAAS;EAAE,GAAGI;AAAQ,CAAC,CAAa;AAEpE,OAAO,MAAMG,OAAO,GAAGA,CAAA,KAAeT,cAAc,CAACE,SAAS,CAAC,CAACK,CAAC","ignoreList":[]}
@@ -8,6 +8,7 @@ export * from "./features/endOfAssignment/index.js";
8
8
  export * from "./features/formulaSheet/index.js";
9
9
  export * from "./features/problemSelector/index.js";
10
10
  export * from "./features/gifCelebrations/index.js";
11
+ export * from "./features/exampleSolution/index.js";
11
12
  export * from "./features/keyboard/index.js";
12
13
  export * from "./features/pmProgress/index.js";
13
14
  export * from "./features/openEnded/index.js";
@@ -1 +1 @@
1
- {"version":3,"names":["generateRandomId"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,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,8BAAqB;AACnC,cAAc,gCAAuB;AACrC,cAAc,+BAAsB;AACpC,cAAc,yBAAgB;AAC9B,cAAc,2BAAkB;AAChC,cAAc,kCAAyB;AACvC,cAAc,4BAAmB;AACjC,cAAc,6BAAoB;AAClC,cAAc,qCAA4B;AAC1C,cAAc,iCAAwB","ignoreList":[]}
1
+ {"version":3,"names":["generateRandomId"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,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,8BAAqB;AACnC,cAAc,gCAAuB;AACrC,cAAc,+BAAsB;AACpC,cAAc,yBAAgB;AAC9B,cAAc,2BAAkB;AAChC,cAAc,kCAAyB;AACvC,cAAc,4BAAmB;AACjC,cAAc,6BAAoB;AAClC,cAAc,qCAA4B;AAC1C,cAAc,iCAAwB","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { ExampleSolutionModalParams } from './types';
3
+ type ExampleSolutionModalComponentProps = {
4
+ modal: {
5
+ closeModal: () => void;
6
+ params: ExampleSolutionModalParams;
7
+ };
8
+ };
9
+ export declare const ExampleSolutionModal: ({ modal: { closeModal, params }, }: ExampleSolutionModalComponentProps) => React.JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=ExampleSolutionModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleSolutionModal.d.ts","sourceRoot":"","sources":["../../../../../src/features/exampleSolution/ExampleSolutionModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAEpD,KAAK,kCAAkC,GAAG;IACxC,KAAK,EAAE;QACL,UAAU,EAAE,MAAM,IAAI,CAAA;QACtB,MAAM,EAAE,0BAA0B,CAAA;KACnC,CAAA;CACF,CAAA;AAED,eAAO,MAAM,oBAAoB,uCAE9B,kCAAkC,sBAQpC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ExampleSolutionModalParams } from '../types';
3
+ type ExampleSolutionModalContentProps = {
4
+ params: ExampleSolutionModalParams;
5
+ };
6
+ export declare const ExampleSolutionModalContent: ({ params: { model, payload, cacheKey }, }: ExampleSolutionModalContentProps) => React.JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=ExampleSolutionModalContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleSolutionModalContent.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/ExampleSolutionModalContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAOrD,KAAK,gCAAgC,GAAG;IACtC,MAAM,EAAE,0BAA0B,CAAA;CACnC,CAAA;AAID,eAAO,MAAM,2BAA2B,8CAErC,gCAAgC,sBAyBlC,CAAA"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { ExampleSolutionStatuses } from '../constants';
3
+ type QuestionSectionProps = {
4
+ question?: string;
5
+ status: ExampleSolutionStatuses;
6
+ renderKatexComponent: (katexString: string) => React.ReactNode;
7
+ };
8
+ export declare const QuestionSection: ({ question, status, renderKatexComponent, }: QuestionSectionProps) => React.JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=QuestionSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionSection.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/QuestionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAGtD,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,uBAAuB,CAAA;IAC/B,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;CAC/D,CAAA;AAED,eAAO,MAAM,eAAe,gDAIzB,oBAAoB,sBAWtB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ExampleSolutionStatuses } from '../constants';
3
+ type SolutionSectionProps = {
4
+ answer?: string;
5
+ status: ExampleSolutionStatuses;
6
+ };
7
+ export declare const SolutionSection: ({ answer, status }: SolutionSectionProps) => React.JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=SolutionSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SolutionSection.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/SolutionSection.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAItD,KAAK,oBAAoB,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,uBAAuB,CAAA;CAChC,CAAA;AAWD,eAAO,MAAM,eAAe,uBAAwB,oBAAoB,sBAoDvE,CAAA"}
@@ -0,0 +1,6 @@
1
+ export declare const enum ExampleSolutionStatuses {
2
+ LOADING = "loading",
3
+ DONE_DATA = "doneData",
4
+ CACHE = "cache"
5
+ }
6
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/exampleSolution/constants.ts"],"names":[],"mappings":"AAAA,0BAAkB,uBAAuB;IACvC,OAAO,YAAY;IACnB,SAAS,aAAa;IACtB,KAAK,UAAU;CAChB"}
@@ -0,0 +1,9 @@
1
+ import { ExampleSolutionModalParams, ExampleSolutionResponse } from '../types';
2
+ import { ExampleSolutionStatuses } from '../constants';
3
+ type UseExampleSolutionReturn = {
4
+ result: ExampleSolutionResponse | null;
5
+ status: ExampleSolutionStatuses;
6
+ };
7
+ export declare const useExampleSolution: ({ model, payload, cacheKey, }: ExampleSolutionModalParams) => UseExampleSolutionReturn;
8
+ export {};
9
+ //# sourceMappingURL=useExampleSolution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExampleSolution.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/hooks/useExampleSolution.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAItD,KAAK,wBAAwB,GAAG;IAC9B,MAAM,EAAE,uBAAuB,GAAG,IAAI,CAAA;IACtC,MAAM,EAAE,uBAAuB,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,kBAAkB,kCAI5B,0BAA0B,KAAG,wBAiD/B,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './ExampleSolutionModal';
2
+ export * from './model/ExampleSolution.model';
3
+ export * from './types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/exampleSolution/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,SAAS,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { ExampleSolutionModelProps } from '../types';
2
+ import { ExampleSolutionsApi } from './ExampleSolutionApi';
3
+ import { ExampleSolutionCache } from './ExampleSolutionCache';
4
+ export declare class ExampleSolutionModel {
5
+ readonly api: ExampleSolutionsApi;
6
+ readonly cache: ExampleSolutionCache;
7
+ readonly renderKatexComponent: (katexString: string) => React.ReactNode;
8
+ constructor({ api, errorHandler, renderKatexComponent }: ExampleSolutionModelProps);
9
+ }
10
+ //# sourceMappingURL=ExampleSolution.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleSolution.model.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/model/ExampleSolution.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,qBAAa,oBAAoB;IAC/B,SAAgB,GAAG,sBAAA;IACnB,SAAgB,KAAK,uBAA6B;IAElD,SAAgB,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;gBAElE,EAAE,GAAG,EAAE,YAAY,EAAE,oBAAoB,EAAE,EAAE,yBAAyB;CAInF"}
@@ -0,0 +1,13 @@
1
+ import { ExampleSolutionApiRequests, ExampleSolutionErrorHandler } from '../types';
2
+ type ExampleSolutionApiProps = {
3
+ api: ExampleSolutionApiRequests;
4
+ errorHandler?: ExampleSolutionErrorHandler;
5
+ };
6
+ export declare class ExampleSolutionsApi {
7
+ readonly generateExampleSolutionFx: import("./../../../lib/effector/createControllerEffect").ControlledEffect<import("../types").ExampleSolutionPayload, import("../types").ExampleSolutionResponse>;
8
+ readonly errorHandlerFx?: ExampleSolutionErrorHandler;
9
+ readonly errorHandlingFx: import("effector").Effect<void, void, Error>;
10
+ constructor({ api, errorHandler }: ExampleSolutionApiProps);
11
+ }
12
+ export {};
13
+ //# sourceMappingURL=ExampleSolutionApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleSolutionApi.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/model/ExampleSolutionApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AAIlF,KAAK,uBAAuB,GAAG;IAC7B,GAAG,EAAE,0BAA0B,CAAA;IAC/B,YAAY,CAAC,EAAE,2BAA2B,CAAA;CAC3C,CAAA;AAED,qBAAa,mBAAmB;IAC9B,SAAgB,yBAAyB,mKAAA;IACzC,SAAgB,cAAc,CAAC,EAAE,2BAA2B,CAAA;IAE5D,SAAgB,eAAe,+CAG7B;gBAEU,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,uBAAuB;CAS3D"}
@@ -0,0 +1,11 @@
1
+ import { ExampleSolutionResponse } from '../types';
2
+ type AddExampleSolution = {
3
+ cacheKey: string;
4
+ response: ExampleSolutionResponse;
5
+ };
6
+ export declare class ExampleSolutionCache {
7
+ readonly addExampleSolution: import("effector").EventCallable<AddExampleSolution>;
8
+ readonly $state: import("effector").StoreWritable<Record<string, ExampleSolutionResponse>>;
9
+ }
10
+ export {};
11
+ //# sourceMappingURL=ExampleSolutionCache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleSolutionCache.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/model/ExampleSolutionCache.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,uBAAuB,CAAA;CAClC,CAAA;AAED,qBAAa,oBAAoB;IAC/B,SAAgB,kBAAkB,uDAAoC;IACtE,SAAgB,MAAM,4EAQrB;CACF"}
@@ -0,0 +1,27 @@
1
+ import { ExampleSolutionModel } from './model/ExampleSolution.model';
2
+ export type ExampleSolutionPayload = {
3
+ question: string;
4
+ answer: string;
5
+ language: string;
6
+ altText?: string;
7
+ imageCdnId?: string;
8
+ };
9
+ export type ExampleSolutionResponse = {
10
+ question: string;
11
+ answer: string;
12
+ };
13
+ export type ExampleSolutionApiRequests = {
14
+ generateExampleSolution: (body: ExampleSolutionPayload) => Promise<ExampleSolutionResponse>;
15
+ };
16
+ export type ExampleSolutionErrorHandler = (errorMessage: string) => void;
17
+ export type ExampleSolutionModelProps = {
18
+ api: ExampleSolutionApiRequests;
19
+ errorHandler?: ExampleSolutionErrorHandler;
20
+ renderKatexComponent: (katexString: string) => React.ReactNode;
21
+ };
22
+ export type ExampleSolutionModalParams = {
23
+ cacheKey: string;
24
+ payload: ExampleSolutionPayload;
25
+ model: ExampleSolutionModel;
26
+ };
27
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/exampleSolution/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AAEpE,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AACD,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,0BAA0B,GAAG;IACvC,uBAAuB,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,OAAO,CAAC,uBAAuB,CAAC,CAAA;CAC5F,CAAA;AACD,MAAM,MAAM,2BAA2B,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;AACxE,MAAM,MAAM,yBAAyB,GAAG;IACtC,GAAG,EAAE,0BAA0B,CAAA;IAC/B,YAAY,CAAC,EAAE,2BAA2B,CAAA;IAC1C,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;CAC/D,CAAA;AACD,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,sBAAsB,CAAA;IAC/B,KAAK,EAAE,oBAAoB,CAAA;CAC5B,CAAA"}
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  type UseFluencyNumpadProps = {
3
2
  onSubmit: () => void;
4
3
  };
5
4
  export declare const useFluencyNumpad: ({ onSubmit }: UseFluencyNumpadProps) => {
6
5
  options: {
7
- title: React.ReactNode;
6
+ title: any;
8
7
  selected: boolean;
9
8
  customColorScheme: {
10
9
  1: {
@@ -1 +1 @@
1
- {"version":3,"file":"useFluencyNumpad.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/hooks/useFluencyNumpad.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAW1D,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AA4ED,eAAO,MAAM,gBAAgB,iBAAkB,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAzE7D,MAAM;;CA4HZ,CAAA"}
1
+ {"version":3,"file":"useFluencyNumpad.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/hooks/useFluencyNumpad.tsx"],"names":[],"mappings":"AAWA,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AA4ED,eAAO,MAAM,gBAAgB,iBAAkB,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAzE7D,MAAM;;CA4HZ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"uiMode.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/uiMode/uiMode.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA2B,MAAM,oBAAoB,CAAA;AACpE,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,KAAK,EACL,iBAAiB,EAClB,MAAM,gBAAgB,CAAA;AAIvB,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AAOpE,eAAO,MAAM,cAAc,UAAW,KAAK,YAE1C,CAAA;AAED,eAAO,MAAM,YAAY,mCAAoC,iBAAiB,YAI7E,CAAA;AAED,eAAO,MAAM,iBAAiB,0BAA2B,sBAAsB,KAAG,MAUjF,CAAA;AAED,eAAO,MAAM,cAAc,0CAIxB,mBAAmB,KAAG,eAQxB,CAAA"}
1
+ {"version":3,"file":"uiMode.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/uiMode/uiMode.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA2B,MAAM,oBAAoB,CAAA;AACpE,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,KAAK,EACL,iBAAiB,EAClB,MAAM,gBAAgB,CAAA;AAIvB,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AAOpE,eAAO,MAAM,cAAc,UAAW,KAAK,YAE1C,CAAA;AAED,eAAO,MAAM,YAAY,mCAAoC,iBAAiB,YAI7E,CAAA;AASD,eAAO,MAAM,iBAAiB,0BAA2B,sBAAsB,KAAG,MAkBjF,CAAA;AAED,eAAO,MAAM,cAAc,0CAIxB,mBAAmB,KAAG,eAQxB,CAAA"}
@@ -11,7 +11,7 @@ type Params = {
11
11
  export type VoiceTranscriptionController = ReturnType<typeof useVoiceTranscriptionController>;
12
12
  export declare const useVoiceTranscriptionController: ({ model, answers, attemptOffset, attemptsCount, problemId, }: Params) => {
13
13
  display: {
14
- text: string;
14
+ text: any;
15
15
  isLoading: boolean;
16
16
  };
17
17
  flags: {
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAA;AAEvF,eAAO,MAAM,SAAS,yCAAyC,CAAA;AAE/D,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAA;AAEjD,eAAO,MAAM,OAAO,EAAE,OACqC,CAAA;AAE3D,eAAO,MAAM,OAAO,QAAO,OAAsC,CAAA"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAA;AAEvF,eAAO,MAAM,SAAS,yCAAyC,CAAA;AAE/D,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAA;AAEjD,eAAO,MAAM,OAAO,EAAE,OAE8C,CAAA;AAEpE,eAAO,MAAM,OAAO,QAAO,OAAsC,CAAA"}
@@ -6,6 +6,7 @@ export * from './features/endOfAssignment';
6
6
  export * from './features/formulaSheet';
7
7
  export * from './features/problemSelector';
8
8
  export * from './features/gifCelebrations';
9
+ export * from './features/exampleSolution';
9
10
  export * from './features/keyboard';
10
11
  export * from './features/pmProgress';
11
12
  export * from './features/openEnded';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA"}
@@ -1,4 +1,4 @@
1
1
  export declare const noop: () => void;
2
2
  export declare const generateRandomId: () => string;
3
- export declare const getRelativeTimeText: (date: Date) => string;
3
+ export declare const getRelativeTimeText: (date: Date) => any;
4
4
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,WAsC7C,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,QAsC7C,CAAA"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { ExampleSolutionModalParams } from './types';
3
+ type ExampleSolutionModalComponentProps = {
4
+ modal: {
5
+ closeModal: () => void;
6
+ params: ExampleSolutionModalParams;
7
+ };
8
+ };
9
+ export declare const ExampleSolutionModal: ({ modal: { closeModal, params }, }: ExampleSolutionModalComponentProps) => React.JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=ExampleSolutionModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleSolutionModal.d.ts","sourceRoot":"","sources":["../../../../../src/features/exampleSolution/ExampleSolutionModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAEpD,KAAK,kCAAkC,GAAG;IACxC,KAAK,EAAE;QACL,UAAU,EAAE,MAAM,IAAI,CAAA;QACtB,MAAM,EAAE,0BAA0B,CAAA;KACnC,CAAA;CACF,CAAA;AAED,eAAO,MAAM,oBAAoB,uCAE9B,kCAAkC,sBAQpC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ExampleSolutionModalParams } from '../types';
3
+ type ExampleSolutionModalContentProps = {
4
+ params: ExampleSolutionModalParams;
5
+ };
6
+ export declare const ExampleSolutionModalContent: ({ params: { model, payload, cacheKey }, }: ExampleSolutionModalContentProps) => React.JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=ExampleSolutionModalContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleSolutionModalContent.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/ExampleSolutionModalContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAOrD,KAAK,gCAAgC,GAAG;IACtC,MAAM,EAAE,0BAA0B,CAAA;CACnC,CAAA;AAID,eAAO,MAAM,2BAA2B,8CAErC,gCAAgC,sBAyBlC,CAAA"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { ExampleSolutionStatuses } from '../constants';
3
+ type QuestionSectionProps = {
4
+ question?: string;
5
+ status: ExampleSolutionStatuses;
6
+ renderKatexComponent: (katexString: string) => React.ReactNode;
7
+ };
8
+ export declare const QuestionSection: ({ question, status, renderKatexComponent, }: QuestionSectionProps) => React.JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=QuestionSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionSection.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/QuestionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAGtD,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,uBAAuB,CAAA;IAC/B,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;CAC/D,CAAA;AAED,eAAO,MAAM,eAAe,gDAIzB,oBAAoB,sBAWtB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ExampleSolutionStatuses } from '../constants';
3
+ type SolutionSectionProps = {
4
+ answer?: string;
5
+ status: ExampleSolutionStatuses;
6
+ };
7
+ export declare const SolutionSection: ({ answer, status }: SolutionSectionProps) => React.JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=SolutionSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SolutionSection.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/components/SolutionSection.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAItD,KAAK,oBAAoB,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,uBAAuB,CAAA;CAChC,CAAA;AAWD,eAAO,MAAM,eAAe,uBAAwB,oBAAoB,sBAoDvE,CAAA"}
@@ -0,0 +1,6 @@
1
+ export declare const enum ExampleSolutionStatuses {
2
+ LOADING = "loading",
3
+ DONE_DATA = "doneData",
4
+ CACHE = "cache"
5
+ }
6
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/exampleSolution/constants.ts"],"names":[],"mappings":"AAAA,0BAAkB,uBAAuB;IACvC,OAAO,YAAY;IACnB,SAAS,aAAa;IACtB,KAAK,UAAU;CAChB"}
@@ -0,0 +1,9 @@
1
+ import { ExampleSolutionModalParams, ExampleSolutionResponse } from '../types';
2
+ import { ExampleSolutionStatuses } from '../constants';
3
+ type UseExampleSolutionReturn = {
4
+ result: ExampleSolutionResponse | null;
5
+ status: ExampleSolutionStatuses;
6
+ };
7
+ export declare const useExampleSolution: ({ model, payload, cacheKey, }: ExampleSolutionModalParams) => UseExampleSolutionReturn;
8
+ export {};
9
+ //# sourceMappingURL=useExampleSolution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExampleSolution.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/hooks/useExampleSolution.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAItD,KAAK,wBAAwB,GAAG;IAC9B,MAAM,EAAE,uBAAuB,GAAG,IAAI,CAAA;IACtC,MAAM,EAAE,uBAAuB,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,kBAAkB,kCAI5B,0BAA0B,KAAG,wBAiD/B,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './ExampleSolutionModal';
2
+ export * from './model/ExampleSolution.model';
3
+ export * from './types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/exampleSolution/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,SAAS,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { ExampleSolutionModelProps } from '../types';
2
+ import { ExampleSolutionsApi } from './ExampleSolutionApi';
3
+ import { ExampleSolutionCache } from './ExampleSolutionCache';
4
+ export declare class ExampleSolutionModel {
5
+ readonly api: ExampleSolutionsApi;
6
+ readonly cache: ExampleSolutionCache;
7
+ readonly renderKatexComponent: (katexString: string) => React.ReactNode;
8
+ constructor({ api, errorHandler, renderKatexComponent }: ExampleSolutionModelProps);
9
+ }
10
+ //# sourceMappingURL=ExampleSolution.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleSolution.model.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/model/ExampleSolution.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,qBAAa,oBAAoB;IAC/B,SAAgB,GAAG,sBAAA;IACnB,SAAgB,KAAK,uBAA6B;IAElD,SAAgB,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;gBAElE,EAAE,GAAG,EAAE,YAAY,EAAE,oBAAoB,EAAE,EAAE,yBAAyB;CAInF"}
@@ -0,0 +1,13 @@
1
+ import { ExampleSolutionApiRequests, ExampleSolutionErrorHandler } from '../types';
2
+ type ExampleSolutionApiProps = {
3
+ api: ExampleSolutionApiRequests;
4
+ errorHandler?: ExampleSolutionErrorHandler;
5
+ };
6
+ export declare class ExampleSolutionsApi {
7
+ readonly generateExampleSolutionFx: import("./../../../lib/effector/createControllerEffect").ControlledEffect<import("../types").ExampleSolutionPayload, import("../types").ExampleSolutionResponse>;
8
+ readonly errorHandlerFx?: ExampleSolutionErrorHandler;
9
+ readonly errorHandlingFx: import("effector").Effect<void, void, Error>;
10
+ constructor({ api, errorHandler }: ExampleSolutionApiProps);
11
+ }
12
+ export {};
13
+ //# sourceMappingURL=ExampleSolutionApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleSolutionApi.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/model/ExampleSolutionApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AAIlF,KAAK,uBAAuB,GAAG;IAC7B,GAAG,EAAE,0BAA0B,CAAA;IAC/B,YAAY,CAAC,EAAE,2BAA2B,CAAA;CAC3C,CAAA;AAED,qBAAa,mBAAmB;IAC9B,SAAgB,yBAAyB,mKAAA;IACzC,SAAgB,cAAc,CAAC,EAAE,2BAA2B,CAAA;IAE5D,SAAgB,eAAe,+CAG7B;gBAEU,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,uBAAuB;CAS3D"}
@@ -0,0 +1,11 @@
1
+ import { ExampleSolutionResponse } from '../types';
2
+ type AddExampleSolution = {
3
+ cacheKey: string;
4
+ response: ExampleSolutionResponse;
5
+ };
6
+ export declare class ExampleSolutionCache {
7
+ readonly addExampleSolution: import("effector").EventCallable<AddExampleSolution>;
8
+ readonly $state: import("effector").StoreWritable<Record<string, ExampleSolutionResponse>>;
9
+ }
10
+ export {};
11
+ //# sourceMappingURL=ExampleSolutionCache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleSolutionCache.d.ts","sourceRoot":"","sources":["../../../../../../src/features/exampleSolution/model/ExampleSolutionCache.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,uBAAuB,CAAA;CAClC,CAAA;AAED,qBAAa,oBAAoB;IAC/B,SAAgB,kBAAkB,uDAAoC;IACtE,SAAgB,MAAM,4EAQrB;CACF"}
@@ -0,0 +1,27 @@
1
+ import { ExampleSolutionModel } from './model/ExampleSolution.model';
2
+ export type ExampleSolutionPayload = {
3
+ question: string;
4
+ answer: string;
5
+ language: string;
6
+ altText?: string;
7
+ imageCdnId?: string;
8
+ };
9
+ export type ExampleSolutionResponse = {
10
+ question: string;
11
+ answer: string;
12
+ };
13
+ export type ExampleSolutionApiRequests = {
14
+ generateExampleSolution: (body: ExampleSolutionPayload) => Promise<ExampleSolutionResponse>;
15
+ };
16
+ export type ExampleSolutionErrorHandler = (errorMessage: string) => void;
17
+ export type ExampleSolutionModelProps = {
18
+ api: ExampleSolutionApiRequests;
19
+ errorHandler?: ExampleSolutionErrorHandler;
20
+ renderKatexComponent: (katexString: string) => React.ReactNode;
21
+ };
22
+ export type ExampleSolutionModalParams = {
23
+ cacheKey: string;
24
+ payload: ExampleSolutionPayload;
25
+ model: ExampleSolutionModel;
26
+ };
27
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/exampleSolution/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AAEpE,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AACD,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,0BAA0B,GAAG;IACvC,uBAAuB,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,OAAO,CAAC,uBAAuB,CAAC,CAAA;CAC5F,CAAA;AACD,MAAM,MAAM,2BAA2B,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;AACxE,MAAM,MAAM,yBAAyB,GAAG;IACtC,GAAG,EAAE,0BAA0B,CAAA;IAC/B,YAAY,CAAC,EAAE,2BAA2B,CAAA;IAC1C,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;CAC/D,CAAA;AACD,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,sBAAsB,CAAA;IAC/B,KAAK,EAAE,oBAAoB,CAAA;CAC5B,CAAA"}
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  type UseFluencyNumpadProps = {
3
2
  onSubmit: () => void;
4
3
  };
5
4
  export declare const useFluencyNumpad: ({ onSubmit }: UseFluencyNumpadProps) => {
6
5
  options: {
7
- title: React.ReactNode;
6
+ title: any;
8
7
  selected: boolean;
9
8
  customColorScheme: {
10
9
  1: {
@@ -1 +1 @@
1
- {"version":3,"file":"useFluencyNumpad.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/hooks/useFluencyNumpad.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAW1D,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AA4ED,eAAO,MAAM,gBAAgB,iBAAkB,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAzE7D,MAAM;;CA4HZ,CAAA"}
1
+ {"version":3,"file":"useFluencyNumpad.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency/hooks/useFluencyNumpad.tsx"],"names":[],"mappings":"AAWA,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AA4ED,eAAO,MAAM,gBAAgB,iBAAkB,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAzE7D,MAAM;;CA4HZ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"uiMode.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/uiMode/uiMode.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA2B,MAAM,oBAAoB,CAAA;AACpE,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,KAAK,EACL,iBAAiB,EAClB,MAAM,gBAAgB,CAAA;AAIvB,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AAOpE,eAAO,MAAM,cAAc,UAAW,KAAK,YAE1C,CAAA;AAED,eAAO,MAAM,YAAY,mCAAoC,iBAAiB,YAI7E,CAAA;AAED,eAAO,MAAM,iBAAiB,0BAA2B,sBAAsB,KAAG,MAUjF,CAAA;AAED,eAAO,MAAM,cAAc,0CAIxB,mBAAmB,KAAG,eAQxB,CAAA"}
1
+ {"version":3,"file":"uiMode.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/uiMode/uiMode.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA2B,MAAM,oBAAoB,CAAA;AACpE,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,KAAK,EACL,iBAAiB,EAClB,MAAM,gBAAgB,CAAA;AAIvB,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AAOpE,eAAO,MAAM,cAAc,UAAW,KAAK,YAE1C,CAAA;AAED,eAAO,MAAM,YAAY,mCAAoC,iBAAiB,YAI7E,CAAA;AASD,eAAO,MAAM,iBAAiB,0BAA2B,sBAAsB,KAAG,MAkBjF,CAAA;AAED,eAAO,MAAM,cAAc,0CAIxB,mBAAmB,KAAG,eAQxB,CAAA"}
@@ -11,7 +11,7 @@ type Params = {
11
11
  export type VoiceTranscriptionController = ReturnType<typeof useVoiceTranscriptionController>;
12
12
  export declare const useVoiceTranscriptionController: ({ model, answers, attemptOffset, attemptsCount, problemId, }: Params) => {
13
13
  display: {
14
- text: string;
14
+ text: any;
15
15
  isLoading: boolean;
16
16
  };
17
17
  flags: {
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAA;AAEvF,eAAO,MAAM,SAAS,yCAAyC,CAAA;AAE/D,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAA;AAEjD,eAAO,MAAM,OAAO,EAAE,OACqC,CAAA;AAE3D,eAAO,MAAM,OAAO,QAAO,OAAsC,CAAA"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAA;AAEvF,eAAO,MAAM,SAAS,yCAAyC,CAAA;AAE/D,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAA;AAEjD,eAAO,MAAM,OAAO,EAAE,OAE8C,CAAA;AAEpE,eAAO,MAAM,OAAO,QAAO,OAAsC,CAAA"}
@@ -6,6 +6,7 @@ export * from './features/endOfAssignment';
6
6
  export * from './features/formulaSheet';
7
7
  export * from './features/problemSelector';
8
8
  export * from './features/gifCelebrations';
9
+ export * from './features/exampleSolution';
9
10
  export * from './features/keyboard';
10
11
  export * from './features/pmProgress';
11
12
  export * from './features/openEnded';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA"}
@@ -1,4 +1,4 @@
1
1
  export declare const noop: () => void;
2
2
  export declare const generateRandomId: () => string;
3
- export declare const getRelativeTimeText: (date: Date) => string;
3
+ export declare const getRelativeTimeText: (date: Date) => any;
4
4
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,WAsC7C,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/helpers/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,YAAW,CAAA;AAE5B,eAAO,MAAM,gBAAgB,cACsC,CAAA;AASnE,eAAO,MAAM,mBAAmB,SAAU,IAAI,QAsC7C,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magmamath/students-features",
3
- "version": "1.8.1",
3
+ "version": "1.8.2-rc.0",
4
4
  "description": "Magmamath features library",
5
5
  "source": "src/index.ts",
6
6
  "main": "src/index.ts",
@@ -145,4 +145,4 @@
145
145
  "type": "library",
146
146
  "version": "0.44.3"
147
147
  }
148
- }
148
+ }