@magmamath/students-features 0.9.109-rc.0 → 0.9.109-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/features/chatbot/helpers.js +0 -3
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js +2 -13
- package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ThreadItem.js +11 -50
- package/dist/commonjs/features/chatbot/model/ThreadItem.js.map +1 -1
- package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +10 -12
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +10 -9
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +7 -5
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +7 -5
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +6 -6
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +7 -7
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/KeysList/helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +3 -2
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +9 -8
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js +3 -6
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +8 -9
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js +32 -25
- package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/constants.js +1 -6
- package/dist/commonjs/features/keyboard/constants/constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +11 -11
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/commonjs/features/keyboard/helpers.js +9 -8
- package/dist/commonjs/features/keyboard/helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/index.js +0 -15
- package/dist/commonjs/features/keyboard/index.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/types.js +0 -15
- package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
- package/dist/module/features/chatbot/helpers.js +0 -3
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotThreadManager.js +2 -13
- package/dist/module/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
- package/dist/module/features/chatbot/model/ThreadItem.js +11 -50
- package/dist/module/features/chatbot/model/ThreadItem.js.map +1 -1
- package/dist/module/features/chatbot/types/model.types.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +6 -8
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +9 -8
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +8 -6
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +8 -6
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +7 -7
- package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +7 -7
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/module/features/keyboard/components/KeysList/KeysList.js +1 -2
- package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/module/features/keyboard/components/KeysList/helpers.js.map +1 -1
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js +1 -1
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js +4 -3
- package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +10 -9
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js +4 -7
- package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +6 -8
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/helpers.js +33 -26
- package/dist/module/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/types.js.map +1 -1
- package/dist/module/features/keyboard/constants/constants.js +0 -5
- package/dist/module/features/keyboard/constants/constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/module/features/keyboard/helpers.js +6 -5
- package/dist/module/features/keyboard/helpers.js.map +1 -1
- package/dist/module/features/keyboard/index.js +0 -1
- package/dist/module/features/keyboard/index.js.map +1 -1
- package/dist/module/features/keyboard/types/types.js +1 -14
- package/dist/module/features/keyboard/types/types.js.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ThreadItem.d.ts +13 -25
- package/dist/typescript/commonjs/features/chatbot/model/ThreadItem.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +1 -6
- 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 +2 -5
- package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/units.types.d.ts +0 -17
- package/dist/typescript/commonjs/features/chatbot/types/units.types.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/BasicLayout/BasicLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts +3 -1
- package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts +3 -2
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/helpers.d.ts +2 -1
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts +3 -1
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +3 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts +0 -4
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/constants.d.ts +0 -4
- package/dist/typescript/commonjs/features/keyboard/constants/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +8 -8
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/helpers.d.ts +3 -3
- package/dist/typescript/commonjs/features/keyboard/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/index.d.ts +0 -1
- package/dist/typescript/commonjs/features/keyboard/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +3 -34
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ThreadItem.d.ts +13 -25
- package/dist/typescript/module/features/chatbot/model/ThreadItem.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts +1 -6
- 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 +2 -5
- package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/units.types.d.ts +0 -17
- package/dist/typescript/module/features/chatbot/types/units.types.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/BasicLayout/BasicLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts +3 -1
- package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts +3 -2
- package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/KeysList/helpers.d.ts +2 -1
- package/dist/typescript/module/features/keyboard/components/KeysList/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts +3 -1
- package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +3 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitTabs.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts +0 -4
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/constants.d.ts +0 -4
- package/dist/typescript/module/features/keyboard/constants/constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +8 -8
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/helpers.d.ts +3 -3
- package/dist/typescript/module/features/keyboard/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/index.d.ts +0 -1
- package/dist/typescript/module/features/keyboard/index.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts +3 -34
- package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
- package/package.json +3 -1
- package/src/features/chatbot/helpers.ts +0 -1
- package/src/features/chatbot/model/ChatBotThreadManager.ts +2 -14
- package/src/features/chatbot/model/ThreadItem.ts +16 -65
- package/src/features/chatbot/types/api.types.ts +1 -13
- package/src/features/chatbot/types/model.types.ts +2 -13
- package/src/features/chatbot/types/units.types.ts +0 -21
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +8 -10
- package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +8 -8
- package/src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx +6 -7
- package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +6 -7
- package/src/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx +7 -8
- package/src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx +8 -8
- package/src/features/keyboard/components/Keyboard.tsx +4 -6
- package/src/features/keyboard/components/KeysList/KeysList.tsx +4 -3
- package/src/features/keyboard/components/KeysList/helpers.ts +2 -1
- package/src/features/keyboard/components/MainLayout/MainLayout.tsx +5 -3
- package/src/features/keyboard/components/Numpad/Numpad.tsx +6 -5
- package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +10 -8
- package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +4 -11
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +15 -10
- package/src/features/keyboard/components/UnitsLayout/helpers.tsx +40 -32
- package/src/features/keyboard/components/UnitsLayout/types.ts +0 -5
- package/src/features/keyboard/constants/constants.ts +0 -7
- package/src/features/keyboard/constants/keyboardLayouts.ts +1 -1
- package/src/features/keyboard/helpers.ts +7 -6
- package/src/features/keyboard/index.ts +0 -1
- package/src/features/keyboard/types/types.ts +3 -38
- package/.editorconfig +0 -15
- package/.eslintignore +0 -2
- package/.eslintrc +0 -22
- package/.gitattributes +0 -3
- package/.github/actions/setup/action.yml +0 -37
- package/.github/workflows/ci.yml +0 -73
- package/.gitignore +0 -84
- package/.idea/.gitignore +0 -8
- package/.idea/codeStyles/Project.xml +0 -62
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/copilot.data.migration.agent.xml +0 -6
- package/.idea/copilot.data.migration.ask.xml +0 -6
- package/.idea/copilot.data.migration.ask2agent.xml +0 -6
- package/.idea/copilot.data.migration.edit.xml +0 -6
- package/.idea/inspectionProfiles/Project_Default.xml +0 -8
- package/.idea/jsLinters/eslint.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -7
- package/.idea/students-features.iml +0 -12
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -660
- package/.nvmrc +0 -1
- package/.prettierrc +0 -11
- package/.release-it.json +0 -17
- package/.watchmanconfig +0 -1
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
- package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -28
- package/.yarn/releases/yarn-3.6.1.cjs +0 -874
- package/babel.config.js +0 -5
- package/bob.config.js +0 -25
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/keyboardGroups.js +0 -16
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/keyboardGroups.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js +0 -44
- package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.js +0 -26
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js +0 -28
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/Numpad/keyboardGroups.js +0 -98
- package/dist/commonjs/features/keyboard/components/Numpad/keyboardGroups.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +0 -14
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js +0 -75
- package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +0 -1
- package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +0 -116
- package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js +0 -387
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/calculusOperators.js +0 -51
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/calculusOperators.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/geometry.js +0 -64
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/geometry.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/helpers.js +0 -10
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/helpers.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/index.js +0 -83
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/index.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js +0 -90
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/symbols.js +0 -142
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/symbols.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/textSymbols.js +0 -68
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/textSymbols.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.js +0 -150
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +0 -524
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/index.js +0 -28
- package/dist/commonjs/features/keyboard/types/index.js.map +0 -1
- package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +0 -40
- package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js.map +0 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/keyboardGroups.js +0 -12
- package/dist/module/features/keyboard/components/AlgebraLayout/keyboardGroups.js.map +0 -1
- package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js +0 -40
- package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js.map +0 -1
- package/dist/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.js +0 -22
- package/dist/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.js.map +0 -1
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js +0 -24
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js.map +0 -1
- package/dist/module/features/keyboard/components/Numpad/keyboardGroups.js +0 -94
- package/dist/module/features/keyboard/components/Numpad/keyboardGroups.js.map +0 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +0 -10
- package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +0 -1
- package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js +0 -71
- package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +0 -1
- package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +0 -112
- package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +0 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js +0 -382
- package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js.map +0 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/calculusOperators.js +0 -46
- package/dist/module/features/keyboard/types/MathKeysGroups/calculusOperators.js.map +0 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/geometry.js +0 -59
- package/dist/module/features/keyboard/types/MathKeysGroups/geometry.js.map +0 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/helpers.js +0 -6
- package/dist/module/features/keyboard/types/MathKeysGroups/helpers.js.map +0 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/index.js +0 -10
- package/dist/module/features/keyboard/types/MathKeysGroups/index.js.map +0 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js +0 -85
- package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js.map +0 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/symbols.js +0 -137
- package/dist/module/features/keyboard/types/MathKeysGroups/symbols.js.map +0 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/textSymbols.js +0 -63
- package/dist/module/features/keyboard/types/MathKeysGroups/textSymbols.js.map +0 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/trigonometric.js +0 -146
- package/dist/module/features/keyboard/types/MathKeysGroups/trigonometric.js.map +0 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/units.js +0 -519
- package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +0 -1
- package/dist/module/features/keyboard/types/index.js +0 -5
- package/dist/module/features/keyboard/types/index.js.map +0 -1
- package/dist/module/features/keyboard/types/keyboardGroupIds.js +0 -36
- package/dist/module/features/keyboard/types/keyboardGroupIds.js.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/keyboardGroups.d.ts +0 -3
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +0 -10
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts +0 -6
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts +0 -6
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/keyboardGroups.d.ts +0 -4
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts +0 -3
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +0 -17
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts +0 -6
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +0 -236
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/calculusOperators.d.ts +0 -24
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/calculusOperators.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/geometry.d.ts +0 -41
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/geometry.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/helpers.d.ts +0 -3
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/index.d.ts +0 -8
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +0 -67
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/symbols.d.ts +0 -84
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/symbols.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/textSymbols.d.ts +0 -49
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/textSymbols.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.d.ts +0 -143
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +0 -1055
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/index.d.ts +0 -3
- package/dist/typescript/commonjs/features/keyboard/types/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts +0 -33
- package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/keyboardGroups.d.ts +0 -3
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +0 -10
- package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts +0 -6
- package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts +0 -6
- package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/keyboardGroups.d.ts +0 -4
- package/dist/typescript/module/features/keyboard/components/Numpad/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts +0 -3
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +0 -17
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts +0 -6
- package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +0 -236
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/calculusOperators.d.ts +0 -24
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/calculusOperators.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/geometry.d.ts +0 -41
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/geometry.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/helpers.d.ts +0 -3
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/index.d.ts +0 -8
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/index.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +0 -67
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/symbols.d.ts +0 -84
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/symbols.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/textSymbols.d.ts +0 -49
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/textSymbols.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/trigonometric.d.ts +0 -143
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/trigonometric.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +0 -1055
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/index.d.ts +0 -3
- package/dist/typescript/module/features/keyboard/types/index.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts +0 -33
- package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts.map +0 -1
- package/example/.expo/README.md +0 -8
- package/example/.expo/devices.json +0 -3
- package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
- package/example/app.json +0 -30
- 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 +0 -28
- package/example/index.js +0 -8
- package/example/metro.config.js +0 -18
- package/example/package.json +0 -25
- package/example/src/App.tsx +0 -8
- package/example/tsconfig.json +0 -6
- package/example/yarn.lock +0 -6552
- package/src/features/keyboard/components/AlgebraLayout/keyboardGroups.ts +0 -35
- package/src/features/keyboard/components/BasicLayout/keyboardGroups.ts +0 -64
- package/src/features/keyboard/components/BasicPlusLayout/keyboardGroups.ts +0 -98
- package/src/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.ts +0 -124
- package/src/features/keyboard/components/Numpad/keyboardGroups.ts +0 -40
- package/src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts +0 -14
- package/src/features/keyboard/components/UnitsLayout/keyboardGroups.ts +0 -213
- package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +0 -145
- package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +0 -281
- package/src/features/keyboard/types/MathKeysGroups/calculusOperators.tsx +0 -33
- package/src/features/keyboard/types/MathKeysGroups/geometry.tsx +0 -48
- package/src/features/keyboard/types/MathKeysGroups/helpers.ts +0 -5
- package/src/features/keyboard/types/MathKeysGroups/index.ts +0 -7
- package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +0 -73
- package/src/features/keyboard/types/MathKeysGroups/symbols.tsx +0 -102
- package/src/features/keyboard/types/MathKeysGroups/textSymbols.tsx +0 -54
- package/src/features/keyboard/types/MathKeysGroups/trigonometric.tsx +0 -145
- package/src/features/keyboard/types/MathKeysGroups/units.tsx +0 -494
- package/src/features/keyboard/types/index.ts +0 -2
- package/src/features/keyboard/types/keyboardGroupIds.ts +0 -32
- package/tsconfig.build.json +0 -4
- package/tsconfig.json +0 -34
- package/yarn.lock +0 -8623
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeUi","require","_constants","_index","_modelTypes","decodeHTMLEntities","input","replace","exports","replaceKatexSyntax","texts","reverse","replacements","Object","entries","KATEX_REPLACEMENTS_REVERSE","KATEX_REPLACEMENTS","map","text","reduce","newText","pattern","placeholder","RegExp","transformAlternatives","payload","isOpenChatEnabled","IS_WEB","options","default","t","promptKey","translatedText","hints","prepareChatRequestPayload","threadItem","conversationId","freeTextMessage","problemDescription","problemAnswer","language","imageCdnId","imageAltText","answerOptions","answer","type","ChatRequestType","FREETEXT","data","message","correctAnswer","altText","length","HINT","getNextHintProps","userAnswer"],"sourceRoot":"../../../../src","sources":["features/chatbot/helpers.ts"],"mappings":";;;;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,WAAA,GAAAH,OAAA;AALA;;AAOO,MAAMI,kBAAkB,GAAIC,KAAa,IAAK;EACnD,OAAOA,KAAK,CAACC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC;AACrC,CAAC;AAAAC,OAAA,CAAAH,kBAAA,GAAAA,kBAAA;AAEM,MAAMI,kBAAkB,GAAGA,CAACC,KAAe,EAAEC,OAAO,GAAG,KAAK,KAA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CAAC,CAACD;MAC3C,CAAC;IAEL;EACF,CAAC;AACH,CAAC;AAAAxB,OAAA,CAAAgB,qBAAA,GAAAA,qBAAA;AAEM,SAASU,yBAAyBA,CACvCT,OAA2B,EAC3BU,UAAsB,EACF;EACpB,MAAM;IACJC,cAAc;IACdC,eAAe;IACfC,kBAAkB;IAClBC,aAAa;IACbC,QAAQ;IACRC,UAAU;IACVC,YAAY;IACZC,aAAa;IACbC;EACF,CAAC,GAAGnB,OAAO;EAEX,IAAIY,eAAe,EAAE;IACnB,OAAOD,cAAc,GACjB;MAAES,IAAI,EAAEC,2BAAe,CAACC,QAAQ;MAAEC,IAAI,EAAE;QAAEZ,cAAc;QAAEa,OAAO,EAAEZ;MAAgB;IAAE,CAAC,GACtF;MACEQ,IAAI,EAAEC,2BAAe,CAACC,QAAQ;MAC9BC,IAAI,EAAE;QACJC,OAAO,EAAEZ,eAAe;QACxBa,aAAa,EAAEX,aAAa;QAC5BD,kBAAkB;QAClBE,QAAQ;QACR,IAAIC,UAAU,IAAI;UAAEA;QAAW,CAAC,CAAC;QACjC,IAAIC,YAAY,IAAI;UAAES,OAAO,EAAET;QAAa,CAAC,CAAC;QAC9C,IAAI,CAAC,CAACC,aAAa,EAAES,MAAM,IAAI;UAAET;QAAc,CAAC;MAClD;IACF,CAAC;EACP;EAEA,OAAO;IACLE,IAAI,EAAEC,2BAAe,CAACO,IAAI;IAC1BL,IAAI,EAAE;MACJ,GAAGb,UAAU,CAACmB,gBAAgB,CAAC,CAAC;MAChCJ,aAAa,EAAEX,aAAa;MAC5BD,kBAAkB;MAClBiB,UAAU,EAAEX,MAAM;MAClBJ,QAAQ;MACR,IAAIC,UAAU,IAAI;QAAEA;MAAW,CAAC,CAAC;MACjC,IAAIC,YAAY,IAAI;QAAES,OAAO,EAAET;MAAa,CAAC
|
|
1
|
+
{"version":3,"names":["_reactNativeUi","require","_constants","_index","_modelTypes","decodeHTMLEntities","input","replace","exports","replaceKatexSyntax","texts","reverse","replacements","Object","entries","KATEX_REPLACEMENTS_REVERSE","KATEX_REPLACEMENTS","map","text","reduce","newText","pattern","placeholder","RegExp","transformAlternatives","payload","isOpenChatEnabled","IS_WEB","options","default","t","promptKey","translatedText","hints","prepareChatRequestPayload","threadItem","conversationId","freeTextMessage","problemDescription","problemAnswer","language","imageCdnId","imageAltText","answerOptions","answer","type","ChatRequestType","FREETEXT","data","message","correctAnswer","altText","length","HINT","getNextHintProps","userAnswer"],"sourceRoot":"../../../../src","sources":["features/chatbot/helpers.ts"],"mappings":";;;;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,WAAA,GAAAH,OAAA;AALA;;AAOO,MAAMI,kBAAkB,GAAIC,KAAa,IAAK;EACnD,OAAOA,KAAK,CAACC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC;AACrC,CAAC;AAAAC,OAAA,CAAAH,kBAAA,GAAAA,kBAAA;AAEM,MAAMI,kBAAkB,GAAGA,CAACC,KAAe,EAAEC,OAAO,GAAG,KAAK,KAAK;EACtE,MAAMC,YAAY,GAAGD,OAAO,GACxBE,MAAM,CAACC,OAAO,CAACC,qCAA0B,CAAC,GAC1CF,MAAM,CAACC,OAAO,CAACE,6BAAkB,CAAC;EAEtC,OAAON,KAAK,CAACO,GAAG,CAAEC,IAAI,IACpBN,YAAY,CAACO,MAAM,CACjB,CAACC,OAAO,EAAE,CAACC,OAAO,EAAEC,WAAW,CAAC,KAAKF,OAAO,CAACb,OAAO,CAAC,IAAIgB,MAAM,CAACF,OAAO,EAAE,GAAG,CAAC,EAAEC,WAAW,CAAC,EAC3FJ,IACF,CACF,CAAC;AACH,CAAC;AAAAV,OAAA,CAAAC,kBAAA,GAAAA,kBAAA;AAEM,MAAMe,qBAAqB,GAAIC,OAAuC,IAAK;EAChF,IAAI,CAACA,OAAO,EAAE,OAAOA,OAAO;EAE5B,MAAMC,iBAAiB,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C,OAAO,EAAEZ,eAAe;QACxBa,aAAa,EAAEX,aAAa;QAC5BD,kBAAkB;QAClBE,QAAQ;QACR,IAAIC,UAAU,IAAI;UAAEA;QAAW,CAAC,CAAC;QACjC,IAAIC,YAAY,IAAI;UAAES,OAAO,EAAET;QAAa,CAAC,CAAC;QAC9C,IAAI,CAAC,CAACC,aAAa,EAAES,MAAM,IAAI;UAAET;QAAc,CAAC;MAClD;IACF,CAAC;EACP;EAEA,OAAO;IACLE,IAAI,EAAEC,2BAAe,CAACO,IAAI;IAC1BL,IAAI,EAAE;MACJ,GAAGb,UAAU,CAACmB,gBAAgB,CAAC,CAAC;MAChCJ,aAAa,EAAEX,aAAa;MAC5BD,kBAAkB;MAClBiB,UAAU,EAAEX,MAAM;MAClBJ,QAAQ;MACR,IAAIC,UAAU,IAAI;QAAEA;MAAW,CAAC,CAAC;MACjC,IAAIC,YAAY,IAAI;QAAES,OAAO,EAAET;MAAa,CAAC;IAC/C;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -35,19 +35,8 @@ class ChatBotThreadManager {
|
|
|
35
35
|
const content = await this.drawBoardAdapter.getContent();
|
|
36
36
|
if (!content) return threadItem;
|
|
37
37
|
threadItem.setValidationKey(content.validationKey);
|
|
38
|
-
threadItem.
|
|
39
|
-
if (content.strokes?.length)
|
|
40
|
-
threadItem.setStrokes(content.strokes);
|
|
41
|
-
}
|
|
42
|
-
if (content.spreadSheetContent?.length) {
|
|
43
|
-
threadItem.setSpreadSheetContent(content.spreadSheetContent);
|
|
44
|
-
}
|
|
45
|
-
if (content.equationWriterContent?.length) {
|
|
46
|
-
threadItem.setEquationWriterContent(content.equationWriterContent);
|
|
47
|
-
}
|
|
48
|
-
if (content.drawBoardImage) {
|
|
49
|
-
threadItem.setDrawBoardImage(content.drawBoardImage);
|
|
50
|
-
}
|
|
38
|
+
if (content.text) return threadItem.setText(content.text);
|
|
39
|
+
if (content.strokes?.length) return threadItem.setStrokes(content.strokes);
|
|
51
40
|
} catch {}
|
|
52
41
|
return threadItem;
|
|
53
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_ThreadItem","require","_modelTypes","_constants","_helpers","ChatBotThreadManager","api","drawBoardAdapter","threads","Map","currentKey","constructor","messagesLimit","CHAT_BOT_MODEL_DEFAULTS","THREAD_MESSAGES_LIMIT","messages","defaultMessages","getThreadItem","key","existingThreadItem","get","threadItem","ThreadItem","set","content","getContent","setValidationKey","validationKey","
|
|
1
|
+
{"version":3,"names":["_ThreadItem","require","_modelTypes","_constants","_helpers","ChatBotThreadManager","api","drawBoardAdapter","threads","Map","currentKey","constructor","messagesLimit","CHAT_BOT_MODEL_DEFAULTS","THREAD_MESSAGES_LIMIT","messages","defaultMessages","getThreadItem","key","existingThreadItem","get","threadItem","ThreadItem","set","content","getContent","setValidationKey","validationKey","text","setText","strokes","length","setStrokes","setDrawBoardAdapter","adapter","postMessage","payload","Error","type","data","prepareChatRequestPayload","result","ChatRequestType","FREETEXT","sendMessage","getHint","history","push","message","errorStrokeIds","setErrorStrokesIds","nextOptions","anotherHintOption","options","endMessage","threadId","id","conversationId","reset","delete","clear","setMessagesLimit","limit","setApi","setCurrentKey","exports"],"sourceRoot":"../../../../../src","sources":["features/chatbot/model/ChatBotThreadManager.ts"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AASA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAcO,MAAMI,oBAAoB,CAAC;EACxBC,GAAG,GAA4B,IAAI;EACnCC,gBAAgB,GAAiC,IAAI;EAC5CC,OAAO,GAAG,IAAIC,GAAG,CAAqB,CAAC;EAGhDC,UAAU,GAAG,EAAE;EAIhBC,WAAWA,CAAC;IACjBJ,gBAAgB;IAChBD,GAAG;IACHM,aAAa,GAAGC,kCAAuB,CAACC,qBAAqB;IAC7DC;EACyB,CAAC,EAAE;IAC5B,IAAIT,GAAG,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,gBAAgBA,CAACC,KAAa,EAAE;IACrC,IAAI,CAAClD,aAAa,GAAGkD,KAAK;EAC5B;EAEOC,MAAMA,CAACzD,GAAqB,EAAE;IACnC,IAAI,CAACA,GAAG,GAAGA,GAAG;IACd,OAAO,IAAI;EACb;EAEO0D,aAAaA,CAAC9C,GAAW,EAAE;IAChC,IAAI,CAACR,UAAU,GAAGQ,GAAG;EACvB;AACF;AAAC+C,OAAA,CAAA5D,oBAAA,GAAAA,oBAAA","ignoreList":[]}
|
|
@@ -5,26 +5,25 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.ThreadItem = void 0;
|
|
7
7
|
var _helpers = require("../../../lib/helpers/helpers.js");
|
|
8
|
-
const DEFAULT_THREAD_ITEM_PROPS = {
|
|
9
|
-
type: [0, 0]
|
|
10
|
-
};
|
|
11
8
|
class ThreadItem {
|
|
12
9
|
id = (0, _helpers.generateRandomId)();
|
|
13
10
|
history = [];
|
|
14
11
|
strokesValidationKey = null;
|
|
12
|
+
text = null;
|
|
15
13
|
errorStrokesIds = null;
|
|
16
14
|
constructor(props) {
|
|
17
15
|
this.strokes = props?.strokes ?? null;
|
|
16
|
+
this.text = props?.text ?? null;
|
|
18
17
|
this.strokesValidationKey = props?.key ?? null;
|
|
19
|
-
this.spreadSheetContent = props?.spreadSheetContent;
|
|
20
|
-
this.equationWriterContent = props?.equationWriterContent;
|
|
21
|
-
this.drawBoardImage = props?.drawBoardImage;
|
|
22
|
-
this.type = props?.type;
|
|
23
18
|
}
|
|
24
19
|
setStrokes(strokes) {
|
|
25
20
|
this.strokes = strokes;
|
|
26
21
|
return this;
|
|
27
22
|
}
|
|
23
|
+
setText(text) {
|
|
24
|
+
this.text = text;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
28
27
|
setValidationKey(key) {
|
|
29
28
|
this.strokesValidationKey = key;
|
|
30
29
|
return this;
|
|
@@ -33,60 +32,22 @@ class ThreadItem {
|
|
|
33
32
|
this.errorStrokesIds = ids;
|
|
34
33
|
return this;
|
|
35
34
|
}
|
|
36
|
-
setSpreadSheetContent(content) {
|
|
37
|
-
this.spreadSheetContent = content;
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
setEquationWriterContent(content) {
|
|
41
|
-
this.equationWriterContent = content;
|
|
42
|
-
return this;
|
|
43
|
-
}
|
|
44
|
-
setDrawBoardImage(image) {
|
|
45
|
-
this.drawBoardImage = image;
|
|
46
|
-
return this;
|
|
47
|
-
}
|
|
48
|
-
setType(type) {
|
|
49
|
-
this.type = type;
|
|
50
|
-
return this;
|
|
51
|
-
}
|
|
52
|
-
getBaseHintProps() {
|
|
53
|
-
if (this.type) {
|
|
54
|
-
return {
|
|
55
|
-
type: this.type,
|
|
56
|
-
...(this.drawBoardImage && {
|
|
57
|
-
drawBoardImage: this.drawBoardImage
|
|
58
|
-
})
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
return DEFAULT_THREAD_ITEM_PROPS;
|
|
62
|
-
}
|
|
63
35
|
getNextHintProps() {
|
|
64
|
-
const baseProps = this.getBaseHintProps();
|
|
65
36
|
if (this.history.length) {
|
|
66
37
|
return {
|
|
67
|
-
previousHint: this.history[this.history.length - 1]
|
|
68
|
-
...baseProps
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
if (this.strokes?.length) {
|
|
72
|
-
return {
|
|
73
|
-
stroke: this.strokes,
|
|
74
|
-
...baseProps
|
|
38
|
+
previousHint: this.history[this.history.length - 1]
|
|
75
39
|
};
|
|
76
40
|
}
|
|
77
|
-
if (this.
|
|
41
|
+
if (this.text) {
|
|
78
42
|
return {
|
|
79
|
-
|
|
80
|
-
...baseProps
|
|
43
|
+
drawBoardText: this.text
|
|
81
44
|
};
|
|
82
45
|
}
|
|
83
|
-
if (this.
|
|
46
|
+
if (this.strokes && this.strokes.length > 0) {
|
|
84
47
|
return {
|
|
85
|
-
|
|
86
|
-
...baseProps
|
|
48
|
+
stroke: this.strokes
|
|
87
49
|
};
|
|
88
50
|
}
|
|
89
|
-
return baseProps;
|
|
90
51
|
}
|
|
91
52
|
}
|
|
92
53
|
exports.ThreadItem = ThreadItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_helpers","require","
|
|
1
|
+
{"version":3,"names":["_helpers","require","ThreadItem","id","generateRandomId","history","strokesValidationKey","text","errorStrokesIds","constructor","props","strokes","key","setStrokes","setText","setValidationKey","setErrorStrokesIds","ids","getNextHintProps","length","previousHint","drawBoardText","stroke","exports"],"sourceRoot":"../../../../../src","sources":["features/chatbot/model/ThreadItem.ts"],"mappings":";;;;;;AACA,IAAAA,QAAA,GAAAC,OAAA;AAQO,MAAMC,UAAU,CAAwB;EAC7BC,EAAE,GAAG,IAAAC,yBAAgB,EAAC,CAAC;EACvBC,OAAO,GAAa,EAAE;EAC/BC,oBAAoB,GAAkB,IAAI;EAE1CC,IAAI,GAAkB,IAAI;EAC1BC,eAAe,GAAoB,IAAI;EAEvCC,WAAWA,CAACC,KAA8B,EAAE;IACjD,IAAI,CAACC,OAAO,GAAGD,KAAK,EAAEC,OAAO,IAAI,IAAI;IACrC,IAAI,CAACJ,IAAI,GAAGG,KAAK,EAAEH,IAAI,IAAI,IAAI;IAC/B,IAAI,CAACD,oBAAoB,GAAGI,KAAK,EAAEE,GAAG,IAAI,IAAI;EAChD;EAEOC,UAAUA,CAACF,OAAyB,EAAE;IAC3C,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,OAAO,IAAI;EACb;EAEOG,OAAOA,CAACP,IAAY,EAAE;IAC3B,IAAI,CAACA,IAAI,GAAGA,IAAI;IAChB,OAAO,IAAI;EACb;EAEOQ,gBAAgBA,CAACH,GAAW,EAAE;IACnC,IAAI,CAACN,oBAAoB,GAAGM,GAAG;IAC/B,OAAO,IAAI;EACb;EAEOI,kBAAkBA,CAACC,GAAoB,EAAE;IAC9C,IAAI,CAACT,eAAe,GAAGS,GAAG;IAC1B,OAAO,IAAI;EACb;EAEOC,gBAAgBA,CAAA,EAAG;IACxB,IAAI,IAAI,CAACb,OAAO,CAACc,MAAM,EAAE;MACvB,OAAO;QACLC,YAAY,EAAE,IAAI,CAACf,OAAO,CAAC,IAAI,CAACA,OAAO,CAACc,MAAM,GAAG,CAAC;MACpD,CAAC;IACH;IAEA,IAAI,IAAI,CAACZ,IAAI,EAAE;MACb,OAAO;QAAEc,aAAa,EAAE,IAAI,CAACd;MAAK,CAAC;IACrC;IAEA,IAAI,IAAI,CAACI,OAAO,IAAI,IAAI,CAACA,OAAO,CAACQ,MAAM,GAAG,CAAC,EAAE;MAC3C,OAAO;QAAEG,MAAM,EAAE,IAAI,CAACX;MAAQ,CAAC;IACjC;EACF;AACF;AAACY,OAAA,CAAArB,UAAA,GAAAA,UAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MessageVariant","exports","ChatRequestType"],"sourceRoot":"../../../../../src","sources":["features/chatbot/types/model.types.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"names":["MessageVariant","exports","ChatRequestType"],"sourceRoot":"../../../../../src","sources":["features/chatbot/types/model.types.ts"],"mappings":";;;;;;IAyFYA,cAAc,GAAAC,OAAA,CAAAD,cAAA,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA;AAAA,IA6CdE,eAAe,GAAAD,OAAA,CAAAC,eAAA,0BAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAA,OAAfA,eAAe;AAAA","ignoreList":[]}
|
|
@@ -8,21 +8,20 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
8
8
|
var _KeysList = require("../KeysList/KeysList.js");
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
11
|
-
var
|
|
12
|
-
var _types = require("../../types/types.js");
|
|
13
|
-
var _types2 = require("./types.js");
|
|
11
|
+
var _types = require("./types.js");
|
|
14
12
|
var _helpers = require("../../helpers.js");
|
|
15
13
|
var _helpers2 = require("./helpers.js");
|
|
16
14
|
var _keyboardLayouts = require("../../constants/keyboardLayouts.js");
|
|
15
|
+
var _frontendConfig = require("@magmamath/frontend-config");
|
|
17
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
19
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
19
|
const AlgebraLayout = ({
|
|
21
20
|
onLayoutChange,
|
|
21
|
+
keys,
|
|
22
22
|
...props
|
|
23
23
|
}) => {
|
|
24
|
-
const [selectedLayout, setSelectedLayout] = (0, _react.useState)(
|
|
25
|
-
const t = (0, _index.useText)();
|
|
24
|
+
const [selectedLayout, setSelectedLayout] = (0, _react.useState)(_types.SelectedLayout.BASIC);
|
|
26
25
|
const {
|
|
27
26
|
width
|
|
28
27
|
} = (0, _reactNative.useWindowDimensions)();
|
|
@@ -31,13 +30,12 @@ const AlgebraLayout = ({
|
|
|
31
30
|
setSelectedLayout,
|
|
32
31
|
onLayoutChange
|
|
33
32
|
});
|
|
34
|
-
const isDesktop = width > _keyboardLayouts.KEYBOARD_LAYOUTS[
|
|
35
|
-
const locale = t('locale');
|
|
33
|
+
const isDesktop = width > _keyboardLayouts.KEYBOARD_LAYOUTS[_frontendConfig.KeyboardType.AlgebraAdvanced].mobileBreakpoint && !_reactNativeUi.IS_MOBILE;
|
|
36
34
|
const keyboardGroups = (0, _react.useMemo)(() => {
|
|
37
|
-
const algebra = (0, _helpers.
|
|
38
|
-
const basic = (0, _helpers.
|
|
39
|
-
return new Map([[
|
|
40
|
-
}, [
|
|
35
|
+
const algebra = (0, _helpers.getMainKeyboardGroup)(keys, _frontendConfig.KeyboardType.AlgebraAdvanced);
|
|
36
|
+
const basic = (0, _helpers.getMainKeyboardGroup)(keys, isDesktop ? _frontendConfig.KeyboardType.BasicPlusPlus : _frontendConfig.KeyboardType.BasicPlusPlusMobile);
|
|
37
|
+
return new Map([[_types.SelectedLayout.BASIC, basic], [_types.SelectedLayout.ALGEBRA, algebra]]);
|
|
38
|
+
}, [isDesktop, keys]);
|
|
41
39
|
const currentKeys = keyboardGroups.get(selectedLayout)?.keys ?? [];
|
|
42
40
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
43
41
|
style: styles.container,
|
|
@@ -52,7 +50,7 @@ const AlgebraLayout = ({
|
|
|
52
50
|
}
|
|
53
51
|
},
|
|
54
52
|
color: props.color,
|
|
55
|
-
selectedOptions: [selectedLayout ===
|
|
53
|
+
selectedOptions: [selectedLayout === _types.SelectedLayout.BASIC ? selectOptions[0] : selectOptions[1]]
|
|
56
54
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_KeysList.KeysList, {
|
|
57
55
|
keys: currentKeys,
|
|
58
56
|
numOfRows: 3,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_KeysList","_reactNative","_reactNativeUi","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_KeysList","_reactNative","_reactNativeUi","_types","_helpers","_helpers2","_keyboardLayouts","_frontendConfig","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","AlgebraLayout","onLayoutChange","keys","props","selectedLayout","setSelectedLayout","useState","SelectedLayout","BASIC","width","useWindowDimensions","selectOptions","getSelectOptions","isDesktop","KEYBOARD_LAYOUTS","KeyboardType","AlgebraAdvanced","mobileBreakpoint","IS_MOBILE","keyboardGroups","useMemo","algebra","getMainKeyboardGroup","basic","BasicPlusPlus","BasicPlusPlusMobile","Map","ALGEBRA","currentKeys","jsxs","View","style","styles","container","children","jsx","SelectGroup","numOfRows","options","size","SelectOptionSize","SMALL","optionContainer","option","color","selectedOptions","KeysList","exports","StyleSheet","create","display","flexDirection","gap","paddingRight","flexGrow","flexShrink","flexBasis","borderRightWidth","borderRightColor","COLORS","NEUTRAL_3","maxWidth"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,gBAAA,GAAAP,OAAA;AACA,IAAAQ,eAAA,GAAAR,OAAA;AAAyD,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAU,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAZ,wBAAAY,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAA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AC;AAEX,CAAC;AAAA4C,OAAA,CAAA/C,aAAA,GAAAA,aAAA;AAED,MAAMgC,MAAM,GAAGgB,uBAAU,CAACC,MAAM,CAAC;EAC/BhB,SAAS,EAAE;IACTiB,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,KAAK;IACpBC,GAAG,EAAE,EAAE;IACPC,YAAY,EAAE;EAChB,CAAC;EACDX,eAAe,EAAE;IACfY,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAEtC,wBAAS,GAAG,EAAE,GAAG,MAAM;IAClCT,KAAK,EAAE,MAAM;IACb4C,YAAY,EAAE,EAAE;IAChBI,gBAAgB,EAAE,CAAC;IACnBC,gBAAgB,EAAEC,qBAAM,CAACC,SAAS;IAClCC,QAAQ,EAAE,EAAE;IACZT,GAAG,EAAE;EACP,CAAC;EACDT,MAAM,EAAE;IACNa,SAAS,EAAE,EAAE;IACb/C,KAAK,EAAE;EACT;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -7,28 +7,29 @@ exports.BasicLayout = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _KeysList = require("../KeysList/KeysList.js");
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
|
-
var _types = require("../../types/types.js");
|
|
11
|
-
var _index = require("../../../../shared/translation/index.js");
|
|
12
|
-
var _keyboardGroupsByLocale = require("../../constants/keyboardGroupsByLocale.js");
|
|
13
10
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
14
11
|
var _keyboardLayouts = require("../../constants/keyboardLayouts.js");
|
|
12
|
+
var _helpers = require("../../helpers.js");
|
|
13
|
+
var _frontendConfig = require("@magmamath/frontend-config");
|
|
15
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
-
const BasicLayout =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
const BasicLayout = ({
|
|
17
|
+
keys,
|
|
18
|
+
...props
|
|
19
|
+
}) => {
|
|
20
|
+
const keysByLocale = (0, _helpers.getMainKeyboardGroup)(keys, _frontendConfig.KeyboardType.Basic);
|
|
21
|
+
const keysToShow = props.children ? keysByLocale.keys : keysByLocale.keys.slice(0, -1);
|
|
21
22
|
const {
|
|
22
23
|
width
|
|
23
24
|
} = (0, _reactNative.useWindowDimensions)();
|
|
24
|
-
const isMobile = width <= _keyboardLayouts.KEYBOARD_LAYOUTS[
|
|
25
|
+
const isMobile = width <= _keyboardLayouts.KEYBOARD_LAYOUTS[_frontendConfig.KeyboardType.Basic].mobileBreakpoint || _reactNativeUi.IS_MOBILE;
|
|
25
26
|
if (isMobile && !props.children) {
|
|
26
27
|
return null;
|
|
27
28
|
}
|
|
28
29
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
29
30
|
style: styles.container,
|
|
30
31
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_KeysList.KeysList, {
|
|
31
|
-
keys:
|
|
32
|
+
keys: keysToShow,
|
|
32
33
|
numOfRows: 2,
|
|
33
34
|
...props
|
|
34
35
|
}), props.children || null]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_reactNative","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_reactNative","_reactNativeUi","_keyboardLayouts","_helpers","_frontendConfig","_jsxRuntime","e","__esModule","default","BasicLayout","keys","props","keysByLocale","getMainKeyboardGroup","KeyboardType","Basic","keysToShow","children","slice","width","useWindowDimensions","isMobile","KEYBOARD_LAYOUTS","mobileBreakpoint","IS_MOBILE","jsxs","View","style","styles","container","jsx","KeysList","numOfRows","exports","StyleSheet","create","flex","flexDirection","flexWrap","gap","paddingRight"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/BasicLayout/BasicLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAA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AAI,IAAI;EAAA,CACnB,CAAC;AAEX,CAAC;AAAAgB,OAAA,CAAAxB,WAAA,GAAAA,WAAA;AAED,MAAMmB,MAAM,GAAGM,uBAAU,CAACC,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,IAAI,EAAE,CAAC;IACPC,aAAa,EAAE,KAAK;IACpBC,QAAQ,EAAE,QAAQ;IAClBC,GAAG,EAAE,EAAE;IACPC,YAAY,EAAE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -7,15 +7,17 @@ exports.CurrencyBasicLayout = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _KeysList = require("../KeysList/KeysList.js");
|
|
9
9
|
var _BasicLayout = require("./BasicLayout.js");
|
|
10
|
-
var _types = require("../../types/types.js");
|
|
11
|
-
var _index = require("../../../../shared/translation/index.js");
|
|
12
10
|
var _helpers = require("../../helpers.js");
|
|
11
|
+
var _frontendConfig = require("@magmamath/frontend-config");
|
|
13
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
-
const CurrencyBasicLayout =
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
const CurrencyBasicLayout = ({
|
|
15
|
+
keys,
|
|
16
|
+
...props
|
|
17
|
+
}) => {
|
|
18
|
+
const keysGroup = (0, _helpers.getMainKeyboardGroup)(keys, _frontendConfig.KeyboardType.BasicCurrency);
|
|
18
19
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_BasicLayout.BasicLayout, {
|
|
20
|
+
keys: keys,
|
|
19
21
|
...props,
|
|
20
22
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_KeysList.KeysList, {
|
|
21
23
|
keys: keysGroup.keys,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_BasicLayout","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_BasicLayout","_helpers","_frontendConfig","_jsxRuntime","e","__esModule","default","CurrencyBasicLayout","keys","props","keysGroup","getMainKeyboardGroup","KeyboardType","BasicCurrency","jsx","BasicLayout","children","KeysList","numOfRows","length","exports"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAEA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AAAyD,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElD,MAAMG,mBAAmB,GAAGA,CAAC;EAAEC,IAAI;EAAE,GAAGC;AAA2B,CAAC,KAAK;EAC9E,MAAMC,SAAS,GAAG,IAAAC,6BAAoB,EAACH,IAAI,EAAEI,4BAAY,CAACC,aAAa,CAAC;EAExE,oBACE,IAAAV,WAAA,CAAAW,GAAA,EAACd,YAAA,CAAAe,WAAW;IAACP,IAAI,EAAEA,IAAK;IAAA,GAAKC,KAAK;IAAAO,QAAA,eAChC,IAAAb,WAAA,CAAAW,GAAA,EAACf,SAAA,CAAAkB,QAAQ;MAACT,IAAI,EAAEE,SAAS,CAACF,IAAK;MAACU,SAAS,EAAER,SAAS,CAACF,IAAI,CAACW,MAAO;MAAA,GAAKV;IAAK,CAAG;EAAC,CACpE,CAAC;AAElB,CAAC;AAAAW,OAAA,CAAAb,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
@@ -8,16 +8,18 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
8
8
|
var _KeysList = require("../KeysList/KeysList.js");
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _BasicLayout = require("./BasicLayout.js");
|
|
11
|
-
var _types = require("../../types/types.js");
|
|
12
|
-
var _index = require("../../../../shared/translation/index.js");
|
|
13
11
|
var _helpers = require("../../helpers.js");
|
|
14
12
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
13
|
+
var _frontendConfig = require("@magmamath/frontend-config");
|
|
15
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
-
const TimeBasicLayout =
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
const TimeBasicLayout = ({
|
|
17
|
+
keys,
|
|
18
|
+
...props
|
|
19
|
+
}) => {
|
|
20
|
+
const keysGroup = (0, _helpers.getMainKeyboardGroup)(keys, _frontendConfig.KeyboardType.BasicTime);
|
|
20
21
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_BasicLayout.BasicLayout, {
|
|
22
|
+
keys: keys,
|
|
21
23
|
...props,
|
|
22
24
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_KeysList.KeysList, {
|
|
23
25
|
keys: keysGroup.keys,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_reactNative","_BasicLayout","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_reactNative","_BasicLayout","_helpers","_reactNativeUi","_frontendConfig","_jsxRuntime","e","__esModule","default","TimeBasicLayout","keys","props","keysGroup","getMainKeyboardGroup","KeyboardType","BasicTime","jsx","BasicLayout","children","KeysList","numOfRows","length","style","option","text","styles","button","container","exports","StyleSheet","create","width","IS_MOBILE","flexBasis","fontSize","fontWeight"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/BasicLayout/TimeBasicLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,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AAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -7,21 +7,21 @@ exports.BasicPlusLayout = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _KeysList = require("../KeysList/KeysList.js");
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
|
-
var _types = require("../../types/types.js");
|
|
11
|
-
var _index = require("../../../../shared/translation/index.js");
|
|
12
10
|
var _helpers = require("../../helpers.js");
|
|
13
11
|
var _constants = require("../../constants/constants.js");
|
|
14
12
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
13
|
+
var _frontendConfig = require("@magmamath/frontend-config");
|
|
15
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
-
const BasicPlusLayout =
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
const BasicPlusLayout = ({
|
|
17
|
+
keys,
|
|
18
|
+
...props
|
|
19
|
+
}) => {
|
|
20
20
|
const {
|
|
21
21
|
width
|
|
22
22
|
} = (0, _reactNative.useWindowDimensions)();
|
|
23
23
|
const isMobile = width <= _constants.MOBILE_LAYOUT_WIDTH || _reactNativeUi.IS_MOBILE;
|
|
24
|
-
const keysGroup = (0, _helpers.
|
|
24
|
+
const keysGroup = (0, _helpers.getMainKeyboardGroup)(keys, isMobile ? _frontendConfig.KeyboardType.BasicPlusMobile : _frontendConfig.KeyboardType.BasicPlus);
|
|
25
25
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
26
26
|
style: styles.container,
|
|
27
27
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_KeysList.KeysList, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_reactNative","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_KeysList","_reactNative","_helpers","_constants","_reactNativeUi","_frontendConfig","_jsxRuntime","e","__esModule","default","BasicPlusLayout","keys","props","width","useWindowDimensions","isMobile","MOBILE_LAYOUT_WIDTH","IS_MOBILE","keysGroup","getMainKeyboardGroup","KeyboardType","BasicPlusMobile","BasicPlus","jsx","View","style","styles","container","children","KeysList","numOfRows","exports","StyleSheet","create","display","flexWrap","gap","paddingRight"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAEA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AAAyD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElD,MAAMG,eAAe,GAAGA,CAAC;EAAEC,IAAI;EAAE,GAAGC;AAA2B,CAAC,KAAK;EAC1E,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAAC,gCAAmB,EAAC,CAAC;EACvC,MAAMC,QAAQ,GAAGF,KAAK,IAAIG,8BAAmB,IAAIC,wBAAS;EAE1D,MAAMC,SAAS,GAAG,IAAAC,6BAAoB,EACpCR,IAAI,EACJI,QAAQ,GAAGK,4BAAY,CAACC,eAAe,GAAGD,4BAAY,CAACE,SACzD,CAAC;EAED,oBACE,IAAAhB,WAAA,CAAAiB,GAAA,EAACtB,YAAA,CAAAuB,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,eAC5B,IAAAtB,WAAA,CAAAiB,GAAA,EAACvB,SAAA,CAAA6B,QAAQ;MAAClB,IAAI,EAAEO,SAAS,CAACP,IAAK;MAACmB,SAAS,EAAE,CAAE;MAAA,GAAKlB;IAAK,CAAG;EAAC,CACvD,CAAC;AAEX,CAAC;AAAAmB,OAAA,CAAArB,eAAA,GAAAA,eAAA;AAED,MAAMgB,MAAM,GAAGM,uBAAU,CAACC,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,OAAO,EAAE,MAAM;IACfC,QAAQ,EAAE,MAAM;IAChBC,GAAG,EAAE,EAAE;IACPC,YAAY,EAAE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js
CHANGED
|
@@ -7,21 +7,21 @@ exports.BasicPlusPlusLayout = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _KeysList = require("../KeysList/KeysList.js");
|
|
10
|
-
var _types = require("../../types/types.js");
|
|
11
|
-
var _index = require("../../../../shared/translation/index.js");
|
|
12
10
|
var _helpers = require("../../helpers.js");
|
|
13
11
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
14
12
|
var _keyboardLayouts = require("../../constants/keyboardLayouts.js");
|
|
13
|
+
var _frontendConfig = require("@magmamath/frontend-config");
|
|
15
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
-
const BasicPlusPlusLayout =
|
|
18
|
-
|
|
16
|
+
const BasicPlusPlusLayout = ({
|
|
17
|
+
keys,
|
|
18
|
+
...props
|
|
19
|
+
}) => {
|
|
19
20
|
const {
|
|
20
21
|
width
|
|
21
22
|
} = (0, _reactNative.useWindowDimensions)();
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const keysGroup = (0, _helpers.getKeyboardGroup)(locale, isDesktop ? _types.KeyboardType.BasicPlusPlus : _types.KeyboardType.BasicPlusPlusMobile);
|
|
23
|
+
const isDesktop = width > _keyboardLayouts.KEYBOARD_LAYOUTS[_frontendConfig.KeyboardType.BasicPlusPlus].mobileBreakpoint && !_reactNativeUi.IS_MOBILE;
|
|
24
|
+
const keysGroup = (0, _helpers.getMainKeyboardGroup)(keys, isDesktop ? _frontendConfig.KeyboardType.BasicPlusPlus : _frontendConfig.KeyboardType.BasicPlusPlusMobile);
|
|
25
25
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
26
26
|
style: styles.container,
|
|
27
27
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_KeysList.KeysList, {
|
package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_KeysList","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_KeysList","_helpers","_reactNativeUi","_keyboardLayouts","_frontendConfig","_jsxRuntime","e","__esModule","default","BasicPlusPlusLayout","keys","props","width","useWindowDimensions","isDesktop","KEYBOARD_LAYOUTS","KeyboardType","BasicPlusPlus","mobileBreakpoint","IS_MOBILE","keysGroup","getMainKeyboardGroup","BasicPlusPlusMobile","jsx","View","style","styles","container","children","KeysList","numOfRows","exports","StyleSheet","create","display","flexWrap","gap","paddingRight"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAEA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AAAyD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElD,MAAMG,mBAAmB,GAAGA,CAAC;EAAEC,IAAI;EAAE,GAAGC;AAA2B,CAAC,KAAK;EAC9E,MAAM;IAAEC;EAAM,CAAC,GAAG,IAAAC,gCAAmB,EAAC,CAAC;EAEvC,MAAMC,SAAS,GACbF,KAAK,GAAGG,iCAAgB,CAACC,4BAAY,CAACC,aAAa,CAAC,CAACC,gBAAgB,IAAI,CAACC,wBAAS;EAErF,MAAMC,SAAS,GAAG,IAAAC,6BAAoB,EACpCX,IAAI,EACJI,SAAS,GAAGE,4BAAY,CAACC,aAAa,GAAGD,4BAAY,CAACM,mBACxD,CAAC;EAED,oBACE,IAAAjB,WAAA,CAAAkB,GAAA,EAACxB,YAAA,CAAAyB,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,eAC5B,IAAAvB,WAAA,CAAAkB,GAAA,EAACvB,SAAA,CAAA6B,QAAQ;MAACnB,IAAI,EAAEU,SAAS,CAACV,IAAK;MAACoB,SAAS,EAAE,CAAE;MAAA,GAAKnB;IAAK,CAAG;EAAC,CACvD,CAAC;AAEX,CAAC;AAAAoB,OAAA,CAAAtB,mBAAA,GAAAA,mBAAA;AAED,MAAMiB,MAAM,GAAGM,uBAAU,CAACC,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,OAAO,EAAE,MAAM;IACfC,QAAQ,EAAE,MAAM;IAChBC,GAAG,EAAE,EAAE;IACPC,YAAY,EAAE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeUi","_Numpad","_MainLayout","_constants","_helpers","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Keyboard","style","characterType","isMainLayoutDisabled","props","slideAnim","useRef","Animated","Value","KEYBOARD_SLIDE_DISTANCE","current","width","useWindowDimensions","isMobile","IS_MOBILE","isMobileWidth","mobileStyles","useMemo","getLayoutConfigStyles","useEffect","anim","spring","slideInAnimationSettings","mass","velocity","useNativeDriver","IS_WEB","start","stop","jsxs","View","styles","container","transform","translateY","children","jsx","MainLayout","isDisabled","Numpad","exports","StyleSheet","create","flexDirection","justifyContent","backgroundColor","COLORS","NEUTRAL_2","borderRadius","paddingTop","paddingHorizontal","paddingBottom","borderColor","NEUTRAL_5","borderWidth","height","SHADOWS"],"sourceRoot":"../../../../../src","sources":["features/keyboard/components/Keyboard.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeUi","_Numpad","_MainLayout","_constants","_helpers","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Keyboard","style","characterType","isMainLayoutDisabled","props","slideAnim","useRef","Animated","Value","KEYBOARD_SLIDE_DISTANCE","current","width","useWindowDimensions","isMobile","IS_MOBILE","isMobileWidth","mobileStyles","useMemo","getLayoutConfigStyles","useEffect","anim","spring","slideInAnimationSettings","mass","velocity","useNativeDriver","IS_WEB","start","stop","jsxs","View","styles","container","transform","translateY","children","jsx","MainLayout","isDisabled","Numpad","exports","StyleSheet","create","flexDirection","justifyContent","backgroundColor","COLORS","NEUTRAL_2","borderRadius","paddingTop","paddingHorizontal","paddingBottom","borderColor","NEUTRAL_5","borderWidth","height","SHADOWS"],"sourceRoot":"../../../../../src","sources":["features/keyboard/components/Keyboard.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CA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AA,GACLjC,KAAK;MACTkC,UAAU,EAAEnC,oBAAoB,IAAIC,KAAK,CAACkC,UAAW;MACrDpC,aAAa,EAAEA;IAAc,CAC9B,CAAC,eACF,IAAAvB,WAAA,CAAAyD,GAAA,EAAC7D,OAAA,CAAAgE,MAAM;MAAA,GAAKnC,KAAK;MAAEH,KAAK,EAAEe;IAAa,CAAE,CAAC;EAAA,CAC7B,CAAC;AAEpB,CAAC;AAAAwB,OAAA,CAAAxC,QAAA,GAAAA,QAAA;AAED,MAAM+B,MAAM,GAAGU,uBAAU,CAACC,MAAM,CAAC;EAC/BV,SAAS,EAAE;IACTW,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,eAAe;IAC/BC,eAAe,EAAEC,qBAAM,CAACC,SAAS;IACjCC,YAAY,EAAE,EAAE;IAChBC,UAAU,EAAE,CAAC;IACbC,iBAAiB,EAAE,EAAE;IACrBC,aAAa,EAAE,EAAE;IACjBC,WAAW,EAAEN,qBAAM,CAACO,SAAS;IAC7BC,WAAW,EAAE,CAAC;IACdC,MAAM,EAAE,GAAG;IACX,GAAGC,sBAAO,CAAC,CAAC;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeUi","_helpers","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","KeysList","keys","numOfRows","style","onKeyPress","isDisabled","disabledKeys","options","useMemo","map","key","mapKeyToOption","optionStyle","option","jsx","SelectGroup","container","styles","row","color","SelectOptionColor","GREY","disabled","size","SelectOptionSize","SMALL","exports","StyleSheet","create","gap","width","optionContainer","flexGrow","flexBasis","IS_MOBILE","optionButton","optionText","fontSize","fontWeight"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/KeysList/KeysList.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeUi","_helpers","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","KeysList","keys","numOfRows","style","onKeyPress","isDisabled","disabledKeys","options","useMemo","map","key","mapKeyToOption","optionStyle","option","jsx","SelectGroup","container","styles","row","color","SelectOptionColor","GREY","disabled","size","SelectOptionSize","SMALL","exports","StyleSheet","create","gap","width","optionContainer","flexGrow","flexBasis","IS_MOBILE","optionButton","optionText","fontSize","fontWeight"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/KeysList/KeysList.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAQA,IAAAG,QAAA,GAAAH,OAAA;AAA0C,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAK,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAP,wBAAAO,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAA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AACC,IAAK;IAC9BC,QAAQ,EAAEjB,UAAW;IACrBE,OAAO,EAAEA,OAAQ;IACjBgB,IAAI,EAAEC,+BAAgB,CAACC;EAAM,CAC9B,CAAC;AAEN,CAAC;AAAAC,OAAA,CAAA1B,QAAA,GAAAA,QAAA;AAEM,MAAMiB,MAAM,GAAAS,OAAA,CAAAT,MAAA,GAAGU,uBAAU,CAACC,MAAM,CAAC;EACtCZ,SAAS,EAAE;IACTa,GAAG,EAAE,CAAC;IACNC,KAAK,EAAE;EACT,CAAC;EACDZ,GAAG,EAAE;IACHW,GAAG,EAAE;EACP,CAAC;EACDE,eAAe,EAAE;IACfC,QAAQ,EAAE,CAAC;IACXC,SAAS,EAAEC,wBAAS,GAAG,EAAE,GAAG;EAC9B,CAAC;EACDC,YAAY,EAAE;IACZL,KAAK,EAAE;EACT,CAAC;EACDM,UAAU,EAAE;IACVC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_KeysList","require","_helpers","IS_IOS_WEB","exports","getIsIpadOrIphoneDevice","mergeOptionStyles","keyStyle","override","container","styles","optionContainer","button","optionButton","text","optionText","isKeyDisabled","key","disabledKeys","includes","mapKeyToOption","onKeyPress","optionStyle","isDisabled","pressHandler","e","event","katexValue","mathliveValue","spreadsheetValue","mathQuillValue","isSpecialSymbol","title","icon","label","delayPressIn","style","onPress","onPressIn","disabled"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/KeysList/helpers.ts"],"mappings":";;;;;;AAGA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;
|
|
1
|
+
{"version":3,"names":["_KeysList","require","_helpers","IS_IOS_WEB","exports","getIsIpadOrIphoneDevice","mergeOptionStyles","keyStyle","override","container","styles","optionContainer","button","optionButton","text","optionText","isKeyDisabled","key","disabledKeys","includes","mapKeyToOption","onKeyPress","optionStyle","isDisabled","pressHandler","e","event","katexValue","mathliveValue","spreadsheetValue","mathQuillValue","isSpecialSymbol","title","icon","label","delayPressIn","style","onPress","onPressIn","disabled"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/KeysList/helpers.ts"],"mappings":";;;;;;AAGA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAWO,MAAME,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG,IAAAE,gCAAuB,EAAC,CAAC;AAEnD,MAAMC,iBAAiB,GAAGA,CAACC,QAAsB,EAAEC,QAAsB,MAAM;EAC7EC,SAAS,EAAE,CAACC,gBAAM,CAACC,eAAe,EAAEJ,QAAQ,EAAEE,SAAS,EAAED,QAAQ,EAAEC,SAAS,CAAC;EAC7EG,MAAM,EAAE,CAACF,gBAAM,CAACG,YAAY,EAAEN,QAAQ,EAAEK,MAAM,EAAEJ,QAAQ,EAAEI,MAAM,CAAC;EACjEE,IAAI,EAAE,CAACJ,gBAAM,CAACK,UAAU,EAAER,QAAQ,EAAEO,IAAI,EAAEN,QAAQ,EAAEM,IAAI;AAC1D,CAAC,CAAC;AAEF,MAAME,aAAa,GAAGA,CAACC,GAAgB,EAAEC,YAA4B,KACnEA,YAAY,EAAEC,QAAQ,CAACF,GAAG,CAAC;AAEtB,MAAMG,cAAc,GAAGA,CAAC;EAC7BH,GAAG;EACHI,UAAU;EACVH,YAAY;EACZI,WAAW;EACXC;AACmB,CAAC,KAAK;EACzB,MAAMC,YAAY,GAAIC,CAAwB,IAAK;IACjDJ,UAAU,GAAG;MACXK,KAAK,EAAED,CAAC;MACRE,UAAU,EAAEV,GAAG,CAACU,UAAU;MAC1BC,aAAa,EAAEX,GAAG,CAACW,aAAa;MAChCC,gBAAgB,EAAEZ,GAAG,CAACY,gBAAgB;MACtCC,cAAc,EAAEb,GAAG,CAACa,cAAc;MAClCC,eAAe,EAAEd,GAAG,CAACc;IACvB,CAAC,CAAC;EACJ,CAAC;EAED,OAAO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