@magmamath/students-features 0.9.9 → 0.9.14-rc.10
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/.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/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025,_13_10_[Changes]/shelved.patch +18 -0
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025,_13_11_[Changes]/shelved.patch +19 -0
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025__13_10__Changes_.xml +4 -0
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025__13_11__Changes_.xml +4 -0
- package/.idea/students-features.iml +12 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +643 -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/celebrations/helpers.js +4 -1
- package/dist/commonjs/features/celebrations/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chatbot.js +2 -2
- package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js +8 -6
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/t2s.js +4 -3
- package/dist/commonjs/features/chatbot/model/t2s.js.map +1 -1
- package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +3 -2
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
- package/dist/commonjs/features/feedback/model/model.js.map +1 -1
- package/dist/commonjs/features/feedback/model/sockets.js +8 -5
- package/dist/commonjs/features/feedback/model/sockets.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js +5 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Keyboard.js +24 -9
- package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/{MainLayout.js → MainLayout/MainLayout.js} +9 -7
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/{constants.js → MainLayout/constants.js} +7 -2
- package/dist/commonjs/features/keyboard/components/MainLayout/constants.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +3 -2
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +2 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +2 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js +3 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +26 -6
- package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js +9 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js +1 -0
- package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +22 -1
- package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +7 -0
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js +3 -30
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js +27 -0
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +18 -3
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +1 -0
- package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js.map +1 -1
- package/dist/commonjs/lib/helpers/helpers.js +28 -5
- package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
- package/dist/commonjs/lib/types/requests.js +2 -0
- package/dist/commonjs/lib/types/requests.js.map +1 -0
- package/dist/commonjs/shared/icons/TimeIcon.js +37 -0
- package/dist/commonjs/shared/icons/TimeIcon.js.map +1 -0
- package/dist/commonjs/shared/translation/constants.js +3 -1
- package/dist/commonjs/shared/translation/constants.js.map +1 -1
- package/dist/commonjs/shared/translation/localization/ca.json +7 -6
- package/dist/commonjs/shared/translation/localization/de.json +43 -0
- package/dist/commonjs/shared/translation/localization/en.json +7 -6
- package/dist/commonjs/shared/translation/localization/gb.json +7 -6
- package/dist/commonjs/shared/translation/localization/sct.json +7 -6
- package/dist/commonjs/shared/translation/localization/sw.json +7 -6
- package/dist/commonjs/shared/translation/types.js +1 -0
- package/dist/commonjs/shared/translation/types.js.map +1 -1
- package/dist/module/features/celebrations/helpers.js +4 -1
- package/dist/module/features/celebrations/helpers.js.map +1 -1
- package/dist/module/features/chatbot/components/Chatbot.js +2 -2
- package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotModel.js +8 -6
- package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/module/features/chatbot/model/t2s.js +4 -3
- package/dist/module/features/chatbot/model/t2s.js.map +1 -1
- package/dist/module/features/chatbot/types/model.types.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +3 -2
- package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
- package/dist/module/features/feedback/model/model.js.map +1 -1
- package/dist/module/features/feedback/model/sockets.js +8 -5
- package/dist/module/features/feedback/model/sockets.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js +4 -0
- package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
- package/dist/module/features/keyboard/components/Keyboard.js +23 -8
- package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/module/features/keyboard/components/{MainLayout.js → MainLayout/MainLayout.js} +9 -7
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -0
- package/dist/module/features/keyboard/components/{constants.js → MainLayout/constants.js} +6 -1
- package/dist/module/features/keyboard/components/MainLayout/constants.js.map +1 -0
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +3 -2
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +2 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +2 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/helpers.js +2 -1
- package/dist/module/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +26 -6
- package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js +9 -1
- package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/types.js +1 -0
- package/dist/module/features/keyboard/components/UnitsLayout/types.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +24 -3
- package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js +6 -0
- package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js +3 -30
- package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js +27 -0
- package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/units.js +18 -3
- package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
- package/dist/module/features/keyboard/types/keyboardGroupIds.js +1 -0
- package/dist/module/features/keyboard/types/keyboardGroupIds.js.map +1 -1
- package/dist/module/lib/helpers/helpers.js +28 -5
- package/dist/module/lib/helpers/helpers.js.map +1 -1
- package/dist/module/lib/types/requests.js +2 -0
- package/dist/module/lib/types/requests.js.map +1 -0
- package/dist/module/shared/icons/TimeIcon.js +29 -0
- package/dist/module/shared/icons/TimeIcon.js.map +1 -0
- package/dist/module/shared/translation/constants.js +3 -1
- package/dist/module/shared/translation/constants.js.map +1 -1
- package/dist/module/shared/translation/localization/ca.json +7 -6
- package/dist/module/shared/translation/localization/de.json +43 -0
- package/dist/module/shared/translation/localization/en.json +7 -6
- package/dist/module/shared/translation/localization/gb.json +7 -6
- package/dist/module/shared/translation/localization/sct.json +7 -6
- package/dist/module/shared/translation/localization/sw.json +7 -6
- package/dist/module/shared/translation/types.js +1 -0
- package/dist/module/shared/translation/types.js.map +1 -1
- package/dist/typescript/commonjs/features/celebrations/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +8 -7
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts +2 -2
- package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/t2s.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +11 -1
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +8 -5
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/model/model.d.ts +4 -1
- package/dist/typescript/commonjs/features/feedback/model/model.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/model/sockets.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts +3 -2
- package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/{MainLayout.d.ts → MainLayout/MainLayout.d.ts} +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -0
- package/dist/typescript/{module/features/keyboard/components → commonjs/features/keyboard/components/MainLayout}/constants.d.ts +5 -0
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout/constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +5 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +4 -7
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts +7 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +0 -18
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +18 -0
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +15 -0
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
- package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/lib/types/requests.d.ts +4 -0
- package/dist/typescript/commonjs/lib/types/requests.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/translation/constants.d.ts +48 -0
- package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/model.d.ts +2 -0
- package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/types.d.ts +2 -1
- package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/module/features/celebrations/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +8 -7
- package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts +2 -2
- package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/t2s.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts +11 -1
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts +8 -5
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/model/model.d.ts +4 -1
- package/dist/typescript/module/features/feedback/model/model.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/model/sockets.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts +3 -2
- package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/{MainLayout.d.ts → MainLayout/MainLayout.d.ts} +1 -1
- package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -0
- package/dist/typescript/{commonjs/features/keyboard/components → module/features/keyboard/components/MainLayout}/constants.d.ts +5 -0
- package/dist/typescript/module/features/keyboard/components/MainLayout/constants.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +5 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +4 -7
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts +7 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +0 -18
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +18 -0
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +15 -0
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
- package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
- package/dist/typescript/module/lib/types/requests.d.ts +4 -0
- package/dist/typescript/module/lib/types/requests.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/TimeIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/TimeIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/translation/constants.d.ts +48 -0
- package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/model.d.ts +2 -0
- package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/types.d.ts +2 -1
- package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
- 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/example/yarn.lock +6552 -0
- package/package.json +1 -1
- package/src/features/celebrations/helpers.ts +35 -33
- package/src/features/chatbot/components/Chatbot.tsx +2 -2
- package/src/features/chatbot/model/ChatBotModel.ts +10 -5
- package/src/features/chatbot/model/t2s.ts +3 -2
- package/src/features/chatbot/types/api.types.ts +14 -1
- package/src/features/chatbot/types/model.types.ts +12 -5
- package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +4 -3
- package/src/features/feedback/model/model.ts +4 -1
- package/src/features/feedback/model/sockets.ts +8 -6
- package/src/features/keyboard/components/BasicLayout/keyboardGroups.ts +4 -0
- package/src/features/keyboard/components/Keyboard.tsx +44 -11
- package/src/features/keyboard/components/KeysList/KeysList.tsx +1 -1
- package/src/features/keyboard/components/{MainLayout.tsx → MainLayout/MainLayout.tsx} +6 -7
- package/src/features/keyboard/components/{constants.ts → MainLayout/constants.ts} +6 -1
- package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +7 -2
- package/src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts +5 -3
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +1 -0
- package/src/features/keyboard/components/UnitsLayout/helpers.tsx +3 -0
- package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +32 -21
- package/src/features/keyboard/components/UnitsLayout/keyboardGroups.ts +11 -0
- package/src/features/keyboard/components/UnitsLayout/types.ts +7 -0
- package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +23 -0
- package/src/features/keyboard/constants/keyboardLayouts.ts +11 -0
- package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +3 -24
- package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +21 -0
- package/src/features/keyboard/types/MathKeysGroups/units.tsx +15 -0
- package/src/features/keyboard/types/keyboardGroupIds.ts +1 -0
- package/src/lib/helpers/helpers.ts +23 -8
- package/src/lib/types/requests.ts +1 -0
- package/src/shared/icons/TimeIcon.tsx +23 -0
- package/src/shared/translation/constants.ts +2 -0
- package/src/shared/translation/localization/ca.json +7 -6
- package/src/shared/translation/localization/de.json +43 -0
- package/src/shared/translation/localization/en.json +7 -6
- package/src/shared/translation/localization/gb.json +7 -6
- package/src/shared/translation/localization/sct.json +7 -6
- package/src/shared/translation/localization/sw.json +7 -6
- package/src/shared/translation/types.ts +4 -0
- package/tsconfig.build.json +4 -0
- package/tsconfig.json +34 -0
- package/yarn.lock +8623 -0
- package/dist/commonjs/features/keyboard/components/MainLayout.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/constants.js.map +0 -1
- package/dist/module/features/keyboard/components/MainLayout.js.map +0 -1
- package/dist/module/features/keyboard/components/constants.js.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/constants.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/MainLayout.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/constants.d.ts.map +0 -1
|
@@ -6,11 +6,13 @@ import GB from './localization/gb.json';
|
|
|
6
6
|
import SW from './localization/sw.json';
|
|
7
7
|
import CA from './localization/ca.json';
|
|
8
8
|
import SCT from './localization/sct.json';
|
|
9
|
+
import DE from './localization/de.json';
|
|
9
10
|
export const LOCALIZATION_CONFIGS = {
|
|
10
11
|
[Locale.EN]: EN,
|
|
11
12
|
[Locale.GB]: GB,
|
|
12
13
|
[Locale.SW]: SW,
|
|
13
14
|
[Locale.CA]: CA,
|
|
14
|
-
[Locale.SCT]: SCT
|
|
15
|
+
[Locale.SCT]: SCT,
|
|
16
|
+
[Locale.DE]: DE
|
|
15
17
|
};
|
|
16
18
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Locale","EN","GB","SW","CA","SCT","LOCALIZATION_CONFIGS"],"sourceRoot":"../../../../src","sources":["shared/translation/constants.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,YAAS;AAChC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,GAAG,MAAM,yBAAyB;
|
|
1
|
+
{"version":3,"names":["Locale","EN","GB","SW","CA","SCT","DE","LOCALIZATION_CONFIGS"],"sourceRoot":"../../../../src","sources":["shared/translation/constants.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,YAAS;AAChC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,EAAE,MAAM,wBAAwB;AACvC,OAAOC,GAAG,MAAM,yBAAyB;AACzC,OAAOC,EAAE,MAAM,wBAAwB;AAEvC,OAAO,MAAMC,oBAAoB,GAAG;EAClC,CAACP,MAAM,CAACC,EAAE,GAAGA,EAAE;EACf,CAACD,MAAM,CAACE,EAAE,GAAGA,EAAE;EACf,CAACF,MAAM,CAACG,EAAE,GAAGA,EAAE;EACf,CAACH,MAAM,CAACI,EAAE,GAAGA,EAAE;EACf,CAACJ,MAAM,CAACK,GAAG,GAAGA,GAAG;EACjB,CAACL,MAAM,CAACM,EAAE,GAAGA;AACf,CAAC","ignoreList":[]}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"teacherFeedback.noComments": "No comments yet",
|
|
4
4
|
"time.justNow": "just now",
|
|
5
5
|
"time.minuteAgo": "minute ago",
|
|
6
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
+
"time.minutesAgo": "{{count}} minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
+
"time.hoursAgo": "{{count}} hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "days ago",
|
|
10
|
+
"time.daysAgo": "{{count}} days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "months ago",
|
|
12
|
+
"time.monthsAgo": "{{count}} months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "years ago",
|
|
14
|
+
"time.yearsAgo": "{{count}} years ago",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Give me another hint",
|
|
17
17
|
"giveHint": "I need a hint",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"length": "Length",
|
|
38
38
|
"area": "Area",
|
|
39
39
|
"volume": "Volume",
|
|
40
|
-
"weight": "Weight"
|
|
40
|
+
"weight": "Weight",
|
|
41
|
+
"time": "Time"
|
|
41
42
|
}
|
|
42
43
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"locale": "de-DE",
|
|
3
|
+
"teacherFeedback.noComments": "Noch keine Kommentare",
|
|
4
|
+
"time.justNow": "gerade eben",
|
|
5
|
+
"time.minuteAgo": "vor einer Minute",
|
|
6
|
+
"time.minutesAgo": "vor {{count}} Minuten",
|
|
7
|
+
"time.hourAgo": "vor einer Stunde",
|
|
8
|
+
"time.hoursAgo": "vor {{count}} Stunden",
|
|
9
|
+
"time.dayAgo": "vor einem Tag",
|
|
10
|
+
"time.daysAgo": "vor {{count}} Tagen",
|
|
11
|
+
"time.monthAgo": "vor einem Monat",
|
|
12
|
+
"time.monthsAgo": "vor {{count}} Monaten",
|
|
13
|
+
"time.yearAgo": "vor einem Jahr",
|
|
14
|
+
"time.yearsAgo": "vor {{count}} Jahren",
|
|
15
|
+
"chat": {
|
|
16
|
+
"anotherHint": "Gib mir noch einen Hinweis",
|
|
17
|
+
"giveHint": "Ich brauche einen Hinweis",
|
|
18
|
+
"giveHintOpenChat": "Ich brauche einen Hinweis",
|
|
19
|
+
"answerAgain": "Noch einmal antworten, um einen weiteren Hinweis zu bekommen!",
|
|
20
|
+
"errorMessage": "Etwas ist schiefgelaufen! Versuch es erneut",
|
|
21
|
+
"howCanIHelp": "Hi! Möchtest du Hilfe?",
|
|
22
|
+
"showError": "Fehler anzeigen",
|
|
23
|
+
"inputPlaceholder": "Tippe..."
|
|
24
|
+
},
|
|
25
|
+
"gifCelebrations": {
|
|
26
|
+
"greatStart": "Toller Start!",
|
|
27
|
+
"onTheWay": "Auf dem Weg!",
|
|
28
|
+
"almostThere": "Fast geschafft"
|
|
29
|
+
},
|
|
30
|
+
"exampleSolution": {
|
|
31
|
+
"exampleSolution": "Beispiellösung",
|
|
32
|
+
"letMeThink": "Lass mich nachdenken...",
|
|
33
|
+
"aha": "Aha!",
|
|
34
|
+
"errorMessage": "Beim Erstellen einer Beispiellösung ist etwas schiefgelaufen"
|
|
35
|
+
},
|
|
36
|
+
"keyboard": {
|
|
37
|
+
"length": "Länge",
|
|
38
|
+
"area": "Fläche",
|
|
39
|
+
"volume": "Volumen",
|
|
40
|
+
"weight": "Gewicht",
|
|
41
|
+
"time": "Zeit"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"teacherFeedback.noComments": "No comments yet",
|
|
4
4
|
"time.justNow": "just now",
|
|
5
5
|
"time.minuteAgo": "minute ago",
|
|
6
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
+
"time.minutesAgo": "{{count}} minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
+
"time.hoursAgo": "{{count}} hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "days ago",
|
|
10
|
+
"time.daysAgo": "{{count}} days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "months ago",
|
|
12
|
+
"time.monthsAgo": "{{count}} months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "years ago",
|
|
14
|
+
"time.yearsAgo": "{{count}} years ago",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Give me another hint",
|
|
17
17
|
"giveHint": "I need a hint",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"length": "Length",
|
|
38
38
|
"area": "Area",
|
|
39
39
|
"volume": "Volume",
|
|
40
|
-
"weight": "Weight"
|
|
40
|
+
"weight": "Weight",
|
|
41
|
+
"time": "Time"
|
|
41
42
|
}
|
|
42
43
|
}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"teacherFeedback.noComments": "No comments yet",
|
|
4
4
|
"time.justNow": "just now",
|
|
5
5
|
"time.minuteAgo": "minute ago",
|
|
6
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
+
"time.minutesAgo": "{{count}} minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
+
"time.hoursAgo": "{{count}} hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "days ago",
|
|
10
|
+
"time.daysAgo": "{{count}} days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "months ago",
|
|
12
|
+
"time.monthsAgo": "{{count}} months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "years ago",
|
|
14
|
+
"time.yearsAgo": "{{count}} years ago",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Give me another hint",
|
|
17
17
|
"giveHint": "I need a hint",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"length": "Length",
|
|
38
38
|
"area": "Area",
|
|
39
39
|
"volume": "Volume",
|
|
40
|
-
"weight": "Weight"
|
|
40
|
+
"weight": "Weight",
|
|
41
|
+
"time": "Time"
|
|
41
42
|
}
|
|
42
43
|
}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"teacherFeedback.noComments": "No comments yet",
|
|
4
4
|
"time.justNow": "just now",
|
|
5
5
|
"time.minuteAgo": "minute ago",
|
|
6
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
+
"time.minutesAgo": "{{count}} minutes ago",
|
|
7
7
|
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
+
"time.hoursAgo": "{{count}} hours ago",
|
|
9
9
|
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "days ago",
|
|
10
|
+
"time.daysAgo": "{{count}} days ago",
|
|
11
11
|
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "months ago",
|
|
12
|
+
"time.monthsAgo": "{{count}} months ago",
|
|
13
13
|
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "years ago",
|
|
14
|
+
"time.yearsAgo": "{{count}} years ago",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Give me another hint",
|
|
17
17
|
"giveHint": "I need a hint",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"length": "Length",
|
|
38
38
|
"area": "Area",
|
|
39
39
|
"volume": "Volume",
|
|
40
|
-
"weight": "Weight"
|
|
40
|
+
"weight": "Weight",
|
|
41
|
+
"time": "Time"
|
|
41
42
|
}
|
|
42
43
|
}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"teacherFeedback.noComments": "Inga kommentarer än",
|
|
4
4
|
"time.justNow": "alldeles nyss",
|
|
5
5
|
"time.minuteAgo": "minut sedan",
|
|
6
|
-
"time.minutesAgo": "minuter sedan",
|
|
6
|
+
"time.minutesAgo": "{{count}} minuter sedan",
|
|
7
7
|
"time.hourAgo": "timme sedan",
|
|
8
|
-
"time.hoursAgo": "timmar sedan",
|
|
8
|
+
"time.hoursAgo": "{{count}} timmar sedan",
|
|
9
9
|
"time.dayAgo": "dag sedan",
|
|
10
|
-
"time.daysAgo": "dagar sedan",
|
|
10
|
+
"time.daysAgo": "{{count}} dagar sedan",
|
|
11
11
|
"time.monthAgo": "månad sedan",
|
|
12
|
-
"time.monthsAgo": "månader sedan",
|
|
12
|
+
"time.monthsAgo": "{{count}} månader sedan",
|
|
13
13
|
"time.yearAgo": "år sedan",
|
|
14
|
-
"time.yearsAgo": "år sedan",
|
|
14
|
+
"time.yearsAgo": "{{count}} år sedan",
|
|
15
15
|
"chat": {
|
|
16
16
|
"anotherHint": "Ge mig en till ledtråd",
|
|
17
17
|
"giveHint": "Ge mig en ledtråd",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"length": "Längd",
|
|
38
38
|
"area": "Area",
|
|
39
39
|
"volume": "Volym",
|
|
40
|
-
"weight": "Vikt"
|
|
40
|
+
"weight": "Vikt",
|
|
41
|
+
"time": "Tid"
|
|
41
42
|
}
|
|
42
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Locale"],"sourceRoot":"../../../../src","sources":["shared/translation/types.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["Locale"],"sourceRoot":"../../../../src","sources":["shared/translation/types.ts"],"mappings":";;AAcA,WAAYA,MAAM,0BAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAAA,OAANA,MAAM;AAAA;;AASlB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/celebrations/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/celebrations/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAG3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,eAAO,MAAM,WAAW,QAAS,MAAM,OAAO,MAAM,WAAsC,CAAA;AAgB1F,eAAO,MAAM,qBAAqB,wDAajC,CAAA;AAGD,eAAO,MAAM,gBAAgB,YAAa,kBAAkB,qBAmE3D,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Store } from 'effector';
|
|
1
|
+
import { type Store, StoreWritable } from 'effector';
|
|
2
2
|
import { ChatbotContext, ChatbotModelProps, IChatDrawBoardAdapter, ReinitConversationProps, SendHelpParams, SetHintMessageProps, StartConversationProps } from '../types/model.types';
|
|
3
3
|
import { GetAlternativesResponse } from '../types/api.types';
|
|
4
4
|
import { ChatbotAPI } from './ChatbotApi';
|
|
@@ -18,7 +18,7 @@ export declare class ChatbotModel {
|
|
|
18
18
|
readonly errorSpotting: ErrorSpottingModel;
|
|
19
19
|
readonly textInput: ChatBotTextInput;
|
|
20
20
|
private readonly setCurrentKey;
|
|
21
|
-
readonly $currentKey:
|
|
21
|
+
readonly $currentKey: StoreWritable<string>;
|
|
22
22
|
private unbindCurrentKey;
|
|
23
23
|
private externalTranslationStateSync?;
|
|
24
24
|
readonly resetAlternatives: import("effector").EventCallable<void>;
|
|
@@ -26,15 +26,16 @@ export declare class ChatbotModel {
|
|
|
26
26
|
readonly $alternatives: Store<GetAlternativesResponse | null>;
|
|
27
27
|
readonly setIsOpen: import("effector").EventCallable<boolean>;
|
|
28
28
|
readonly toggleOpen: import("effector").EventCallable<void>;
|
|
29
|
-
readonly $isOpen:
|
|
29
|
+
readonly $isOpen: StoreWritable<boolean>;
|
|
30
30
|
readonly removeLastMessage: import("effector").EventCallable<void>;
|
|
31
31
|
private readonly setLastMessageKey;
|
|
32
|
-
readonly $lastMessageKey:
|
|
32
|
+
readonly $lastMessageKey: StoreWritable<string | null>;
|
|
33
33
|
readonly setContext: import("effector").EventCallable<ChatbotContext | null>;
|
|
34
|
-
readonly $context:
|
|
34
|
+
readonly $context: StoreWritable<ChatbotContext | null>;
|
|
35
35
|
readonly setScrollActive: import("effector").EventCallable<boolean>;
|
|
36
|
-
readonly $isScrollActive:
|
|
36
|
+
readonly $isScrollActive: StoreWritable<boolean>;
|
|
37
37
|
private readonly cache;
|
|
38
|
+
readonly $chatAccess: StoreWritable<boolean>;
|
|
38
39
|
readonly $currentChatData: Store<{
|
|
39
40
|
key: string;
|
|
40
41
|
messages: import("..").ConversationMessage[];
|
|
@@ -42,7 +43,7 @@ export declare class ChatbotModel {
|
|
|
42
43
|
currentThread: import("../types/units.types").IThreadItem | null;
|
|
43
44
|
conversationId?: string | null;
|
|
44
45
|
}>;
|
|
45
|
-
constructor({ api, $key, threadMessagesLimit, settings }: ChatbotModelProps);
|
|
46
|
+
constructor({ api, $key, threadMessagesLimit, settings, chatAccess }: ChatbotModelProps);
|
|
46
47
|
private createSendHelpRequestFx;
|
|
47
48
|
bindKey($store: Store<string>): this;
|
|
48
49
|
bindExternalTranslationState($isTranslated: Store<boolean>): this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatBotModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBotModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"ChatBotModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatBotModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,KAAK,EACV,aAAa,EACd,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,cAAc,EACd,iBAA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BAA0E;IAE1F,SAAgB,iBAAiB,yCAAgB;IACjD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAwB;IAC1D,SAAgB,eAAe,+BAAwC;IAEvE,SAAgB,UAAU,0DAAuC;IACjE,SAAgB,QAAQ,uCAAiC;IAEzD,SAAgB,eAAe,4CAAyB;IACxD,SAAgB,eAAe,yBAAuC;IAEtE,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAwB;IAE9C,SAAgB,WAAW,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;IAEnD,SAAgB,gBAAgB;;;;;;OAG/B;gBAEW,EAAE,GAAG,EAAE,IAAI,EAAE,mBAAmB,EAAE,QAAa,EAAE,UAAU,EAAE,EAAE,iBAAiB;IAsG5F,OAAO,CAAC,uBAAuB;IAiExB,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;IAa7B,4BAA4B,CAAC,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC;IAa1D,QAAQ,CAAC,MAAM,EAAE,SAAS;IAK1B,mBAAmB,CAAC,OAAO,EAAE,qBAAqB;IAMzD,SAAgB,iBAAiB,wEAAA;IACjC,SAAgB,iBAAiB,yDAAiC;IAE3D,cAAc,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,EAAE,mBAAmB;IAK9D,SAAgB,kBAAkB,YAAa,uBAAuB,UAGrE;IAEM,WAAW,CAAC,GAAG,EAAE,MAAM;IAMvB,SAAS,+CAiBd;IAEF,SAAgB,KAAK,yCAMnB;IAEK,SAAS;IAST,8BAA8B;CAItC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ChatbotApiRequests } from '../types/model.types';
|
|
2
2
|
import { GoogleTranslatePayload, GoogleTranslateResponse } from '../types/api.types';
|
|
3
3
|
export declare class ChatbotAPI {
|
|
4
|
-
readonly postMessageFx: import("../../../lib/effector/createControllerEffect").ControlledEffect<import("../types/api.types").PostMessagePayload
|
|
4
|
+
readonly postMessageFx: import("../../../lib/effector/createControllerEffect").ControlledEffect<import("../../../lib/types/requests").WithAbortSignal<import("../types/api.types").PostMessagePayload>, import("../types/api.types").PostMessageResponse>;
|
|
5
5
|
readonly getAlternativesFx: import("effector").Effect<import("../types/api.types").GetAlternativesPayload, import("../types/api.types").GetAlternativesResponse, Error>;
|
|
6
6
|
readonly translateTextFx: import("effector").Effect<GoogleTranslatePayload, GoogleTranslateResponse, Error>;
|
|
7
|
-
readonly textToSpeechTextFx: import("effector").Effect<import("../types/api.types").GoogleText2SpeechPayload
|
|
7
|
+
readonly textToSpeechTextFx: import("effector").Effect<import("../../../lib/types/requests").WithAbortSignal<import("../types/api.types").GoogleText2SpeechPayload>, import("../types/api.types").GoogleText2SpeechResponse, Error>;
|
|
8
8
|
constructor(api: ChatbotApiRequests);
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=ChatbotApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatbotApi.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatbotApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAGpF,qBAAa,UAAU;IACrB,SAAgB,aAAa,
|
|
1
|
+
{"version":3,"file":"ChatbotApi.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/model/ChatbotApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAGpF,qBAAa,UAAU;IACrB,SAAgB,aAAa,oOAAA;IAC7B,SAAgB,iBAAiB,8IAAA;IACjC,SAAgB,eAAe,oFAAA;IAC/B,SAAgB,kBAAkB,yMAAA;gBAEtB,GAAG,EAAE,kBAAkB;CAwBpC"}
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KAAK,+CAInB;CACH"}
|
|
@@ -8,6 +8,9 @@ export type AlternativesOptions = {
|
|
|
8
8
|
hints: ChatAnswer[];
|
|
9
9
|
};
|
|
10
10
|
export type GetAlternativesResponse = {
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated chatAccess depends on assignment.lavaChat or class grade
|
|
13
|
+
*/
|
|
11
14
|
chatAccess?: boolean;
|
|
12
15
|
isOpenChatEnabled?: boolean;
|
|
13
16
|
version: string;
|
|
@@ -48,6 +51,7 @@ export type PostMessageResponse = {
|
|
|
48
51
|
export type GoogleTranslatePayload = {
|
|
49
52
|
text: string[];
|
|
50
53
|
targetLanguage: string;
|
|
54
|
+
sourceLanguage?: string;
|
|
51
55
|
};
|
|
52
56
|
export type GoogleTranslateResponse = {
|
|
53
57
|
data: {
|
|
@@ -70,9 +74,15 @@ export type GoogleText2SpeechPayload = {
|
|
|
70
74
|
pitch: number;
|
|
71
75
|
speakingRate: number;
|
|
72
76
|
};
|
|
77
|
+
enableTimePointing?: string[];
|
|
73
78
|
};
|
|
74
|
-
export type
|
|
79
|
+
export type Timepoint = {
|
|
80
|
+
markName: string;
|
|
81
|
+
timeSeconds: number;
|
|
82
|
+
};
|
|
83
|
+
export type GoogleText2SpeechResponse = {
|
|
75
84
|
audioContent?: string;
|
|
85
|
+
timepoints?: Timepoint[];
|
|
76
86
|
};
|
|
77
87
|
export type ChatHintPayload = {
|
|
78
88
|
problemDescription: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/api.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAElE,MAAM,MAAM,sBAAsB,GAAG;IACnC,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB,EAAE,MAAM,CAAA;CAC7B,GAAG,IAAI,CAAA;AAER,MAAM,MAAM,mBAAmB,GAAG;IA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IAChB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,cAAc,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"api.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/api.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAElE,MAAM,MAAM,sBAAsB,GAAG;IACnC,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB,EAAE,MAAM,CAAA;CAC7B,GAAG,IAAI,CAAA;AAER,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,UAAU,EAAE,CAAA;IACrB,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,mBAAmB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACjC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,CAAC,E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|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { Store } from 'effector';
|
|
1
|
+
import type { Store, StoreWritable } from 'effector';
|
|
2
2
|
import { ChatHintPayload, ChatHintResponse, ErrorSpottingPayload, ErrorSpottingResponse, GetAlternativesPayload, GetAlternativesResponse, GoogleText2SpeechPayload, GoogleText2SpeechResponse, GoogleTranslatePayload, GoogleTranslateResponse, PostMessagePayload, PostMessageResponse, SendMessagePayload, SendMessageResponse } from './api.types';
|
|
3
3
|
import { ExtendWithOptional } from '../../../lib/helpers/types';
|
|
4
4
|
import { ChatAnswer, ChatItem, ConversationMessage, FullStrokeData } from './units.types';
|
|
5
|
+
import { WithAbortSignal } from '../../../lib/types/requests';
|
|
5
6
|
export type ChatbotMessages = {
|
|
6
7
|
error: ConversationMessage;
|
|
7
8
|
start: ConversationMessage;
|
|
@@ -10,10 +11,10 @@ export type ChatbotMessages = {
|
|
|
10
11
|
};
|
|
11
12
|
export type ChatbotApiRequests = {
|
|
12
13
|
getAlternatives: (props: GetAlternativesPayload) => Promise<GetAlternativesResponse>;
|
|
13
|
-
sendMessage: (props: SendMessagePayload) => Promise<SendMessageResponse>;
|
|
14
|
-
postMessage: (props: PostMessagePayload) => Promise<PostMessageResponse>;
|
|
15
|
-
postTranslateText: (props: GoogleTranslatePayload) => Promise<GoogleTranslateResponse>;
|
|
16
|
-
postTextToSpeech: (props: GoogleText2SpeechPayload) => Promise<GoogleText2SpeechResponse>;
|
|
14
|
+
sendMessage: (props: WithAbortSignal<SendMessagePayload>) => Promise<SendMessageResponse>;
|
|
15
|
+
postMessage: (props: WithAbortSignal<PostMessagePayload>) => Promise<PostMessageResponse>;
|
|
16
|
+
postTranslateText: (props: WithAbortSignal<GoogleTranslatePayload>) => Promise<GoogleTranslateResponse>;
|
|
17
|
+
postTextToSpeech: (props: WithAbortSignal<GoogleText2SpeechPayload>) => Promise<GoogleText2SpeechResponse>;
|
|
17
18
|
/**
|
|
18
19
|
* @deprecated merged with hint
|
|
19
20
|
*/
|
|
@@ -28,6 +29,7 @@ export type ChatbotModelProps = {
|
|
|
28
29
|
requestHint: (props: ChatHintPayload) => Promise<ChatHintResponse>;
|
|
29
30
|
};
|
|
30
31
|
threadMessagesLimit?: number;
|
|
32
|
+
chatAccess: StoreWritable<boolean>;
|
|
31
33
|
settings?: ChatbotSettings;
|
|
32
34
|
};
|
|
33
35
|
export type SendHelpParams = {
|
|
@@ -53,6 +55,7 @@ export type StartConversationFxData = {
|
|
|
53
55
|
messages: ConversationMessage[];
|
|
54
56
|
};
|
|
55
57
|
alternatives?: GetAlternativesResponse | null;
|
|
58
|
+
chatAccess: boolean;
|
|
56
59
|
} & StartConversationProps;
|
|
57
60
|
export declare enum MessageVariant {
|
|
58
61
|
SENT = "sent",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/model.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"model.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/model.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AA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@
|
|
|
1
|
-
{"version":3,"file":"PracticeButtonGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/features/endOfAssignment/ui/PracticeButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAUxC,OAAO,EAA8C,WAAW,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"PracticeButtonGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/features/endOfAssignment/ui/PracticeButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAUxC,OAAO,EAA8C,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAIpG,KAAK,wBAAwB,GAAG;IAC9B,WAAW,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAClE,uBAAuB,EAAE,OAAO,CAAA;IAChC,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,kBAAkB,EAAE,MAAM,IAAI,CAAA;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAA;AAID,eAAO,MAAM,mBAAmB,kGAM7B,wBAAwB,sBAiC1B,CAAA"}
|
|
@@ -8,7 +8,10 @@ export type TeacherFeedbackModelProps = {
|
|
|
8
8
|
getComments: (props: GetCommentsPayload) => Promise<GetCommentsResponse>;
|
|
9
9
|
updateCommentStatusSeen: (props: UpdateCommentStatusSeenPayload) => Promise<void>;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated - use socket and events directly in the client
|
|
13
|
+
*/
|
|
14
|
+
socket?: any;
|
|
12
15
|
credits: {
|
|
13
16
|
$assignmentId: Store<string>;
|
|
14
17
|
$problemId: Store<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/model/model.ts"],"names":[],"mappings":"AA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C,MAAM,CAAC,CAAA;QAC5B,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;KAC1B,CAAA;CACF,CAAA;AAED,qBAAa,oBAAoB;IAC/B,SAAgB,OAAO,EAAE,sBAAsB,CAAA;IAC/C,SAAgB,GAAG,EAAE,kBAAkB,CAAA;IACvC,SAAgB,QAAQ,EAAE,oBAAoB,CAAA;IAC9C,SAAgB,SAAS,4CAAyB;IAClD,SAAgB,OAAO,4CAAiC;IAExD,SAAgB,0BAA0B,4CAAyB;IACnE,SAAgB,wBAAwB,4CAAiD;gBAE7E,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,yBAAyB;CA8FhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sockets.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/model/sockets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAwB,MAAM,UAAU,CAAA;AAE/D,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"sockets.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/model/sockets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAwB,MAAM,UAAU,CAAA;AAE/D,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAY;IACnC,SAAgB,YAAY,mDAAgC;IAC5D,SAAgB,cAAc,mDAAgC;gBAElD,MAAM,EAAE,GAAG;IAMvB,OAAO;IAKP,GAAG;CAIJ"}
|
package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts
CHANGED
|
@@ -6,4 +6,5 @@ export declare const MATH_TIME_US_KEYBOARD_GROUP: KeyboardGroup;
|
|
|
6
6
|
export declare const MATH_CURRENCY_SW_KEYBOARD_GROUP: KeyboardGroup;
|
|
7
7
|
export declare const MATH_CURRENCY_UK_KEYBOARD_GROUP: KeyboardGroup;
|
|
8
8
|
export declare const MATH_CURRENCY_US_KEYBOARD_GROUP: KeyboardGroup;
|
|
9
|
+
export declare const MATH_CURRENCY_DE_KEYBOARD_GROUP: KeyboardGroup;
|
|
9
10
|
//# sourceMappingURL=keyboardGroups.d.ts.map
|
package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboardGroups.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicLayout/keyboardGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAKjD,eAAO,MAAM,+BAA+B,EAAE,aAU7C,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,aAUhD,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,aAIzC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,aAWzC,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA"}
|
|
1
|
+
{"version":3,"file":"keyboardGroups.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/BasicLayout/keyboardGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAKjD,eAAO,MAAM,+BAA+B,EAAE,aAU7C,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,aAUhD,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,aAIzC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,aAWzC,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA;AACD,eAAO,MAAM,+BAA+B,EAAE,aAG7C,CAAA"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import { SelectOptionColor } from '@magmamath/react-native-ui';
|
|
4
|
-
import { KeyboardKey, KeyboardKeyValue } from '../types
|
|
4
|
+
import { KeyboardKey, KeyboardKeyValue } from '../types';
|
|
5
5
|
type KeyboardProps = {
|
|
6
6
|
onKeyPress: (key: KeyboardKeyValue) => void;
|
|
7
7
|
characterType?: number;
|
|
8
8
|
style?: StyleProp<ViewStyle>;
|
|
9
9
|
color?: SelectOptionColor;
|
|
10
10
|
isDisabled?: boolean;
|
|
11
|
+
isMainLayoutDisabled?: boolean;
|
|
11
12
|
showUnderlinedKeys?: boolean;
|
|
12
13
|
disabledKeys?: KeyboardKey[];
|
|
13
14
|
};
|
|
14
|
-
export declare const Keyboard: ({ style, characterType, ...props }: KeyboardProps) => React.JSX.Element;
|
|
15
|
+
export declare const Keyboard: ({ style, characterType, isMainLayoutDisabled, ...props }: KeyboardProps) => React.JSX.Element;
|
|
15
16
|
export {};
|
|
16
17
|
//# sourceMappingURL=Keyboard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Keyboard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/components/Keyboard.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Keyboard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/components/Keyboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAA;AACzD,OAAO,EAAY,SAAS,EAAmC,SAAS,EAAE,MAAM,cAAc,CAAA;AAC9F,OAAO,EAA6B,iBAAiB,EAAW,MAAM,4BAA4B,CAAA;AAClG,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAUxD,KAAK,aAAa,GAAG;IACnB,UAAU,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,QAAQ,6DAKlB,aAAa,sBAyCf,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SelectOptionColor } from '@magmamath/react-native-ui';
|
|
3
|
-
import { KeyboardKey, KeyboardKeyValue } from '
|
|
3
|
+
import { KeyboardKey, KeyboardKeyValue } from '../../types/types';
|
|
4
4
|
type LayoutProps = {
|
|
5
5
|
onKeyPress: (key: KeyboardKeyValue) => void;
|
|
6
6
|
characterType?: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/MainLayout/MainLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAEhF,OAAO,EAAE,iBAAiB,EAAqB,MAAM,4BAA4B,CAAA;AAEjF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAIjE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,UAAU,oDAIpB,WAAW,sBAiDb,CAAA"}
|
|
@@ -16,4 +16,9 @@ export declare const getLayoutConfigStyles: (characterType?: number, isMobile?:
|
|
|
16
16
|
readonly borderColor: "transparent";
|
|
17
17
|
readonly paddingLeft: 32;
|
|
18
18
|
};
|
|
19
|
+
export declare const slideInAnimationSettings: {
|
|
20
|
+
toValue: number;
|
|
21
|
+
stiffness: number;
|
|
22
|
+
damping: number;
|
|
23
|
+
};
|
|
19
24
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/MainLayout/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,MAAM,CAAA;AAE1C,eAAO,MAAM,oBAAoB;;;;;;;;;CAMvB,CAAA;AAEV,eAAO,MAAM,qBAAqB,mBAAoB,MAAM,aAAa,OAAO;;;;;;CAQ/E,CAAA;AACD,eAAO,MAAM,wBAAwB;;;;CAIpC,CAAA"}
|
package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { KeyboardLayoutProps } from '../../types/types';
|
|
3
|
-
|
|
3
|
+
type UnderlinedLayoutProps = {
|
|
4
|
+
showSlashKey?: boolean;
|
|
5
|
+
} & KeyboardLayoutProps;
|
|
6
|
+
export declare const UnderlinedLayout: (props: UnderlinedLayoutProps) => React.JSX.Element;
|
|
7
|
+
export {};
|
|
4
8
|
//# sourceMappingURL=UnderlinedLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnderlinedLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAIrE,eAAO,MAAM,gBAAgB,UAAW,
|
|
1
|
+
{"version":3,"file":"UnderlinedLayout.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,mBAAmB,EAAgB,MAAM,mBAAmB,CAAA;AAIrE,KAAK,qBAAqB,GAAG;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,gBAAgB,UAAW,qBAAqB,sBAM5D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboardGroups.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"keyboardGroups.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAKjD,eAAO,MAAM,oCAAoC,EAAE,aAQlD,CAAA"}
|
|
@@ -11,5 +11,6 @@ export declare const getSelectOptions: ({ activeTabKey, selectedLayout, setSelec
|
|
|
11
11
|
title: React.JSX.Element;
|
|
12
12
|
onPressIn: () => void;
|
|
13
13
|
}[];
|
|
14
|
+
export declare const isKeyboardUnitsGroupType: (k: string) => k is KeyboardUnitsGroupType;
|
|
14
15
|
export {};
|
|
15
16
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/helpers.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAGhE,KAAK,2BAA2B,GAAG;IACjC,YAAY,EAAE,sBAAsB,CAAA;IACpC,cAAc,EAAE,cAAc,CAAA;IAC9B,iBAAiB,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAA;IACnD,cAAc,CAAC,EAAE,CAAC,iBAAiB,EAAE,OAAO,KAAK,IAAI,CAAA;CACtD,CAAA;AAED,eAAO,MAAM,gBAAgB,yEAK1B,2BAA2B;;;;GAiC7B,CAAA"}
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/components/UnitsLayout/helpers.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAGhE,KAAK,2BAA2B,GAAG;IACjC,YAAY,EAAE,sBAAsB,CAAA;IACpC,cAAc,EAAE,cAAc,CAAA;IAC9B,iBAAiB,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAA;IACnD,cAAc,CAAC,EAAE,CAAC,iBAAiB,EAAE,OAAO,KAAK,IAAI,CAAA;CACtD,CAAA;AAED,eAAO,MAAM,gBAAgB,yEAK1B,2BAA2B;;;;GAiC7B,CAAA;AAED,eAAO,MAAM,wBAAwB,MAAO,MAAM,KAAG,CAAC,IAAI,sBACO,CAAA"}
|
package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
+
import { UnitTab } from '../types';
|
|
1
2
|
import { TabOptionProps } from '@magmamath/react-native-ui';
|
|
2
|
-
import { KeyboardUnitsGroupType } from '../types';
|
|
3
3
|
export declare const useUnitTabs: () => {
|
|
4
|
-
tabs:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}[];
|
|
8
|
-
activeTab: TabOptionProps;
|
|
9
|
-
setActiveTab: import("react").Dispatch<import("react").SetStateAction<TabOptionProps>>;
|
|
4
|
+
tabs: UnitTab[];
|
|
5
|
+
activeTab: UnitTab;
|
|
6
|
+
setActiveTab: (tab: TabOptionProps) => void;
|
|
10
7
|
};
|
|
11
8
|
//# sourceMappingURL=useUnitTabs.d.ts.map
|
package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUnitTabs.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"useUnitTabs.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts"],"names":[],"mappings":"AAEA,OAAO,EAA0B,OAAO,EAAE,MAAM,UAAU,CAAA;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAG3D,eAAO,MAAM,WAAW;;;wBA6BA,cAAc;CAMrC,CAAA"}
|