@anzusystems/common-admin 1.47.0-beta.dev-1784059878 → 1.47.0-beta.dev-1788289119

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/labs.d.ts CHANGED
@@ -2591,6 +2591,13 @@ declare interface UseUnsavedChangesGuardApi {
2591
2591
  * next unrelated navigation. Consuming it (a real leave) clears the timer.
2592
2592
  */
2593
2593
  acknowledge: () => void;
2594
+ /**
2595
+ * Releases what the guard registered imperatively — `beforeunload` listener, acknowledge timer,
2596
+ * dialog watcher — and settles an open prompt as "stay". Idempotent, and called automatically on
2597
+ * unmount; outside a component it is the only way to clean up. The route-leave guard is
2598
+ * lifecycle-bound and unaffected.
2599
+ */
2600
+ stop: () => void;
2594
2601
  /**
2595
2602
  * Cancel a pending `acknowledge()` (disarm). Call from a delete's failure path
2596
2603
  * so a failed/aborted delete restores the guard immediately instead of waiting