@magmamath/students-features 1.3.14 → 1.3.16-rc.22
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.
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +2 -2
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/helpers.js +3 -3
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +3 -4
- package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +4 -2
- package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -4
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +4 -8
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
- package/dist/commonjs/features/feedback/components/EmptyComment.js +2 -2
- package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/commonjs/features/feedback/model/comments.js +2 -2
- package/dist/commonjs/features/feedback/model/comments.js.map +1 -1
- package/dist/commonjs/features/gifCelebrations/components/Gif.js +2 -2
- package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +1 -1
- package/dist/commonjs/features/gifCelebrations/helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +2 -2
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +2 -2
- package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js +1 -1
- package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js +7 -11
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +2 -2
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js +2 -2
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js +1 -1
- package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js +2 -2
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js +2 -2
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/ListCard.js +2 -2
- package/dist/commonjs/features/pmProgress/components/list/ListCard.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/ListItem.js +2 -2
- package/dist/commonjs/features/pmProgress/components/list/ListItem.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js +1 -1
- package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js +2 -2
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js +2 -2
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js +8 -3
- package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js.map +1 -1
- package/dist/commonjs/features/pmProgress/hooks/useNextUpDomain.js +42 -0
- package/dist/commonjs/features/pmProgress/hooks/useNextUpDomain.js.map +1 -0
- package/dist/commonjs/features/pmProgress/model/PmTreeModel.js +18 -16
- package/dist/commonjs/features/pmProgress/model/PmTreeModel.js.map +1 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js +1 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js +11 -7
- package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js.map +1 -1
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js +2 -2
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js.map +1 -1
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +2 -2
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +2 -2
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js +2 -2
- package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +2 -2
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +2 -2
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
- package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +7 -7
- package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
- package/dist/commonjs/i18n/i18n.js +19 -0
- package/dist/commonjs/i18n/i18n.js.map +1 -0
- package/dist/commonjs/i18n/i18next.d.js +5 -0
- package/dist/commonjs/i18n/i18next.d.js.map +1 -0
- package/dist/commonjs/index.js +26 -41
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lib/helpers/helpers.js +12 -12
- package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/module/features/chatbot/helpers.js +1 -1
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBoxTextManager.js +2 -3
- package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
- package/dist/module/features/chatbot/model/DefaultMessageCreator.js +3 -2
- package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -4
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +5 -9
- package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
- package/dist/module/features/feedback/components/EmptyComment.js +1 -1
- package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/module/features/feedback/model/comments.js +1 -1
- package/dist/module/features/feedback/model/comments.js.map +1 -1
- package/dist/module/features/gifCelebrations/components/Gif.js +1 -1
- package/dist/module/features/gifCelebrations/components/Gif.js.map +1 -1
- package/dist/module/features/gifCelebrations/helpers.js.map +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
- package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js +1 -1
- package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/NextUp.js +7 -11
- package/dist/module/features/pmProgress/components/header/NextUp.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +2 -2
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/StartButton.js +1 -1
- package/dist/module/features/pmProgress/components/header/StartButton.js.map +1 -1
- package/dist/module/features/pmProgress/components/insights/PmInsights.js +1 -1
- package/dist/module/features/pmProgress/components/insights/PmInsights.js.map +1 -1
- package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js +2 -3
- package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/Fluency.js +1 -1
- package/dist/module/features/pmProgress/components/list/Fluency.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/ListCard.js +2 -2
- package/dist/module/features/pmProgress/components/list/ListCard.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/ListItem.js +2 -2
- package/dist/module/features/pmProgress/components/list/ListItem.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/PmDomainList.js +1 -1
- package/dist/module/features/pmProgress/components/list/PmDomainList.js.map +1 -1
- package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js +1 -1
- package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js +2 -2
- package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -1
- package/dist/module/features/pmProgress/components/standard/StandardTag.js +8 -3
- package/dist/module/features/pmProgress/components/standard/StandardTag.js.map +1 -1
- package/dist/module/features/pmProgress/hooks/useNextUpDomain.js +37 -0
- package/dist/module/features/pmProgress/hooks/useNextUpDomain.js.map +1 -0
- package/dist/module/features/pmProgress/model/PmTreeModel.js +20 -18
- package/dist/module/features/pmProgress/model/PmTreeModel.js.map +1 -1
- package/dist/module/features/pmProgress/shared/pmProgress.constants.js +1 -1
- package/dist/module/features/pmProgress/shared/pmProgress.helpers.js +3 -1
- package/dist/module/features/pmProgress/shared/pmProgress.helpers.js.map +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdown.js +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdown.js.map +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/module/features/voice/recording/modal/ModalFooterButtons.js +1 -1
- package/dist/module/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
- package/dist/module/features/voice/recording/model/VoiceRecord.model.js +1 -1
- package/dist/module/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
- package/dist/module/i18n/i18n.js +12 -0
- package/dist/module/i18n/i18n.js.map +1 -0
- package/dist/module/i18n/i18next.d.js +5 -0
- package/dist/module/i18n/i18next.d.js.map +1 -0
- package/dist/module/index.js +0 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/helpers/helpers.js +1 -1
- package/dist/module/lib/helpers/helpers.js.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +2 -2
- package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +1 -2
- package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts +2 -2
- package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/header/NextUp.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/hooks/useNextUpDomain.d.ts +5 -0
- package/dist/typescript/commonjs/features/pmProgress/hooks/useNextUpDomain.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/pmProgress/model/PmTreeModel.d.ts +3 -3
- package/dist/typescript/commonjs/features/pmProgress/model/PmTreeModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts +5 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts +2 -2
- package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
- package/dist/typescript/commonjs/i18n/i18n.d.ts +8 -0
- package/dist/typescript/commonjs/i18n/i18n.d.ts.map +1 -0
- package/dist/typescript/commonjs/index.d.ts +0 -1
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +2 -2
- package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +1 -2
- package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
- package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
- package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
- package/dist/typescript/module/features/gifCelebrations/helpers.d.ts +2 -2
- package/dist/typescript/module/features/gifCelebrations/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/header/NextUp.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/hooks/useNextUpDomain.d.ts +5 -0
- package/dist/typescript/module/features/pmProgress/hooks/useNextUpDomain.d.ts.map +1 -0
- package/dist/typescript/module/features/pmProgress/model/PmTreeModel.d.ts +3 -3
- package/dist/typescript/module/features/pmProgress/model/PmTreeModel.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts +5 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts +2 -2
- package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
- package/dist/typescript/module/i18n/i18n.d.ts +8 -0
- package/dist/typescript/module/i18n/i18n.d.ts.map +1 -0
- package/dist/typescript/module/index.d.ts +0 -1
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/package.json +11 -6
- package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +1 -1
- package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +1 -1
- package/src/features/chatbot/helpers.ts +1 -1
- package/src/features/chatbot/model/ChatBoxTextManager.ts +4 -8
- package/src/features/chatbot/model/DefaultMessageCreator.ts +3 -3
- package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +3 -4
- package/src/features/exampleSolution/model/ExampleSolutionApi.ts +5 -9
- package/src/features/feedback/components/EmptyComment.tsx +1 -1
- package/src/features/feedback/model/comments.ts +1 -1
- package/src/features/gifCelebrations/components/Gif.tsx +1 -1
- package/src/features/gifCelebrations/helpers.ts +2 -2
- package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -1
- package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +1 -1
- package/src/features/pmProgress/components/chart/components/SlicesPaths.tsx +1 -1
- package/src/features/pmProgress/components/header/NextUp.tsx +7 -14
- package/src/features/pmProgress/components/header/PmProgressHeader.tsx +2 -2
- package/src/features/pmProgress/components/header/StartButton.tsx +1 -1
- package/src/features/pmProgress/components/insights/PmInsights.tsx +1 -1
- package/src/features/pmProgress/components/insights/PmTimeframeStats.tsx +2 -2
- package/src/features/pmProgress/components/list/Fluency.tsx +1 -1
- package/src/features/pmProgress/components/list/ListCard.tsx +3 -2
- package/src/features/pmProgress/components/list/ListItem.tsx +2 -2
- package/src/features/pmProgress/components/list/PmDomainList.tsx +1 -1
- package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +4 -12
- package/src/features/pmProgress/components/recs/PmTeacherRecs.tsx +2 -2
- package/src/features/pmProgress/components/standard/StandardTag.tsx +4 -3
- package/src/features/pmProgress/hooks/useNextUpDomain.ts +31 -0
- package/src/features/pmProgress/model/PmTreeModel.ts +26 -17
- package/src/features/pmProgress/shared/pmProgress.constants.ts +1 -1
- package/src/features/pmProgress/shared/pmProgress.helpers.ts +13 -2
- package/src/features/voice/playing/components/VoiceTranscriptionsDropdown.tsx +1 -1
- package/src/features/voice/playing/components/VoiceTranscriptionsDropdownItem.tsx +1 -1
- package/src/features/voice/recording/components/VoiceRecordButton.tsx +1 -1
- package/src/features/voice/recording/modal/ModalFooterButtons.tsx +2 -3
- package/src/features/voice/recording/modal/VoiceRecordDeleteModal.tsx +1 -1
- package/src/features/voice/recording/modal/VoiceRecordUndoModal.tsx +1 -1
- package/src/features/voice/recording/model/VoiceRecord.model.ts +1 -1
- package/{dist/commonjs/shared/translation/localization/en.json → src/i18n/.generated/schema.json} +67 -62
- package/src/i18n/i18n.ts +13 -0
- package/src/i18n/i18next.d.ts +20 -0
- package/src/index.ts +0 -1
- package/src/lib/helpers/helpers.ts +1 -1
- package/dist/commonjs/lib/types/keys.js +0 -2
- package/dist/commonjs/lib/types/keys.js.map +0 -1
- package/dist/commonjs/shared/translation/constants.js +0 -23
- package/dist/commonjs/shared/translation/constants.js.map +0 -1
- package/dist/commonjs/shared/translation/helpers.js +0 -47
- package/dist/commonjs/shared/translation/helpers.js.map +0 -1
- package/dist/commonjs/shared/translation/hooks.js +0 -25
- package/dist/commonjs/shared/translation/hooks.js.map +0 -1
- package/dist/commonjs/shared/translation/index.js +0 -45
- package/dist/commonjs/shared/translation/index.js.map +0 -1
- package/dist/commonjs/shared/translation/localization/ca.json +0 -85
- package/dist/commonjs/shared/translation/localization/de.json +0 -85
- package/dist/commonjs/shared/translation/localization/gb.json +0 -85
- package/dist/commonjs/shared/translation/localization/sct.json +0 -85
- package/dist/commonjs/shared/translation/localization/sw.json +0 -85
- package/dist/commonjs/shared/translation/model.js +0 -15
- package/dist/commonjs/shared/translation/model.js.map +0 -1
- package/dist/commonjs/shared/translation/types.js +0 -6
- package/dist/commonjs/shared/translation/types.js.map +0 -1
- package/dist/commonjs/shared/translation/validation.types.js +0 -6
- package/dist/commonjs/shared/translation/validation.types.js.map +0 -1
- package/dist/module/lib/types/keys.js +0 -2
- package/dist/module/lib/types/keys.js.map +0 -1
- package/dist/module/shared/translation/constants.js +0 -18
- package/dist/module/shared/translation/constants.js.map +0 -1
- package/dist/module/shared/translation/helpers.js +0 -38
- package/dist/module/shared/translation/helpers.js.map +0 -1
- package/dist/module/shared/translation/hooks.js +0 -19
- package/dist/module/shared/translation/hooks.js.map +0 -1
- package/dist/module/shared/translation/index.js +0 -6
- package/dist/module/shared/translation/index.js.map +0 -1
- package/dist/module/shared/translation/localization/ca.json +0 -85
- package/dist/module/shared/translation/localization/de.json +0 -85
- package/dist/module/shared/translation/localization/en.json +0 -85
- package/dist/module/shared/translation/localization/gb.json +0 -85
- package/dist/module/shared/translation/localization/sct.json +0 -85
- package/dist/module/shared/translation/localization/sw.json +0 -85
- package/dist/module/shared/translation/model.js +0 -11
- package/dist/module/shared/translation/model.js.map +0 -1
- package/dist/module/shared/translation/types.js +0 -4
- package/dist/module/shared/translation/types.js.map +0 -1
- package/dist/module/shared/translation/validation.types.js +0 -4
- package/dist/module/shared/translation/validation.types.js.map +0 -1
- package/dist/typescript/commonjs/lib/types/keys.d.ts +0 -8
- package/dist/typescript/commonjs/lib/types/keys.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -513
- package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/helpers.d.ts +0 -7
- package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/hooks.d.ts +0 -5
- package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/index.d.ts +0 -4
- package/dist/typescript/commonjs/shared/translation/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -173
- package/dist/typescript/commonjs/shared/translation/model.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/types.d.ts +0 -6
- package/dist/typescript/commonjs/shared/translation/types.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +0 -21
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +0 -1
- package/dist/typescript/module/lib/types/keys.d.ts +0 -8
- package/dist/typescript/module/lib/types/keys.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/constants.d.ts +0 -513
- package/dist/typescript/module/shared/translation/constants.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/helpers.d.ts +0 -7
- package/dist/typescript/module/shared/translation/helpers.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/hooks.d.ts +0 -5
- package/dist/typescript/module/shared/translation/hooks.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/index.d.ts +0 -4
- package/dist/typescript/module/shared/translation/index.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/model.d.ts +0 -173
- package/dist/typescript/module/shared/translation/model.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/types.d.ts +0 -6
- package/dist/typescript/module/shared/translation/types.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/validation.types.d.ts +0 -21
- package/dist/typescript/module/shared/translation/validation.types.d.ts.map +0 -1
- package/src/lib/types/keys.ts +0 -18
- package/src/shared/translation/constants.ts +0 -16
- package/src/shared/translation/helpers.ts +0 -47
- package/src/shared/translation/hooks.ts +0 -25
- package/src/shared/translation/index.ts +0 -3
- package/src/shared/translation/localization/ca.json +0 -85
- package/src/shared/translation/localization/de.json +0 -85
- package/src/shared/translation/localization/en.json +0 -85
- package/src/shared/translation/localization/gb.json +0 -85
- package/src/shared/translation/localization/sct.json +0 -85
- package/src/shared/translation/localization/sw.json +0 -85
- package/src/shared/translation/model.ts +0 -16
- package/src/shared/translation/types.ts +0 -21
- package/src/shared/translation/validation.types.ts +0 -34
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import { Translations } from './types';
|
|
2
|
-
import { LOCALIZATION_CONFIGS } from './constants';
|
|
3
|
-
export declare const setLocalization: import("effector").EventCallable<{
|
|
4
|
-
locale: string;
|
|
5
|
-
"teacherFeedback.noComments": string;
|
|
6
|
-
"time.justNow": string;
|
|
7
|
-
"time.minuteAgo": string;
|
|
8
|
-
"time.minutesAgo": string;
|
|
9
|
-
"time.hourAgo": string;
|
|
10
|
-
"time.hoursAgo": string;
|
|
11
|
-
"time.dayAgo": string;
|
|
12
|
-
"time.daysAgo": string;
|
|
13
|
-
"time.monthAgo": string;
|
|
14
|
-
"time.monthsAgo": string;
|
|
15
|
-
"time.yearAgo": string;
|
|
16
|
-
"time.yearsAgo": string;
|
|
17
|
-
chat: {
|
|
18
|
-
anotherHint: string;
|
|
19
|
-
getHint: string;
|
|
20
|
-
needHint: string;
|
|
21
|
-
giveHintOpenChat: string;
|
|
22
|
-
answerAgain: string;
|
|
23
|
-
errorMessage: string;
|
|
24
|
-
howCanIHelp: string;
|
|
25
|
-
showError: string;
|
|
26
|
-
inputPlaceholder: string;
|
|
27
|
-
};
|
|
28
|
-
gifCelebrations: {
|
|
29
|
-
greatStart: string;
|
|
30
|
-
onTheWay: string;
|
|
31
|
-
almostThere: string;
|
|
32
|
-
};
|
|
33
|
-
exampleSolution: {
|
|
34
|
-
exampleSolution: string;
|
|
35
|
-
letMeThink: string;
|
|
36
|
-
aha: string;
|
|
37
|
-
errorMessage: string;
|
|
38
|
-
};
|
|
39
|
-
keyboard: {
|
|
40
|
-
length: string;
|
|
41
|
-
area: string;
|
|
42
|
-
volume: string;
|
|
43
|
-
weight: string;
|
|
44
|
-
time: string;
|
|
45
|
-
};
|
|
46
|
-
voice: {
|
|
47
|
-
deleteRecording: string;
|
|
48
|
-
youWontBeAbleToRecover: string;
|
|
49
|
-
recordingDeleted: string;
|
|
50
|
-
delete: string;
|
|
51
|
-
cancel: string;
|
|
52
|
-
noMicrophoneAccess: string;
|
|
53
|
-
noMicrophoneAccessBySystem: string;
|
|
54
|
-
noMicrophoneFound: string;
|
|
55
|
-
uploadFailed: string;
|
|
56
|
-
redoRecording: string;
|
|
57
|
-
redo: string;
|
|
58
|
-
thisWillRemoveRecording: string;
|
|
59
|
-
transcriptions: string;
|
|
60
|
-
attempt: string;
|
|
61
|
-
transcriptNotAvailable: string;
|
|
62
|
-
};
|
|
63
|
-
pmProgress: {
|
|
64
|
-
title: string;
|
|
65
|
-
startButton: string;
|
|
66
|
-
nextUp: string;
|
|
67
|
-
teacherRecs: string;
|
|
68
|
-
practiceButton: string;
|
|
69
|
-
stars: string;
|
|
70
|
-
time: string;
|
|
71
|
-
thisWeek: string;
|
|
72
|
-
lastWeek: string;
|
|
73
|
-
allTime: string;
|
|
74
|
-
fluency: string;
|
|
75
|
-
andMore: string;
|
|
76
|
-
skillsLeft: string;
|
|
77
|
-
skillLeft: string;
|
|
78
|
-
grade: string;
|
|
79
|
-
gradeK: string;
|
|
80
|
-
gradeOther: string;
|
|
81
|
-
loading: string;
|
|
82
|
-
allLockedTitle: string;
|
|
83
|
-
allLockedSubtitle: string;
|
|
84
|
-
initErrorTitle: string;
|
|
85
|
-
initErrorSubtitle: string;
|
|
86
|
-
};
|
|
87
|
-
} | ((config: typeof LOCALIZATION_CONFIGS) => Translations)>;
|
|
88
|
-
export declare const $localization: import("effector").StoreWritable<{
|
|
89
|
-
locale: string;
|
|
90
|
-
"teacherFeedback.noComments": string;
|
|
91
|
-
"time.justNow": string;
|
|
92
|
-
"time.minuteAgo": string;
|
|
93
|
-
"time.minutesAgo": string;
|
|
94
|
-
"time.hourAgo": string;
|
|
95
|
-
"time.hoursAgo": string;
|
|
96
|
-
"time.dayAgo": string;
|
|
97
|
-
"time.daysAgo": string;
|
|
98
|
-
"time.monthAgo": string;
|
|
99
|
-
"time.monthsAgo": string;
|
|
100
|
-
"time.yearAgo": string;
|
|
101
|
-
"time.yearsAgo": string;
|
|
102
|
-
chat: {
|
|
103
|
-
anotherHint: string;
|
|
104
|
-
getHint: string;
|
|
105
|
-
needHint: string;
|
|
106
|
-
giveHintOpenChat: string;
|
|
107
|
-
answerAgain: string;
|
|
108
|
-
errorMessage: string;
|
|
109
|
-
howCanIHelp: string;
|
|
110
|
-
showError: string;
|
|
111
|
-
inputPlaceholder: string;
|
|
112
|
-
};
|
|
113
|
-
gifCelebrations: {
|
|
114
|
-
greatStart: string;
|
|
115
|
-
onTheWay: string;
|
|
116
|
-
almostThere: string;
|
|
117
|
-
};
|
|
118
|
-
exampleSolution: {
|
|
119
|
-
exampleSolution: string;
|
|
120
|
-
letMeThink: string;
|
|
121
|
-
aha: string;
|
|
122
|
-
errorMessage: string;
|
|
123
|
-
};
|
|
124
|
-
keyboard: {
|
|
125
|
-
length: string;
|
|
126
|
-
area: string;
|
|
127
|
-
volume: string;
|
|
128
|
-
weight: string;
|
|
129
|
-
time: string;
|
|
130
|
-
};
|
|
131
|
-
voice: {
|
|
132
|
-
deleteRecording: string;
|
|
133
|
-
youWontBeAbleToRecover: string;
|
|
134
|
-
recordingDeleted: string;
|
|
135
|
-
delete: string;
|
|
136
|
-
cancel: string;
|
|
137
|
-
noMicrophoneAccess: string;
|
|
138
|
-
noMicrophoneAccessBySystem: string;
|
|
139
|
-
noMicrophoneFound: string;
|
|
140
|
-
uploadFailed: string;
|
|
141
|
-
redoRecording: string;
|
|
142
|
-
redo: string;
|
|
143
|
-
thisWillRemoveRecording: string;
|
|
144
|
-
transcriptions: string;
|
|
145
|
-
attempt: string;
|
|
146
|
-
transcriptNotAvailable: string;
|
|
147
|
-
};
|
|
148
|
-
pmProgress: {
|
|
149
|
-
title: string;
|
|
150
|
-
startButton: string;
|
|
151
|
-
nextUp: string;
|
|
152
|
-
teacherRecs: string;
|
|
153
|
-
practiceButton: string;
|
|
154
|
-
stars: string;
|
|
155
|
-
time: string;
|
|
156
|
-
thisWeek: string;
|
|
157
|
-
lastWeek: string;
|
|
158
|
-
allTime: string;
|
|
159
|
-
fluency: string;
|
|
160
|
-
andMore: string;
|
|
161
|
-
skillsLeft: string;
|
|
162
|
-
skillLeft: string;
|
|
163
|
-
grade: string;
|
|
164
|
-
gradeK: string;
|
|
165
|
-
gradeOther: string;
|
|
166
|
-
loading: string;
|
|
167
|
-
allLockedTitle: string;
|
|
168
|
-
allLockedSubtitle: string;
|
|
169
|
-
initErrorTitle: string;
|
|
170
|
-
initErrorSubtitle: string;
|
|
171
|
-
};
|
|
172
|
-
}>;
|
|
173
|
-
//# sourceMappingURL=model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAGlD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cACD,OAAO,oBAAoB,KAAK,YAAY,EACpE,CAAA;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import enTranslations from './localization/en.json';
|
|
2
|
-
import { RetrieveKeys } from '../../lib/types/keys';
|
|
3
|
-
export type Translations = typeof enTranslations;
|
|
4
|
-
export type TranslationKeys = RetrieveKeys<Translations>;
|
|
5
|
-
export type GetText = (key: TranslationKeys, args?: Record<string, string> | null) => string;
|
|
6
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAOnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import enTranslations from './localization/en.json';
|
|
2
|
-
import swTranslations from './localization/sw.json';
|
|
3
|
-
import gbTranslations from './localization/gb.json';
|
|
4
|
-
import caTranslations from './localization/ca.json';
|
|
5
|
-
import sctTranslations from './localization/sct.json';
|
|
6
|
-
type Extends<T, U> = T extends U ? true : false;
|
|
7
|
-
type ExtendsAll<Candidate, Types extends unknown[]> = Types extends [infer Head, ...infer Tail] ? Extends<Candidate, Head> extends true ? ExtendsAll<Candidate, Tail> : false : true;
|
|
8
|
-
type FindDominantType<Types extends unknown[]> = Types extends [
|
|
9
|
-
infer First,
|
|
10
|
-
...infer Rest extends unknown[]
|
|
11
|
-
] ? ExtendsAll<First, Rest> extends true ? First : FindDominantType<Rest> : never;
|
|
12
|
-
type DominantTranslation = FindDominantType<[
|
|
13
|
-
typeof enTranslations,
|
|
14
|
-
typeof swTranslations,
|
|
15
|
-
typeof gbTranslations,
|
|
16
|
-
typeof caTranslations,
|
|
17
|
-
typeof sctTranslations
|
|
18
|
-
]>;
|
|
19
|
-
export type ISValidTranslation<T extends DominantTranslation> = T;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=validation.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation.types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/validation.types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,eAAe,MAAM,yBAAyB,CAAA;AAErD,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,GAAG,KAAK,CAAA;AAE/C,KAAK,UAAU,CAAC,SAAS,EAAE,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS,CAAC,MAAM,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,GAC3F,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,GACnC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,GAC3B,KAAK,GACP,IAAI,CAAA;AAER,KAAK,gBAAgB,CAAC,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS;IAC7D,MAAM,KAAK;IACX,GAAG,MAAM,IAAI,SAAS,OAAO,EAAE;CAChC,GACG,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,IAAI,GAClC,KAAK,GACL,gBAAgB,CAAC,IAAI,CAAC,GACxB,KAAK,CAAA;AAET,KAAK,mBAAmB,GAAG,gBAAgB,CACzC;IACE,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,eAAe;CACvB,CACF,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,mBAAmB,IAAI,CAAC,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type JoinKeys<K extends string, P extends string> = `${K}.${P}`;
|
|
2
|
-
type NestedKeys<T, Prefix extends string = ''> = T extends object ? T extends Array<any> ? never : {
|
|
3
|
-
[K in keyof T & string]: T[K] extends object ? JoinKeys<Prefix extends '' ? K : `${Prefix}.${K}`, NestedKeys<T[K], ''>> | (Prefix extends '' ? K : `${Prefix}.${K}`) : Prefix extends '' ? K : `${Prefix}.${K}`;
|
|
4
|
-
}[keyof T & string] : never;
|
|
5
|
-
type FlattenKeys<T> = T extends string ? T : never;
|
|
6
|
-
export type RetrieveKeys<T> = FlattenKeys<NestedKeys<T>>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=keys.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../../src/lib/types/keys.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,CAAA;AAE/D,KAAK,UAAU,CAAC,CAAC,EAAE,MAAM,SAAS,MAAM,GAAG,EAAE,IAAI,CAAC,SAAS,MAAM,GAC7D,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,GAClB,KAAK,GACL;KACG,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAEpC,QAAQ,CAAC,MAAM,SAAS,EAAE,GAAG,CAAC,GAAG,GAAG,MAAM,IAAI,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GACxE,CAAC,MAAM,SAAS,EAAE,GAAG,CAAC,GAAG,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAC9C,MAAM,SAAS,EAAE,GACf,CAAC,GACD,GAAG,MAAM,IAAI,CAAC,EAAE;CACvB,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,GACrB,KAAK,CAAA;AAET,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,CAAC,GAAG,KAAK,CAAA;AAClD,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAA"}
|