@magmamath/students-features 0.5.4 → 0.5.5
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/celebrations/components/ParticleBatch.js.map +1 -1
- package/dist/commonjs/features/celebrations/components/Spark.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/SparkIcon.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/ThumbUpIcon.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js +52 -0
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js +64 -0
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/index.js +20 -0
- package/dist/commonjs/features/formulaSheet/index.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/model/api.model.js +15 -0
- package/dist/commonjs/features/formulaSheet/model/api.model.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/model/file.model.js +19 -0
- package/dist/commonjs/features/formulaSheet/model/file.model.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/model/modal.model.js +15 -0
- package/dist/commonjs/features/formulaSheet/model/modal.model.js.map +1 -0
- package/dist/commonjs/features/formulaSheet/model/model.js +35 -0
- package/dist/commonjs/features/formulaSheet/model/model.js.map +1 -0
- package/dist/commonjs/index.js +12 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/shared/icons/Halloween.js.map +1 -1
- package/dist/commonjs/shared/icons/MessageBubbleIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/Pi.js.map +1 -1
- package/dist/commonjs/shared/icons/Star.js.map +1 -1
- package/dist/commonjs/shared/icons/Valentine.js.map +1 -1
- package/dist/commonjs/shared/icons/Winter.js.map +1 -1
- package/dist/commonjs/shared/icons/XCloseIcon.js.map +1 -1
- package/dist/module/features/celebrations/components/ParticleBatch.js.map +1 -1
- package/dist/module/features/celebrations/components/Spark.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/assets/SunrisingIcon.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/assets/TrophyIcon.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/SparkIcon.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/ThumbUpIcon.js.map +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheet.js +46 -0
- package/dist/module/features/formulaSheet/components/FormulaSheet.js.map +1 -0
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js +58 -0
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js.map +1 -0
- package/dist/module/features/formulaSheet/index.js +5 -0
- package/dist/module/features/formulaSheet/index.js.map +1 -0
- package/dist/module/features/formulaSheet/model/api.model.js +10 -0
- package/dist/module/features/formulaSheet/model/api.model.js.map +1 -0
- package/dist/module/features/formulaSheet/model/file.model.js +14 -0
- package/dist/module/features/formulaSheet/model/file.model.js.map +1 -0
- package/dist/module/features/formulaSheet/model/modal.model.js +10 -0
- package/dist/module/features/formulaSheet/model/modal.model.js.map +1 -0
- package/dist/module/features/formulaSheet/model/model.js +30 -0
- package/dist/module/features/formulaSheet/model/model.js.map +1 -0
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/shared/icons/Halloween.js.map +1 -1
- package/dist/module/shared/icons/MessageBubbleIcon.js.map +1 -1
- package/dist/module/shared/icons/Pi.js.map +1 -1
- package/dist/module/shared/icons/Star.js.map +1 -1
- package/dist/module/shared/icons/Valentine.js.map +1 -1
- package/dist/module/shared/icons/Winter.js.map +1 -1
- package/dist/module/shared/icons/XCloseIcon.js.map +1 -1
- package/dist/typescript/commonjs/features/celebrations/components/ParticleBatch.d.ts +1 -1
- package/dist/typescript/commonjs/features/celebrations/components/ParticleBatch.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/celebrations/components/Spark.d.ts +1 -1
- package/dist/typescript/commonjs/features/celebrations/components/Spark.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/SparkIcon.d.ts +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/SparkIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/ThumbUpIcon.d.ts +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/ThumbUpIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheet.d.ts +15 -0
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheetModal.d.ts +10 -0
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/index.d.ts +3 -0
- package/dist/typescript/commonjs/features/formulaSheet/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/api.model.d.ts +9 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/api.model.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/file.model.d.ts +14 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/file.model.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/modal.model.d.ts +7 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/modal.model.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/model.d.ts +14 -0
- package/dist/typescript/commonjs/features/formulaSheet/model/model.d.ts.map +1 -0
- package/dist/typescript/commonjs/index.d.ts +1 -0
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/Halloween.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/Halloween.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/MessageBubbleIcon.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/MessageBubbleIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/Pi.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/Pi.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/Star.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/Star.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/Valentine.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/Valentine.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/Winter.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/Winter.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/XCloseIcon.d.ts +1 -1
- package/dist/typescript/commonjs/shared/icons/XCloseIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/celebrations/components/ParticleBatch.d.ts +1 -1
- package/dist/typescript/module/features/celebrations/components/ParticleBatch.d.ts.map +1 -1
- package/dist/typescript/module/features/celebrations/components/Spark.d.ts +1 -1
- package/dist/typescript/module/features/celebrations/components/Spark.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/SparkIcon.d.ts +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/SparkIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/ThumbUpIcon.d.ts +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/ThumbUpIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheet.d.ts +15 -0
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheetModal.d.ts +10 -0
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/index.d.ts +3 -0
- package/dist/typescript/module/features/formulaSheet/index.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/model/api.model.d.ts +9 -0
- package/dist/typescript/module/features/formulaSheet/model/api.model.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/model/file.model.d.ts +14 -0
- package/dist/typescript/module/features/formulaSheet/model/file.model.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/model/modal.model.d.ts +7 -0
- package/dist/typescript/module/features/formulaSheet/model/modal.model.d.ts.map +1 -0
- package/dist/typescript/module/features/formulaSheet/model/model.d.ts +14 -0
- package/dist/typescript/module/features/formulaSheet/model/model.d.ts.map +1 -0
- package/dist/typescript/module/index.d.ts +1 -0
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/Halloween.d.ts +1 -1
- package/dist/typescript/module/shared/icons/Halloween.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/MessageBubbleIcon.d.ts +1 -1
- package/dist/typescript/module/shared/icons/MessageBubbleIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/Pi.d.ts +1 -1
- package/dist/typescript/module/shared/icons/Pi.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/Star.d.ts +1 -1
- package/dist/typescript/module/shared/icons/Star.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/Valentine.d.ts +1 -1
- package/dist/typescript/module/shared/icons/Valentine.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/Winter.d.ts +1 -1
- package/dist/typescript/module/shared/icons/Winter.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/XCloseIcon.d.ts +1 -1
- package/dist/typescript/module/shared/icons/XCloseIcon.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/features/celebrations/components/ParticleBatch.tsx +1 -1
- package/src/features/celebrations/components/Spark.tsx +4 -4
- package/src/features/endOfAssignment/components/Modal/assets/SunrisingIcon.tsx +74 -74
- package/src/features/endOfAssignment/components/Modal/assets/TrophyIcon.tsx +24 -24
- package/src/features/endOfAssignment/ui/SparkIcon.tsx +1 -2
- package/src/features/endOfAssignment/ui/ThumbUpIcon.tsx +2 -2
- package/src/features/formulaSheet/components/FormulaSheet.tsx +74 -0
- package/src/features/formulaSheet/components/FormulaSheetModal.tsx +64 -0
- package/src/features/formulaSheet/index.ts +2 -0
- package/src/features/formulaSheet/model/api.model.ts +13 -0
- package/src/features/formulaSheet/model/file.model.ts +18 -0
- package/src/features/formulaSheet/model/modal.model.ts +10 -0
- package/src/features/formulaSheet/model/model.ts +31 -0
- package/src/index.ts +1 -0
- package/src/shared/icons/Halloween.tsx +2 -2
- package/src/shared/icons/MessageBubbleIcon.tsx +6 -5
- package/src/shared/icons/Pi.tsx +2 -1
- package/src/shared/icons/Star.tsx +2 -1
- package/src/shared/icons/Valentine.tsx +2 -1
- package/src/shared/icons/Winter.tsx +2 -2
- package/src/shared/icons/XCloseIcon.tsx +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","jsx","_jsx","jsxs","_jsxs","TrophyIcon","props","height","size","width","viewBox","fill","children","d","opacity"],"sourceRoot":"../../../../../../../src","sources":["features/endOfAssignment/components/Modal/assets/TrophyIcon.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","jsx","_jsx","jsxs","_jsxs","TrophyIcon","props","height","size","width","viewBox","fill","children","d","opacity"],"sourceRoot":"../../../../../../../src","sources":["features/endOfAssignment/components/Modal/assets/TrophyIcon.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAG5C,OAAO,MAAMC,UAAU,GAAIC,KAAgB,IAAK;EAC9C,MAAMC,MAAM,GAAG,CAACD,KAAK,CAACE,IAAI,IAAI,CAAC,IAAI,KAAK;EAExC,oBACEJ,KAAA,CAACL,GAAG;IAACU,KAAK,EAAEH,KAAK,CAACE,IAAK;IAACD,MAAM,EAAEA,MAAO;IAACG,OAAO,EAAC,aAAa;IAACC,IAAI,EAAC,MAAM;IAAA,GAAKL,KAAK;IAAAM,QAAA,gBACjFV,IAAA,CAACF,IAAI;MACHa,CAAC,EAAC,sxCAAsxC;MACxxCF,IAAI,EAAC;IAAS,CACf,CAAC,eACFT,IAAA,CAACF,IAAI;MACHc,OAAO,EAAE,GAAI;MACbD,CAAC,EAAC,iWAAiW;MACnWF,IAAI,EAAC;IAAS,CACf,CAAC,eACFT,IAAA,CAACF,IAAI;MACHa,CAAC,EAAC,iaAAia;MACnaF,IAAI,EAAC;IAAS,CACf,CAAC,eACFT,IAAA,CAACF,IAAI;MACHc,OAAO,EAAE,GAAI;MACbD,CAAC,EAAC,qYAAqY;MACvYF,IAAI,EAAC;IAAS,CACf,CAAC,eACFT,IAAA,CAACF,IAAI;MACHa,CAAC,EAAC,+HAA+H;MACjIF,IAAI,EAAC;IAAS,CACf,CAAC,eACFT,IAAA,CAACF,IAAI;MACHc,OAAO,EAAE,GAAI;MACbD,CAAC,EAAC,6HAA6H;MAC/HF,IAAI,EAAC;IAAS,CACf,CAAC,eACFT,IAAA,CAACF,IAAI;MACHa,CAAC,EAAC,4JAA4J;MAC9JF,IAAI,EAAC;IAAS,CACf,CAAC,eACFT,IAAA,CAACF,IAAI;MACHc,OAAO,EAAE,GAAI;MACbD,CAAC,EAAC,uMAAuM;MACzMF,IAAI,EAAC;IAAM,CACZ,CAAC,eACFT,IAAA,CAACF,IAAI;MACHa,CAAC,EAAC,8LAA8L;MAChMF,IAAI,EAAC;IAAS,CACf,CAAC,eACFT,IAAA,CAACF,IAAI;MACHc,OAAO,EAAE,GAAI;MACbD,CAAC,EAAC,uKAAuK;MACzKF,IAAI,EAAC;IAAS,CACf,CAAC,eACFT,IAAA,CAACF,IAAI;MACHc,OAAO,EAAE,GAAI;MACbD,CAAC,EAAC,8sBAA8sB;MAChtBF,IAAI,EAAC;IAAM,CACZ,CAAC;EAAA,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","jsx","_jsx","SparkIcon","size","color","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/ui/SparkIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","jsx","_jsx","SparkIcon","size","color","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/ui/SparkIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAG5C,OAAO,MAAMC,SAAS,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAC5D,oBACEH,IAAA,CAACH,GAAG;IAACO,KAAK,EAAEF,IAAK;IAACG,MAAM,EAAEH,IAAK;IAACI,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DR,IAAA,CAACF,IAAI;MACHW,CAAC,EAAC,0QAA0Q;MAC5QF,IAAI,EAAEJ;IAAM,CACb;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","COLORS","Svg","Path","jsx","_jsx","ThumbUpIcon","size","color","NEUTRAL_1","width","height","viewBox","fill","children","fillRule","clipRule","d"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/ui/ThumbUpIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;
|
|
1
|
+
{"version":3,"names":["React","COLORS","Svg","Path","jsx","_jsx","ThumbUpIcon","size","color","NEUTRAL_1","width","height","viewBox","fill","children","fillRule","clipRule","d"],"sourceRoot":"../../../../../src","sources":["features/endOfAssignment/ui/ThumbUpIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,4BAA4B;AACnD,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAG5C,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGP,MAAM,CAACQ;AAAqB,CAAC,KAAK;EACjF,oBACEJ,IAAA,CAACH,GAAG;IAACQ,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DT,IAAA,CAACF,IAAI;MACHY,QAAQ,EAAC,SAAS;MAClBC,QAAQ,EAAC,SAAS;MAClBC,CAAC,EAAC,itCAAitC;MACntCJ,IAAI,EAAEL;IAAM,CACb;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { forwardRef, useEffect } from 'react';
|
|
4
|
+
import { useUnit } from 'effector-react';
|
|
5
|
+
import { Button, ButtonColor, ButtonSize, ButtonVariant, COLORS, TheoryIcon, LoaderColor } from '@magmamath/react-native-ui';
|
|
6
|
+
import { FormulaSheetModal } from "./FormulaSheetModal.js";
|
|
7
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
export const FormulaSheet = /*#__PURE__*/forwardRef(({
|
|
9
|
+
model,
|
|
10
|
+
fileId,
|
|
11
|
+
renderer,
|
|
12
|
+
buttonSize = ButtonSize.MEDIUM,
|
|
13
|
+
buttonColor = ButtonColor.BLUE,
|
|
14
|
+
loaderColor = LoaderColor.BLUE,
|
|
15
|
+
onPress
|
|
16
|
+
}, ref) => {
|
|
17
|
+
const isOpen = useUnit(model.modal.$isOpen);
|
|
18
|
+
const sheetFileBlob = useUnit(model.file.$blob);
|
|
19
|
+
const isRequestPending = useUnit(model.api.getPDFFileBlobFx.pending);
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
model.file.setId(fileId ?? null);
|
|
22
|
+
}, [fileId]);
|
|
23
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
24
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
25
|
+
ref: ref,
|
|
26
|
+
size: buttonSize,
|
|
27
|
+
variant: ButtonVariant.SECONDARY,
|
|
28
|
+
colorScheme: buttonColor,
|
|
29
|
+
isActive: isOpen,
|
|
30
|
+
onPress: () => {
|
|
31
|
+
model.modal.toggle();
|
|
32
|
+
onPress?.();
|
|
33
|
+
},
|
|
34
|
+
icon: /*#__PURE__*/_jsx(TheoryIcon, {
|
|
35
|
+
color: isOpen ? COLORS.NEUTRAL_1 : undefined,
|
|
36
|
+
size: 20
|
|
37
|
+
})
|
|
38
|
+
}), isOpen && /*#__PURE__*/_jsx(FormulaSheetModal, {
|
|
39
|
+
isLoading: isRequestPending,
|
|
40
|
+
loaderColor: loaderColor,
|
|
41
|
+
onClose: () => model.modal.setIsOpen(false),
|
|
42
|
+
children: renderer(sheetFileBlob ?? '')
|
|
43
|
+
})]
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
//# sourceMappingURL=FormulaSheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","forwardRef","useEffect","useUnit","Button","ButtonColor","ButtonSize","ButtonVariant","COLORS","TheoryIcon","LoaderColor","FormulaSheetModal","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","FormulaSheet","model","fileId","renderer","buttonSize","MEDIUM","buttonColor","BLUE","loaderColor","onPress","ref","isOpen","modal","$isOpen","sheetFileBlob","file","$blob","isRequestPending","api","getPDFFileBlobFx","pending","setId","children","size","variant","SECONDARY","colorScheme","isActive","toggle","icon","color","NEUTRAL_1","undefined","isLoading","onClose","setIsOpen"],"sourceRoot":"../../../../../src","sources":["features/formulaSheet/components/FormulaSheet.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAaC,SAAS,QAAQ,OAAO;AAC/D,SAASC,OAAO,QAAQ,gBAAgB;AACxC,SACEC,MAAM,EACNC,WAAW,EACXC,UAAU,EACVC,aAAa,EACbC,MAAM,EACNC,UAAU,EAEVC,WAAW,QACN,4BAA4B;AAEnC,SAASC,iBAAiB,QAAQ,wBAAqB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAYvD,OAAO,MAAMC,YAAY,gBAAGjB,UAAU,CACpC,CACE;EACEkB,KAAK;EACLC,MAAM;EACNC,QAAQ;EACRC,UAAU,GAAGhB,UAAU,CAACiB,MAAM;EAC9BC,WAAW,GAAGnB,WAAW,CAACoB,IAAI;EAC9BC,WAAW,GAAGhB,WAAW,CAACe,IAAI;EAC9BE;AACF,CAAC,EACDC,GAAG,KACA;EACH,MAAMC,MAAM,GAAG1B,OAAO,CAACgB,KAAK,CAACW,KAAK,CAACC,OAAO,CAAC;EAC3C,MAAMC,aAAa,GAAG7B,OAAO,CAACgB,KAAK,CAACc,IAAI,CAACC,KAAK,CAAC;EAC/C,MAAMC,gBAAgB,GAAGhC,OAAO,CAACgB,KAAK,CAACiB,GAAG,CAACC,gBAAgB,CAACC,OAAO,CAAC;EAEpEpC,SAAS,CAAC,MAAM;IACdiB,KAAK,CAACc,IAAI,CAACM,KAAK,CAACnB,MAAM,IAAI,IAAI,CAAC;EAClC,CAAC,EAAE,CAACA,MAAM,CAAC,CAAC;EAEZ,oBACEH,KAAA,CAAAF,SAAA;IAAAyB,QAAA,gBACE3B,IAAA,CAACT,MAAM;MACLwB,GAAG,EAAEA,GAAI;MACTa,IAAI,EAAEnB,UAAW;MACjBoB,OAAO,EAAEnC,aAAa,CAACoC,SAAU;MACjCC,WAAW,EAAEpB,WAAY;MACzBqB,QAAQ,EAAEhB,MAAO;MACjBF,OAAO,EAAEA,CAAA,KAAM;QACbR,KAAK,CAACW,KAAK,CAACgB,MAAM,CAAC,CAAC;QACpBnB,OAAO,GAAG,CAAC;MACb,CAAE;MACFoB,IAAI,eAAElC,IAAA,CAACJ,UAAU;QAACuC,KAAK,EAAEnB,MAAM,GAAGrB,MAAM,CAACyC,SAAS,GAAGC,SAAU;QAACT,IAAI,EAAE;MAAG,CAAE;IAAE,CAC9E,CAAC,EAEDZ,MAAM,iBACLhB,IAAA,CAACF,iBAAiB;MAChBwC,SAAS,EAAEhB,gBAAiB;MAC5BT,WAAW,EAAEA,WAAY;MACzB0B,OAAO,EAAEA,CAAA,KAAMjC,KAAK,CAACW,KAAK,CAACuB,SAAS,CAAC,KAAK,CAAE;MAAAb,QAAA,EAE3CnB,QAAQ,CAACW,aAAa,IAAI,EAAE;IAAC,CACb,CACpB;EAAA,CACD,CAAC;AAEP,CACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, Modal, StyleSheet, TouchableWithoutFeedback } from 'react-native';
|
|
5
|
+
import { BORDER_RADIUS, COLORS, Loader, LoaderSize, LoaderType, SPACING } from '@magmamath/react-native-ui';
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export const FormulaSheetModal = ({
|
|
8
|
+
children,
|
|
9
|
+
loaderColor,
|
|
10
|
+
isLoading,
|
|
11
|
+
onClose
|
|
12
|
+
}) => {
|
|
13
|
+
return /*#__PURE__*/_jsx(Modal, {
|
|
14
|
+
visible: true,
|
|
15
|
+
transparent: true,
|
|
16
|
+
animationType: "none",
|
|
17
|
+
onRequestClose: onClose,
|
|
18
|
+
children: /*#__PURE__*/_jsx(TouchableWithoutFeedback, {
|
|
19
|
+
onPress: onClose,
|
|
20
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
21
|
+
style: styles.container,
|
|
22
|
+
children: /*#__PURE__*/_jsx(TouchableWithoutFeedback, {
|
|
23
|
+
onPress: event => event.stopPropagation(),
|
|
24
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
25
|
+
style: styles.content,
|
|
26
|
+
children: isLoading ? /*#__PURE__*/_jsx(Loader, {
|
|
27
|
+
type: LoaderType.PRIMARY,
|
|
28
|
+
color: loaderColor,
|
|
29
|
+
size: LoaderSize.LARGE
|
|
30
|
+
}) : children
|
|
31
|
+
})
|
|
32
|
+
})
|
|
33
|
+
})
|
|
34
|
+
})
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
const styles = StyleSheet.create({
|
|
38
|
+
container: {
|
|
39
|
+
width: '100%',
|
|
40
|
+
height: '100%',
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
justifyContent: 'center',
|
|
43
|
+
backgroundColor: 'rgba(0, 0, 0, 0.25)'
|
|
44
|
+
},
|
|
45
|
+
content: {
|
|
46
|
+
width: '100%',
|
|
47
|
+
maxWidth: 720,
|
|
48
|
+
height: '100%',
|
|
49
|
+
maxHeight: '80%',
|
|
50
|
+
alignItems: 'center',
|
|
51
|
+
justifyContent: 'center',
|
|
52
|
+
paddingHorizontal: SPACING['800'],
|
|
53
|
+
paddingVertical: SPACING['400'],
|
|
54
|
+
borderRadius: BORDER_RADIUS['400'],
|
|
55
|
+
backgroundColor: COLORS.NEUTRAL_1
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
//# sourceMappingURL=FormulaSheetModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Modal","StyleSheet","TouchableWithoutFeedback","BORDER_RADIUS","COLORS","Loader","LoaderSize","LoaderType","SPACING","jsx","_jsx","FormulaSheetModal","children","loaderColor","isLoading","onClose","visible","transparent","animationType","onRequestClose","onPress","style","styles","container","event","stopPropagation","content","type","PRIMARY","color","size","LARGE","create","width","height","alignItems","justifyContent","backgroundColor","maxWidth","maxHeight","paddingHorizontal","paddingVertical","borderRadius","NEUTRAL_1"],"sourceRoot":"../../../../../src","sources":["features/formulaSheet/components/FormulaSheetModal.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAA6B,OAAO;AAChD,SAASC,IAAI,EAAEC,KAAK,EAAEC,UAAU,EAAEC,wBAAwB,QAAQ,cAAc;AAChF,SACEC,aAAa,EACbC,MAAM,EACNC,MAAM,EAENC,UAAU,EACVC,UAAU,EACVC,OAAO,QACF,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAQnC,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAChCC,QAAQ;EACRC,WAAW;EACXC,SAAS;EACTC;AACyC,CAAC,KAAK;EAC/C,oBACEL,IAAA,CAACV,KAAK;IAACgB,OAAO;IAACC,WAAW;IAACC,aAAa,EAAC,MAAM;IAACC,cAAc,EAAEJ,OAAQ;IAAAH,QAAA,eACtEF,IAAA,CAACR,wBAAwB;MAACkB,OAAO,EAAEL,OAAQ;MAAAH,QAAA,eACzCF,IAAA,CAACX,IAAI;QAACsB,KAAK,EAAEC,MAAM,CAACC,SAAU;QAAAX,QAAA,eAC5BF,IAAA,CAACR,wBAAwB;UAACkB,OAAO,EAAGI,KAAK,IAAKA,KAAK,CAACC,eAAe,CAAC,CAAE;UAAAb,QAAA,eACpEF,IAAA,CAACX,IAAI;YAACsB,KAAK,EAAEC,MAAM,CAACI,OAAQ;YAAAd,QAAA,EACzBE,SAAS,gBACRJ,IAAA,CAACL,MAAM;cAACsB,IAAI,EAAEpB,UAAU,CAACqB,OAAQ;cAACC,KAAK,EAAEhB,WAAY;cAACiB,IAAI,EAAExB,UAAU,CAACyB;YAAM,CAAE,CAAC,GAEhFnB;UACD,CACG;QAAC,CACiB;MAAC,CACvB;IAAC,CACiB;EAAC,CACtB,CAAC;AAEZ,CAAC;AAED,MAAMU,MAAM,GAAGrB,UAAU,CAAC+B,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,MAAM;IACdC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,eAAe,EAAE;EACnB,CAAC;EACDX,OAAO,EAAE;IACPO,KAAK,EAAE,MAAM;IACbK,QAAQ,EAAE,GAAG;IACbJ,MAAM,EAAE,MAAM;IACdK,SAAS,EAAE,KAAK;IAChBJ,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBI,iBAAiB,EAAEhC,OAAO,CAAC,KAAK,CAAC;IACjCiC,eAAe,EAAEjC,OAAO,CAAC,KAAK,CAAC;IAC/BkC,YAAY,EAAEvC,aAAa,CAAC,KAAK,CAAC;IAClCkC,eAAe,EAAEjC,MAAM,CAACuC;EAC1B;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FormulaSheet","FormulaSheetModel"],"sourceRoot":"../../../../src","sources":["features/formulaSheet/index.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,8BAA2B;AACxD,SAASC,iBAAiB,QAAQ,kBAAe","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createEffect","FormulaSheetAPI","getPDFFileBlobFx","setupRequests","api","use","getPDFFileBlob"],"sourceRoot":"../../../../../src","sources":["features/formulaSheet/model/api.model.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAgB,UAAU;AAM/C,OAAO,MAAMC,eAAe,CAAC;EACXC,gBAAgB,GAA2BF,YAAY,CAAC,CAAC;EAElEG,aAAaA,CAACC,GAAyB,EAAE;IAC9C,IAAI,CAACF,gBAAgB,CAACG,GAAG,CAACD,GAAG,CAACE,cAAc,CAAC;EAC/C;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { createEvent, restore } from 'effector';
|
|
4
|
+
export class FormulaSheetFile {
|
|
5
|
+
reset = createEvent();
|
|
6
|
+
setId = createEvent();
|
|
7
|
+
$id = restore(this.setId, null);
|
|
8
|
+
constructor({
|
|
9
|
+
api
|
|
10
|
+
}) {
|
|
11
|
+
this.$blob = restore(api.getPDFFileBlobFx.doneData, null).reset(this.reset);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=file.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createEvent","restore","FormulaSheetFile","reset","setId","$id","constructor","api","$blob","getPDFFileBlobFx","doneData"],"sourceRoot":"../../../../../src","sources":["features/formulaSheet/model/file.model.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,OAAO,QAAuB,UAAU;AAO9D,OAAO,MAAMC,gBAAgB,CAAC;EACZC,KAAK,GAAGH,WAAW,CAAC,CAAC;EAGrBI,KAAK,GAAGJ,WAAW,CAAS,CAAC;EAC7BK,GAAG,GAAGJ,OAAO,CAAC,IAAI,CAACG,KAAK,EAAE,IAAI,CAAC;EAE/CE,WAAWA,CAAC;IAAEC;EAA2B,CAAC,EAAE;IAC1C,IAAI,CAACC,KAAK,GAAGP,OAAO,CAACM,GAAG,CAACE,gBAAgB,CAACC,QAAQ,EAAE,IAAI,CAAC,CAACP,KAAK,CAAC,IAAI,CAACA,KAAK,CAAC;EAC7E;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { createEvent, restore } from 'effector';
|
|
4
|
+
export class FormulaSheetModal {
|
|
5
|
+
reset = createEvent();
|
|
6
|
+
toggle = createEvent();
|
|
7
|
+
setIsOpen = createEvent();
|
|
8
|
+
$isOpen = restore(this.setIsOpen, false).on(this.toggle, state => !state).reset(this.reset);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=modal.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createEvent","restore","FormulaSheetModal","reset","toggle","setIsOpen","$isOpen","on","state"],"sourceRoot":"../../../../../src","sources":["features/formulaSheet/model/modal.model.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,OAAO,QAAQ,UAAU;AAE/C,OAAO,MAAMC,iBAAiB,CAAC;EACbC,KAAK,GAAGH,WAAW,CAAC,CAAC;EACrBI,MAAM,GAAGJ,WAAW,CAAC,CAAC;EACtBK,SAAS,GAAGL,WAAW,CAAU,CAAC;EAClCM,OAAO,GAAGL,OAAO,CAAC,IAAI,CAACI,SAAS,EAAE,KAAK,CAAC,CACrDE,EAAE,CAAC,IAAI,CAACH,MAAM,EAAGI,KAAK,IAAK,CAACA,KAAK,CAAC,CAClCL,KAAK,CAAC,IAAI,CAACA,KAAK,CAAC;AACtB","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { sample } from 'effector';
|
|
4
|
+
import { FormulaSheetAPI } from "./api.model.js";
|
|
5
|
+
import { FormulaSheetModal } from "./modal.model.js";
|
|
6
|
+
import { FormulaSheetFile } from "./file.model.js";
|
|
7
|
+
export class FormulaSheetModel {
|
|
8
|
+
api = new FormulaSheetAPI();
|
|
9
|
+
modal = new FormulaSheetModal();
|
|
10
|
+
file = new FormulaSheetFile({
|
|
11
|
+
api: this.api
|
|
12
|
+
});
|
|
13
|
+
constructor({
|
|
14
|
+
api
|
|
15
|
+
}) {
|
|
16
|
+
this.api.setupRequests(api);
|
|
17
|
+
sample({
|
|
18
|
+
clock: this.modal.$isOpen,
|
|
19
|
+
source: [this.file.$id, this.file.$blob],
|
|
20
|
+
filter: ([fileId, blob], isOpen) => !!(isOpen && fileId && !blob),
|
|
21
|
+
fn: ([fileId]) => fileId,
|
|
22
|
+
target: this.api.getPDFFileBlobFx
|
|
23
|
+
});
|
|
24
|
+
sample({
|
|
25
|
+
clock: this.file.$id,
|
|
26
|
+
target: [this.file.reset, this.modal.reset]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["sample","FormulaSheetAPI","FormulaSheetModal","FormulaSheetFile","FormulaSheetModel","api","modal","file","constructor","setupRequests","clock","$isOpen","source","$id","$blob","filter","fileId","blob","isOpen","fn","target","getPDFFileBlobFx","reset"],"sourceRoot":"../../../../../src","sources":["features/formulaSheet/model/model.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,UAAU;AACjC,SAASC,eAAe,QAAmC,gBAAa;AACxE,SAASC,iBAAiB,QAAQ,kBAAe;AACjD,SAASC,gBAAgB,QAAQ,iBAAc;AAM/C,OAAO,MAAMC,iBAAiB,CAAC;EACbC,GAAG,GAAG,IAAIJ,eAAe,CAAC,CAAC;EAC3BK,KAAK,GAAG,IAAIJ,iBAAiB,CAAC,CAAC;EAC/BK,IAAI,GAAG,IAAIJ,gBAAgB,CAAC;IAAEE,GAAG,EAAE,IAAI,CAACA;EAAI,CAAC,CAAC;EAE9DG,WAAWA,CAAC;IAAEH;EAA4B,CAAC,EAAE;IAC3C,IAAI,CAACA,GAAG,CAACI,aAAa,CAACJ,GAAG,CAAC;IAE3BL,MAAM,CAAC;MACLU,KAAK,EAAE,IAAI,CAACJ,KAAK,CAACK,OAAO;MACzBC,MAAM,EAAE,CAAC,IAAI,CAACL,IAAI,CAACM,GAAG,EAAE,IAAI,CAACN,IAAI,CAACO,KAAK,CAAC;MACxCC,MAAM,EAAEA,CAAC,CAACC,MAAM,EAAEC,IAAI,CAAC,EAAEC,MAAM,KAAK,CAAC,EAAEA,MAAM,IAAIF,MAAM,IAAI,CAACC,IAAI,CAAC;MACjEE,EAAE,EAAEA,CAAC,CAACH,MAAM,CAAC,KAAKA,MAAgB;MAClCI,MAAM,EAAE,IAAI,CAACf,GAAG,CAACgB;IACnB,CAAC,CAAC;IAEFrB,MAAM,CAAC;MACLU,KAAK,EAAE,IAAI,CAACH,IAAI,CAACM,GAAG;MACpBO,MAAM,EAAE,CAAC,IAAI,CAACb,IAAI,CAACe,KAAK,EAAE,IAAI,CAAChB,KAAK,CAACgB,KAAK;IAC5C,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
|
package/dist/module/index.js
CHANGED
|
@@ -6,4 +6,5 @@ export * from "./features/chatbot/index.js";
|
|
|
6
6
|
export * from "./features/feedback/index.js";
|
|
7
7
|
export * from "./features/celebrations/index.js";
|
|
8
8
|
export * from "./features/endOfAssignment/index.js";
|
|
9
|
+
export * from "./features/formulaSheet/index.js";
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
package/dist/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useFeaturesLocalization","setFeaturesLocalization","Locale","generateRandomId"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,uBAAuB,EAAEC,uBAAuB,EAAEC,MAAM,QAAQ,+BAAsB;AAC/F,SAASC,gBAAgB,QAAQ,0BAAuB;AACxD,cAAc,6BAAoB;AAClC,cAAc,8BAAqB;AACnC,cAAc,kCAAyB;AACvC,cAAc,qCAA4B","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["useFeaturesLocalization","setFeaturesLocalization","Locale","generateRandomId"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,uBAAuB,EAAEC,uBAAuB,EAAEC,MAAM,QAAQ,+BAAsB;AAC/F,SAASC,gBAAgB,QAAQ,0BAAuB;AACxD,cAAc,6BAAoB;AAClC,cAAc,8BAAqB;AACnC,cAAc,kCAAyB;AACvC,cAAc,qCAA4B;AAC1C,cAAc,kCAAyB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","ClipPath","Defs","G","Path","COLORS","jsx","_jsx","jsxs","_jsxs","Halloween","size","color","NEUTRAL_8","width","height","viewBox","fill","children","clipPath","fillRule","clipRule","d","id","transform"],"sourceRoot":"../../../../src","sources":["shared/icons/Halloween.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,QAAQ,EAAEC,IAAI,EAAEC,CAAC,EAAEC,IAAI,QAAQ,kBAAkB;
|
|
1
|
+
{"version":3,"names":["React","Svg","ClipPath","Defs","G","Path","COLORS","jsx","_jsx","jsxs","_jsxs","Halloween","size","color","NEUTRAL_8","width","height","viewBox","fill","children","clipPath","fillRule","clipRule","d","id","transform"],"sourceRoot":"../../../../src","sources":["shared/icons/Halloween.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,QAAQ,EAAEC,IAAI,EAAEC,CAAC,EAAEC,IAAI,QAAQ,kBAAkB;AAC/D,SAASC,MAAM,QAAQ,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGnD,SAASC,SAASA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGP,MAAM,CAACQ;AAAqB,CAAC,EAAE;EACrE,oBACEJ,KAAA,CAACT,GAAG;IAACc,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7DT,KAAA,CAACN,CAAC;MAACgB,QAAQ,EAAC,qBAAqB;MAACF,IAAI,EAAEL,KAAM;MAAAM,QAAA,gBAC5CX,IAAA,CAACH,IAAI;QACHgB,QAAQ,EAAC,SAAS;QAClBC,QAAQ,EAAC,SAAS;QAClBC,CAAC,EAAC;MAAqX,CACxX,CAAC,eACFf,IAAA,CAACH,IAAI;QAACkB,CAAC,EAAC;MAA0hB,CAAE,CAAC,eACriBf,IAAA,CAACH,IAAI;QAACkB,CAAC,EAAC;MAA2M,CAAE,CAAC,eACtNf,IAAA,CAACH,IAAI;QAACkB,CAAC,EAAC;MAA0M,CAAE,CAAC,eACrNf,IAAA,CAACH,IAAI;QACHgB,QAAQ,EAAC,SAAS;QAClBC,QAAQ,EAAC,SAAS;QAClBC,CAAC,EAAC;MAAqT,CACxT,CAAC;IAAA,CACD,CAAC,eACJf,IAAA,CAACL,IAAI;MAAAgB,QAAA,eACHX,IAAA,CAACN,QAAQ;QAACsB,EAAE,EAAC,eAAe;QAAAL,QAAA,eAC1BX,IAAA,CAACH,IAAI;UAACa,IAAI,EAAC,MAAM;UAACO,SAAS,EAAC,qBAAqB;UAACF,CAAC,EAAC;QAAe,CAAE;MAAC,CAC9D;IAAC,CACP,CAAC;EAAA,CACJ,CAAC;AAEV;AAEA,eAAeZ,SAAS","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","MessageBubbleIcon","size","color","NEUTRAL_1","width","height","viewBox","fill","children","d","stroke","strokeWidth","strokeLinejoin"],"sourceRoot":"../../../../src","sources":["shared/icons/MessageBubbleIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","MessageBubbleIcon","size","color","NEUTRAL_1","width","height","viewBox","fill","children","d","stroke","strokeWidth","strokeLinejoin"],"sourceRoot":"../../../../src","sources":["shared/icons/MessageBubbleIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,MAAM,QAAQ,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAGnD,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGL,MAAM,CAACM;AAAqB,CAAC,KAAK;EACvF,oBACEJ,IAAA,CAACJ,GAAG;IAACS,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DT,IAAA,CAACH,IAAI;MACHa,CAAC,EAAC,+SAA+S;MACjTC,MAAM,EAAER,KAAM;MACdS,WAAW,EAAC,GAAG;MACfC,cAAc,EAAC;IAAO,CACvB;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","Pi","size","color","NEUTRAL_8","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../src","sources":["shared/icons/Pi.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,MAAM,
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","Pi","size","color","NEUTRAL_8","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../src","sources":["shared/icons/Pi.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,MAAM,QAAQ,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAGnD,SAASC,EAAEA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGL,MAAM,CAACM;AAAqB,CAAC,EAAE;EAC9D,oBACEJ,IAAA,CAACJ,GAAG;IAACS,KAAK,EAAE,EAAG;IAACC,MAAM,EAAEJ,IAAI,GAAG,MAAO;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eACpET,IAAA,CAACH,IAAI;MACHa,CAAC,EAAC,gxBAAgxB;MAClxBF,IAAI,EAAEL;IAAM,CACb;EAAC,CACC,CAAC;AAEV;AAEA,eAAeF,EAAE","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","Star","size","color","NEUTRAL_8","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../src","sources":["shared/icons/Star.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,MAAM,
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","Star","size","color","NEUTRAL_8","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../src","sources":["shared/icons/Star.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,MAAM,QAAQ,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAGnD,SAASC,IAAIA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGL,MAAM,CAACM;AAAqB,CAAC,EAAE;EAChE,oBACEJ,IAAA,CAACJ,GAAG;IAACS,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DT,IAAA,CAACH,IAAI;MACHa,CAAC,EAAC,gTAAgT;MAClTF,IAAI,EAAEL;IAAM,CACb;EAAC,CACC,CAAC;AAEV;AAEA,eAAeF,IAAI","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","Valentine","size","color","NEUTRAL_8","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../src","sources":["shared/icons/Valentine.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,MAAM,
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","Valentine","size","color","NEUTRAL_8","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../src","sources":["shared/icons/Valentine.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,MAAM,QAAQ,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAGnD,SAASC,SAASA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGL,MAAM,CAACM;AAAqB,CAAC,EAAE;EACrE,oBACEJ,IAAA,CAACJ,GAAG;IAACS,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAI,GAAG,MAAO;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eACtET,IAAA,CAACH,IAAI;MACHa,CAAC,EAAC,+OAA+O;MACjPF,IAAI,EAAEL;IAAM,CACb;EAAC,CACC,CAAC;AAEV;AAEA,eAAeF,SAAS","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","Winter","size","color","NEUTRAL_8","width","height","viewBox","fill","children","fillRule","clipRule","d"],"sourceRoot":"../../../../src","sources":["shared/icons/Winter.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","Winter","size","color","NEUTRAL_8","width","height","viewBox","fill","children","fillRule","clipRule","d"],"sourceRoot":"../../../../src","sources":["shared/icons/Winter.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,MAAM,QAAQ,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAGnD,SAASC,MAAMA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGL,MAAM,CAACM;AAAqB,CAAC,EAAE;EAClE,oBACEJ,IAAA,CAACJ,GAAG;IAACS,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAI,GAAG,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eACpET,IAAA,CAACH,IAAI;MACHa,QAAQ,EAAC,SAAS;MAClBC,QAAQ,EAAC,SAAS;MAClBC,CAAC,EAAC,yzCAAyzC;MAC3zCJ,IAAI,EAAEL;IAAM,CACb;EAAC,CACC,CAAC;AAEV;AAEA,eAAeF,MAAM","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","XCloseIcon","size","color","NEUTRAL_9","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../src","sources":["shared/icons/XCloseIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","COLORS","jsx","_jsx","XCloseIcon","size","color","NEUTRAL_9","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../src","sources":["shared/icons/XCloseIcon.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,MAAM,QAAQ,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAGnD,OAAO,MAAMC,UAAU,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAGL,MAAM,CAACM;AAAqB,CAAC,KAAK;EAChF,oBACEJ,IAAA,CAACJ,GAAG;IAACS,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DT,IAAA,CAACH,IAAI;MACHa,CAAC,EAAC,ufAAuf;MACzfF,IAAI,EAAEL;IAAM,CACb;EAAC,CACC,CAAC;AAEV,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ComponentType } from 'react';
|
|
2
|
-
import { IconProps } from '@magmamath/react-native-ui';
|
|
3
2
|
import { CelebrationVariant } from '../types';
|
|
3
|
+
import { IconProps } from '../../../shared/icons/icon.types';
|
|
4
4
|
export type ParticlesBatch = {
|
|
5
5
|
id: number;
|
|
6
6
|
type: 'main' | 'spark';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParticleBatch.d.ts","sourceRoot":"","sources":["../../../../../../src/features/celebrations/components/ParticleBatch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAuB,aAAa,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ParticleBatch.d.ts","sourceRoot":"","sources":["../../../../../../src/features/celebrations/components/ParticleBatch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAuB,aAAa,EAAE,MAAM,OAAO,CAAA;AAIjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAE5D,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE;QACR,CAAC,EAAE,MAAM,CAAA;QACT,CAAC,EAAE,MAAM,CAAA;KACV,CAAA;IACD,mBAAmB,EAAE,MAAM,CAAA;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,aAAa,CAAC,SAAS,CAAC,CAAA;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AACD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,cAAc,EAAE,MAAM,CAAA;IACtB,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,OAAO,EAAE,kBAAkB,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,aAAa,gDAAiD,kBAAkB,wBA2B5F,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spark.d.ts","sourceRoot":"","sources":["../../../../../../src/features/celebrations/components/Spark.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Spark.d.ts","sourceRoot":"","sources":["../../../../../../src/features/celebrations/components/Spark.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAE5D,eAAO,MAAM,KAAK,oBAA0B,SAAS,sBASpD,CAAA"}
|
package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/SunrisingIcon.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IconProps } from '
|
|
2
|
+
import { IconProps } from '../../../../../shared/icons/icon.types';
|
|
3
3
|
export declare const SunrisingIcon: (props: IconProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=SunrisingIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SunrisingIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/endOfAssignment/components/Modal/assets/SunrisingIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"SunrisingIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/endOfAssignment/components/Modal/assets/SunrisingIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAElE,eAAO,MAAM,aAAa,UAAW,SAAS,sBA+L7C,CAAA"}
|
package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/assets/TrophyIcon.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconProps } from '@magmamath/react-native-ui';
|
|
2
1
|
import * as React from 'react';
|
|
2
|
+
import { IconProps } from '../../../../../shared/icons/icon.types';
|
|
3
3
|
export declare const TrophyIcon: (props: IconProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=TrophyIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TrophyIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/endOfAssignment/components/Modal/assets/TrophyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TrophyIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/endOfAssignment/components/Modal/assets/TrophyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AAElE,eAAO,MAAM,UAAU,UAAW,SAAS,sBAyD1C,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IconProps } from '
|
|
2
|
+
import { IconProps } from '../../../shared/icons/icon.types';
|
|
3
3
|
export declare const SparkIcon: ({ size, color }: IconProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=SparkIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SparkIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/features/endOfAssignment/ui/SparkIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SparkIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/features/endOfAssignment/ui/SparkIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAE5D,eAAO,MAAM,SAAS,oBAA0B,SAAS,sBASxD,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IconProps } from '
|
|
2
|
+
import { IconProps } from '../../../shared/icons/icon.types';
|
|
3
3
|
export declare const ThumbUpIcon: ({ size, color }: IconProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=ThumbUpIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThumbUpIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/features/endOfAssignment/ui/ThumbUpIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ThumbUpIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/features/endOfAssignment/ui/ThumbUpIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAA;AAE5D,eAAO,MAAM,WAAW,oBAA6C,SAAS,sBAW7E,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { ButtonColor, ButtonSize, ButtonRef, LoaderColor } from '@magmamath/react-native-ui';
|
|
3
|
+
import { FormulaSheetModel } from '../model/model';
|
|
4
|
+
type FormulaSheetProps = {
|
|
5
|
+
model: FormulaSheetModel;
|
|
6
|
+
fileId: string;
|
|
7
|
+
renderer: (fileBlob: string) => ReactNode;
|
|
8
|
+
buttonSize: ButtonSize;
|
|
9
|
+
buttonColor: ButtonColor;
|
|
10
|
+
loaderColor: LoaderColor;
|
|
11
|
+
onPress?: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const FormulaSheet: React.ForwardRefExoticComponent<FormulaSheetProps & React.RefAttributes<ButtonRef | null>>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=FormulaSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormulaSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/features/formulaSheet/components/FormulaSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAa,MAAM,OAAO,CAAA;AAE/D,OAAO,EAEL,WAAW,EACX,UAAU,EAIV,SAAS,EACT,WAAW,EACZ,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGlD,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAA;IACzC,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,YAAY,4FAgDxB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import { LoaderColor } from '@magmamath/react-native-ui';
|
|
3
|
+
type FormulaSheetModalProps = {
|
|
4
|
+
isLoading: boolean;
|
|
5
|
+
loaderColor: LoaderColor;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const FormulaSheetModal: ({ children, loaderColor, isLoading, onClose, }: PropsWithChildren<FormulaSheetModalProps>) => React.JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=FormulaSheetModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormulaSheetModal.d.ts","sourceRoot":"","sources":["../../../../../../src/features/formulaSheet/components/FormulaSheetModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEhD,OAAO,EAIL,WAAW,EAIZ,MAAM,4BAA4B,CAAA;AAEnC,KAAK,sBAAsB,GAAG;IAC5B,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,iBAAiB,mDAK3B,iBAAiB,CAAC,sBAAsB,CAAC,sBAkB3C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/formulaSheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Effect } from 'effector';
|
|
2
|
+
export type FormulaSheetApiProps = {
|
|
3
|
+
getPDFFileBlob: (id: string) => Promise<string>;
|
|
4
|
+
};
|
|
5
|
+
export declare class FormulaSheetAPI {
|
|
6
|
+
readonly getPDFFileBlobFx: Effect<string, string>;
|
|
7
|
+
setupRequests(api: FormulaSheetApiProps): void;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=api.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.model.d.ts","sourceRoot":"","sources":["../../../../../../src/features/formulaSheet/model/api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAAE,MAAM,UAAU,CAAA;AAE/C,MAAM,MAAM,oBAAoB,GAAG;IACjC,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CAChD,CAAA;AAED,qBAAa,eAAe;IAC1B,SAAgB,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAiB;IAElE,aAAa,CAAC,GAAG,EAAE,oBAAoB;CAG/C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StoreWritable } from 'effector';
|
|
2
|
+
import { FormulaSheetAPI } from './api.model';
|
|
3
|
+
type FormulaSheetFileProps = {
|
|
4
|
+
api: FormulaSheetAPI;
|
|
5
|
+
};
|
|
6
|
+
export declare class FormulaSheetFile {
|
|
7
|
+
readonly reset: import("effector").EventCallable<void>;
|
|
8
|
+
readonly $blob: StoreWritable<string | null>;
|
|
9
|
+
readonly setId: import("effector").EventCallable<string>;
|
|
10
|
+
readonly $id: StoreWritable<string | null>;
|
|
11
|
+
constructor({ api }: FormulaSheetFileProps);
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=file.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.model.d.ts","sourceRoot":"","sources":["../../../../../../src/features/formulaSheet/model/file.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,aAAa,EAAE,MAAM,UAAU,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C,KAAK,qBAAqB,GAAG;IAC3B,GAAG,EAAE,eAAe,CAAA;CACrB,CAAA;AAED,qBAAa,gBAAgB;IAC3B,SAAgB,KAAK,yCAAgB;IACrC,SAAgB,KAAK,EAAE,aAAa,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;IAEnD,SAAgB,KAAK,2CAAwB;IAC7C,SAAgB,GAAG,+BAA4B;gBAEnC,EAAE,GAAG,EAAE,EAAE,qBAAqB;CAG3C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare class FormulaSheetModal {
|
|
2
|
+
readonly reset: import("effector").EventCallable<void>;
|
|
3
|
+
readonly toggle: import("effector").EventCallable<void>;
|
|
4
|
+
readonly setIsOpen: import("effector").EventCallable<boolean>;
|
|
5
|
+
readonly $isOpen: import("effector").StoreWritable<boolean>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=modal.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.model.d.ts","sourceRoot":"","sources":["../../../../../../src/features/formulaSheet/model/modal.model.ts"],"names":[],"mappings":"AAEA,qBAAa,iBAAiB;IAC5B,SAAgB,KAAK,yCAAgB;IACrC,SAAgB,MAAM,yCAAgB;IACtC,SAAgB,SAAS,4CAAyB;IAClD,SAAgB,OAAO,4CAEH;CACrB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FormulaSheetAPI, type FormulaSheetApiProps } from './api.model';
|
|
2
|
+
import { FormulaSheetModal } from './modal.model';
|
|
3
|
+
import { FormulaSheetFile } from './file.model';
|
|
4
|
+
type FormulaSheetModelProps = {
|
|
5
|
+
api: FormulaSheetApiProps;
|
|
6
|
+
};
|
|
7
|
+
export declare class FormulaSheetModel {
|
|
8
|
+
readonly api: FormulaSheetAPI;
|
|
9
|
+
readonly modal: FormulaSheetModal;
|
|
10
|
+
readonly file: FormulaSheetFile;
|
|
11
|
+
constructor({ api }: FormulaSheetModelProps);
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../../src/features/formulaSheet/model/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAA;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE/C,KAAK,sBAAsB,GAAG;IAC5B,GAAG,EAAE,oBAAoB,CAAA;CAC1B,CAAA;AAED,qBAAa,iBAAiB;IAC5B,SAAgB,GAAG,kBAAwB;IAC3C,SAAgB,KAAK,oBAA0B;IAC/C,SAAgB,IAAI,mBAA0C;gBAElD,EAAE,GAAG,EAAE,EAAE,sBAAsB;CAgB5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IconProps } from '
|
|
2
|
+
import { IconProps } from './icon.types';
|
|
3
3
|
declare function Halloween({ size, color }: IconProps): React.JSX.Element;
|
|
4
4
|
export default Halloween;
|
|
5
5
|
//# sourceMappingURL=Halloween.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Halloween.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/Halloween.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,
|
|
1
|
+
{"version":3,"file":"Halloween.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/Halloween.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,iBAAS,SAAS,CAAC,EAAE,IAAS,EAAE,KAAwB,EAAE,EAAE,SAAS,qBAyBpE;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageBubbleIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/MessageBubbleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"MessageBubbleIcon.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/MessageBubbleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,eAAO,MAAM,iBAAiB,oBAA6C,SAAS,sBAWnF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pi.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/Pi.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Pi.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/Pi.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,iBAAS,EAAE,CAAC,EAAE,IAAS,EAAE,KAAwB,EAAE,EAAE,SAAS,qBAS7D;AAED,eAAe,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Star.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/Star.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Star.d.ts","sourceRoot":"","sources":["../../../../../src/shared/icons/Star.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,iBAAS,IAAI,CAAC,EAAE,IAAS,EAAE,KAAwB,EAAE,EAAE,SAAS,qBAS/D;AAED,eAAe,IAAI,CAAA"}
|