@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
package/README.md
CHANGED
|
@@ -176,6 +176,12 @@ progress API: `API.md` next to it.
|
|
|
176
176
|
shell's adapters), `guide-ui.tsx`, `guide-styles.ts`. Tests:
|
|
177
177
|
`src/guide/*.test.ts`.
|
|
178
178
|
|
|
179
|
+
### 0.1.71
|
|
180
|
+
|
|
181
|
+
- Escape on the finish card closes it where the person is. Only the button
|
|
182
|
+
follows `complete.action`, which may lead to another app (Platform's finish
|
|
183
|
+
goes to Peoplx).
|
|
184
|
+
|
|
179
185
|
### 0.1.70
|
|
180
186
|
|
|
181
187
|
- `GuideSuite.reopenHint`: what the skip and exit confirms say about
|
|
@@ -1453,6 +1453,11 @@ function reduceGuide(state, action, suite, env) {
|
|
|
1453
1453
|
d.effects.push({ type: "navigate", href: filled });
|
|
1454
1454
|
break;
|
|
1455
1455
|
}
|
|
1456
|
+
case "dismissComplete":
|
|
1457
|
+
if (s.name !== "complete")
|
|
1458
|
+
break;
|
|
1459
|
+
setScreen(d, { name: "idle" });
|
|
1460
|
+
break;
|
|
1456
1461
|
case "openPanel":
|
|
1457
1462
|
if (state.audience !== "none" && s.name === "idle") {
|
|
1458
1463
|
d.state = { ...d.state, panelOpen: true };
|
|
@@ -3566,8 +3571,10 @@ function GuideRuntimeInner({ config, organizationId, code, routing, progress: pr
|
|
|
3566
3571
|
dispatchRef.current({ type: "rest" });
|
|
3567
3572
|
}
|
|
3568
3573
|
else if (sc.name === "complete") {
|
|
3574
|
+
// Escape closes the card where the person is; only the button
|
|
3575
|
+
// follows complete.action, which may be another app.
|
|
3569
3576
|
stop();
|
|
3570
|
-
dispatchRef.current({ type: "
|
|
3577
|
+
dispatchRef.current({ type: "dismissComplete" });
|
|
3571
3578
|
}
|
|
3572
3579
|
else if (s.panelOpen) {
|
|
3573
3580
|
stop();
|
|
@@ -3840,4 +3847,4 @@ function useFactsKey(facts) {
|
|
|
3840
3847
|
}
|
|
3841
3848
|
|
|
3842
3849
|
export { API_EVENT as A, GUIDE_EVENT_PREFIX as G, GUIDE_LAYER_ATTRIBUTE as a, GuideErrorBoundary as b, GuideProgressConflict as c, GuideRuntime as d, apiCallDetail as e, emitGuideEvent as f, fillRoute as g, guideAnchor as h, matchRoute as i, reportApiEvent as j, loadGuides as l, matchApiPath as m, openGuidePanel as o, reportApiCall as r, storeGuides as s, useGuideEntry as u };
|
|
3843
|
-
//# sourceMappingURL=guide-runtime-
|
|
3850
|
+
//# sourceMappingURL=guide-runtime-BTatpm-V.esm.js.map
|