@eintrek/erp-shell 0.1.70 → 0.1.71
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/README.md +6 -0
- package/dist/chunks/{guide-runtime-CUCcs6q0.esm.js → guide-runtime-BTatpm-V.esm.js} +9 -2
- package/dist/chunks/guide-runtime-BTatpm-V.esm.js.map +1 -0
- package/dist/chunks/{guide-runtime-BO-BFIgr.cjs → guide-runtime-B_fYkQv7.cjs} +9 -2
- package/dist/chunks/guide-runtime-B_fYkQv7.cjs.map +1 -0
- package/dist/guide/machine.d.ts +4 -0
- package/dist/guide-core.cjs +1 -1
- package/dist/guide-core.esm.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.esm.js +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunks/guide-runtime-BO-BFIgr.cjs.map +0 -1
- package/dist/chunks/guide-runtime-CUCcs6q0.esm.js.map +0 -1
|
@@ -1473,6 +1473,11 @@ function reduceGuide(state, action, suite, env) {
|
|
|
1473
1473
|
d.effects.push({ type: "navigate", href: filled });
|
|
1474
1474
|
break;
|
|
1475
1475
|
}
|
|
1476
|
+
case "dismissComplete":
|
|
1477
|
+
if (s.name !== "complete")
|
|
1478
|
+
break;
|
|
1479
|
+
setScreen(d, { name: "idle" });
|
|
1480
|
+
break;
|
|
1476
1481
|
case "openPanel":
|
|
1477
1482
|
if (state.audience !== "none" && s.name === "idle") {
|
|
1478
1483
|
d.state = { ...d.state, panelOpen: true };
|
|
@@ -3586,8 +3591,10 @@ function GuideRuntimeInner({ config, organizationId, code, routing, progress: pr
|
|
|
3586
3591
|
dispatchRef.current({ type: "rest" });
|
|
3587
3592
|
}
|
|
3588
3593
|
else if (sc.name === "complete") {
|
|
3594
|
+
// Escape closes the card where the person is; only the button
|
|
3595
|
+
// follows complete.action, which may be another app.
|
|
3589
3596
|
stop();
|
|
3590
|
-
dispatchRef.current({ type: "
|
|
3597
|
+
dispatchRef.current({ type: "dismissComplete" });
|
|
3591
3598
|
}
|
|
3592
3599
|
else if (s.panelOpen) {
|
|
3593
3600
|
stop();
|
|
@@ -3877,4 +3884,4 @@ exports.reportApiCall = reportApiCall;
|
|
|
3877
3884
|
exports.reportApiEvent = reportApiEvent;
|
|
3878
3885
|
exports.storeGuides = storeGuides;
|
|
3879
3886
|
exports.useGuideEntry = useGuideEntry;
|
|
3880
|
-
//# sourceMappingURL=guide-runtime-
|
|
3887
|
+
//# sourceMappingURL=guide-runtime-B_fYkQv7.cjs.map
|