@cuemath/leap 2.8.49-rj-16 → 2.8.50-as1
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/assets/line-icons/icons/clear-all.js +53 -0
- package/dist/assets/line-icons/icons/clear-all.js.map +1 -0
- package/dist/assets/line-icons/icons/download.js +48 -0
- package/dist/assets/line-icons/icons/download.js.map +1 -0
- package/dist/assets/line-icons/icons/equation.js +48 -0
- package/dist/assets/line-icons/icons/equation.js.map +1 -0
- package/dist/assets/line-icons/icons/grid-icon.js +42 -0
- package/dist/assets/line-icons/icons/grid-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/pan.js +98 -0
- package/dist/assets/line-icons/icons/pan.js.map +1 -0
- package/dist/assets/line-icons/icons/square-checked-grid.js +25 -0
- package/dist/assets/line-icons/icons/square-checked-grid.js.map +1 -0
- package/dist/assets/line-icons/icons/square-dots.js +32 -0
- package/dist/assets/line-icons/icons/square-dots.js.map +1 -0
- package/dist/assets/line-icons/icons/square-grid.js +17 -0
- package/dist/assets/line-icons/icons/square-grid.js.map +1 -0
- package/dist/assets/line-icons/icons/square2-grid.js +13 -0
- package/dist/assets/line-icons/icons/square2-grid.js.map +1 -0
- package/dist/assets/line-icons/icons/text-icon.js +48 -0
- package/dist/assets/line-icons/icons/text-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/tri-dots.js +27 -0
- package/dist/assets/line-icons/icons/tri-dots.js.map +1 -0
- package/dist/assets/line-icons/icons/tri-grid.js +27 -0
- package/dist/assets/line-icons/icons/tri-grid.js.map +1 -0
- package/dist/assets/line-icons/icons/tri2-dots.js +27 -0
- package/dist/assets/line-icons/icons/tri2-dots.js.map +1 -0
- package/dist/assets/line-icons/icons/tri2-grid.js +27 -0
- package/dist/assets/line-icons/icons/tri2-grid.js.map +1 -0
- package/dist/assets/line-icons/icons/upload.js +48 -0
- package/dist/assets/line-icons/icons/upload.js.map +1 -0
- package/dist/assets/line-icons/icons/zoom-in.js +58 -0
- package/dist/assets/line-icons/icons/zoom-in.js.map +1 -0
- package/dist/assets/line-icons/icons/zoom-out.js +48 -0
- package/dist/assets/line-icons/icons/zoom-out.js.map +1 -0
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.js +3 -4
- package/dist/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.js.map +1 -1
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js +26 -39
- package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js.map +1 -1
- package/dist/features/circle-games/game-launcher/dal/use-post-update-circle-journey-dal/use-post-update-circle-journey-dal.js +11 -11
- package/dist/features/circle-games/game-launcher/dal/use-post-update-circle-journey-dal/use-post-update-circle-journey-dal.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.js +9 -10
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +126 -131
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas-core.js +169 -59
- package/dist/features/cue-canvas/cue-canvas-core.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas-helpers.js +91 -29
- package/dist/features/cue-canvas/cue-canvas-helpers.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas.js +57 -49
- package/dist/features/cue-canvas/cue-canvas.js.map +1 -1
- package/dist/features/cue-canvas/cue-cavas-styled.js +96 -59
- package/dist/features/cue-canvas/cue-cavas-styled.js.map +1 -1
- package/dist/features/cue-canvas/hooks/use-tool-state.js +34 -0
- package/dist/features/cue-canvas/hooks/use-tool-state.js.map +1 -0
- package/dist/features/cue-canvas/toolbar/color-pallete.js +21 -21
- package/dist/features/cue-canvas/toolbar/color-pallete.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/color-picker-button.js +62 -0
- package/dist/features/cue-canvas/toolbar/color-picker-button.js.map +1 -0
- package/dist/features/cue-canvas/toolbar/grid-menu.js +57 -0
- package/dist/features/cue-canvas/toolbar/grid-menu.js.map +1 -0
- package/dist/features/cue-canvas/toolbar/icon-map.js +58 -0
- package/dist/features/cue-canvas/toolbar/icon-map.js.map +1 -0
- package/dist/features/cue-canvas/toolbar/pen-tool-menu.js +65 -0
- package/dist/features/cue-canvas/toolbar/pen-tool-menu.js.map +1 -0
- package/dist/features/cue-canvas/toolbar/tool-buttons.js +21 -0
- package/dist/features/cue-canvas/toolbar/tool-buttons.js.map +1 -0
- package/dist/features/cue-canvas/toolbar/toolbar.js +28 -85
- package/dist/features/cue-canvas/toolbar/toolbar.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/whiteboard-toolbar.js +25 -0
- package/dist/features/cue-canvas/toolbar/whiteboard-toolbar.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/session-report.js +41 -41
- package/dist/features/trial-session/comps/session-report/session-report.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js +7 -7
- package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js.map +1 -1
- package/dist/index.d.ts +17 -6
- package/dist/static/fonts/Athletics-Black.woff +0 -0
- package/dist/static/fonts/Athletics-Bold.woff +0 -0
- package/dist/static/fonts/Athletics-Light.woff +0 -0
- package/dist/static/fonts/Athletics-Medium.woff +0 -0
- package/dist/static/fonts/Athletics-Regular.woff +0 -0
- package/dist/static/fonts/untitled-sans-medium.woff +0 -0
- package/dist/static/fonts/untitled-sans-medium.woff2 +0 -0
- package/dist/static/fonts/untitled-sans-regular.woff +0 -0
- package/dist/static/fonts/untitled-sans-regular.woff2 +0 -0
- package/package.json +2 -2
@@ -0,0 +1,27 @@
|
|
1
|
+
import { jsxs as x, jsx as c } from "react/jsx-runtime";
|
2
|
+
const i = (r) => /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 48 48", ...r, children: [
|
3
|
+
/* @__PURE__ */ c("circle", { cx: "4", cy: "15", r: "1.5" }),
|
4
|
+
/* @__PURE__ */ c("circle", { cx: "4", cy: "3.5", r: "1.5" }),
|
5
|
+
/* @__PURE__ */ c("circle", { cx: "4", cy: "26.5", r: "1.5" }),
|
6
|
+
/* @__PURE__ */ c("circle", { cx: "4", cy: "38", r: "1.5" }),
|
7
|
+
/* @__PURE__ */ c("circle", { cx: "44", cy: "15", r: "1.5" }),
|
8
|
+
/* @__PURE__ */ c("circle", { cx: "44", cy: "3.5", r: "1.5" }),
|
9
|
+
/* @__PURE__ */ c("circle", { cx: "44", cy: "26.5", r: "1.5" }),
|
10
|
+
/* @__PURE__ */ c("circle", { cx: "44", cy: "38", r: "1.5" }),
|
11
|
+
/* @__PURE__ */ c("circle", { cx: "14", cy: "21", r: "1.5" }),
|
12
|
+
/* @__PURE__ */ c("circle", { cx: "14", cy: "9.5", r: "1.5" }),
|
13
|
+
/* @__PURE__ */ c("circle", { cx: "14", cy: "32.5", r: "1.5" }),
|
14
|
+
/* @__PURE__ */ c("circle", { cx: "14", cy: "44", r: "1.5" }),
|
15
|
+
/* @__PURE__ */ c("circle", { cx: "24", cy: "15", r: "1.5" }),
|
16
|
+
/* @__PURE__ */ c("circle", { cx: "24", cy: "3.5", r: "1.5" }),
|
17
|
+
/* @__PURE__ */ c("circle", { cx: "24", cy: "26.5", r: "1.5" }),
|
18
|
+
/* @__PURE__ */ c("circle", { cx: "24", cy: "38", r: "1.5" }),
|
19
|
+
/* @__PURE__ */ c("circle", { cx: "34", cy: "21", r: "1.5" }),
|
20
|
+
/* @__PURE__ */ c("circle", { cx: "34", cy: "9.5", r: "1.5" }),
|
21
|
+
/* @__PURE__ */ c("circle", { cx: "34", cy: "32.5", r: "1.5" }),
|
22
|
+
/* @__PURE__ */ c("circle", { cx: "34", cy: "44", r: "1.5" })
|
23
|
+
] });
|
24
|
+
export {
|
25
|
+
i as default
|
26
|
+
};
|
27
|
+
//# sourceMappingURL=tri2-dots.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tri2-dots.js","sources":["../../../../src/assets/line-icons/icons/tri2-dots.tsx"],"sourcesContent":["const Tri2DotSvg: React.FC<React.SVGProps<SVGSVGElement>> = props => (\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 48 48\" {...props}>\n <circle cx=\"4\" cy=\"15\" r=\"1.5\" />\n <circle cx=\"4\" cy=\"3.5\" r=\"1.5\" />\n <circle cx=\"4\" cy=\"26.5\" r=\"1.5\" />\n <circle cx=\"4\" cy=\"38\" r=\"1.5\" />\n <circle cx=\"44\" cy=\"15\" r=\"1.5\" />\n <circle cx=\"44\" cy=\"3.5\" r=\"1.5\" />\n <circle cx=\"44\" cy=\"26.5\" r=\"1.5\" />\n <circle cx=\"44\" cy=\"38\" r=\"1.5\" />\n <circle cx=\"14\" cy=\"21\" r=\"1.5\" />\n <circle cx=\"14\" cy=\"9.5\" r=\"1.5\" />\n <circle cx=\"14\" cy=\"32.5\" r=\"1.5\" />\n <circle cx=\"14\" cy=\"44\" r=\"1.5\" />\n <circle cx=\"24\" cy=\"15\" r=\"1.5\" />\n <circle cx=\"24\" cy=\"3.5\" r=\"1.5\" />\n <circle cx=\"24\" cy=\"26.5\" r=\"1.5\" />\n <circle cx=\"24\" cy=\"38\" r=\"1.5\" />\n <circle cx=\"34\" cy=\"21\" r=\"1.5\" />\n <circle cx=\"34\" cy=\"9.5\" r=\"1.5\" />\n <circle cx=\"34\" cy=\"32.5\" r=\"1.5\" />\n <circle cx=\"34\" cy=\"44\" r=\"1.5\" />\n </svg>\n);\n\nexport default Tri2DotSvg;\n"],"names":["Tri2DotSvg","jsxs","props","jsx"],"mappings":";AAAM,MAAAA,IAAsD,OACzD,gBAAAC,EAAA,OAAA,EAAI,OAAM,8BAA6B,SAAQ,aAAa,GAAGC,GAC9D,UAAA;AAAA,EA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OAAM;AAAA,EAClC,CAAA;"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { jsx as t, jsxs as h } from "react/jsx-runtime";
|
2
|
+
const p = (d) => /* @__PURE__ */ t("svg", { viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg", ...d, children: /* @__PURE__ */ h("g", { fill: "none", stroke: "#000", children: [
|
3
|
+
/* @__PURE__ */ t("path", { d: "m44 47.8v-48" }),
|
4
|
+
/* @__PURE__ */ t("path", { d: "m24 48.3v-48" }),
|
5
|
+
/* @__PURE__ */ t("path", { d: "m34 48.3v-48" }),
|
6
|
+
/* @__PURE__ */ t("path", { d: "m44 48.3v-48" }),
|
7
|
+
/* @__PURE__ */ t("path", { d: "m4 48.3v-48" }),
|
8
|
+
/* @__PURE__ */ t("path", { d: "m14 48.3v-48" }),
|
9
|
+
/* @__PURE__ */ t("path", { d: "m48 48.8-48-28" }),
|
10
|
+
/* @__PURE__ */ t("path", { d: "m27.8 48.8-27.8-16.2" }),
|
11
|
+
/* @__PURE__ */ t("path", { d: "m8.4 48.8-8.4-4.9" }),
|
12
|
+
/* @__PURE__ */ t("path", { d: "m48 44.5-7.5 4.3" }),
|
13
|
+
/* @__PURE__ */ t("path", { d: "m48 37.1-48-28" }),
|
14
|
+
/* @__PURE__ */ t("path", { d: "m48 20.8-48 28" }),
|
15
|
+
/* @__PURE__ */ t("path", { d: "m48 25.5-44-25.7" }),
|
16
|
+
/* @__PURE__ */ t("path", { d: "m48 9.3-48 28" }),
|
17
|
+
/* @__PURE__ */ t("path", { d: "m48 13.9-24-14.1" }),
|
18
|
+
/* @__PURE__ */ t("path", { d: "m45.5-.8-45.5 26.5" }),
|
19
|
+
/* @__PURE__ */ t("path", { d: "m24-.2-24 14.1" }),
|
20
|
+
/* @__PURE__ */ t("path", { d: "m4-.2-4 2.2" }),
|
21
|
+
/* @__PURE__ */ t("path", { d: "m48 2-4-2.2" }),
|
22
|
+
/* @__PURE__ */ t("path", { d: "m48 32.6-27.8 16.2" })
|
23
|
+
] }) });
|
24
|
+
export {
|
25
|
+
p as default
|
26
|
+
};
|
27
|
+
//# sourceMappingURL=tri2-grid.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tri2-grid.js","sources":["../../../../src/assets/line-icons/icons/tri2-grid.tsx"],"sourcesContent":["const Tri2GridSvg: React.FC<React.SVGProps<SVGSVGElement>> = props => (\n <svg viewBox=\"0 0 48 48\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <g fill=\"none\" stroke=\"#000\">\n <path d=\"m44 47.8v-48\" />\n <path d=\"m24 48.3v-48\" />\n <path d=\"m34 48.3v-48\" />\n <path d=\"m44 48.3v-48\" />\n <path d=\"m4 48.3v-48\" />\n <path d=\"m14 48.3v-48\" />\n <path d=\"m48 48.8-48-28\" />\n <path d=\"m27.8 48.8-27.8-16.2\" />\n <path d=\"m8.4 48.8-8.4-4.9\" />\n <path d=\"m48 44.5-7.5 4.3\" />\n <path d=\"m48 37.1-48-28\" />\n <path d=\"m48 20.8-48 28\" />\n <path d=\"m48 25.5-44-25.7\" />\n <path d=\"m48 9.3-48 28\" />\n <path d=\"m48 13.9-24-14.1\" />\n <path d=\"m45.5-.8-45.5 26.5\" />\n <path d=\"m24-.2-24 14.1\" />\n <path d=\"m4-.2-4 2.2\" />\n <path d=\"m48 2-4-2.2\" />\n <path d=\"m48 32.6-27.8 16.2\" />\n </g>\n </svg>\n);\n\nexport default Tri2GridSvg;\n"],"names":["Tri2GridSvg","props","jsx","jsxs"],"mappings":";AAAA,MAAMA,IAAuD,CAAAC,MAC1D,gBAAAC,EAAA,OAAA,EAAI,SAAQ,aAAY,OAAM,8BAA8B,GAAGD,GAC9D,UAAC,gBAAAE,EAAA,KAAA,EAAE,MAAK,QAAO,QAAO,QACpB,UAAA;AAAA,EAAC,gBAAAD,EAAA,QAAA,EAAK,GAAE,eAAe,CAAA;AAAA,EACvB,gBAAAA,EAAC,QAAK,EAAA,GAAE,eAAe,CAAA;AA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|
6
|
+
height: "20",
|
7
|
+
viewBox: "0 0 20 20",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
...o,
|
11
|
+
children: [
|
12
|
+
/* @__PURE__ */ e(
|
13
|
+
"path",
|
14
|
+
{
|
15
|
+
d: "M16.6666 12.499V15.2768C16.6666 15.6452 16.5203 15.9984 16.2599 16.2589C15.9994 16.5194 15.6461 16.6657 15.2778 16.6657H5.55554C5.18718 16.6657 4.83391 16.5194 4.57344 16.2589C4.31298 15.9984 4.16665 15.6452 4.16665 15.2768V12.499",
|
16
|
+
stroke: "#2B2B2B",
|
17
|
+
strokeWidth: "1.38889",
|
18
|
+
strokeLinecap: "square",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
}
|
21
|
+
),
|
22
|
+
/* @__PURE__ */ e(
|
23
|
+
"path",
|
24
|
+
{
|
25
|
+
d: "M13.8894 7.63824L10.4172 4.16602L6.94497 7.63824",
|
26
|
+
stroke: "#2B2B2B",
|
27
|
+
strokeWidth: "1.38889",
|
28
|
+
strokeLinecap: "square",
|
29
|
+
strokeLinejoin: "round"
|
30
|
+
}
|
31
|
+
),
|
32
|
+
/* @__PURE__ */ e(
|
33
|
+
"path",
|
34
|
+
{
|
35
|
+
d: "M10.4166 4.86035V12.4992",
|
36
|
+
stroke: "#2B2B2B",
|
37
|
+
strokeWidth: "1.38889",
|
38
|
+
strokeLinecap: "square",
|
39
|
+
strokeLinejoin: "round"
|
40
|
+
}
|
41
|
+
)
|
42
|
+
]
|
43
|
+
}
|
44
|
+
);
|
45
|
+
export {
|
46
|
+
s as default
|
47
|
+
};
|
48
|
+
//# sourceMappingURL=upload.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"upload.js","sources":["../../../../src/assets/line-icons/icons/upload.tsx"],"sourcesContent":["const UploadIcon: React.FC<React.SVGProps<SVGSVGElement>> = props => (\n <svg\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M16.6666 12.499V15.2768C16.6666 15.6452 16.5203 15.9984 16.2599 16.2589C15.9994 16.5194 15.6461 16.6657 15.2778 16.6657H5.55554C5.18718 16.6657 4.83391 16.5194 4.57344 16.2589C4.31298 15.9984 4.16665 15.6452 4.16665 15.2768V12.499\"\n stroke=\"#2B2B2B\"\n strokeWidth=\"1.38889\"\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M13.8894 7.63824L10.4172 4.16602L6.94497 7.63824\"\n stroke=\"#2B2B2B\"\n strokeWidth=\"1.38889\"\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M10.4166 4.86035V12.4992\"\n stroke=\"#2B2B2B\"\n strokeWidth=\"1.38889\"\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n />\n </svg>\n);\n\nexport default UploadIcon;\n"],"names":["UploadIcon","props","jsxs","jsx"],"mappings":";AAAA,MAAMA,IAAsD,CAC1DC,MAAA,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACL,GAAGD;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAE;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,IAAA;AAAA,EAAA;AACF;"}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
2
|
+
const s = (e) => /* @__PURE__ */ t(
|
3
|
+
"svg",
|
4
|
+
{
|
5
|
+
width: "20",
|
6
|
+
height: "20",
|
7
|
+
viewBox: "0 0 20 20",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
...e,
|
11
|
+
children: [
|
12
|
+
/* @__PURE__ */ o(
|
13
|
+
"path",
|
14
|
+
{
|
15
|
+
d: "M9.72221 15.2771C12.7905 15.2771 15.2778 12.7898 15.2778 9.72157C15.2778 6.65332 12.7905 4.16602 9.72221 4.16602C6.65396 4.16602 4.16666 6.65332 4.16666 9.72157C4.16666 12.7898 6.65396 15.2771 9.72221 15.2771Z",
|
16
|
+
stroke: "#2B2B2B",
|
17
|
+
strokeWidth: "1.38889",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
}
|
21
|
+
),
|
22
|
+
/* @__PURE__ */ o(
|
23
|
+
"path",
|
24
|
+
{
|
25
|
+
d: "M16.6667 16.6663L13.6458 13.6455",
|
26
|
+
stroke: "#2B2B2B",
|
27
|
+
strokeWidth: "1.38889",
|
28
|
+
strokeLinecap: "square",
|
29
|
+
strokeLinejoin: "round"
|
30
|
+
}
|
31
|
+
),
|
32
|
+
/* @__PURE__ */ o(
|
33
|
+
"path",
|
34
|
+
{
|
35
|
+
d: "M9.72166 7.63867V11.8053",
|
36
|
+
stroke: "#2B2B2B",
|
37
|
+
strokeWidth: "1.38889",
|
38
|
+
strokeLinecap: "square",
|
39
|
+
strokeLinejoin: "round"
|
40
|
+
}
|
41
|
+
),
|
42
|
+
/* @__PURE__ */ o(
|
43
|
+
"path",
|
44
|
+
{
|
45
|
+
d: "M7.63834 9.72168H11.805",
|
46
|
+
stroke: "#2B2B2B",
|
47
|
+
strokeWidth: "1.38889",
|
48
|
+
strokeLinecap: "square",
|
49
|
+
strokeLinejoin: "round"
|
50
|
+
}
|
51
|
+
)
|
52
|
+
]
|
53
|
+
}
|
54
|
+
);
|
55
|
+
export {
|
56
|
+
s as default
|
57
|
+
};
|
58
|
+
//# sourceMappingURL=zoom-in.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"zoom-in.js","sources":["../../../../src/assets/line-icons/icons/zoom-in.tsx"],"sourcesContent":["const ZoomInIcon: React.FC<React.SVGProps<SVGSVGElement>> = props => (\n <svg\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M9.72221 15.2771C12.7905 15.2771 15.2778 12.7898 15.2778 9.72157C15.2778 6.65332 12.7905 4.16602 9.72221 4.16602C6.65396 4.16602 4.16666 6.65332 4.16666 9.72157C4.16666 12.7898 6.65396 15.2771 9.72221 15.2771Z\"\n stroke=\"#2B2B2B\"\n strokeWidth=\"1.38889\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M16.6667 16.6663L13.6458 13.6455\"\n stroke=\"#2B2B2B\"\n strokeWidth=\"1.38889\"\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M9.72166 7.63867V11.8053\"\n stroke=\"#2B2B2B\"\n strokeWidth=\"1.38889\"\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M7.63834 9.72168H11.805\"\n stroke=\"#2B2B2B\"\n strokeWidth=\"1.38889\"\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n />\n </svg>\n);\n\nexport default ZoomInIcon;\n"],"names":["ZoomInIcon","props","jsxs","jsx"],"mappings":";AAAA,MAAMA,IAAsD,CAC1DC,MAAA,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACL,GAAGD;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAE;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,IAAA;AAAA,EAAA;AACF;"}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
2
|
+
const s = (t) => /* @__PURE__ */ e(
|
3
|
+
"svg",
|
4
|
+
{
|
5
|
+
width: "20",
|
6
|
+
height: "20",
|
7
|
+
viewBox: "0 0 20 20",
|
8
|
+
fill: "none",
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
10
|
+
...t,
|
11
|
+
children: [
|
12
|
+
/* @__PURE__ */ o(
|
13
|
+
"path",
|
14
|
+
{
|
15
|
+
d: "M9.7222 15.2771C12.7905 15.2771 15.2778 12.7898 15.2778 9.72157C15.2778 6.65332 12.7905 4.16602 9.7222 4.16602C6.65396 4.16602 4.16665 6.65332 4.16665 9.72157C4.16665 12.7898 6.65396 15.2771 9.7222 15.2771Z",
|
16
|
+
stroke: "#2B2B2B",
|
17
|
+
strokeWidth: "1.38889",
|
18
|
+
strokeLinecap: "round",
|
19
|
+
strokeLinejoin: "round"
|
20
|
+
}
|
21
|
+
),
|
22
|
+
/* @__PURE__ */ o(
|
23
|
+
"path",
|
24
|
+
{
|
25
|
+
d: "M16.6666 16.6663L13.6458 13.6455",
|
26
|
+
stroke: "#2B2B2B",
|
27
|
+
strokeWidth: "1.38889",
|
28
|
+
strokeLinecap: "square",
|
29
|
+
strokeLinejoin: "round"
|
30
|
+
}
|
31
|
+
),
|
32
|
+
/* @__PURE__ */ o(
|
33
|
+
"path",
|
34
|
+
{
|
35
|
+
d: "M7.63833 9.72168H11.805",
|
36
|
+
stroke: "#2B2B2B",
|
37
|
+
strokeWidth: "1.38889",
|
38
|
+
strokeLinecap: "square",
|
39
|
+
strokeLinejoin: "round"
|
40
|
+
}
|
41
|
+
)
|
42
|
+
]
|
43
|
+
}
|
44
|
+
);
|
45
|
+
export {
|
46
|
+
s as default
|
47
|
+
};
|
48
|
+
//# sourceMappingURL=zoom-out.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"zoom-out.js","sources":["../../../../src/assets/line-icons/icons/zoom-out.tsx"],"sourcesContent":["const ZoomOutIcon: React.FC<React.SVGProps<SVGSVGElement>> = props => (\n <svg\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M9.7222 15.2771C12.7905 15.2771 15.2778 12.7898 15.2778 9.72157C15.2778 6.65332 12.7905 4.16602 9.7222 4.16602C6.65396 4.16602 4.16665 6.65332 4.16665 9.72157C4.16665 12.7898 6.65396 15.2771 9.7222 15.2771Z\"\n stroke=\"#2B2B2B\"\n strokeWidth=\"1.38889\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M16.6666 16.6663L13.6458 13.6455\"\n stroke=\"#2B2B2B\"\n strokeWidth=\"1.38889\"\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M7.63833 9.72168H11.805\"\n stroke=\"#2B2B2B\"\n strokeWidth=\"1.38889\"\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n />\n </svg>\n);\n\nexport default ZoomOutIcon;\n"],"names":["ZoomOutIcon","props","jsxs","jsx"],"mappings":";AAAA,MAAMA,IAAuD,CAC3DC,MAAA,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACL,GAAGD;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAE;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,QAAO;AAAA,UACP,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,IAAA;AAAA,EAAA;AACF;"}
|
package/dist/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.js
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
import { createGetAPI as r } from "@cuemath/rest-api";
|
2
|
-
import { BASE_URL as
|
3
|
-
const { useGet: n
|
4
|
-
getURL: (
|
2
|
+
import { BASE_URL as c } from "./constants.js";
|
3
|
+
const { useGet: n } = r({
|
4
|
+
getURL: (m, { user_id: e, country_code: t, grade: o }) => `${c}/circle-home/?intelenrollment_id=${e}&country_code=${t}&grade=${o}`
|
5
5
|
});
|
6
6
|
export {
|
7
|
-
a as invalidateCircleHomeAPI,
|
8
7
|
n as useGetCircleHomeAPI
|
9
8
|
};
|
10
9
|
//# sourceMappingURL=get-circle-home-api.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-circle-home-api.js","sources":["../../../../../../src/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.ts"],"sourcesContent":["import type {\n IGetCircleHomeResponseModel,\n IGetCircleHomePayloadModel,\n} from './get-circle-home-api-types';\n\nimport { createGetAPI } from '@cuemath/rest-api';\n\nimport { BASE_URL } from './constants';\n\nexport const { useGet: useGetCircleHomeAPI
|
1
|
+
{"version":3,"file":"get-circle-home-api.js","sources":["../../../../../../src/features/circle-games/game-launcher/api/get-content-for-today/get-circle-home-api.ts"],"sourcesContent":["import type {\n IGetCircleHomeResponseModel,\n IGetCircleHomePayloadModel,\n} from './get-circle-home-api-types';\n\nimport { createGetAPI } from '@cuemath/rest-api';\n\nimport { BASE_URL } from './constants';\n\nexport const { useGet: useGetCircleHomeAPI } = createGetAPI<\n IGetCircleHomeResponseModel,\n IGetCircleHomePayloadModel\n>({\n getURL: (_, { user_id, country_code, grade }) =>\n `${BASE_URL}/circle-home/?intelenrollment_id=${user_id}&country_code=${country_code}&grade=${grade}`,\n});\n"],"names":["useGetCircleHomeAPI","createGetAPI","_","user_id","country_code","grade","BASE_URL"],"mappings":";;AASO,MAAM,EAAE,QAAQA,EAAoB,IAAIC,EAG7C;AAAA,EACA,QAAQ,CAACC,GAAG,EAAE,SAAAC,GAAS,cAAAC,GAAc,OAAAC,EAAA,MACnC,GAAGC,CAAQ,oCAAoCH,CAAO,iBAAiBC,CAAY,UAAUC,CAAK;AACtG,CAAC;"}
|
@@ -1,27 +1,20 @@
|
|
1
|
-
import {
|
2
|
-
import { useGetCircleHomeAPI as
|
3
|
-
import { ProjectType as
|
4
|
-
const
|
5
|
-
const i =
|
6
|
-
() =>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
_(a, i);
|
19
|
-
}, [_, i, a]), p = l(() => {
|
20
|
-
L(a, i);
|
21
|
-
}, [i, a]);
|
22
|
-
return T(() => {
|
23
|
-
let s = null;
|
24
|
-
r && t && (s = {
|
1
|
+
import { useState as d, useCallback as R, useEffect as E } from "react";
|
2
|
+
import { useGetCircleHomeAPI as p } from "../../api/get-content-for-today/get-circle-home-api.js";
|
3
|
+
import { ProjectType as s } from "../../../games/web-view/enums/project-type-enum.js";
|
4
|
+
const T = (r, o) => {
|
5
|
+
const [n, _] = d(null), { data: t, get: c, isProcessed: i, ...m } = p(), l = R(
|
6
|
+
(a) => {
|
7
|
+
c("", {
|
8
|
+
user_id: r,
|
9
|
+
country_code: a,
|
10
|
+
grade: o
|
11
|
+
});
|
12
|
+
},
|
13
|
+
[c, r, o]
|
14
|
+
);
|
15
|
+
return E(() => {
|
16
|
+
let a = null;
|
17
|
+
i && t && (a = {
|
25
18
|
points: t.points,
|
26
19
|
streakDays: t.streak_days,
|
27
20
|
streakReduction: t.streak_reduction,
|
@@ -31,7 +24,7 @@ const A = (a, n, c) => {
|
|
31
24
|
projects: {
|
32
25
|
games: {
|
33
26
|
label: t.projects.games.label,
|
34
|
-
type:
|
27
|
+
type: s.GAME,
|
35
28
|
initialProgressValue: 0,
|
36
29
|
data: t.projects.games.data.map((e) => ({
|
37
30
|
id: e.id,
|
@@ -44,7 +37,7 @@ const A = (a, n, c) => {
|
|
44
37
|
},
|
45
38
|
puzzles: {
|
46
39
|
label: t.projects.puzzles.label,
|
47
|
-
type:
|
40
|
+
type: s.PUZZLE,
|
48
41
|
initialProgressValue: 0,
|
49
42
|
data: t.projects.puzzles.data.map((e) => ({
|
50
43
|
id: e.id,
|
@@ -71,9 +64,9 @@ const A = (a, n, c) => {
|
|
71
64
|
CIRCLE_TUTORIAL_JOURNEY: t.coachmark_completion.CIRCLE_TUTORIAL_JOURNEY,
|
72
65
|
CIRCLE_TABLES_INTRO_JOURNEY: t.coachmark_completion.CIRCLE_TABLES_INTRO_JOURNEY
|
73
66
|
}
|
74
|
-
}, t.projects.lessons && (
|
67
|
+
}, t.projects.lessons && (a.projects.lessons = {
|
75
68
|
label: t.projects.lessons.label,
|
76
|
-
type:
|
69
|
+
type: s.LESSON,
|
77
70
|
initialProgressValue: 0,
|
78
71
|
data: t.projects.lessons.data.map((e) => ({
|
79
72
|
id: e.id,
|
@@ -86,9 +79,9 @@ const A = (a, n, c) => {
|
|
86
79
|
targetQuestions: e.target_questions,
|
87
80
|
status: e.status
|
88
81
|
}))
|
89
|
-
}), t.projects.tables && (
|
82
|
+
}), t.projects.tables && (a.projects.tables = {
|
90
83
|
label: t.projects.tables.label,
|
91
|
-
type:
|
84
|
+
type: s.TABLE,
|
92
85
|
data: {
|
93
86
|
infiniteModeHighScore: t.projects.tables.data.infinite_mode_high_score,
|
94
87
|
tableList: t.projects.tables.data.table_wise_details.map((e) => ({
|
@@ -96,16 +89,10 @@ const A = (a, n, c) => {
|
|
96
89
|
stars: e.stars
|
97
90
|
}))
|
98
91
|
}
|
99
|
-
})),
|
100
|
-
}, [t,
|
101
|
-
data: m,
|
102
|
-
isProcessed: r,
|
103
|
-
getCircleHomeDetails: d,
|
104
|
-
invalidateCircleHomeDetails: p,
|
105
|
-
...E
|
106
|
-
};
|
92
|
+
})), _(a);
|
93
|
+
}, [t, i]), { data: n, isProcessed: i, getCircleHomeDetails: l, ...m };
|
107
94
|
};
|
108
95
|
export {
|
109
|
-
|
96
|
+
T as useGetCircleHomeDetailsDal
|
110
97
|
};
|
111
98
|
//# sourceMappingURL=use-get-circle-home-details-dal.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use-get-circle-home-details-dal.js","sources":["../../../../../../src/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.ts"],"sourcesContent":["import type {\n ICircleHomeDetails,\n TStreakStatus,\n TTableMode,\n} from './use-get-circle-home-dal-types';\n\nimport { useCallback, useEffect,
|
1
|
+
{"version":3,"file":"use-get-circle-home-details-dal.js","sources":["../../../../../../src/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.ts"],"sourcesContent":["import type {\n ICircleHomeDetails,\n TStreakStatus,\n TTableMode,\n} from './use-get-circle-home-dal-types';\n\nimport { useCallback, useEffect, useState } from 'react';\n\nimport { ProjectType } from '../../../games/web-view/enums';\nimport { useGetCircleHomeAPI } from '../../api/get-content-for-today/get-circle-home-api';\n\nexport const useGetCircleHomeDetailsDal = (\n userId: string,\n grade: string,\n): Omit<ReturnType<typeof useGetCircleHomeAPI>, 'data' | 'get'> & {\n data: ICircleHomeDetails | null;\n getCircleHomeDetails: (countryCode: string) => void;\n} => {\n const [contentForToday, setContentForToday] = useState<ICircleHomeDetails | null>(null);\n const { data, get: getHomeDetails, isProcessed, ...rest } = useGetCircleHomeAPI();\n\n const getCircleHomeDetails = useCallback(\n (countryCode: string) => {\n getHomeDetails('', {\n user_id: userId,\n country_code: countryCode,\n grade: grade,\n });\n },\n [getHomeDetails, userId, grade],\n );\n\n useEffect(() => {\n let circleHomeDetails: ICircleHomeDetails | null = null;\n\n if (isProcessed && data) {\n circleHomeDetails = {\n points: data.points,\n streakDays: data.streak_days,\n streakReduction: data.streak_reduction,\n streakDaysBeforeReduction: data.streak_days_before_reduction,\n streakStatus: data.streak_status as TStreakStatus,\n tournamentRank: data.tournament_rank,\n projects: {\n games: {\n label: data.projects.games.label,\n type: ProjectType.GAME,\n initialProgressValue: 0,\n data: data.projects.games.data.map(game => ({\n id: game.id,\n name: game.name,\n cardLottie: game.card,\n tutorial: game.tutorial,\n variant: game.variant,\n isPlayed: game.played,\n })),\n },\n puzzles: {\n label: data.projects.puzzles.label,\n type: ProjectType.PUZZLE,\n initialProgressValue: 0,\n data: data.projects.puzzles.data.map(puzzle => ({\n id: puzzle.id,\n name: puzzle.name,\n cardLottie: puzzle.card,\n tutorial: puzzle.tutorial,\n variant: puzzle.variant,\n question: puzzle.question,\n isHintSeen: puzzle.is_hint_seen,\n solved: puzzle.solved,\n })),\n },\n },\n timestamps: {\n startTimestamp: data.timestamps.start_timestamp,\n endTimestamp: data.timestamps.end_timestamp,\n current: data.timestamps.current,\n },\n coachmarkProgress: {\n CIRCLE_ACTIVITIES_INTRO_JOURNEY:\n data.coachmark_completion.CIRCLE_ACTIVITIES_INTRO_JOURNEY,\n CIRCLE_LEADERBOARD_INTRO_JOURNEY:\n data.coachmark_completion.CIRCLE_LEADERBOARD_INTRO_JOURNEY,\n CIRCLE_POINTS_REWARD_JOURNEY: data.coachmark_completion.CIRCLE_POINTS_REWARD_JOURNEY,\n CIRCLE_STREAK_UPDATE_JOURNEY: data.coachmark_completion.CIRCLE_STREAK_UPDATE_JOURNEY,\n CIRCLE_TUTORIAL_JOURNEY: data.coachmark_completion.CIRCLE_TUTORIAL_JOURNEY,\n CIRCLE_TABLES_INTRO_JOURNEY: data.coachmark_completion.CIRCLE_TABLES_INTRO_JOURNEY,\n },\n };\n\n if (data.projects.lessons) {\n circleHomeDetails.projects.lessons = {\n label: data.projects.lessons.label,\n type: ProjectType.LESSON,\n initialProgressValue: 0,\n data: data.projects.lessons.data.map(lesson => ({\n id: lesson.id,\n name: lesson.name,\n cardLottie: lesson.card,\n tutorial: lesson.tutorial,\n variant: lesson.variant,\n sessionId: lesson.session_id,\n miniGameIdentifier: lesson.mini_game_identifier,\n targetQuestions: lesson.target_questions,\n status: lesson.status,\n })),\n };\n }\n\n if (data.projects.tables) {\n circleHomeDetails.projects.tables = {\n label: data.projects.tables.label,\n type: ProjectType.TABLE,\n data: {\n infiniteModeHighScore: data.projects.tables.data.infinite_mode_high_score,\n tableList: data.projects.tables.data.table_wise_details.map(table => ({\n tableNumber: table.table_number,\n stars: table.stars as TTableMode[],\n })),\n },\n };\n }\n }\n setContentForToday(circleHomeDetails);\n }, [data, isProcessed]);\n\n return { data: contentForToday, isProcessed, getCircleHomeDetails, ...rest };\n};\n"],"names":["useGetCircleHomeDetailsDal","userId","grade","contentForToday","setContentForToday","useState","data","getHomeDetails","isProcessed","rest","useGetCircleHomeAPI","getCircleHomeDetails","useCallback","countryCode","useEffect","circleHomeDetails","ProjectType","game","puzzle","lesson","table"],"mappings":";;;AAWa,MAAAA,IAA6B,CACxCC,GACAC,MAIG;AACH,QAAM,CAACC,GAAiBC,CAAkB,IAAIC,EAAoC,IAAI,GAChF,EAAE,MAAAC,GAAM,KAAKC,GAAgB,aAAAC,GAAa,GAAGC,EAAA,IAASC,KAEtDC,IAAuBC;AAAA,IAC3B,CAACC,MAAwB;AACvB,MAAAN,EAAe,IAAI;AAAA,QACjB,SAASN;AAAA,QACT,cAAcY;AAAA,QACd,OAAAX;AAAA,MAAA,CACD;AAAA,IACH;AAAA,IACA,CAACK,GAAgBN,GAAQC,CAAK;AAAA,EAAA;AAGhC,SAAAY,EAAU,MAAM;AACd,QAAIC,IAA+C;AAEnD,IAAIP,KAAeF,MACGS,IAAA;AAAA,MAClB,QAAQT,EAAK;AAAA,MACb,YAAYA,EAAK;AAAA,MACjB,iBAAiBA,EAAK;AAAA,MACtB,2BAA2BA,EAAK;AAAA,MAChC,cAAcA,EAAK;AAAA,MACnB,gBAAgBA,EAAK;AAAA,MACrB,UAAU;AAAA,QACR,OAAO;AAAA,UACL,OAAOA,EAAK,SAAS,MAAM;AAAA,UAC3B,MAAMU,EAAY;AAAA,UAClB,sBAAsB;AAAA,UACtB,MAAMV,EAAK,SAAS,MAAM,KAAK,IAAI,CAASW,OAAA;AAAA,YAC1C,IAAIA,EAAK;AAAA,YACT,MAAMA,EAAK;AAAA,YACX,YAAYA,EAAK;AAAA,YACjB,UAAUA,EAAK;AAAA,YACf,SAASA,EAAK;AAAA,YACd,UAAUA,EAAK;AAAA,UAAA,EACf;AAAA,QACJ;A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AA,IAAA,IAIFb,EAAK,SAAS,WAChBS,EAAkB,SAAS,SAAS;AAAA,MAClC,OAAOT,EAAK,SAAS,OAAO;AAAA,MAC5B,MAAMU,EAAY;AAAA,MAClB,MAAM;AAAA,QACJ,uBAAuBV,EAAK,SAAS,OAAO,KAAK;AAAA,QACjD,WAAWA,EAAK,SAAS,OAAO,KAAK,mBAAmB,IAAI,CAAUc,OAAA;AAAA,UACpE,aAAaA,EAAM;AAAA,UACnB,OAAOA,EAAM;AAAA,QAAA,EACb;AAAA,MACJ;AAAA,IAAA,KAINhB,EAAmBW,CAAiB;AAAA,EAAA,GACnC,CAACT,GAAME,CAAW,CAAC,GAEf,EAAE,MAAML,GAAiB,aAAAK,GAAa,sBAAAG,GAAsB,GAAGF;AACxE;"}
|
@@ -1,21 +1,21 @@
|
|
1
1
|
import { useCallback as n } from "react";
|
2
2
|
import { usePostUpdateCircleCoachmark as a } from "../../api/update-circle-onboarding/post-circle-coachmark-api.js";
|
3
|
-
const p = () => {
|
3
|
+
const p = (o) => {
|
4
4
|
const {
|
5
|
-
post:
|
6
|
-
isProcessing:
|
7
|
-
onComplete:
|
8
|
-
...
|
9
|
-
} = a(),
|
10
|
-
(
|
11
|
-
|
12
|
-
intelenrollment_id:
|
5
|
+
post: e,
|
6
|
+
isProcessing: t,
|
7
|
+
onComplete: r,
|
8
|
+
...s
|
9
|
+
} = a(), c = n(
|
10
|
+
(l) => {
|
11
|
+
e({
|
12
|
+
intelenrollment_id: o,
|
13
13
|
completed_coachmarks: l
|
14
14
|
});
|
15
15
|
},
|
16
|
-
[o]
|
16
|
+
[e, o]
|
17
17
|
);
|
18
|
-
return { ...
|
18
|
+
return { ...s, isProcessing: t, onComplete: r, postCircleJourneyCompletion: c };
|
19
19
|
};
|
20
20
|
export {
|
21
21
|
p as usePostUpdateCircleJourneyDal
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use-post-update-circle-journey-dal.js","sources":["../../../../../../src/features/circle-games/game-launcher/dal/use-post-update-circle-journey-dal/use-post-update-circle-journey-dal.ts"],"sourcesContent":["import type { TJourneyId } from '../../../../journey/journey-id/journey-id-types';\n\nimport { useCallback } from 'react';\n\nimport { usePostUpdateCircleCoachmark } from '../../api/update-circle-onboarding/post-circle-coachmark-api';\n\nexport const usePostUpdateCircleJourneyDal = (): Omit
|
1
|
+
{"version":3,"file":"use-post-update-circle-journey-dal.js","sources":["../../../../../../src/features/circle-games/game-launcher/dal/use-post-update-circle-journey-dal/use-post-update-circle-journey-dal.ts"],"sourcesContent":["import type { TJourneyId } from '../../../../journey/journey-id/journey-id-types';\n\nimport { useCallback } from 'react';\n\nimport { usePostUpdateCircleCoachmark } from '../../api/update-circle-onboarding/post-circle-coachmark-api';\n\nexport const usePostUpdateCircleJourneyDal = (\n userId: string,\n): Omit<ReturnType<typeof usePostUpdateCircleCoachmark>, 'data' | 'post'> & {\n postCircleJourneyCompletion: (journeyCompletionIds: TJourneyId[]) => void;\n} => {\n const {\n post: postCircleCoachmark,\n isProcessing,\n onComplete,\n ...rest\n } = usePostUpdateCircleCoachmark();\n\n const postCircleJourneyCompletion = useCallback(\n (journeyCompletionIds: TJourneyId[]) => {\n postCircleCoachmark({\n intelenrollment_id: userId,\n completed_coachmarks: journeyCompletionIds,\n });\n },\n [postCircleCoachmark, userId],\n );\n\n return { ...rest, isProcessing, onComplete, postCircleJourneyCompletion };\n};\n"],"names":["usePostUpdateCircleJourneyDal","userId","postCircleCoachmark","isProcessing","onComplete","rest","usePostUpdateCircleCoachmark","postCircleJourneyCompletion","useCallback","journeyCompletionIds"],"mappings":";;AAMa,MAAAA,IAAgC,CAC3CC,MAGG;AACG,QAAA;AAAA,IACJ,MAAMC;AAAA,IACN,cAAAC;AAAA,IACA,YAAAC;AAAA,IACA,GAAGC;AAAA,MACDC,EAA6B,GAE3BC,IAA8BC;AAAA,IAClC,CAACC,MAAuC;AAClB,MAAAP,EAAA;AAAA,QAClB,oBAAoBD;AAAA,QACpB,sBAAsBQ;AAAA,MAAA,CACvB;AAAA,IACH;AAAA,IACA,CAACP,GAAqBD,CAAM;AAAA,EAAA;AAG9B,SAAO,EAAE,GAAGI,GAAM,cAAAF,GAAc,YAAAC,GAAY,6BAAAG,EAA4B;AAC1E;"}
|
package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.js
CHANGED
@@ -1,14 +1,13 @@
|
|
1
|
-
const _ =
|
1
|
+
const _ = 2, E = 3, A = 500, T = 1500, L = 1e3, I = 3e3, O = 3100, S = 100, C = 3e3;
|
2
2
|
export {
|
3
|
-
|
4
|
-
_ as
|
5
|
-
|
6
|
-
|
7
|
-
T as
|
8
|
-
L as SHOW_INITIAL_TOOLTIP_AFTER_MS,
|
3
|
+
L as GO_TO_TABLE_LAUNCHER_DURATION_MS,
|
4
|
+
_ as PUZZLE_CARD_INDEX,
|
5
|
+
I as SHOW_CLICK_TABLE_NUDGE_AFTER_MS,
|
6
|
+
A as SHOW_INITIAL_COACHMARK_AFTER_MS,
|
7
|
+
T as SHOW_INITIAL_TOOLTIP_AFTER_MS,
|
9
8
|
C as SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS,
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
S as SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS,
|
10
|
+
O as START_ANIMATING_CLONED_ELEM,
|
11
|
+
E as TABLE_CARD_INDEX
|
13
12
|
};
|
14
13
|
//# sourceMappingURL=constants.js.map
|
package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../../../src/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.ts"],"sourcesContent":["export const
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../../../src/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.ts"],"sourcesContent":["export const PUZZLE_CARD_INDEX = 2;\nexport const TABLE_CARD_INDEX = 3;\n\nexport const SHOW_INITIAL_COACHMARK_AFTER_MS = 500;\nexport const SHOW_INITIAL_TOOLTIP_AFTER_MS = 1500;\n\nexport const GO_TO_TABLE_LAUNCHER_DURATION_MS = 1000;\nexport const SHOW_CLICK_TABLE_NUDGE_AFTER_MS = 3000;\nexport const START_ANIMATING_CLONED_ELEM = SHOW_CLICK_TABLE_NUDGE_AFTER_MS + 100;\n\nexport const SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS = 100;\nexport const SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS = 3000;\n"],"names":["PUZZLE_CARD_INDEX","TABLE_CARD_INDEX","SHOW_INITIAL_COACHMARK_AFTER_MS","SHOW_INITIAL_TOOLTIP_AFTER_MS","GO_TO_TABLE_LAUNCHER_DURATION_MS","SHOW_CLICK_TABLE_NUDGE_AFTER_MS","START_ANIMATING_CLONED_ELEM","SHOW_PICK_A_LEVEL_TOOLTIP_AFTER_MS","SHOW_PICK_A_LEVEL_NUDGE_AFTER_MS"],"mappings":"AAAO,MAAMA,IAAoB,GACpBC,IAAmB,GAEnBC,IAAkC,KAClCC,IAAgC,MAEhCC,IAAmC,KACnCC,IAAkC,KAClCC,IAA8B,MAE9BC,IAAqC,KACrCC,IAAmC;"}
|