@ama-mfe/ng-utils 14.5.0-prerelease.9 → 14.5.0-rc.2

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.
@@ -1,12 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { PipeTransform } from '@angular/core';
2
+ import { DestroyRef, PipeTransform, Signal, OnDestroy, InjectionToken, EnvironmentProviders } from '@angular/core';
3
3
  import { SafeResourceUrl } from '@angular/platform-browser';
4
- import { Logger } from '@o3r/logger';
4
+ import { Logger, LoggerService } from '@o3r/logger';
5
5
  import { MessagePeerConfig, MessagePeerServiceType } from '@amadeus-it-group/microfrontends-angular';
6
6
  export { MessagePeerConfig as ConnectionConfig, MessagePeerService as ConnectionService } from '@amadeus-it-group/microfrontends-angular';
7
- import { UserActivityMessage, HistoryMessage, HistoryV1_0, NavigationMessage, NavigationV1_0, NavigationV1_1, ResizeMessage, ResizeV1_0, ThemeMessage, ThemeV1_0, ThemeStructure, UserActivityEventType, UserActivityMessageV1_0 } from '@ama-mfe/messages';
7
+ import { UserActivityMessage, HistoryMessage, HistoryV1_0, NavigationMessage, NavigationV1_0, NavigationV1_1, NavigationBlockStateV1_0, NavigationBlockStateMessage, NavigationRequestV1_0, NavigationDecisionV1_0, NAVIGATION_REQUEST_MESSAGE_TYPE, NAVIGATION_DECISION_MESSAGE_TYPE, NavigationRequestMessage, NavigationDecisionMessage, ResizeMessage, ResizeV1_0, ThemeMessage, ThemeV1_0, ThemeStructure, UserActivityEventType, UserActivityMessageV1_0 } from '@ama-mfe/messages';
8
8
  import { VersionedMessage, RoutedMessage, PeerConnectionOptions } from '@amadeus-it-group/microfrontends';
9
9
  import * as rxjs from 'rxjs';
10
+ import { CanActivateFn, CanActivateChildFn, CanDeactivateFn } from '@angular/router';
10
11
 
