@gamelearn/arcade-components 3.31.2 → 3.31.3
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.
|
@@ -61693,7 +61693,7 @@ function DragToSceneComponent({
|
|
|
61693
61693
|
l == null ? void 0 : l.uid,
|
|
61694
61694
|
s
|
|
61695
61695
|
]), N = useCallback(() => {
|
|
61696
|
-
|
|
61696
|
+
d({
|
|
61697
61697
|
type: "addPoints",
|
|
61698
61698
|
complex: !0,
|
|
61699
61699
|
finish: v == null ? void 0 : v.success,
|
|
@@ -61701,13 +61701,13 @@ function DragToSceneComponent({
|
|
|
61701
61701
|
v != null && v.success ? d({ type: "success" }) : d({ type: "closeScreen" });
|
|
61702
61702
|
},
|
|
61703
61703
|
payload: v != null && v.varsPoints ? v == null ? void 0 : v.varsPoints : []
|
|
61704
|
-
});
|
|
61704
|
+
}), g(!1);
|
|
61705
61705
|
}, [d, v == null ? void 0 : v.success, v == null ? void 0 : v.varsPoints]);
|
|
61706
61706
|
return useEffect(() => {
|
|
61707
61707
|
l ? p ? C() : w() : d({ type: "closeScreen" });
|
|
61708
61708
|
}, [w, C, d, l, p]), useEffect(() => {
|
|
61709
|
-
v != null && v.success
|
|
61710
|
-
}, [v]), S ? /* @__PURE__ */ jsxRuntimeExports.jsx(PseudoNoEvaluationEvent, { onPass: N }) : R ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
61709
|
+
v && (v != null && v.success ? g(!0) : d({ type: "closeScreen" }));
|
|
61710
|
+
}, [d, v]), S ? /* @__PURE__ */ jsxRuntimeExports.jsx(PseudoNoEvaluationEvent, { onPass: N }) : R ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
61711
61711
|
FeedbackComponent$1,
|
|
61712
61712
|
{
|
|
61713
61713
|
text: R.desc,
|