@magmamath/students-features 1.3.3-rc.2 → 1.3.3
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/.claude/settings.local.json +25 -0
- package/.editorconfig +15 -0
- package/.eslintignore +2 -0
- package/.eslintrc +22 -0
- package/.gitattributes +3 -0
- package/.github/actions/setup/action.yml +37 -0
- package/.github/workflows/ci.yml +73 -0
- package/.gitignore +84 -0
- package/.idea/.gitignore +8 -0
- package/.idea/codeStyles/Project.xml +62 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/copilot.data.migration.agent.xml +6 -0
- package/.idea/copilot.data.migration.ask.xml +6 -0
- package/.idea/copilot.data.migration.ask2agent.xml +6 -0
- package/.idea/copilot.data.migration.edit.xml +6 -0
- package/.idea/inspectionProfiles/Project_Default.xml +8 -0
- package/.idea/jsLinters/eslint.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/prettier.xml +7 -0
- package/.idea/students-features.iml +12 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +667 -0
- package/.nvmrc +1 -0
- package/.prettierrc +11 -0
- package/.release-it.json +17 -0
- package/.watchmanconfig +1 -0
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +541 -0
- package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +28 -0
- package/.yarn/releases/yarn-3.6.1.cjs +874 -0
- package/babel.config.js +5 -0
- package/bob.config.js +25 -0
- package/dist/commonjs/features/chatbot/helpers.js +5 -1
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/index.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js +7 -6
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +2 -1
- package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +2 -4
- package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -2
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +8 -4
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +20 -72
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +33 -0
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +94 -0
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js +25 -0
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/{AlgebraLayout → SwitchableLayout}/types.js +1 -1
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/types.js.map +1 -0
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +11 -0
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +1 -0
- package/dist/commonjs/features/keyboard/constants/groups/index.js +11 -0
- package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.constants.js +6 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +2 -0
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +18 -8
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +86 -1
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/text.constants.js +9 -9
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +2 -1
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/types.js +1 -0
- package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
- package/dist/commonjs/index.js +38 -23
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lib/types/keys.js +2 -0
- package/dist/commonjs/lib/types/keys.js.map +1 -0
- package/dist/commonjs/shared/icons/GeometryIcon.js +32 -0
- package/dist/commonjs/shared/icons/GeometryIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +4 -3
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +12 -8
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +30 -0
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +29 -0
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +29 -0
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +29 -0
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +11 -6
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +12 -8
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +42 -0
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +32 -0
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +1 -0
- package/dist/commonjs/shared/translation/constants.js +17 -2
- package/dist/commonjs/shared/translation/constants.js.map +1 -1
- package/dist/commonjs/shared/translation/helpers.js +38 -8
- package/dist/commonjs/shared/translation/helpers.js.map +1 -1
- package/dist/commonjs/shared/translation/hooks.js +15 -7
- package/dist/commonjs/shared/translation/hooks.js.map +1 -1
- package/dist/commonjs/shared/translation/index.js +25 -0
- package/dist/commonjs/shared/translation/index.js.map +1 -1
- package/dist/commonjs/shared/translation/localization/ca.json +61 -0
- package/dist/commonjs/shared/translation/localization/de.json +61 -0
- package/{src/shared/translation/schema.json → dist/commonjs/shared/translation/localization/en.json} +38 -43
- package/dist/commonjs/shared/translation/localization/gb.json +61 -0
- package/dist/commonjs/shared/translation/localization/sct.json +61 -0
- package/dist/commonjs/shared/translation/localization/sw.json +61 -0
- package/dist/commonjs/shared/translation/model.js +15 -0
- package/dist/commonjs/shared/translation/model.js.map +1 -0
- package/dist/commonjs/shared/translation/validation.types.js +6 -0
- package/dist/commonjs/shared/translation/validation.types.js.map +1 -0
- package/dist/module/features/chatbot/helpers.js +5 -1
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/index.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotModel.js +7 -6
- package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBoxTextManager.js +2 -1
- package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
- package/dist/module/features/chatbot/model/DefaultMessageCreator.js +2 -3
- package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +4 -3
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +9 -5
- package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +21 -72
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +27 -0
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -0
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +87 -0
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -0
- package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js +21 -0
- package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -0
- package/dist/module/features/keyboard/components/{AlgebraLayout → SwitchableLayout}/types.js +1 -1
- package/dist/module/features/keyboard/components/SwitchableLayout/types.js.map +1 -0
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js +7 -0
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +1 -0
- package/dist/module/features/keyboard/constants/groups/index.js +1 -0
- package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.constants.js +5 -0
- package/dist/module/features/keyboard/constants/keyboard.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js +3 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js +19 -9
- package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js +86 -1
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/text.constants.js +9 -9
- package/dist/module/features/keyboard/constants/keys/units.constants.js +2 -1
- package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/module/features/keyboard/types/types.js +1 -0
- package/dist/module/features/keyboard/types/types.js.map +1 -1
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/types/keys.js +2 -0
- package/dist/module/lib/types/keys.js.map +1 -0
- package/dist/module/shared/icons/GeometryIcon.js +24 -0
- package/dist/module/shared/icons/GeometryIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/AngleIcon.js +4 -3
- package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +13 -9
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js +22 -0
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LetterAIcon.js +21 -0
- package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LetterBIcon.js +21 -0
- package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LetterCIcon.js +21 -0
- package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +12 -7
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +13 -9
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js +34 -0
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/TriangleIcon.js +24 -0
- package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +1 -0
- package/dist/module/shared/translation/constants.js +15 -1
- package/dist/module/shared/translation/constants.js.map +1 -1
- package/dist/module/shared/translation/helpers.js +33 -6
- package/dist/module/shared/translation/helpers.js.map +1 -1
- package/dist/module/shared/translation/hooks.js +14 -7
- package/dist/module/shared/translation/hooks.js.map +1 -1
- package/dist/module/shared/translation/index.js +3 -2
- package/dist/module/shared/translation/index.js.map +1 -1
- package/dist/module/shared/translation/localization/ca.json +61 -0
- package/dist/module/shared/translation/localization/de.json +61 -0
- package/dist/{commonjs/shared/translation/schema.json → module/shared/translation/localization/en.json} +38 -43
- package/dist/module/shared/translation/localization/gb.json +61 -0
- package/dist/module/shared/translation/localization/sct.json +61 -0
- package/dist/module/shared/translation/localization/sw.json +61 -0
- package/dist/module/shared/translation/model.js +11 -0
- package/dist/module/shared/translation/model.js.map +1 -0
- package/dist/module/shared/translation/validation.types.js +4 -0
- package/dist/module/shared/translation/validation.types.js.map +1 -0
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
- package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +8 -6
- package/dist/typescript/commonjs/features/chatbot/types/api.types.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/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +4 -0
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +4 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts +12 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts +21 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +3 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.constants.d.ts +5 -0
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +13 -4
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/index.d.ts +1 -0
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/lib/components/ConditionalWrapper.d.ts +1 -1
- package/dist/typescript/commonjs/lib/types/keys.d.ts +8 -0
- package/dist/typescript/commonjs/lib/types/keys.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/translation/constants.d.ts +368 -1
- package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/helpers.d.ts +5 -1
- package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/hooks.d.ts +3 -1
- package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/index.d.ts +3 -3
- package/dist/typescript/commonjs/shared/translation/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/model.d.ts +125 -0
- package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/translation/types.d.ts +4 -3
- package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +21 -0
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -0
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
- package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts +8 -6
- package/dist/typescript/module/features/chatbot/types/api.types.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/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +4 -0
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +4 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts +12 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts +21 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +3 -0
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboard.constants.d.ts +5 -0
- package/dist/typescript/module/features/keyboard/constants/keyboard.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +13 -4
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/module/index.d.ts +1 -0
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts +1 -1
- package/dist/typescript/module/lib/types/keys.d.ts +8 -0
- package/dist/typescript/module/lib/types/keys.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/translation/constants.d.ts +368 -1
- package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/helpers.d.ts +5 -1
- package/dist/typescript/module/shared/translation/helpers.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/hooks.d.ts +3 -1
- package/dist/typescript/module/shared/translation/hooks.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/index.d.ts +3 -3
- package/dist/typescript/module/shared/translation/index.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/model.d.ts +125 -0
- package/dist/typescript/module/shared/translation/model.d.ts.map +1 -0
- package/dist/typescript/module/shared/translation/types.d.ts +4 -3
- package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/validation.types.d.ts +21 -0
- package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -0
- package/example/.expo/README.md +8 -0
- package/example/.expo/devices.json +3 -0
- package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
- package/example/app.json +30 -0
- package/example/assets/adaptive-icon.png +0 -0
- package/example/assets/favicon.png +0 -0
- package/example/assets/icon.png +0 -0
- package/example/assets/splash-icon.png +0 -0
- package/example/babel.config.js +28 -0
- package/example/index.js +8 -0
- package/example/metro.config.js +18 -0
- package/example/package.json +25 -0
- package/example/src/App.tsx +8 -0
- package/example/tsconfig.json +6 -0
- package/package.json +4 -9
- package/src/features/chatbot/helpers.ts +2 -0
- package/src/features/chatbot/index.ts +9 -1
- package/src/features/chatbot/model/ChatBotModel.ts +7 -10
- package/src/features/chatbot/model/ChatBoxTextManager.ts +3 -2
- package/src/features/chatbot/model/DefaultMessageCreator.ts +3 -3
- package/src/features/chatbot/types/api.types.ts +11 -6
- package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +4 -3
- package/src/features/exampleSolution/model/ExampleSolutionApi.ts +9 -5
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +17 -73
- package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +21 -0
- package/src/features/keyboard/components/SwitchableLayout/SwitchableLayout.tsx +100 -0
- package/src/features/keyboard/components/SwitchableLayout/helpers.tsx +31 -0
- package/src/features/keyboard/components/SwitchableLayout/types.ts +24 -0
- package/src/features/keyboard/constants/groups/geometry.constants.ts +25 -0
- package/src/features/keyboard/constants/groups/index.ts +1 -0
- package/src/features/keyboard/constants/keyboard.constants.ts +6 -0
- package/src/features/keyboard/constants/keyboard.helpers.ts +3 -0
- package/src/features/keyboard/constants/keyboardLayouts.ts +15 -5
- package/src/features/keyboard/constants/keys/geometry.constants.tsx +61 -1
- package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
- package/src/features/keyboard/constants/keys/units.constants.tsx +1 -0
- package/src/features/keyboard/types/types.ts +1 -0
- package/src/index.ts +1 -0
- package/src/lib/types/keys.ts +18 -0
- package/src/shared/icons/GeometryIcon.tsx +18 -0
- package/src/shared/icons/keyboard/AngleIcon.tsx +4 -2
- package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +5 -8
- package/src/shared/icons/keyboard/ImpliesIcon.tsx +16 -0
- package/src/shared/icons/keyboard/LetterAIcon.tsx +14 -0
- package/src/shared/icons/keyboard/LetterBIcon.tsx +14 -0
- package/src/shared/icons/keyboard/LetterCIcon.tsx +14 -0
- package/src/shared/icons/keyboard/LineSegmentIcon.tsx +6 -7
- package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +5 -8
- package/src/shared/icons/keyboard/ThereforeIcon.tsx +15 -0
- package/src/shared/icons/keyboard/TriangleIcon.tsx +18 -0
- package/src/shared/translation/constants.ts +16 -1
- package/src/shared/translation/helpers.ts +45 -5
- package/src/shared/translation/hooks.ts +22 -6
- package/src/shared/translation/index.ts +3 -3
- package/src/shared/translation/localization/ca.json +61 -0
- package/src/shared/translation/localization/de.json +61 -0
- package/{dist/module/shared/translation/schema.json → src/shared/translation/localization/en.json} +38 -43
- package/src/shared/translation/localization/gb.json +61 -0
- package/src/shared/translation/localization/sct.json +61 -0
- package/src/shared/translation/localization/sw.json +61 -0
- package/src/shared/translation/model.ts +16 -0
- package/src/shared/translation/types.ts +19 -3
- package/src/shared/translation/validation.types.ts +34 -0
- package/tsconfig.build.json +4 -0
- package/tsconfig.json +34 -0
- package/yarn.lock +10957 -0
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js +0 -41
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/types.js.map +0 -1
- package/dist/commonjs/shared/translation/react-i18next.d.js +0 -5
- package/dist/commonjs/shared/translation/react-i18next.d.js.map +0 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js +0 -36
- package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js.map +0 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/types.js.map +0 -1
- package/dist/module/shared/translation/react-i18next.d.js +0 -5
- package/dist/module/shared/translation/react-i18next.d.js.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts +0 -15
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/types.d.ts +0 -5
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/types.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts +0 -15
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/types.d.ts +0 -5
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/types.d.ts.map +0 -1
- package/src/features/keyboard/components/AlgebraLayout/helpers.tsx +0 -52
- package/src/features/keyboard/components/AlgebraLayout/types.ts +0 -4
- package/src/shared/translation/react-i18next.d.ts +0 -21
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeometryIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/GeometryIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,eAAO,MAAM,YAAY,oBAA0B,SAAS,sBAa3D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AngleIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/AngleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"AngleIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/AngleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,SAAS,oBAA0B,SAAS,sBASxD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BidirectionalSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,wBAAwB,oBAA0B,SAAS,
|
|
1
|
+
{"version":3,"file":"BidirectionalSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,wBAAwB,oBAA0B,SAAS,sBAUvE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImpliesIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/ImpliesIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LetterAIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterAIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LetterBIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterBIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LetterCIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterCIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LineSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"LineSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LineSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,eAAe,oBAA0B,SAAS,sBAU9D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RightDirectedSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,wBAAwB,oBAA0B,SAAS,
|
|
1
|
+
{"version":3,"file":"RightDirectedSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,wBAAwB,oBAA0B,SAAS,sBAUvE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThereforeIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/ThereforeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,aAAa,oBAA0B,SAAS,sBAQ5D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TriangleIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/TriangleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,YAAY,oBAA0B,SAAS,sBAW3D,CAAA"}
|
|
@@ -1,2 +1,369 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const LOCALIZATION_CONFIGS: {
|
|
2
|
+
"en-SE": {
|
|
3
|
+
locale: string;
|
|
4
|
+
"teacherFeedback.noComments": string;
|
|
5
|
+
"time.justNow": string;
|
|
6
|
+
"time.minuteAgo": string;
|
|
7
|
+
"time.minutesAgo": string;
|
|
8
|
+
"time.hourAgo": string;
|
|
9
|
+
"time.hoursAgo": string;
|
|
10
|
+
"time.dayAgo": string;
|
|
11
|
+
"time.daysAgo": string;
|
|
12
|
+
"time.monthAgo": string;
|
|
13
|
+
"time.monthsAgo": string;
|
|
14
|
+
"time.yearAgo": string;
|
|
15
|
+
"time.yearsAgo": string;
|
|
16
|
+
chat: {
|
|
17
|
+
anotherHint: string;
|
|
18
|
+
getHint: string;
|
|
19
|
+
needHint: string;
|
|
20
|
+
giveHintOpenChat: string;
|
|
21
|
+
answerAgain: string;
|
|
22
|
+
errorMessage: string;
|
|
23
|
+
howCanIHelp: string;
|
|
24
|
+
showError: string;
|
|
25
|
+
inputPlaceholder: string;
|
|
26
|
+
};
|
|
27
|
+
gifCelebrations: {
|
|
28
|
+
greatStart: string;
|
|
29
|
+
onTheWay: string;
|
|
30
|
+
almostThere: string;
|
|
31
|
+
};
|
|
32
|
+
exampleSolution: {
|
|
33
|
+
exampleSolution: string;
|
|
34
|
+
letMeThink: string;
|
|
35
|
+
aha: string;
|
|
36
|
+
errorMessage: string;
|
|
37
|
+
};
|
|
38
|
+
keyboard: {
|
|
39
|
+
length: string;
|
|
40
|
+
area: string;
|
|
41
|
+
volume: string;
|
|
42
|
+
weight: string;
|
|
43
|
+
time: string;
|
|
44
|
+
};
|
|
45
|
+
voice: {
|
|
46
|
+
deleteRecording: string;
|
|
47
|
+
youWontBeAbleToRecover: string;
|
|
48
|
+
recordingDeleted: string;
|
|
49
|
+
delete: string;
|
|
50
|
+
cancel: string;
|
|
51
|
+
noMicrophoneAccess: string;
|
|
52
|
+
noMicrophoneAccessBySystem: string;
|
|
53
|
+
noMicrophoneFound: string;
|
|
54
|
+
uploadFailed: string;
|
|
55
|
+
redoRecording: string;
|
|
56
|
+
redo: string;
|
|
57
|
+
thisWillRemoveRecording: string;
|
|
58
|
+
transcriptions: string;
|
|
59
|
+
attempt: string;
|
|
60
|
+
transcriptNotAvailable: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
"en-GB": {
|
|
64
|
+
locale: string;
|
|
65
|
+
"teacherFeedback.noComments": string;
|
|
66
|
+
"time.justNow": string;
|
|
67
|
+
"time.minuteAgo": string;
|
|
68
|
+
"time.minutesAgo": string;
|
|
69
|
+
"time.hourAgo": string;
|
|
70
|
+
"time.hoursAgo": string;
|
|
71
|
+
"time.dayAgo": string;
|
|
72
|
+
"time.daysAgo": string;
|
|
73
|
+
"time.monthAgo": string;
|
|
74
|
+
"time.monthsAgo": string;
|
|
75
|
+
"time.yearAgo": string;
|
|
76
|
+
"time.yearsAgo": string;
|
|
77
|
+
chat: {
|
|
78
|
+
anotherHint: string;
|
|
79
|
+
getHint: string;
|
|
80
|
+
needHint: string;
|
|
81
|
+
giveHintOpenChat: string;
|
|
82
|
+
answerAgain: string;
|
|
83
|
+
errorMessage: string;
|
|
84
|
+
howCanIHelp: string;
|
|
85
|
+
showError: string;
|
|
86
|
+
inputPlaceholder: string;
|
|
87
|
+
};
|
|
88
|
+
gifCelebrations: {
|
|
89
|
+
greatStart: string;
|
|
90
|
+
onTheWay: string;
|
|
91
|
+
almostThere: string;
|
|
92
|
+
};
|
|
93
|
+
exampleSolution: {
|
|
94
|
+
exampleSolution: string;
|
|
95
|
+
letMeThink: string;
|
|
96
|
+
aha: string;
|
|
97
|
+
errorMessage: string;
|
|
98
|
+
};
|
|
99
|
+
keyboard: {
|
|
100
|
+
length: string;
|
|
101
|
+
area: string;
|
|
102
|
+
volume: string;
|
|
103
|
+
weight: string;
|
|
104
|
+
time: string;
|
|
105
|
+
};
|
|
106
|
+
voice: {
|
|
107
|
+
deleteRecording: string;
|
|
108
|
+
youWontBeAbleToRecover: string;
|
|
109
|
+
recordingDeleted: string;
|
|
110
|
+
delete: string;
|
|
111
|
+
cancel: string;
|
|
112
|
+
noMicrophoneAccess: string;
|
|
113
|
+
noMicrophoneAccessBySystem: string;
|
|
114
|
+
noMicrophoneFound: string;
|
|
115
|
+
uploadFailed: string;
|
|
116
|
+
redoRecording: string;
|
|
117
|
+
redo: string;
|
|
118
|
+
thisWillRemoveRecording: string;
|
|
119
|
+
transcriptions: string;
|
|
120
|
+
attempt: string;
|
|
121
|
+
transcriptNotAvailable: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
"sv-SE": {
|
|
125
|
+
locale: string;
|
|
126
|
+
"teacherFeedback.noComments": string;
|
|
127
|
+
"time.justNow": string;
|
|
128
|
+
"time.minuteAgo": string;
|
|
129
|
+
"time.minutesAgo": string;
|
|
130
|
+
"time.hourAgo": string;
|
|
131
|
+
"time.hoursAgo": string;
|
|
132
|
+
"time.dayAgo": string;
|
|
133
|
+
"time.daysAgo": string;
|
|
134
|
+
"time.monthAgo": string;
|
|
135
|
+
"time.monthsAgo": string;
|
|
136
|
+
"time.yearAgo": string;
|
|
137
|
+
"time.yearsAgo": string;
|
|
138
|
+
chat: {
|
|
139
|
+
anotherHint: string;
|
|
140
|
+
getHint: string;
|
|
141
|
+
needHint: string;
|
|
142
|
+
giveHintOpenChat: string;
|
|
143
|
+
answerAgain: string;
|
|
144
|
+
errorMessage: string;
|
|
145
|
+
howCanIHelp: string;
|
|
146
|
+
showError: string;
|
|
147
|
+
inputPlaceholder: string;
|
|
148
|
+
};
|
|
149
|
+
gifCelebrations: {
|
|
150
|
+
greatStart: string;
|
|
151
|
+
onTheWay: string;
|
|
152
|
+
almostThere: string;
|
|
153
|
+
};
|
|
154
|
+
exampleSolution: {
|
|
155
|
+
exampleSolution: string;
|
|
156
|
+
letMeThink: string;
|
|
157
|
+
aha: string;
|
|
158
|
+
errorMessage: string;
|
|
159
|
+
};
|
|
160
|
+
keyboard: {
|
|
161
|
+
length: string;
|
|
162
|
+
area: string;
|
|
163
|
+
volume: string;
|
|
164
|
+
weight: string;
|
|
165
|
+
time: string;
|
|
166
|
+
};
|
|
167
|
+
voice: {
|
|
168
|
+
deleteRecording: string;
|
|
169
|
+
youWontBeAbleToRecover: string;
|
|
170
|
+
recordingDeleted: string;
|
|
171
|
+
delete: string;
|
|
172
|
+
cancel: string;
|
|
173
|
+
noMicrophoneAccess: string;
|
|
174
|
+
noMicrophoneAccessBySystem: string;
|
|
175
|
+
noMicrophoneFound: string;
|
|
176
|
+
uploadFailed: string;
|
|
177
|
+
redoRecording: string;
|
|
178
|
+
redo: string;
|
|
179
|
+
thisWillRemoveRecording: string;
|
|
180
|
+
transcriptions: string;
|
|
181
|
+
attempt: string;
|
|
182
|
+
transcriptNotAvailable: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
"en-CA": {
|
|
186
|
+
locale: string;
|
|
187
|
+
"teacherFeedback.noComments": string;
|
|
188
|
+
"time.justNow": string;
|
|
189
|
+
"time.minuteAgo": string;
|
|
190
|
+
"time.minutesAgo": string;
|
|
191
|
+
"time.hourAgo": string;
|
|
192
|
+
"time.hoursAgo": string;
|
|
193
|
+
"time.dayAgo": string;
|
|
194
|
+
"time.daysAgo": string;
|
|
195
|
+
"time.monthAgo": string;
|
|
196
|
+
"time.monthsAgo": string;
|
|
197
|
+
"time.yearAgo": string;
|
|
198
|
+
"time.yearsAgo": string;
|
|
199
|
+
chat: {
|
|
200
|
+
anotherHint: string;
|
|
201
|
+
getHint: string;
|
|
202
|
+
needHint: string;
|
|
203
|
+
giveHintOpenChat: string;
|
|
204
|
+
answerAgain: string;
|
|
205
|
+
errorMessage: string;
|
|
206
|
+
howCanIHelp: string;
|
|
207
|
+
showError: string;
|
|
208
|
+
inputPlaceholder: string;
|
|
209
|
+
};
|
|
210
|
+
gifCelebrations: {
|
|
211
|
+
greatStart: string;
|
|
212
|
+
onTheWay: string;
|
|
213
|
+
almostThere: string;
|
|
214
|
+
};
|
|
215
|
+
exampleSolution: {
|
|
216
|
+
exampleSolution: string;
|
|
217
|
+
letMeThink: string;
|
|
218
|
+
aha: string;
|
|
219
|
+
errorMessage: string;
|
|
220
|
+
};
|
|
221
|
+
keyboard: {
|
|
222
|
+
length: string;
|
|
223
|
+
area: string;
|
|
224
|
+
volume: string;
|
|
225
|
+
weight: string;
|
|
226
|
+
time: string;
|
|
227
|
+
};
|
|
228
|
+
voice: {
|
|
229
|
+
deleteRecording: string;
|
|
230
|
+
youWontBeAbleToRecover: string;
|
|
231
|
+
recordingDeleted: string;
|
|
232
|
+
delete: string;
|
|
233
|
+
cancel: string;
|
|
234
|
+
noMicrophoneAccess: string;
|
|
235
|
+
noMicrophoneAccessBySystem: string;
|
|
236
|
+
noMicrophoneFound: string;
|
|
237
|
+
uploadFailed: string;
|
|
238
|
+
redoRecording: string;
|
|
239
|
+
redo: string;
|
|
240
|
+
thisWillRemoveRecording: string;
|
|
241
|
+
transcriptions: string;
|
|
242
|
+
attempt: string;
|
|
243
|
+
transcriptNotAvailable: string;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
"en-SCT": {
|
|
247
|
+
locale: string;
|
|
248
|
+
"teacherFeedback.noComments": string;
|
|
249
|
+
"time.justNow": string;
|
|
250
|
+
"time.minuteAgo": string;
|
|
251
|
+
"time.minutesAgo": string;
|
|
252
|
+
"time.hourAgo": string;
|
|
253
|
+
"time.hoursAgo": string;
|
|
254
|
+
"time.dayAgo": string;
|
|
255
|
+
"time.daysAgo": string;
|
|
256
|
+
"time.monthAgo": string;
|
|
257
|
+
"time.monthsAgo": string;
|
|
258
|
+
"time.yearAgo": string;
|
|
259
|
+
"time.yearsAgo": string;
|
|
260
|
+
chat: {
|
|
261
|
+
anotherHint: string;
|
|
262
|
+
getHint: string;
|
|
263
|
+
needHint: string;
|
|
264
|
+
giveHintOpenChat: string;
|
|
265
|
+
answerAgain: string;
|
|
266
|
+
errorMessage: string;
|
|
267
|
+
howCanIHelp: string;
|
|
268
|
+
showError: string;
|
|
269
|
+
inputPlaceholder: string;
|
|
270
|
+
};
|
|
271
|
+
gifCelebrations: {
|
|
272
|
+
greatStart: string;
|
|
273
|
+
onTheWay: string;
|
|
274
|
+
almostThere: string;
|
|
275
|
+
};
|
|
276
|
+
exampleSolution: {
|
|
277
|
+
exampleSolution: string;
|
|
278
|
+
letMeThink: string;
|
|
279
|
+
aha: string;
|
|
280
|
+
errorMessage: string;
|
|
281
|
+
};
|
|
282
|
+
keyboard: {
|
|
283
|
+
length: string;
|
|
284
|
+
area: string;
|
|
285
|
+
volume: string;
|
|
286
|
+
weight: string;
|
|
287
|
+
time: string;
|
|
288
|
+
};
|
|
289
|
+
voice: {
|
|
290
|
+
deleteRecording: string;
|
|
291
|
+
youWontBeAbleToRecover: string;
|
|
292
|
+
recordingDeleted: string;
|
|
293
|
+
delete: string;
|
|
294
|
+
cancel: string;
|
|
295
|
+
noMicrophoneAccess: string;
|
|
296
|
+
noMicrophoneAccessBySystem: string;
|
|
297
|
+
noMicrophoneFound: string;
|
|
298
|
+
uploadFailed: string;
|
|
299
|
+
redoRecording: string;
|
|
300
|
+
redo: string;
|
|
301
|
+
thisWillRemoveRecording: string;
|
|
302
|
+
transcriptions: string;
|
|
303
|
+
attempt: string;
|
|
304
|
+
transcriptNotAvailable: string;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
"de-DE": {
|
|
308
|
+
locale: string;
|
|
309
|
+
"teacherFeedback.noComments": string;
|
|
310
|
+
"time.justNow": string;
|
|
311
|
+
"time.minuteAgo": string;
|
|
312
|
+
"time.minutesAgo": string;
|
|
313
|
+
"time.hourAgo": string;
|
|
314
|
+
"time.hoursAgo": string;
|
|
315
|
+
"time.dayAgo": string;
|
|
316
|
+
"time.daysAgo": string;
|
|
317
|
+
"time.monthAgo": string;
|
|
318
|
+
"time.monthsAgo": string;
|
|
319
|
+
"time.yearAgo": string;
|
|
320
|
+
"time.yearsAgo": string;
|
|
321
|
+
chat: {
|
|
322
|
+
anotherHint: string;
|
|
323
|
+
getHint: string;
|
|
324
|
+
needHint: string;
|
|
325
|
+
giveHintOpenChat: string;
|
|
326
|
+
answerAgain: string;
|
|
327
|
+
errorMessage: string;
|
|
328
|
+
howCanIHelp: string;
|
|
329
|
+
showError: string;
|
|
330
|
+
inputPlaceholder: string;
|
|
331
|
+
};
|
|
332
|
+
gifCelebrations: {
|
|
333
|
+
greatStart: string;
|
|
334
|
+
onTheWay: string;
|
|
335
|
+
almostThere: string;
|
|
336
|
+
};
|
|
337
|
+
exampleSolution: {
|
|
338
|
+
exampleSolution: string;
|
|
339
|
+
letMeThink: string;
|
|
340
|
+
aha: string;
|
|
341
|
+
errorMessage: string;
|
|
342
|
+
};
|
|
343
|
+
keyboard: {
|
|
344
|
+
length: string;
|
|
345
|
+
area: string;
|
|
346
|
+
volume: string;
|
|
347
|
+
weight: string;
|
|
348
|
+
time: string;
|
|
349
|
+
};
|
|
350
|
+
voice: {
|
|
351
|
+
deleteRecording: string;
|
|
352
|
+
youWontBeAbleToRecover: string;
|
|
353
|
+
recordingDeleted: string;
|
|
354
|
+
delete: string;
|
|
355
|
+
cancel: string;
|
|
356
|
+
noMicrophoneAccess: string;
|
|
357
|
+
noMicrophoneAccessBySystem: string;
|
|
358
|
+
noMicrophoneFound: string;
|
|
359
|
+
uploadFailed: string;
|
|
360
|
+
redoRecording: string;
|
|
361
|
+
redo: string;
|
|
362
|
+
thisWillRemoveRecording: string;
|
|
363
|
+
transcriptions: string;
|
|
364
|
+
attempt: string;
|
|
365
|
+
transcriptNotAvailable: string;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
};
|
|
2
369
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/constants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAA"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LOCALIZATION_CONFIGS } from './constants';
|
|
2
|
+
import { GetText, TranslationKeys, Translations } from './types';
|
|
3
|
+
export declare function getTranslation(config: Translations, key: TranslationKeys): string;
|
|
4
|
+
export declare const getSubstitutedString: (str: string, substitutions?: Record<string, string>) => string;
|
|
2
5
|
export declare const getText: GetText;
|
|
6
|
+
export declare const setFeaturesLocalization: (generator: ((config: typeof LOCALIZATION_CONFIGS) => Translations) | Translations) => void;
|
|
3
7
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAElD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEhE,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,eAAe,UAexE;AAED,eAAO,MAAM,oBAAoB,QAAS,MAAM,kBAAiB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,WAWtF,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,OAMrB,CAAA;AAED,eAAO,MAAM,uBAAuB,cACvB,CAAC,CAAC,MAAM,EAAE,OAAO,oBAAoB,KAAK,YAAY,CAAC,GAAG,YAAY,SAGlF,CAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import { GetText } from './types';
|
|
1
|
+
import { GetText, Translations } from './types';
|
|
2
|
+
import { LOCALIZATION_CONFIGS } from './constants';
|
|
2
3
|
export declare const useText: () => GetText;
|
|
4
|
+
export declare const useFeaturesLocalization: (generator: ((config: typeof LOCALIZATION_CONFIGS) => Translations) | Translations) => void;
|
|
3
5
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/hooks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/hooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAGlD,eAAO,MAAM,OAAO,QAAO,OAS1B,CAAA;AAED,eAAO,MAAM,uBAAuB,cACvB,CAAC,CAAC,MAAM,EAAE,OAAO,oBAAoB,KAAK,YAAY,CAAC,GAAG,YAAY,SAKlF,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { useText } from './hooks';
|
|
2
|
-
export { getText as t } from './helpers';
|
|
3
|
-
export
|
|
1
|
+
export { useFeaturesLocalization, useText } from './hooks';
|
|
2
|
+
export { setFeaturesLocalization, getText as t } from './helpers';
|
|
3
|
+
export { $localization, setLocalization } from './model';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAC1D,OAAO,EAAE,uBAAuB,EAAE,OAAO,IAAI,CAAC,EAAE,MAAM,WAAW,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,125 @@
|
|
|
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
|
+
} | ((config: typeof LOCALIZATION_CONFIGS) => Translations)>;
|
|
64
|
+
export declare const $localization: import("effector").StoreWritable<{
|
|
65
|
+
locale: string;
|
|
66
|
+
"teacherFeedback.noComments": string;
|
|
67
|
+
"time.justNow": string;
|
|
68
|
+
"time.minuteAgo": string;
|
|
69
|
+
"time.minutesAgo": string;
|
|
70
|
+
"time.hourAgo": string;
|
|
71
|
+
"time.hoursAgo": string;
|
|
72
|
+
"time.dayAgo": string;
|
|
73
|
+
"time.daysAgo": string;
|
|
74
|
+
"time.monthAgo": string;
|
|
75
|
+
"time.monthsAgo": string;
|
|
76
|
+
"time.yearAgo": string;
|
|
77
|
+
"time.yearsAgo": string;
|
|
78
|
+
chat: {
|
|
79
|
+
anotherHint: string;
|
|
80
|
+
getHint: string;
|
|
81
|
+
needHint: string;
|
|
82
|
+
giveHintOpenChat: string;
|
|
83
|
+
answerAgain: string;
|
|
84
|
+
errorMessage: string;
|
|
85
|
+
howCanIHelp: string;
|
|
86
|
+
showError: string;
|
|
87
|
+
inputPlaceholder: string;
|
|
88
|
+
};
|
|
89
|
+
gifCelebrations: {
|
|
90
|
+
greatStart: string;
|
|
91
|
+
onTheWay: string;
|
|
92
|
+
almostThere: string;
|
|
93
|
+
};
|
|
94
|
+
exampleSolution: {
|
|
95
|
+
exampleSolution: string;
|
|
96
|
+
letMeThink: string;
|
|
97
|
+
aha: string;
|
|
98
|
+
errorMessage: string;
|
|
99
|
+
};
|
|
100
|
+
keyboard: {
|
|
101
|
+
length: string;
|
|
102
|
+
area: string;
|
|
103
|
+
volume: string;
|
|
104
|
+
weight: string;
|
|
105
|
+
time: string;
|
|
106
|
+
};
|
|
107
|
+
voice: {
|
|
108
|
+
deleteRecording: string;
|
|
109
|
+
youWontBeAbleToRecover: string;
|
|
110
|
+
recordingDeleted: string;
|
|
111
|
+
delete: string;
|
|
112
|
+
cancel: string;
|
|
113
|
+
noMicrophoneAccess: string;
|
|
114
|
+
noMicrophoneAccessBySystem: string;
|
|
115
|
+
noMicrophoneFound: string;
|
|
116
|
+
uploadFailed: string;
|
|
117
|
+
redoRecording: string;
|
|
118
|
+
redo: string;
|
|
119
|
+
thisWillRemoveRecording: string;
|
|
120
|
+
transcriptions: string;
|
|
121
|
+
attempt: string;
|
|
122
|
+
transcriptNotAvailable: string;
|
|
123
|
+
};
|
|
124
|
+
}>;
|
|
125
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
export type
|
|
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>;
|
|
4
5
|
export type GetText = (key: TranslationKeys, args?: Record<string, string> | null) => string;
|
|
5
6
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
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"}
|