11
12
  declare class ConnectDirective {
12
13
  /**
@@ -144,7 +145,7 @@ interface MessageConsumer<T extends VersionedMessage = VersionedMessage> extends
144
145
  */
145
146
  interface MessageProducer<T extends VersionedMessage = VersionedMessage> {
146
147
  /** The types of the produced message */
147
- types: T['type'] | T['type'][];
148
+ types: T['type'] | readonly T['type'][];
148
149
  /**
149
150
  * The producer should handle an error in case that it has produced a message which cannot be consumed by other peers
150
151
  * @param message the error message received from a peer when the message sent previously has raised an error
@@ -185,6 +186,32 @@ declare class ConsumerManagerService {
185
186
  static ɵprov: i0.ɵɵInjectableDeclaration<ConsumerManagerService>;
186
187
  }
187
188
 
189
+ /**
190
+ * An abstract base class for message consumers that provides common functionality for registering and unregistering with the ConsumerManagerService.
191
+ *
192
+ * This class implements the MessageConsumer interface and provides a default implementation for the start and stop methods.
193
+ * It also handles the automatic registration and unregistration of the consumer with the ConsumerManagerService when the service is created and destroyed.
194
+ *
195
+ * To use this class, simply extend it and implement the required properties (type and supportedVersions) and any additional logic needed to consume messages.
196
+ */
197
+ declare abstract class AbstractMessageConsumer<T extends VersionedMessage = VersionedMessage> implements MessageConsumer<T> {
198
+ /** The service used to register the consumer */
199
+ protected readonly consumerManagerService: ConsumerManagerService;
200
+ /** The reference used to handle the destruction of the consumer */
201
+ protected readonly destroyRef: DestroyRef;
202
+ /** Logger shared with subclasses. */
203
+ protected readonly logger: LoggerService;
204
+ private unregisterCallback?;
205
+ /** @inheritdoc */
206
+ abstract readonly type: MessageConsumer<T>['type'];
207
+ /** @inheritdoc */
208
+ abstract readonly supportedVersions: MessageConsumer<T>['supportedVersions'];
209
+ /** @inheritdoc */
210
+ start(): void;
211
+ /** @inheritdoc */
212
+ stop(): void;
213
+ }
214
+
188
215
  declare class ProducerManagerService {
189
216
  private readonly registeredProducers;
190
217
  /** Get the list of registered producers of messages. The list will contain unique elements */
@@ -228,7 +255,7 @@ declare const registerConsumer: (consumer: MessageConsumer) => void;
228
255
  *
229
256
  * This service listens for history messages and navigates accordingly.
230
257
  */
231
- declare class HistoryConsumerService implements MessageConsumer<HistoryMessage> {
258
+ declare class HistoryConsumerService extends AbstractMessageConsumer<HistoryMessage> {
232
259
  /**
233
260
  * The type of messages this service handles.
234
261
  */
@@ -243,16 +270,7 @@ declare class HistoryConsumerService implements MessageConsumer<HistoryMessage>
243
270
  */
244
271
  '1.0': (message: RoutedMessage<HistoryV1_0>) => void;
245
272
  };
246
- private readonly consumerManagerService;
247
273
  constructor();
248
- /**
249
- * @inheritdoc
250
- */
251
- start(): void;
252
- /**
253
- * @inheritdoc
254
- */
255
- stop(): void;
256
274
  static ɵfac: i0.ɵɵFactoryDeclaration<HistoryConsumerService, never>;
257
275
  static ɵprov: i0.ɵɵInjectableDeclaration<HistoryConsumerService>;
258
276
  }
@@ -368,7 +386,7 @@ declare class IframeEmbedComponent {
368
386
  *
369
387
  * This service listens for navigation messages and updates the router state accordingly.
370
388
  */
371
- declare class NavigationConsumerService implements MessageConsumer<NavigationMessage> {
389
+ declare class NavigationConsumerService extends AbstractMessageConsumer<NavigationMessage> {
372
390
  private readonly router;
373
391
  private readonly activeRoute;
374
392
  private readonly requestedUrl;
@@ -400,7 +418,6 @@ declare class NavigationConsumerService implements MessageConsumer<NavigationMes
400
418
  */
401
419
  '1.1': (message: RoutedMessage<NavigationV1_1>) => void;
402
420
  };
403
- private readonly consumerManagerService;
404
421
  constructor();
405
422
  /**
406
423
  * Parses a URL and returns an object containing the paths and query parameters.
@@ -414,14 +431,6 @@ declare class NavigationConsumerService implements MessageConsumer<NavigationMes
414
431
  * @param extras - Optional navigation extras forwarded from the embedded application.
415
432
  */
416
433
  private navigate;
417
- /**
418
- * @inheritdoc
419
- */
420
- start(): void;
421
- /**
422
- * @inheritdoc
423
- */
424
- stop(): void;
425
434
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationConsumerService, never>;
426
435
  static ɵprov: i0.ɵɵInjectableDeclaration<NavigationConsumerService>;
427
436
  }
@@ -585,10 +594,392 @@ declare class RoutingService implements MessageProducer<NavigationMessage>, Mess
585
594
  static ɵprov: i0.ɵɵInjectableDeclaration<RoutingService>;
586
595
  }
587
596
 
597
+ /**
598
+ * Current navigation block state held by a module.
599
+ */
600
+ interface NavigationBlockState {
601
+ /** `true` when the module holds unsaved work and navigation must be confirmed. */
602
+ blocked: boolean;
603
+ /** Optional reason displayed in the confirmation modal. */
604
+ reason?: string;
605
+ }
606
+ /**
607
+ * Module-side writable source of truth for the navigation block state.
608
+ *
609
+ * Feature code (forms, editors, etc.) calls {@link block} when unsaved changes appear and {@link unblock} once they are saved or discarded.
610
+ * The {@link NavigationBlockStateProducerService} watches this signal and mirrors the state to the shell;
611
+ * the {@link navigationBlockModuleGuard} reads it to decide whether to intercept in-module navigation.
612
+ */
613
+ declare class NavigationBlockService {
614
+ private readonly stateSignal;
615
+ /** Readonly view of the current navigation block state. */
616
+ readonly state: Signal<NavigationBlockState>;
617
+ /**
618
+ * Mark the module as blocked (unsaved changes present).
619
+ * @param reason Optional human-readable reason shown in the confirmation modal.
620
+ */
621
+ block(reason?: string): void;
622
+ /** Mark the module as unblocked (no unsaved changes). */
623
+ unblock(): void;
624
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationBlockService, never>;
625
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavigationBlockService>;
626
+ }
627
+
628
+ /**
629
+ * Module-side producer that mirrors {@link NavigationBlockService} to the shell via `navigation-block-state` messages.
630
+ * Every state change triggers a broadcast so the shell guard can decide without a round-trip.
631
+ *
632
+ * Runs module-side only (it watches the module's writable state). The shell never instantiates it.
633
+ */
634
+ declare class NavigationBlockStateProducerService implements MessageProducer<NavigationBlockStateV1_0> {
635
+ /**
636
+ * @inheritdoc
637
+ */
638
+ readonly types = "navigation-block-state";
639
+ private readonly connectionService;
640
+ private readonly producerManagerService;
641
+ private readonly logger;
642
+ private readonly store;
643
+ constructor();
644
+ /**
645
+ * @inheritdoc
646
+ */
647
+ handleError(message: ErrorContent<NavigationBlockStateV1_0>): void;
648
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationBlockStateProducerService, never>;
649
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavigationBlockStateProducerService>;
650
+ }
651
+
652
+ /**
653
+ * Navigation block state as observed by the shell, extended with the originating channel ID
654
+ * so the shell knows which module to notify when navigation is confirmed.
655
+ */
656
+ interface ObservedNavigationBlockState extends NavigationBlockState {
657
+ /** Id of the module (channel) that sent the last state message. */
658
+ channelId?: string;
659
+ }
660
+ /**
661
+ * Shell-side consumer for `navigation-block-state` messages sent by modules.
662
+ *
663
+ * Keeps the last received state in a signal that the shell guard reads to decide whether to intercept shell-initiated navigation.
664
+ * The state stays `undefined` until any module reports a value (interpreted as "no block known" which means navigation is allowed).
665
+ */
666
+ declare class NavigationBlockStateConsumerService extends AbstractMessageConsumer<NavigationBlockStateMessage> {
667
+ /**
668
+ * @inheritdoc
669
+ */
670
+ readonly type = "navigation-block-state";
671
+ /**
672
+ * @inheritdoc
673
+ */
674
+ readonly supportedVersions: {
675
+ '1.0': (message: RoutedMessage<NavigationBlockStateV1_0>) => void;
676
+ };
677
+ private readonly blockStateSignal;
678
+ /** Last navigation block state reported by any module. */
679
+ readonly blockState: Signal<ObservedNavigationBlockState | undefined>;
680
+ /**
681
+ * Mark the state as unblocked after the shell has resolved a confirmation (e.g. the user confirmed a sidebar-initiated navigation).
682
+ */
683
+ clear(): void;
684
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationBlockStateConsumerService, never>;
685
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavigationBlockStateConsumerService>;
686
+ }
687
+
688
+ type ProducedMessage = NavigationRequestV1_0 | NavigationDecisionV1_0;
689
+ /**
690
+ * Manages navigation request/decision round-trip communication for **both** shell and module.
691
+ * Sends `navigation-request` messages, tracks pending requests, and sends `navigation-decision` replies.
692
+ * Correlates responses with their originating requests using correlation IDs.
693
+ *
694
+ * - Module-initiated navigation → guard calls `requestNavigation()` with no target, broadcasting to the shell;
695
+ * the shell's handler opens the modal and replies.
696
+ * - Shell-initiated navigation → guard calls `requestNavigation(channelId)` after the user already confirmed locally,
697
+ * so the module can run its unblock / draft-persistence logic and reply.
698
+ *
699
+ * If the peer never replies the returned promise stays pending and the navigation is held — callers rely on Angular
700
+ * tearing their context down (the producer's `ngOnDestroy` resolves pending promises to `false`).
701
+ */
702
+ declare class NavigationRequestManagerService implements MessageProducer<ProducedMessage>, OnDestroy {
703
+ /**
704
+ * @inheritdoc
705
+ */
706
+ readonly types: [typeof NAVIGATION_REQUEST_MESSAGE_TYPE, typeof NAVIGATION_DECISION_MESSAGE_TYPE];
707
+ private readonly connectionService;
708
+ private readonly producerManagerService;
709
+ private readonly logger;
710
+ /**
711
+ * Single-flight slot for the in-progress negotiation. Only one request is ever pending: navigations are sequential
712
+ * (one active module, and a blocking shell modal prevents the user from starting another while it is open), so this
713
+ * is not about concurrent navigations. Its purpose is to de-duplicate the *re-entrant* guard calls a single navigation
714
+ * produces — `canActivate` + `canActivateChild` on the same route, or re-runs from `runGuardsAndResolvers: 'always'`.
715
+ * Those fire before any decision returns, and on the module side there is no local modal to serialize them, so without
716
+ * this slot one navigation would emit multiple `navigation-request` messages. Reusing the slot makes every re-entrant
717
+ * call await the same round-trip.
718
+ */
719
+ private pendingRequest?;
720
+ constructor();
721
+ /**
722
+ * Ask the peer to handle the navigation. Resolves when the peer replies with a `navigation-decision`.
723
+ * If the peer never replies the promise stays pending.
724
+ *
725
+ * Re-entrant calls while a request is pending (e.g. the same navigation firing both `canActivate` and `canActivateChild`)
726
+ * return the same promise, so only one round-trip is sent.
727
+ * @param target Optional target peer id. Omit to broadcast (module → shell).
728
+ * @param reason Optional human-readable reason surfaced in the shell modal.
729
+ */
730
+ requestNavigation(target?: string, reason?: string): Promise<boolean>;
731
+ /**
732
+ * Send a `navigation-decision` reply with the given `correlationId`.
733
+ * Called by {@link NavigationNegotiationConsumerService} after the side-specific handler has finished.
734
+ * @param correlationId id echoed from the request
735
+ * @param target peer id of the original sender
736
+ * @param proceed whether to allow navigation (default true)
737
+ */
738
+ sendDecision(correlationId: string, target: string, proceed?: boolean): void;
739
+ /**
740
+ * Called by {@link NavigationDecisionConsumerService} when a decision arrives.
741
+ * Resolves the pending promise if the `correlationId` matches.
742
+ * @param correlationId
743
+ * @param proceed
744
+ */
745
+ resolvePendingRequest(correlationId: string, proceed: boolean): void;
746
+ /**
747
+ * @inheritdoc
748
+ */
749
+ handleError(message: ErrorContent<ProducedMessage>): void;
750
+ ngOnDestroy(): void;
751
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationRequestManagerService, never>;
752
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavigationRequestManagerService>;
753
+ }
754
+
755
+ /**
756
+ * Agnostic consumer for `navigation-request` messages.
757
+ *
758
+ * On each incoming request, invokes the side-specific handler registered under {@link NAVIGATION_REQUEST_HANDLER}:
759
+ * - **Cockpit side** — handler opens the confirmation modal and awaits the user's answer. If the user cancels the handler
760
+ * throws; this consumer catches it and replies with a decision carrying `proceed: false`, so the module's pending promise
761
+ * resolves to `false` and the in-iframe navigation is held until a fresh request is made.
762
+ * - **Module side** — handler runs the unblock / future draft-persistence logic and resolves. Modules cannot refuse;
763
+ * a decision is always sent.
764
+ */
765
+ declare class NavigationRequestConsumerService extends AbstractMessageConsumer<NavigationRequestMessage> {
766
+ /**
767
+ * @inheritdoc
768
+ */
769
+ readonly type = "navigation-request";
770
+ /**
771
+ * @inheritdoc
772
+ */
773
+ readonly supportedVersions: {
774
+ '1.0': (message: RoutedMessage<NavigationRequestV1_0>) => Promise<void>;
775
+ };
776
+ private readonly producerService;
777
+ private readonly handler;
778
+ private handleRequest;
779
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationRequestConsumerService, never>;
780
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavigationRequestConsumerService>;
781
+ }
782
+
783
+ /** Context passed to a {@link NavigationRequestHandler} for each incoming request. */
784
+ interface NavigationRequestContext {
785
+ /** Peer id that sent the request. */
786
+ from: string;
787
+ /** Optional human-readable reason attached to the request. */
788
+ reason?: string;
789
+ }
790
+ /**
791
+ * Side-specific handler invoked by {@link NavigationRequestConsumerService} whenever a `navigation-request` arrives from a peer.
792
+ *
793
+ * Responsibilities per side:
794
+ * - **Shell application** — open the confirmation modal and await the user's answer. If the user confirms, resolve;
795
+ * if the user cancels, throw / reject so the consumer skips sending the decision. See {@link createNavigationRequestShellHandler}.
796
+ * - **Module** — run the module's local cleanup (at minimum `state.unblock()`; later: persist drafts) and resolve.
797
+ * The module cannot refuse — only the shell modal can. See {@link createNavigationRequestHandler} (the default).
798
+ *
799
+ * Exposed as an interface so apps can supply either a function-style implementation (`{ handle: (ctx) => ... }`)
800
+ * or a class instance — useful when the handler needs its own dependencies.
801
+ */
802
+ interface NavigationRequestHandler {
803
+ handle: (context: NavigationRequestContext) => Promise<void> | void;
804
+ }
805
+ /**
806
+ * Default module-side `navigation-request` handler. Runs the module's local cleanup — at minimum clearing the block state — and resolves.
807
+ * Modules cannot refuse a navigation (only the shell modal can), so this always resolves and a `navigation-decision` is always sent back.
808
+ *
809
+ * Used as the default factory of {@link NAVIGATION_REQUEST_HANDLER}, so a module gets this behavior without any explicit provider.
810
+ * Apps that need to persist drafts before unblocking can override the token with their own handler.
811
+ */
812
+ declare const createNavigationRequestHandler: () => NavigationRequestHandler;
813
+ /**
814
+ * Injection token for the per-side request handler.
815
+ *
816
+ * **Default behavior (modules):** Clears the block state (unblock) — see {@link createNavigationRequestHandler}.
817
+ * **Shell override:** Opens confirmation modal and awaits user decision.
818
+ *
819
+ * The module handler is provided by default at root level. Only the shell application needs to override it
820
+ * with `provideNavigationRequestShellHandler()`.
821
+ */
822
+ declare const NAVIGATION_REQUEST_HANDLER: InjectionToken<NavigationRequestHandler>;
823
+
824
+ /**
825
+ * Provider wiring {@link NAVIGATION_REQUEST_HANDLER} to the module handler.
826
+ * Not normally needed — the token already defaults to this handler — but
827
+ * available for apps that want to register it explicitly.
828
+ */
829
+ declare const provideNavigationRequestModuleHandler: () => EnvironmentProviders;
830
+
831
+ /**
832
+ * Shell application `navigation-request` handler used when a module initiates the navigation (in-iframe link click).
833
+ * Opens the shared confirmation modal, awaits the user's answer, and — on confirm — clears the shell's block mirror.
834
+ * On cancel the handler throws; the consumer catches it and replies with a `navigation-decision` carrying `proceed: false`,
835
+ * so the module's pending promise resolves to `false` and the iframe navigation is held until a fresh request is made.
836
+ */
837
+ declare const createNavigationRequestShellHandler: () => NavigationRequestHandler;
838
+ /**
839
+ * Provider wiring {@link NAVIGATION_REQUEST_HANDLER} to the shell application
840
+ * handler. Register once in the shell app providers to override the default
841
+ * module handler.
842
+ */
843
+ declare const provideNavigationRequestShellHandler: () => EnvironmentProviders;
844
+
845
+ /**
846
+ * Agnostic consumer for `navigation-decision` messages — the reply to a
847
+ * previously sent `navigation-request`. Forwards the decision to
848
+ * {@link NavigationRequestManagerService.resolvePendingRequest} so
849
+ * the awaiting caller's promise resolves.
850
+ */
851
+ declare class NavigationDecisionConsumerService extends AbstractMessageConsumer<NavigationDecisionMessage> {
852
+ /**
853
+ * @inheritdoc
854
+ */
855
+ readonly type = "navigation-decision";
856
+ /**
857
+ * @inheritdoc
858
+ */
859
+ readonly supportedVersions: {
860
+ '1.0': (message: RoutedMessage<NavigationDecisionV1_0>) => void;
861
+ };
862
+ private readonly producerService;
863
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationDecisionConsumerService, never>;
864
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavigationDecisionConsumerService>;
865
+ }
866
+
867
+ /**
868
+ * Shell application guard intercepting shell-initiated navigation (sidebar clicks, URL bar, programmatic `router.navigate`)
869
+ * when the last state received from a module is `blocked`.
870
+ *
871
+ * Can be used as both `canActivate` and `canActivateChild` to ensure the guard runs when entering a route directly
872
+ * or navigating to its children.
873
+ *
874
+ * Flow:
875
+ * - No state received, or `blocked === false` → navigation proceeds.
876
+ * - `blocked === true` → open the confirmation modal.
877
+ * - On cancel/dismiss → return `false`, state is untouched, no message sent to the module.
878
+ * - On confirm → clear the shell mirror, send a `navigation-request` to the originating module (so it can run its unblock /
879
+ * future draft-persistence logic), await its `navigation-decision`, then return `true`.
880
+ */
881
+ declare const navigationBlockShellGuard: CanActivateFn & CanActivateChildFn;
882
+
883
+ /**
884
+ * Module-side guard intercepting navigation away from a page that holds unsaved changes.
885
+ *
886
+ * - `blocked === false` → navigation proceeds.
887
+ * - `blocked === true` → broadcast a `navigation-request` to the shell and await the reply. The shell opens the confirmation modal
888
+ * and replies in both cases: `proceed === true` on confirm, `proceed === false` on cancel/dismiss. On proceed, clear the local
889
+ * state and return `true`; on cancel, return `false` and leave the block state intact so the navigation is held and a later
890
+ * attempt can negotiate again.
891
+ *
892
+ * Wire it as `canDeactivate` only on the routes that can actually hold unsaved work — modules opt in per page.
893
+ */
894
+ declare const navigationBlockModuleGuard: CanDeactivateFn<boolean>;
895
+
896
+ /**
897
+ * Strategy interface for confirming navigation when unsaved changes exist.
898
+ * Implementations provide different UI mechanisms (browser confirm, modal, etc.)
899
+ */
900
+ interface NavigationBlockConfirmation {
901
+ /**
902
+ * Show confirmation UI and await user's decision.
903
+ * @param reason Optional human-readable reason for the block (e.g., "Unsaved order changes")
904
+ * @returns Promise<true> if user confirms navigation, Promise<false> if cancelled
905
+ */
906
+ confirm(reason?: string): Promise<boolean>;
907
+ }
908
+ /**
909
+ * Injection token for the navigation block confirmation strategy.
910
+ * Defaults to {@link BrowserConfirmationStrategy} (uses `window.confirm()`).
911
+ * Apps with a styled modal override the default by passing their own class via `provideNavigationConfig({ confirmationStrategy })`
912
+ * or by binding this token directly.
913
+ */
914
+ declare const NAVIGATION_BLOCK_CONFIRMATION: InjectionToken<NavigationBlockConfirmation>;
915
+
916
+ /**
917
+ * Orchestrates navigation block confirmation by delegating to a pluggable strategy.
918
+ * Handles concurrent call deduplication to prevent duplicate confirmations when guards run multiple times.
919
+ *
920
+ * The confirmation UI is read from the `NAVIGATION_BLOCK_CONFIRMATION` token, which defaults to {@link BrowserConfirmationStrategy}
921
+ * (no setup required). Apps with a styled modal override the token via `provideNavigationConfig({ confirmationStrategy })`
922
+ * or by binding the token directly.
923
+ */
924
+ declare class NavigationBlockConfirmationService {
925
+ private readonly strategy;
926
+ private pendingConfirmation?;
927
+ /**
928
+ * Show confirmation and await user decision. Concurrent calls return the same promise to prevent duplicate confirmations.
929
+ * @param reason Optional reason displayed in the confirmation UI
930
+ * @returns `true` when the user confirms, `false` when they cancel
931
+ */
932
+ confirm(reason?: string): Promise<boolean>;
933
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationBlockConfirmationService, never>;
934
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavigationBlockConfirmationService>;
935
+ }
936
+
937
+ /**
938
+ * Default confirmation strategy using browser's native `window.confirm()`.
939
+ * Simple, no dependencies, works in any environment. Suitable for:
940
+ * - Development/testing
941
+ * - Apps without custom modal libraries
942
+ * - `@ama-mfe` packages that need basic confirmation
943
+ *
944
+ * Production apps typically override this with a modal-based strategy.
945
+ */
946
+ declare class BrowserConfirmationStrategy implements NavigationBlockConfirmation {
947
+ /**
948
+ * Show native browser confirmation dialog.
949
+ * @param reason Optional reason displayed in the message
950
+ * @returns Promise<true> if user clicks OK, Promise<false> if user clicks Cancel
951
+ */
952
+ confirm(reason?: string): Promise<boolean>;
953
+ static ɵfac: i0.ɵɵFactoryDeclaration<BrowserConfirmationStrategy, never>;
954
+ static ɵprov: i0.ɵɵInjectableDeclaration<BrowserConfirmationStrategy>;
955
+ }
956
+
957
+ /**
958
+ * Convenience helper that explicitly binds the {@link NAVIGATION_BLOCK_CONFIRMATION} token to {@link BrowserConfirmationStrategy}.
959
+ *
960
+ * **Usually unnecessary** — the token already defaults to `BrowserConfirmationStrategy` via its tree-shakable factory,
961
+ * so the helper only re-binds the same value. Use it when you want the binding to be visible at the call site
962
+ * (e.g. for documentation in `app.config.ts`) or when you've previously overridden the token and want to switch back
963
+ * to the default in a child injector.
964
+ *
965
+ * Production apps with a styled modal pass their own strategy via `provideNavigationConfig({ confirmationStrategy })` instead.
966
+ * @example
967
+ * ```typescript
968
+ * // app.config.ts
969
+ * export const appConfig: ApplicationConfig = {
970
+ * providers: [
971
+ * provideDefaultNavigationBlockConfirmation(),
972
+ * // ... other providers
973
+ * ]
974
+ * };
975
+ * ```
976
+ */
977
+ declare function provideDefaultNavigationBlockConfirmation(): EnvironmentProviders;
978
+
588
979
  /**
589
980
  * This service listens for resize messages and updates the height of elements based on the received messages.
590
981
  */
591
- declare class ResizeConsumerService implements MessageConsumer<ResizeMessage> {
982
+ declare class ResizeConsumerService extends AbstractMessageConsumer<ResizeMessage> {
592
983
  private readonly newHeight;
593
984
  /**
594
985
  * A readonly signal that provides the new height information from the channel.
@@ -611,16 +1002,7 @@ declare class ResizeConsumerService implements MessageConsumer<ResizeMessage> {
611
1002
  */
612
1003
  '1.0': (message: RoutedMessage<ResizeV1_0>) => void;
613
1004
  };
614
- private readonly consumerManagerService;
615
1005
  constructor();
616
- /**
617
- * Starts the resize handler service by registering it into the consumer manager service.
618
- */
619
- start(): void;
620
- /**
621
- * Stops the resize handler service by unregistering it from the consumer manager service.
622
- */
623
- stop(): void;
624
1006
  static ɵfac: i0.ɵɵFactoryDeclaration<ResizeConsumerService, never>;
625
1007
  static ɵprov: i0.ɵɵInjectableDeclaration<ResizeConsumerService>;
626
1008
  }
@@ -746,10 +1128,8 @@ declare class ApplyTheme implements PipeTransform {
746
1128
  /**
747
1129
  * A service that handles theme messages and applies the received theme.
748
1130
  */
749
- declare class ThemeConsumerService implements MessageConsumer<ThemeMessage> {
1131
+ declare class ThemeConsumerService extends AbstractMessageConsumer<ThemeMessage> {
750
1132
  private readonly domSanitizer;
751
- private readonly consumerManagerService;
752
- private readonly logger;
753
1133
  /**
754
1134
  * The type of messages this service handles ('theme').
755
1135
  */
@@ -765,14 +1145,6 @@ declare class ThemeConsumerService implements MessageConsumer<ThemeMessage> {
765
1145
  '1.0': (message: RoutedMessage<ThemeV1_0>) => Promise<void>;
766
1146
  };
767
1147
  constructor();
768
- /**
769
- * Starts the theme handler service by registering it into the consumer manager service.
770
- */
771
- start(): void;
772
- /**
773
- * Stops the theme handler service by unregistering it from the consumer manager service.
774
- */
775
- stop(): void;
776
1148
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeConsumerService, never>;
777
1149
  static ɵprov: i0.ɵɵInjectableDeclaration<ThemeConsumerService>;
778
1150
  }
@@ -1153,7 +1525,13 @@ declare function getDefaultClientEndpointStartOptions(): PeerConnectionOptions;
1153
1525
  * @param windowParam - A {@link window} object with information about the current window of the document. Defaults to global {@link window}.
1154
1526
  */
1155
1527
  declare function isEmbedded(windowParam?: Window): boolean;
1528
+ /**
1529
+ * Generate a string id suitable for correlating asynchronous request/reply messages across the micro-frontend bus.
1530
+ * Uses `crypto.randomUUID` when the runtime supports it, otherwise falls back to a timestamp + random suffix.
1531
+ * @param prefix Optional prefix used by the fallback path to make ids easier to identify in logs (ignored when `crypto.randomUUID` is available).
1532
+ */
1533
+ declare function generateCorrelationId(prefix?: string): string;
1156
1534
 
1157
- export { ACTIVITY_EVENTS, ActivityConsumerService, ActivityProducerService, ApplyTheme, ConnectDirective, ConsumerManagerService, DEFAULT_ACTIVITY_PRODUCER_CONFIG, ERROR_MESSAGE_TYPE, HIGH_FREQUENCY_EVENTS, HistoryConsumerService, HostInfoPipe, IFRAME_INTERACTION_EVENT, IframeActivityTrackerService, IframeEmbedComponent, KNOWN_MESSAGES, MFE_HOST_APPLICATION_ID_PARAM, MFE_HOST_URL_PARAM, MFE_MODULE_APPLICATION_ID_PARAM, NavigationConsumerService, ProducerManagerService, ResizeConsumerService, ResizeService, RestoreRoute, RouteMemorizeDirective, RouteMemorizeService, RoutingService, ScalableDirective, THEME_QUERY_PARAM_NAME, THEME_URL_SUFFIX, ThemeConsumerService, ThemeProducerService, VISIBILITY_CHANGE_EVENT, applyInitialTheme, applyTheme, downloadApplicationThemeCss, getAvailableConsumers, getDefaultClientEndpointStartOptions, getHostInfo, getStyle, hostQueryParams, isEmbedded, isErrorMessage, isUserActivityMessage, persistHostInfo, provideConnection, provideHistoryOverrides, registerConsumer, registerProducer, sendError };
1158
- export type { ActivityInfo, ActivityProducerConfig, BasicMessageConsumer, ConnectionConfigOptions, ErrorContent, ErrorMessage, ErrorMessageV1_0, ErrorReason, IframeActivityTrackerConfig, MFEHostInformation, MessageCallback, MessageConsumer, MessageProducer, MessageVersions, RestoreRouteOptions, RoutingServiceOptions, StyleHelperOptions };
1535
+ export { ACTIVITY_EVENTS, AbstractMessageConsumer, ActivityConsumerService, ActivityProducerService, ApplyTheme, BrowserConfirmationStrategy, ConnectDirective, ConsumerManagerService, DEFAULT_ACTIVITY_PRODUCER_CONFIG, ERROR_MESSAGE_TYPE, HIGH_FREQUENCY_EVENTS, HistoryConsumerService, HostInfoPipe, IFRAME_INTERACTION_EVENT, IframeActivityTrackerService, IframeEmbedComponent, KNOWN_MESSAGES, MFE_HOST_APPLICATION_ID_PARAM, MFE_HOST_URL_PARAM, MFE_MODULE_APPLICATION_ID_PARAM, NAVIGATION_BLOCK_CONFIRMATION, NAVIGATION_REQUEST_HANDLER, NavigationBlockConfirmationService, NavigationBlockService, NavigationBlockStateConsumerService, NavigationBlockStateProducerService, NavigationConsumerService, NavigationDecisionConsumerService, NavigationRequestConsumerService, NavigationRequestManagerService, ProducerManagerService, ResizeConsumerService, ResizeService, RestoreRoute, RouteMemorizeDirective, RouteMemorizeService, RoutingService, ScalableDirective, THEME_QUERY_PARAM_NAME, THEME_URL_SUFFIX, ThemeConsumerService, ThemeProducerService, VISIBILITY_CHANGE_EVENT, applyInitialTheme, applyTheme, createNavigationRequestHandler, createNavigationRequestShellHandler, downloadApplicationThemeCss, generateCorrelationId, getAvailableConsumers, getDefaultClientEndpointStartOptions, getHostInfo, getStyle, hostQueryParams, isEmbedded, isErrorMessage, isUserActivityMessage, navigationBlockModuleGuard, navigationBlockShellGuard, persistHostInfo, provideConnection, provideDefaultNavigationBlockConfirmation, provideHistoryOverrides, provideNavigationRequestModuleHandler, provideNavigationRequestShellHandler, registerConsumer, registerProducer, sendError };
1536
+ export type { ActivityInfo, ActivityProducerConfig, BasicMessageConsumer, ConnectionConfigOptions, ErrorContent, ErrorMessage, ErrorMessageV1_0, ErrorReason, IframeActivityTrackerConfig, MFEHostInformation, MessageCallback, MessageConsumer, MessageProducer, MessageVersions, NavigationBlockConfirmation, NavigationBlockState, NavigationRequestContext, NavigationRequestHandler, ObservedNavigationBlockState, RestoreRouteOptions, RoutingServiceOptions, StyleHelperOptions };
1159
1537
  //# sourceMappingURL=ama-mfe-ng-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ama-mfe-ng-utils.d.ts","sources":["../../src/connect/connect-directive.ts","../../src/connect/connect-providers.ts","../../src/messages/available-sender.ts","../../src/messages/error/base.ts","../../src/messages/error/error-versions.ts","../../src/messages/error/index.ts","../../src/messages/error-sender.ts","../../src/messages/user-activity.ts","../../src/managers/interfaces.ts","../../src/managers/consumer-manager-service.ts","../../src/managers/producer-manager-service.ts","../../src/managers/utils.ts","../../src/history/history-consumer-service.ts","../../src/history/history-providers.ts","../../src/host-info/host-info.ts","../../src/host-info/host-info-pipe.ts","../../src/iframe-embed/iframe-embed.component.ts","../../src/navigation/navigation-consumer-service.ts","../../src/navigation/restore-route-pipe.ts","../../src/navigation/route-memorize/route-memorize-directive.ts","../../src/navigation/route-memorize/route-memorize-service.ts","../../src/navigation/routing-service.ts","../../src/resize/resize-consumer-service.ts","../../src/resize/resize-producer-service.ts","../../src/resize/scalable-directive.ts","../../src/theme/apply-theme-pipe.ts","../../src/theme/theme-consumer-service.ts","../../src/theme/theme-helpers.ts","../../src/theme/theme-producer-service.ts","../../src/user-activity/interfaces.ts","../../src/user-activity/config.ts","../../src/user-activity/activity-producer.service.ts","../../src/user-activity/activity-consumer.service.ts","../../src/user-activity/iframe-activity-tracker.service.ts","../../src/utils.ts"],"mappings":";;;;;;;;;;AAqBA,cAIa,gBAAgB;AAC3B;;AAEG;AACI,aAAOA,EAAA,CAAA,WAAA;AAEd;;AAEG;AACI,SAAGA,EAAA,CAAA,WAAA,CAAA,eAAA;AAEV;;AAEG;AACH,mBACkB,eAAA;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G;AACH,qCAAsCA,EAAA,CAAA,MAAA,CAAA,YAAA;AAEtC;;AAEG;AACH;AAEA;;AAEG;AACH,gCAAmC,MAAM,mBAAmB,aAAa,CAAC,uBAAuB;AAWjG;;AAEG;AACI;AAIP;;AAEG;AACI;yCA3CI,uBAAuB;6CAAvB,uBAAuB;AA8CnC;;AClED;;;;;;;;;;AAUG;AACH,cAGa,4BAA4B;AACvC;;AAEG;;AAGH;;AAEG;;AAGH;;AAEG;;AAGH;;AAEG;AACH;AAEA;;AAEG;;AAKH;;AAEG;;AAKH;;;;AAIG;AACH;AAcA;;AAEG;AACH;AASA;;AAEG;AACH;AAUA;;AAEG;AACH;AAOA;;AAEG;AACH;AAOA;;AAEG;AACH;AAOA;;;AAGG;AACI,kBAAc,2BAA2B;AAehD;;AAEG;AACI;yCAnII,4BAA4B;6CAA5B,4BAA4B;AA6IxC;;ACvJD;;AAEG;AACH,cAAa,cAAc;;;;AAO3B;;;AAGG;AACH,iBAAgB,oCAAoC,IAAI,qBAAqB;AAW7E;;;AAGG;AACH,iBAAgB,UAAU,eAAc,MAAe;;;;","names":["_angular_core","ConnectionConfig"]}
1
+ {"version":3,"file":"ama-mfe-ng-utils.d.ts","sources":["../../src/connect/connect-directive.ts","../../src/connect/connect-providers.ts","../../src/messages/available-sender.ts","../../src/messages/error/base.ts","../../src/messages/error/error-versions.ts","../../src/messages/error/index.ts","../../src/messages/error-sender.ts","../../src/messages/user-activity.ts","../../src/managers/interfaces.ts","../../src/managers/consumer-manager-service.ts","../../src/managers/abstract-message-consumer-service.ts","../../src/managers/producer-manager-service.ts","../../src/managers/utils.ts","../../src/history/history-consumer-service.ts","../../src/history/history-providers.ts","../../src/host-info/host-info.ts","../../src/host-info/host-info-pipe.ts","../../src/iframe-embed/iframe-embed.component.ts","../../src/navigation/navigation-consumer-service.ts","../../src/navigation/restore-route-pipe.ts","../../src/navigation/route-memorize/route-memorize-directive.ts","../../src/navigation/route-memorize/route-memorize-service.ts","../../src/navigation/routing-service.ts","../../src/navigation/navigation-exit/block-state/navigation-block.service.ts","../../src/navigation/navigation-exit/block-state/navigation-block-state-producer.service.ts","../../src/navigation/navigation-exit/block-state/navigation-block-state-consumer.service.ts","../../src/navigation/navigation-exit/navigation-request/navigation-request-manager.service.ts","../../src/navigation/navigation-exit/navigation-request/navigation-request-consumer.service.ts","../../src/navigation/navigation-exit/navigation-request/navigation-request-handler.ts","../../src/navigation/navigation-exit/navigation-request/navigation-request-module-handler.ts","../../src/navigation/navigation-exit/navigation-request/navigation-request-shell-handler.ts","../../src/navigation/navigation-exit/navigation-decision/navigation-decision-consumer.service.ts","../../src/navigation/navigation-exit/guards/navigation-block.shell-guard.ts","../../src/navigation/navigation-exit/guards/navigation-block.module-guard.ts","../../src/navigation/navigation-exit/navigation-confirmation/navigation-block-confirmation.interface.ts","../../src/navigation/navigation-exit/navigation-confirmation/navigation-block-confirmation.service.ts","../../src/navigation/navigation-exit/navigation-confirmation/strategies/browser-confirmation.strategy.ts","../../src/navigation/navigation-exit/navigation-confirmation/providers.ts","../../src/resize/resize-consumer-service.ts","../../src/resize/resize-producer-service.ts","../../src/resize/scalable-directive.ts","../../src/theme/apply-theme-pipe.ts","../../src/theme/theme-consumer-service.ts","../../src/theme/theme-helpers.ts","../../src/theme/theme-producer-service.ts","../../src/user-activity/interfaces.ts","../../src/user-activity/config.ts","../../src/user-activity/activity-producer.service.ts","../../src/user-activity/activity-consumer.service.ts","../../src/user-activity/iframe-activity-tracker.service.ts","../../src/utils.ts"],"mappings":";;;;;;;;;;;AAqBA,cAIa,gBAAgB;AAC3B;;AAEG;AACI,aAAOA,EAAA,CAAA,WAAA;AAEd;;AAEG;AACI,SAAGA,EAAA,CAAA,WAAA,CAAA,eAAA;AAEV;;AAEG;AACH,mBACkB,eAAA;AAIlB;AACA;AACA;AAEA;;yCAvBW,gBAAgB;2CAAhB,gBAAgB;AA0D5B;;ACtDD;AACM,UAAW,uBAAwB,SAAQ,IAAI,CAACC,iBAAgB;;;;aAI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