@magmamath/students-features 1.3.2-rc.5 → 1.3.2
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 +5 -1
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/index.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js +7 -6
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/groups/index.js +0 -11
- package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +0 -2
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +2 -8
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +1 -86
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/text.constants.js +9 -9
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +1 -2
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/types.js +0 -1
- package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +3 -4
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +8 -12
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +6 -11
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +8 -12
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/module/features/chatbot/helpers.js +5 -1
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/index.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotModel.js +7 -6
- package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/module/features/keyboard/constants/groups/index.js +0 -1
- package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js +1 -3
- package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js +2 -8
- package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js +1 -86
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/text.constants.js +9 -9
- package/dist/module/features/keyboard/constants/keys/units.constants.js +1 -2
- package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/module/features/keyboard/types/types.js +0 -1
- package/dist/module/features/keyboard/types/types.js.map +1 -1
- package/dist/module/shared/icons/keyboard/AngleIcon.js +3 -4
- package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +9 -13
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +7 -12
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +9 -13
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +8 -6
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +0 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +0 -5
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts +8 -6
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +0 -1
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +0 -5
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts +0 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/chatbot/helpers.ts +2 -0
- package/src/features/chatbot/index.ts +9 -1
- package/src/features/chatbot/model/ChatBotModel.ts +7 -10
- package/src/features/chatbot/types/api.types.ts +11 -6
- package/src/features/keyboard/constants/groups/index.ts +0 -1
- package/src/features/keyboard/constants/keyboard.helpers.ts +0 -3
- package/src/features/keyboard/constants/keyboardLayouts.ts +2 -8
- package/src/features/keyboard/constants/keys/geometry.constants.tsx +1 -61
- package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
- package/src/features/keyboard/constants/keys/units.constants.tsx +0 -1
- package/src/features/keyboard/types/types.ts +0 -1
- package/src/shared/icons/keyboard/AngleIcon.tsx +2 -4
- package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +8 -5
- package/src/shared/icons/keyboard/LineSegmentIcon.tsx +7 -6
- package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +8 -5
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -85
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js +0 -41
- package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js +0 -12
- package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js.map +0 -1
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +0 -11
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
- package/dist/commonjs/shared/icons/GeometryIcon.js +0 -32
- package/dist/commonjs/shared/icons/GeometryIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +0 -30
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +0 -29
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +0 -29
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +0 -29
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +0 -42
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +0 -32
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +0 -1
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -78
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
- package/dist/module/features/keyboard/components/GeometryLayout/helpers.js +0 -36
- package/dist/module/features/keyboard/components/GeometryLayout/helpers.js.map +0 -1
- package/dist/module/features/keyboard/components/GeometryLayout/types.js +0 -8
- package/dist/module/features/keyboard/components/GeometryLayout/types.js.map +0 -1
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js +0 -7
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
- package/dist/module/shared/icons/GeometryIcon.js +0 -24
- package/dist/module/shared/icons/GeometryIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js +0 -22
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/LetterAIcon.js +0 -21
- package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/LetterBIcon.js +0 -21
- package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/LetterCIcon.js +0 -21
- package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js +0 -34
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/TriangleIcon.js +0 -24
- package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts +0 -14
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts +0 -5
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts +0 -14
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts +0 -5
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
- package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +0 -82
- package/src/features/keyboard/components/GeometryLayout/helpers.tsx +0 -46
- package/src/features/keyboard/components/GeometryLayout/types.ts +0 -4
- package/src/features/keyboard/constants/groups/geometry.constants.ts +0 -25
- package/src/shared/icons/GeometryIcon.tsx +0 -18
- package/src/shared/icons/keyboard/ImpliesIcon.tsx +0 -16
- package/src/shared/icons/keyboard/LetterAIcon.tsx +0 -14
- package/src/shared/icons/keyboard/LetterBIcon.tsx +0 -14
- package/src/shared/icons/keyboard/LetterCIcon.tsx +0 -14
- package/src/shared/icons/keyboard/ThereforeIcon.tsx +0 -15
- package/src/shared/icons/keyboard/TriangleIcon.tsx +0 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/api.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,MAAM,EACN,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C,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,sBAAsB,EAAE,OAAO,CAAA;IAC/B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,mBAAmB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAA;IACpC,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,
|
|
1
|
+
{"version":3,"file":"api.types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chatbot/types/api.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,MAAM,EACN,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C,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,OA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E,MAAM,EAAE,CAAA;CAC/B,CAAA"}
|
|
@@ -3,7 +3,6 @@ export * from './basic.constants';
|
|
|
3
3
|
export * from './basicPlus.constants';
|
|
4
4
|
export * from './basicPlusPlus.constants';
|
|
5
5
|
export * from './currency.constants';
|
|
6
|
-
export * from './geometry.constants';
|
|
7
6
|
export * from './numpad.constants';
|
|
8
7
|
export * from './time.constants';
|
|
9
8
|
export * from './underlined.constants';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/groups/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/groups/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboard.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAIf,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAKL,gBAAgB,EACjB,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"keyboard.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboard.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAIf,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAKL,gBAAgB,EACjB,MAAM,gBAAgB,CAAA;AA6FvB,eAAO,MAAM,eAAe,WAAY,cAAc,KAAG,gBAWxD,CAAA"}
|
|
@@ -31,11 +31,6 @@ export declare const KEYBOARD_LAYOUTS: {
|
|
|
31
31
|
characterTypes: MyScriptMathCharacterTypes[];
|
|
32
32
|
mobileBreakpoint: number;
|
|
33
33
|
};
|
|
34
|
-
Geometry: {
|
|
35
|
-
Component: ({ onLayoutChange, keys, ...props }: import("../types/types").KeyboardLayoutProps) => import("react").JSX.Element;
|
|
36
|
-
characterTypes: MyScriptMathCharacterTypes[];
|
|
37
|
-
mobileBreakpoint: number;
|
|
38
|
-
};
|
|
39
34
|
};
|
|
40
35
|
export declare function getLayoutByCharType(charType?: number): ({ keys, ...props }: import("../types/types").KeyboardLayoutProps & import("react").PropsWithChildren) => import("react").JSX.Element | null;
|
|
41
36
|
export declare function getMobileBreakpointByCharType(charType?: number): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboardLayouts.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardLayouts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"keyboardLayouts.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/constants/keyboardLayouts.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAA;AAI1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD5B,CAAA;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,gJAWpD;AAED,wBAAgB,6BAA6B,CAAC,QAAQ,CAAC,EAAE,MAAM,UAW9D;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,WAStD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geometry.constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/keys/geometry.constants.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"geometry.constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/keys/geometry.constants.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAOtD,eAAO,MAAM,qBAAqB,EAAE,kBAsC1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"units.constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/keys/units.constants.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAStD,eAAO,MAAM,mBAAmB,EAAE,kBAqCxB,CAAA;AAEV,eAAO,MAAM,iBAAiB,EAAE,kBA0EtB,CAAA;AAEV,eAAO,MAAM,eAAe,EAAE,kBAsEpB,CAAA;AAEV,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIpB,CAAA;AAEV,eAAO,MAAM,iBAAiB,EAAE,kBA6DtB,CAAA;AAEV,eAAO,MAAM,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"units.constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/keyboard/constants/keys/units.constants.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAStD,eAAO,MAAM,mBAAmB,EAAE,kBAqCxB,CAAA;AAEV,eAAO,MAAM,iBAAiB,EAAE,kBA0EtB,CAAA;AAEV,eAAO,MAAM,eAAe,EAAE,kBAsEpB,CAAA;AAEV,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIpB,CAAA;AAEV,eAAO,MAAM,iBAAiB,EAAE,kBA6DtB,CAAA;AAEV,eAAO,MAAM,eAAe,EAAE,kBAqEpB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC5B,CAAA;AAED,oBAAY,YAAY;IACtB,eAAe,oBAAoB;IACnC,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,mBAAmB,wBAAwB;IAC3C,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/features/keyboard/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC5B,CAAA;AAED,oBAAY,YAAY;IACtB,eAAe,oBAAoB;IACnC,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,mBAAmB,wBAAwB;IAC3C,MAAM,WAAW;IACjB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U,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AngleIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/AngleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"AngleIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/AngleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,SAAS,oBAA0B,SAAS,sBASxD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BidirectionalSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,wBAAwB,oBAA0B,SAAS,
|
|
1
|
+
{"version":3,"file":"BidirectionalSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,wBAAwB,oBAA0B,SAAS,sBAavE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LineSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"LineSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LineSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,eAAe,oBAA0B,SAAS,sBAa9D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RightDirectedSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,wBAAwB,oBAA0B,SAAS,
|
|
1
|
+
{"version":3,"file":"RightDirectedSegmentIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,wBAAwB,oBAA0B,SAAS,sBAavE,CAAA"}
|
package/package.json
CHANGED
|
@@ -65,6 +65,7 @@ export function prepareChatRequestPayload(
|
|
|
65
65
|
imageAltText,
|
|
66
66
|
answerOptions,
|
|
67
67
|
answer,
|
|
68
|
+
chatHistory,
|
|
68
69
|
} = payload
|
|
69
70
|
|
|
70
71
|
if (freeTextMessage) {
|
|
@@ -86,6 +87,7 @@ export function prepareChatRequestPayload(
|
|
|
86
87
|
language,
|
|
87
88
|
...(imageCdnId && { imageCdnId }),
|
|
88
89
|
...(imageAltText && { altText: imageAltText }),
|
|
90
|
+
...(chatHistory && { chatHistory }),
|
|
89
91
|
...(!!problemStandards?.length && { problemStandards }),
|
|
90
92
|
...(!!answerOptions?.length && { answerOptions }),
|
|
91
93
|
},
|
|
@@ -7,7 +7,15 @@ export {
|
|
|
7
7
|
type IChatDrawBoardAdapter,
|
|
8
8
|
} from './types/model.types'
|
|
9
9
|
export type { RequestOptionalConfig } from '../../lib/effector/createControllerEffect'
|
|
10
|
-
export type {
|
|
10
|
+
export type {
|
|
11
|
+
PostMessageResponse,
|
|
12
|
+
ChatHintPayload,
|
|
13
|
+
ChatHintResponse,
|
|
14
|
+
GetAlternativesPayload,
|
|
15
|
+
GetAlternativesResponse,
|
|
16
|
+
SendMessagePayload,
|
|
17
|
+
SendMessageResponse,
|
|
18
|
+
} from './types/api.types'
|
|
11
19
|
export { DefaultMessagesCreator } from './model/DefaultMessageCreator'
|
|
12
20
|
export type { ChatAnswer } from './types/units.types'
|
|
13
21
|
export type { ConversationMessage } from './types/units.types'
|
|
@@ -234,15 +234,6 @@ export class ChatbotModel {
|
|
|
234
234
|
messages: [messagesHelper.createOwn({ message, translatedMessage })],
|
|
235
235
|
})
|
|
236
236
|
|
|
237
|
-
const chatHistory =
|
|
238
|
-
context.assignmentId && context.problemId
|
|
239
|
-
? {
|
|
240
|
-
exerciseId: context.assignmentId,
|
|
241
|
-
problemId: context.problemId,
|
|
242
|
-
chatVersion: alternatives?.version,
|
|
243
|
-
}
|
|
244
|
-
: undefined
|
|
245
|
-
|
|
246
237
|
// Request is overridden by ThreadManager.postMessage (delegates to sendMessage/getHint)
|
|
247
238
|
const response = await this.api.postMessageFx({
|
|
248
239
|
answer: context.answer,
|
|
@@ -254,8 +245,14 @@ export class ChatbotModel {
|
|
|
254
245
|
imageAltText: context.imageDescription,
|
|
255
246
|
imageCdnId: context.imageCdnId,
|
|
256
247
|
conversationId: cache[key].conversationId,
|
|
257
|
-
chatHistory,
|
|
258
248
|
...(isFreeText && { freeTextMessage: message }),
|
|
249
|
+
...(context.assignmentId && {
|
|
250
|
+
chatHistory: {
|
|
251
|
+
exerciseId: context.assignmentId,
|
|
252
|
+
problemId: context.problemId,
|
|
253
|
+
chatVersion: alternatives?.version,
|
|
254
|
+
},
|
|
255
|
+
}),
|
|
259
256
|
})
|
|
260
257
|
|
|
261
258
|
const thread = this.threadManager.get(key)
|
|
@@ -30,14 +30,15 @@ export type GetAlternativesResponse = {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export type SendMessagePayload = {
|
|
33
|
+
message: string
|
|
33
34
|
problemDescription?: string
|
|
34
35
|
problemStandards?: ProblemStandard[]
|
|
35
36
|
correctAnswer?: string | string[]
|
|
36
37
|
answerOptions?: string[]
|
|
37
38
|
altText?: string
|
|
38
39
|
language?: string
|
|
39
|
-
message: string
|
|
40
40
|
conversationId?: string
|
|
41
|
+
chatHistory?: ChatHistory
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
export type SendMessageResponse = {
|
|
@@ -45,6 +46,12 @@ export type SendMessageResponse = {
|
|
|
45
46
|
conversationId?: string | null
|
|
46
47
|
}
|
|
47
48
|
|
|
49
|
+
export type ChatHistory = {
|
|
50
|
+
exerciseId: string
|
|
51
|
+
problemId?: string
|
|
52
|
+
chatVersion?: string
|
|
53
|
+
}
|
|
54
|
+
|
|
48
55
|
export type PostMessagePayload = {
|
|
49
56
|
language: string
|
|
50
57
|
problemAnswer: string[]
|
|
@@ -56,11 +63,7 @@ export type PostMessagePayload = {
|
|
|
56
63
|
imageCdnId?: string
|
|
57
64
|
freeTextMessage?: string
|
|
58
65
|
conversationId?: string | null
|
|
59
|
-
chatHistory?:
|
|
60
|
-
exerciseId: string
|
|
61
|
-
problemId: string
|
|
62
|
-
chatVersion?: string
|
|
63
|
-
}
|
|
66
|
+
chatHistory?: ChatHistory
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
export type PostMessageResponse = {
|
|
@@ -134,6 +137,7 @@ export type ChatHintResponse = {
|
|
|
134
137
|
errorCellIds?: string[]
|
|
135
138
|
errorChars?: ErrorChar[]
|
|
136
139
|
}
|
|
140
|
+
|
|
137
141
|
export type ErrorSpottingPayload = {
|
|
138
142
|
strokes: FullStrokeData[]
|
|
139
143
|
problemDescription: string
|
|
@@ -141,6 +145,7 @@ export type ErrorSpottingPayload = {
|
|
|
141
145
|
userAnswer: string | string[]
|
|
142
146
|
hint: string
|
|
143
147
|
}
|
|
148
|
+
|
|
144
149
|
export type ErrorSpottingResponse = {
|
|
145
150
|
highlightedStrokeIds: string[]
|
|
146
151
|
}
|
|
@@ -3,7 +3,6 @@ export * from './basic.constants'
|
|
|
3
3
|
export * from './basicPlus.constants'
|
|
4
4
|
export * from './basicPlusPlus.constants'
|
|
5
5
|
export * from './currency.constants'
|
|
6
|
-
export * from './geometry.constants'
|
|
7
6
|
export * from './numpad.constants'
|
|
8
7
|
export * from './time.constants'
|
|
9
8
|
export * from './underlined.constants'
|
|
@@ -18,7 +18,6 @@ import {
|
|
|
18
18
|
KEYBOARD_BASIC_PLUS,
|
|
19
19
|
KEYBOARD_BASIC_PLUS_PLUS,
|
|
20
20
|
KEYBOARD_CURRENCY,
|
|
21
|
-
KEYBOARD_GEOMETRY,
|
|
22
21
|
KEYBOARD_LENGTH,
|
|
23
22
|
KEYBOARD_NUMPAD,
|
|
24
23
|
KEYBOARD_TIME,
|
|
@@ -45,7 +44,6 @@ const PRESET_DOT_MIXED: KeyboardPresetConfig = {
|
|
|
45
44
|
[KeyboardType.BasicPlusPlusMobile]: KEYBOARD_BASIC_PLUS_PLUS.MOBILE_DOT,
|
|
46
45
|
[KeyboardType.BasicUnits]: { keys: KEYBOARD_LENGTH.MIXED.keys[0] },
|
|
47
46
|
[KeyboardType.AlgebraAdvanced]: KEYBOARD_ALGEBRA,
|
|
48
|
-
[KeyboardType.Geometry]: KEYBOARD_GEOMETRY,
|
|
49
47
|
[KeyboardType.Numpad]: KEYBOARD_NUMPAD.DOT,
|
|
50
48
|
[KeyboardType.Underlined]: KEYBOARD_UNDERLINED,
|
|
51
49
|
},
|
|
@@ -67,7 +65,6 @@ const PRESET_COMMA_METRIC: KeyboardPresetConfig = {
|
|
|
67
65
|
[KeyboardType.BasicPlusPlusMobile]: KEYBOARD_BASIC_PLUS_PLUS.MOBILE_COMMA,
|
|
68
66
|
[KeyboardType.BasicUnits]: { keys: KEYBOARD_LENGTH.METRIC.keys[0] },
|
|
69
67
|
[KeyboardType.AlgebraAdvanced]: KEYBOARD_ALGEBRA,
|
|
70
|
-
[KeyboardType.Geometry]: KEYBOARD_GEOMETRY,
|
|
71
68
|
[KeyboardType.Numpad]: KEYBOARD_NUMPAD.COMMA,
|
|
72
69
|
[KeyboardType.Underlined]: KEYBOARD_UNDERLINED,
|
|
73
70
|
},
|
|
@@ -5,7 +5,6 @@ import { TimeBasicLayout } from '../components/BasicLayout/TimeBasicLayout'
|
|
|
5
5
|
import { CurrencyBasicLayout } from '../components/BasicLayout/CurrencyBasicLayout'
|
|
6
6
|
import { UnitsLayout } from '../components/UnitsLayout/UnitsLayout'
|
|
7
7
|
import { BasicPlusPlusLayout } from '../components/BasicPlusPlusLayout/BasicPlusPlusLayout'
|
|
8
|
-
import { GeometryLayout } from '../components/GeometryLayout/GeometryLayout'
|
|
9
8
|
import { MyScriptMathCharacterTypes } from '../../../types/characterTypes'
|
|
10
9
|
import { MOBILE_LAYOUT_WIDTH } from './keyboard.constants'
|
|
11
10
|
import { KeyboardType } from '../types/types'
|
|
@@ -56,16 +55,11 @@ export const KEYBOARD_LAYOUTS = {
|
|
|
56
55
|
},
|
|
57
56
|
[KeyboardType.BasicPlusPlus]: {
|
|
58
57
|
Component: BasicPlusPlusLayout,
|
|
59
|
-
characterTypes: [] as MyScriptMathCharacterTypes[],
|
|
60
|
-
mobileBreakpoint: 1220,
|
|
61
|
-
},
|
|
62
|
-
[KeyboardType.Geometry]: {
|
|
63
|
-
Component: GeometryLayout,
|
|
64
58
|
characterTypes: [
|
|
65
59
|
MyScriptMathCharacterTypes.GEOM_ANGLES,
|
|
66
60
|
MyScriptMathCharacterTypes.GEOM_COORDINATE,
|
|
67
61
|
],
|
|
68
|
-
mobileBreakpoint:
|
|
62
|
+
mobileBreakpoint: 1220,
|
|
69
63
|
},
|
|
70
64
|
}
|
|
71
65
|
|
|
@@ -101,7 +95,7 @@ export function isBasicPlusPlusLayout(charType?: number) {
|
|
|
101
95
|
}
|
|
102
96
|
|
|
103
97
|
return (
|
|
104
|
-
KEYBOARD_LAYOUTS[KeyboardType.
|
|
98
|
+
KEYBOARD_LAYOUTS[KeyboardType.BasicPlusPlus].characterTypes.includes(charType) ||
|
|
105
99
|
KEYBOARD_LAYOUTS[KeyboardType.AlgebraAdvanced].characterTypes.includes(charType)
|
|
106
100
|
)
|
|
107
101
|
}
|
|
@@ -5,15 +5,6 @@ import { DegreeIcon } from '../../../../shared/icons/keyboard/DegreeIcon'
|
|
|
5
5
|
import { AngleIcon } from '../../../../shared/icons/keyboard/AngleIcon'
|
|
6
6
|
import { ParallelIcon } from '../../../../shared/icons/keyboard/ParallelIcon'
|
|
7
7
|
import { PerpendicularIcon } from '../../../../shared/icons/keyboard/PerpendicularIcon'
|
|
8
|
-
import { TriangleIcon } from '../../../../shared/icons/keyboard/TriangleIcon'
|
|
9
|
-
import { ThereforeIcon } from '../../../../shared/icons/keyboard/ThereforeIcon'
|
|
10
|
-
import { ImpliesIcon } from '../../../../shared/icons/keyboard/ImpliesIcon'
|
|
11
|
-
import { LineSegmentIcon } from '../../../../shared/icons/keyboard/LineSegmentIcon'
|
|
12
|
-
import { RightDirectedSegmentIcon } from '../../../../shared/icons/keyboard/RightDirectedSegmentIcon'
|
|
13
|
-
import { BidirectionalSegmentIcon } from '../../../../shared/icons/keyboard/BidirectionalSegmentIcon'
|
|
14
|
-
import { LetterAIcon } from '../../../../shared/icons/keyboard/LetterAIcon'
|
|
15
|
-
import { LetterBIcon } from '../../../../shared/icons/keyboard/LetterBIcon'
|
|
16
|
-
import { LetterCIcon } from '../../../../shared/icons/keyboard/LetterCIcon'
|
|
17
8
|
import { DEFAULT_KEY_ICON_PROPS } from '../keyboard.constants'
|
|
18
9
|
|
|
19
10
|
export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
|
|
@@ -23,7 +14,7 @@ export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
|
|
|
23
14
|
katexValue: '°',
|
|
24
15
|
},
|
|
25
16
|
ANGLE: {
|
|
26
|
-
icon: <AngleIcon {...DEFAULT_KEY_ICON_PROPS}
|
|
17
|
+
icon: <AngleIcon {...DEFAULT_KEY_ICON_PROPS} />,
|
|
27
18
|
mathliveValue: '\\angle',
|
|
28
19
|
katexValue: '∠',
|
|
29
20
|
},
|
|
@@ -54,55 +45,4 @@ export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
|
|
|
54
45
|
},
|
|
55
46
|
},
|
|
56
47
|
},
|
|
57
|
-
TRIANGLE: {
|
|
58
|
-
icon: <TriangleIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
59
|
-
mathliveValue: '\\triangle',
|
|
60
|
-
katexValue: '△',
|
|
61
|
-
},
|
|
62
|
-
THEREFORE: {
|
|
63
|
-
icon: <ThereforeIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
64
|
-
mathliveValue: '\\therefore',
|
|
65
|
-
katexValue: '∴',
|
|
66
|
-
},
|
|
67
|
-
IMPLIES: {
|
|
68
|
-
icon: <ImpliesIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
69
|
-
mathliveValue: '\\Rightarrow',
|
|
70
|
-
katexValue: '⇒',
|
|
71
|
-
},
|
|
72
|
-
LINE_SEGMENT: {
|
|
73
|
-
icon: <LineSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
74
|
-
mathliveValue: '\\overline{\\placeholder{}}',
|
|
75
|
-
katexValue: 'LINE_SEGMENT',
|
|
76
|
-
spreadsheetValue: 'LINE_SEGMENT',
|
|
77
|
-
isSpecialSymbol: true,
|
|
78
|
-
},
|
|
79
|
-
RIGHT_DIRECTED_SEGMENT: {
|
|
80
|
-
icon: <RightDirectedSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
81
|
-
mathliveValue: '\\overrightarrow{\\placeholder{}}',
|
|
82
|
-
katexValue: 'RIGHT_DIRECTED_SEGMENT',
|
|
83
|
-
spreadsheetValue: 'RIGHT_DIRECTED_SEGMENT',
|
|
84
|
-
isSpecialSymbol: true,
|
|
85
|
-
},
|
|
86
|
-
BIDIRECTIONAL_SEGMENT: {
|
|
87
|
-
icon: <BidirectionalSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
88
|
-
mathliveValue: '\\overleftrightarrow{\\placeholder{}}',
|
|
89
|
-
katexValue: 'BIDIRECTIONAL_SEGMENT',
|
|
90
|
-
spreadsheetValue: 'BIDIRECTIONAL_SEGMENT',
|
|
91
|
-
isSpecialSymbol: true,
|
|
92
|
-
},
|
|
93
|
-
A: {
|
|
94
|
-
icon: <LetterAIcon {...DEFAULT_KEY_ICON_PROPS} />,
|
|
95
|
-
mathliveValue: '𝐴',
|
|
96
|
-
katexValue: 'A',
|
|
97
|
-
},
|
|
98
|
-
B: {
|
|
99
|
-
icon: <LetterBIcon {...DEFAULT_KEY_ICON_PROPS} />,
|
|
100
|
-
mathliveValue: '𝐵',
|
|
101
|
-
katexValue: 'B',
|
|
102
|
-
},
|
|
103
|
-
C: {
|
|
104
|
-
icon: <LetterCIcon {...DEFAULT_KEY_ICON_PROPS} />,
|
|
105
|
-
mathliveValue: '𝐶',
|
|
106
|
-
katexValue: 'C',
|
|
107
|
-
},
|
|
108
48
|
} as const
|
|
@@ -7,19 +7,19 @@ import { DEFAULT_KEY_ICON_PROPS } from '../keyboard.constants'
|
|
|
7
7
|
|
|
8
8
|
export const MATH_TEXT_SYMBOLS: MathOperatorsGroup = {
|
|
9
9
|
A: {
|
|
10
|
-
label: '
|
|
11
|
-
mathliveValue: '
|
|
12
|
-
katexValue: '
|
|
10
|
+
label: 'a',
|
|
11
|
+
mathliveValue: 'a',
|
|
12
|
+
katexValue: 'a',
|
|
13
13
|
},
|
|
14
14
|
B: {
|
|
15
|
-
label: '
|
|
16
|
-
mathliveValue: '
|
|
17
|
-
katexValue: '
|
|
15
|
+
label: 'b',
|
|
16
|
+
mathliveValue: 'b',
|
|
17
|
+
katexValue: 'b',
|
|
18
18
|
},
|
|
19
19
|
C: {
|
|
20
|
-
label: '
|
|
21
|
-
mathliveValue: '
|
|
22
|
-
katexValue: '
|
|
20
|
+
label: 'c',
|
|
21
|
+
mathliveValue: 'c',
|
|
22
|
+
katexValue: 'c',
|
|
23
23
|
},
|
|
24
24
|
F: {
|
|
25
25
|
label: 'f',
|
|
@@ -2,13 +2,11 @@ import React from 'react'
|
|
|
2
2
|
import { IconProps } from './icon.types'
|
|
3
3
|
import Svg, { Path } from 'react-native-svg'
|
|
4
4
|
|
|
5
|
-
const ASPECT_RATIO = 20 / 18
|
|
6
|
-
|
|
7
5
|
export const AngleIcon = ({ size = 20, color }: IconProps) => {
|
|
8
6
|
return (
|
|
9
|
-
<Svg width={size} height={size
|
|
7
|
+
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
10
8
|
<Path
|
|
11
|
-
d="
|
|
9
|
+
d="M8.94912 6.74144C9.20676 6.46187 9.63941 6.41761 9.9501 6.65062C10.2606 6.88377 10.3389 7.31141 10.1425 7.63695L10.0995 7.70043L6.49991 12.5002H10.9999C11.4141 12.5002 11.7499 12.836 11.7499 13.2502C11.7499 13.6644 11.4141 14.0002 10.9999 14.0002H4.99991C4.71583 14.0002 4.45605 13.8393 4.32901 13.5852C4.20219 13.3312 4.22994 13.0272 4.4003 12.8L8.9003 6.80004L8.94912 6.74144Z"
|
|
12
10
|
fill={color}
|
|
13
11
|
/>
|
|
14
12
|
</Svg>
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path
|
|
3
|
+
import Svg, { Path } from 'react-native-svg'
|
|
4
4
|
|
|
5
|
-
const ASPECT_RATIO =
|
|
5
|
+
const ASPECT_RATIO = 20 / 21
|
|
6
6
|
|
|
7
7
|
export const BidirectionalSegmentIcon = ({ size = 20, color }: IconProps) => {
|
|
8
8
|
return (
|
|
9
|
-
<Svg width={size} height={size
|
|
9
|
+
<Svg width={size * ASPECT_RATIO} height={size} viewBox="0 0 20 21" fill="none">
|
|
10
10
|
<Path
|
|
11
|
-
d="M16.
|
|
11
|
+
d="M16.6464 0.146692C16.8173 -0.0241721 17.0813 -0.0459256 17.2754 0.0822385L17.3535 0.146692L19.3535 2.14669L19.4179 2.22482C19.5461 2.4189 19.5243 2.68286 19.3535 2.85372L17.3535 4.85372C17.1582 5.04899 16.8417 5.04899 16.6464 4.85372C16.4512 4.65846 16.4512 4.34195 16.6464 4.14669L17.7929 3.00021H2.20699L3.35348 4.14669L3.41793 4.22482C3.5461 4.4189 3.52434 4.68286 3.35348 4.85372C3.18261 5.02459 2.91865 5.04634 2.72457 4.91818L2.64645 4.85372L0.646447 2.85372C0.451184 2.65846 0.451184 2.34195 0.646447 2.14669L2.64645 0.146692L2.72457 0.0822385C2.91865 -0.0459256 3.18261 -0.0241721 3.35348 0.146692C3.52434 0.317555 3.5461 0.581519 3.41793 0.775598L3.35348 0.853723L2.20699 2.00021H17.7929L16.6464 0.853723L16.582 0.775598C16.4538 0.581519 16.4756 0.317555 16.6464 0.146692Z"
|
|
12
|
+
fill={color}
|
|
13
|
+
/>
|
|
14
|
+
<Path
|
|
15
|
+
d="M8.07948 17L7.70148 14.55H3.52948L2.01748 17H0.407484L6.55348 7.2H7.91149L9.52148 17H8.07948ZM4.32748 13.22H7.51948L6.87548 9.09L4.32748 13.22ZM16.4822 7.2C18.0922 7.2 18.8762 8.236 18.8762 9.342C18.8762 10.434 18.1762 11.54 16.8322 11.82C17.9662 12.128 18.4842 12.996 18.4842 13.906C18.4842 15.432 17.1402 17 14.8162 17H11.0502L13.3182 7.2H16.4822ZM12.7582 15.698H14.9842C16.3842 15.698 17.0562 14.788 17.0562 13.906C17.0562 13.164 16.4822 12.506 15.4042 12.506H13.5002L12.7582 15.698ZM13.7522 11.358H15.5722C16.7762 11.358 17.4482 10.49 17.4482 9.692C17.4482 8.95 16.9862 8.502 16.0202 8.502H14.4102L13.7522 11.358Z"
|
|
12
16
|
fill={color}
|
|
13
17
|
/>
|
|
14
|
-
<Rect x="4.8801" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
|
|
15
18
|
</Svg>
|
|
16
19
|
)
|
|
17
20
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path
|
|
4
|
-
|
|
5
|
-
const ASPECT_RATIO = 19 / 20
|
|
3
|
+
import Svg, { Path } from 'react-native-svg'
|
|
6
4
|
|
|
7
5
|
export const LineSegmentIcon = ({ size = 20, color }: IconProps) => {
|
|
8
6
|
return (
|
|
9
|
-
<Svg width={size} height={size
|
|
7
|
+
<Svg width={size} height={size} viewBox="0 0 20 20" fill="none">
|
|
8
|
+
<Path
|
|
9
|
+
d="M19 1C19.2761 1 19.5 1.22386 19.5 1.5C19.5 1.77614 19.2761 2 19 2H1C0.723858 2 0.5 1.77614 0.5 1.5C0.5 1.22386 0.723858 1 1 1H19Z"
|
|
10
|
+
fill={color}
|
|
11
|
+
/>
|
|
10
12
|
<Path
|
|
11
|
-
d="
|
|
13
|
+
d="M8.07948 16L7.70148 13.55H3.52948L2.01748 16H0.407484L6.55348 6.2H7.91149L9.52148 16H8.07948ZM4.32748 12.22H7.51948L6.87548 8.09L4.32748 12.22ZM16.4822 6.2C18.0922 6.2 18.8762 7.236 18.8762 8.342C18.8762 9.434 18.1762 10.54 16.8322 10.82C17.9662 11.128 18.4842 11.996 18.4842 12.906C18.4842 14.432 17.1402 16 14.8162 16H11.0502L13.3182 6.2H16.4822ZM12.7582 14.698H14.9842C16.3842 14.698 17.0562 13.788 17.0562 12.906C17.0562 12.164 16.4822 11.506 15.4042 11.506H13.5002L12.7582 14.698ZM13.7522 10.358H15.5722C16.7762 10.358 17.4482 9.49 17.4482 8.692C17.4482 7.95 16.9862 7.502 16.0202 7.502H14.4102L13.7522 10.358Z"
|
|
12
14
|
fill={color}
|
|
13
15
|
/>
|
|
14
|
-
<Rect x="4.88" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
|
|
15
16
|
</Svg>
|
|
16
17
|
)
|
|
17
18
|
}
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path
|
|
3
|
+
import Svg, { Path } from 'react-native-svg'
|
|
4
4
|
|
|
5
|
-
const ASPECT_RATIO =
|
|
5
|
+
const ASPECT_RATIO = 20 / 21
|
|
6
6
|
|
|
7
7
|
export const RightDirectedSegmentIcon = ({ size = 20, color }: IconProps) => {
|
|
8
8
|
return (
|
|
9
|
-
<Svg width={size} height={size
|
|
9
|
+
<Svg width={size * ASPECT_RATIO} height={size} viewBox="0 0 20 21" fill="none">
|
|
10
10
|
<Path
|
|
11
|
-
d="M16.
|
|
11
|
+
d="M16.6465 0.146692C16.8173 -0.0241721 17.0813 -0.0459256 17.2754 0.0822385L17.3535 0.146692L19.3535 2.14669L19.418 2.22482C19.5461 2.4189 19.5244 2.68286 19.3535 2.85372L17.3535 4.85372C17.1583 5.04899 16.8417 5.04899 16.6465 4.85372C16.4512 4.65846 16.4512 4.34195 16.6465 4.14669L17.793 3.00021H1C0.723858 3.00021 0.5 2.77635 0.5 2.50021C0.5 2.22406 0.723858 2.00021 1 2.00021H17.793L16.6465 0.853723L16.582 0.775598C16.4539 0.581519 16.4756 0.317555 16.6465 0.146692Z"
|
|
12
|
+
fill={color}
|
|
13
|
+
/>
|
|
14
|
+
<Path
|
|
15
|
+
d="M8.07948 17L7.70148 14.55H3.52948L2.01748 17H0.407484L6.55348 7.2H7.91149L9.52148 17H8.07948ZM4.32748 13.22H7.51948L6.87548 9.09L4.32748 13.22ZM16.4822 7.2C18.0922 7.2 18.8762 8.236 18.8762 9.342C18.8762 10.434 18.1762 11.54 16.8322 11.82C17.9662 12.128 18.4842 12.996 18.4842 13.906C18.4842 15.432 17.1402 17 14.8162 17H11.0502L13.3182 7.2H16.4822ZM12.7582 15.698H14.9842C16.3842 15.698 17.0562 14.788 17.0562 13.906C17.0562 13.164 16.4822 12.506 15.4042 12.506H13.5002L12.7582 15.698ZM13.7522 11.358H15.5722C16.7762 11.358 17.4482 10.49 17.4482 9.692C17.4482 8.95 16.9862 8.502 16.0202 8.502H14.4102L13.7522 11.358Z"
|
|
12
16
|
fill={color}
|
|
13
17
|
/>
|
|
14
|
-
<Rect x="4.8801" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
|
|
15
18
|
</Svg>
|
|
16
19
|
)
|
|
17
20
|
}
|