@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/groups/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/groups/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA"}
|
|
@@ -3,6 +3,11 @@ export declare const DEFAULT_KEY_ICON_PROPS: {
|
|
|
3
3
|
readonly color: "#4d4d63";
|
|
4
4
|
};
|
|
5
5
|
export declare const MOBILE_LAYOUT_WIDTH = 1200;
|
|
6
|
+
export declare const MOBILE_BREAKPOINT: {
|
|
7
|
+
readonly LARGE: 1300;
|
|
8
|
+
readonly MEDIUM: 1220;
|
|
9
|
+
readonly SMALL: 990;
|
|
10
|
+
};
|
|
6
11
|
export declare const KEYBOARD_DEFAULT_TEXT_STYLE: {
|
|
7
12
|
readonly fontSize: 14;
|
|
8
13
|
readonly fontWeight: 700;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard.constants.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboard.constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;;CAGzB,CAAA;AAEV,eAAO,MAAM,mBAAmB,OAAO,CAAA;AAEvC,eAAO,MAAM,2BAA2B;;;CAG9B,CAAA;AAEV,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBlC,CAAA"}
|
|
1
|
+
{"version":3,"file":"keyboard.constants.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboard.constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;;CAGzB,CAAA;AAEV,eAAO,MAAM,mBAAmB,OAAO,CAAA;AAEvC,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAA;AAEV,eAAO,MAAM,2BAA2B;;;CAG9B,CAAA;AAEV,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBlC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboard.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAIf,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAKL,gBAAgB,EACjB,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"keyboard.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboard.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAIf,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAKL,gBAAgB,EACjB,MAAM,gBAAgB,CAAA;AAgGvB,eAAO,MAAM,eAAe,WAAY,cAAc,KAAG,gBAWxD,CAAA"}
|
|
@@ -1,35 +1,44 @@
|
|
|
1
1
|
import { MyScriptMathCharacterTypes } from '../../../types/characterTypes';
|
|
2
2
|
export declare const KEYBOARD_LAYOUTS: {
|
|
3
3
|
AlgebraAdvanced: {
|
|
4
|
-
Component: (
|
|
4
|
+
Component: (props: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
|
|
5
5
|
characterTypes: MyScriptMathCharacterTypes[];
|
|
6
|
-
mobileBreakpoint:
|
|
6
|
+
mobileBreakpoint: 1300;
|
|
7
7
|
};
|
|
8
8
|
Basic: {
|
|
9
9
|
Component: ({ keys, ...props }: import("../types/types").KeyboardLayoutProps & import("react").PropsWithChildren) => import("react").JSX.Element | null;
|
|
10
10
|
characterTypes: MyScriptMathCharacterTypes[];
|
|
11
|
-
mobileBreakpoint:
|
|
11
|
+
mobileBreakpoint: 990;
|
|
12
12
|
};
|
|
13
13
|
BasicPlus: {
|
|
14
14
|
Component: ({ keys, ...props }: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
|
|
15
15
|
characterTypes: MyScriptMathCharacterTypes[];
|
|
16
|
+
mobileBreakpoint: number;
|
|
16
17
|
};
|
|
17
18
|
BasicTime: {
|
|
18
19
|
Component: ({ keys, ...props }: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
|
|
19
20
|
characterTypes: MyScriptMathCharacterTypes[];
|
|
21
|
+
mobileBreakpoint: number;
|
|
20
22
|
};
|
|
21
23
|
BasicCurrency: {
|
|
22
24
|
Component: ({ keys, ...props }: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
|
|
23
25
|
characterTypes: MyScriptMathCharacterTypes[];
|
|
26
|
+
mobileBreakpoint: number;
|
|
24
27
|
};
|
|
25
28
|
BasicUnits: {
|
|
26
29
|
Component: ({ onLayoutChange, keys, ...props }: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
|
|
27
30
|
characterTypes: MyScriptMathCharacterTypes[];
|
|
31
|
+
mobileBreakpoint: number;
|
|
28
32
|
};
|
|
29
33
|
BasicPlusPlus: {
|
|
30
34
|
Component: ({ keys, ...props }: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
|
|
31
35
|
characterTypes: MyScriptMathCharacterTypes[];
|
|
32
|
-
mobileBreakpoint:
|
|
36
|
+
mobileBreakpoint: 1220;
|
|
37
|
+
};
|
|
38
|
+
Geometry: {
|
|
39
|
+
Component: (props: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
|
|
40
|
+
characterTypes: MyScriptMathCharacterTypes[];
|
|
41
|
+
mobileBreakpoint: 1300;
|
|
33
42
|
};
|
|
34
43
|
};
|
|
35
44
|
export declare function getLayoutByCharType(charType?: number): ({ keys, ...props }: import("../types/types").KeyboardLayoutProps & import("react").PropsWithChildren) => import("react").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboardLayouts.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardLayouts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"keyboardLayouts.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardLayouts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAA;AAI1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAkDH,0BAA0B,EAAE;;;;;;;;CAWrD,CAAA;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,gJAWpD;AAED,wBAAgB,6BAA6B,CAAC,QAAQ,CAAC,EAAE,MAAM,UAW9D;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,WAStD"}
|
package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geometry.constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/keys/geometry.constants.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"geometry.constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/keys/geometry.constants.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAgBtD,eAAO,MAAM,qBAAqB,EAAE,kBAyF1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"units.constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/keys/units.constants.tsx"],"names":[],"mappings":"AAE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YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC5B,CAAA;AAED,oBAAY,YAAY;IACtB,eAAe,oBAAoB;IACnC,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,mBAAmB,wBAAwB;IAC3C,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,UAAU,eAAe;CAC1B;AAED,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAA;AAE5D,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,WAAW,EAAE,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM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AC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA"}
|
|
@@ -4,6 +4,6 @@ type ConditionalWrapperProps = {
|
|
|
4
4
|
withWrapper?: boolean;
|
|
5
5
|
Wrapper?: ComponentType<PropsWithChildren>;
|
|
6
6
|
};
|
|
7
|
-
export declare const ConditionalWrapper: ({ withWrapper, Wrapper, children }: ConditionalWrapperProps) => string | number | boolean |
|
|
7
|
+
export declare const ConditionalWrapper: ({ withWrapper, Wrapper, children }: ConditionalWrapperProps) => string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=ConditionalWrapper.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
|
@@ -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"}
|