@ama-mfe/ng-utils 14.5.0-prerelease.34 → 14.5.0-prerelease.36
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 +42 -0
- package/fesm2022/ama-mfe-ng-utils.mjs +595 -12
- package/fesm2022/ama-mfe-ng-utils.mjs.map +1 -1
- package/migration.json +10 -0
- package/package.json +9 -6
- package/schematics/ng-update/v14-5/index.d.ts +8 -0
- package/schematics/ng-update/v14-5/index.d.ts.map +1 -0
- package/schematics/ng-update/v14-5/index.js +64 -0
- package/schematics/ng-update/v14-5/index.js.map +1 -0
- package/types/ama-mfe-ng-utils.d.ts +396 -11
- package/types/ama-mfe-ng-utils.d.ts.map +1 -1
package/migration.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/angular/angular-cli/master/packages/angular_devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"migration-v14_5": {
|
|
5
|
+
"version": "14.5.0-alpha.0",
|
|
6
|
+
"description": "Updates of @ama-mfe/ng-utils to v14.5.*: drops the AbstractMessageConsumer auto-start pattern and rewires consumers to start explicitly from the application configuration.",
|
|
7
|
+
"factory": "./schematics/ng-update/v14-5/index#updateV14_5"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-mfe/ng-utils",
|
|
3
|
-
"version": "14.5.0-prerelease.
|
|
3
|
+
"version": "14.5.0-prerelease.36",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@ama-mfe/messages": "~14.5.0-prerelease.
|
|
8
|
+
"@ama-mfe/messages": "~14.5.0-prerelease.36",
|
|
9
9
|
"@amadeus-it-group/microfrontends": "0.0.11",
|
|
10
10
|
"@amadeus-it-group/microfrontends-angular": "0.0.11",
|
|
11
11
|
"@angular-devkit/core": "^21.0.0",
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"@angular/core": "^21.0.0",
|
|
15
15
|
"@angular/platform-browser": "^21.0.0",
|
|
16
16
|
"@angular/router": "^21.0.0",
|
|
17
|
-
"@o3r/logger": "~14.5.0-prerelease.
|
|
18
|
-
"@o3r/schematics": "~14.5.0-prerelease.
|
|
17
|
+
"@o3r/logger": "~14.5.0-prerelease.36",
|
|
18
|
+
"@o3r/schematics": "~14.5.0-prerelease.36",
|
|
19
19
|
"rxjs": "^7.8.1",
|
|
20
20
|
"type-fest": "^5.3.1"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@amadeus-it-group/microfrontends": "0.0.11",
|
|
24
24
|
"@amadeus-it-group/microfrontends-angular": "0.0.11",
|
|
25
|
-
"@o3r/logger": "~14.5.0-prerelease.
|
|
26
|
-
"@o3r/schematics": "~14.5.0-prerelease.
|
|
25
|
+
"@o3r/logger": "~14.5.0-prerelease.36",
|
|
26
|
+
"@o3r/schematics": "~14.5.0-prerelease.36",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
"communication protocol"
|
|
35
35
|
],
|
|
36
36
|
"schematics": "./collection.json",
|
|
37
|
+
"ng-update": {
|
|
38
|
+
"migrations": "./migration.json"
|
|
39
|
+
},
|
|
37
40
|
"peerDependenciesMeta": {
|
|
38
41
|
"@ama-mfe/messages": {
|
|
39
42
|
"optional": true
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type Rule } from '@angular-devkit/schematics';
|
|
2
|
+
/**
|
|
3
|
+
* Migration of `@ama-mfe/ng-utils` to v14.5.0.
|
|
4
|
+
*
|
|
5
|
+
* Appends explicit `.start()` calls for the in-repo consumers that no longer auto-start.
|
|
6
|
+
*/
|
|
7
|
+
export declare const updateV14_5: (options: any) => Rule;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-update/v14-5/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,IAAI,EAGV,MAAM,4BAA4B,CAAC;AAkEpC;;;;GAIG;AAEH,eAAO,MAAM,WAAW,wBAAsC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateV14_5 = void 0;
|
|
4
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
|
+
const schematics_2 = require("@o3r/schematics");
|
|
6
|
+
/**
|
|
7
|
+
* In-repo {@link AbstractMessageConsumer} subclasses that used to auto-start in their constructor.
|
|
8
|
+
* In v15 the constructor is removed, so the application must start them explicitly.
|
|
9
|
+
*/
|
|
10
|
+
const KNOWN_CONSUMERS = [
|
|
11
|
+
'NavigationConsumerService',
|
|
12
|
+
'ThemeConsumerService',
|
|
13
|
+
'HistoryConsumerService',
|
|
14
|
+
'ResizeConsumerService'
|
|
15
|
+
];
|
|
16
|
+
/**
|
|
17
|
+
* For every known consumer injected in the given file, append a `.start()` call to its `inject(<Consumer>)`
|
|
18
|
+
* expression. Idempotent: an `inject(<Consumer>)` already followed by `.start(` is left untouched.
|
|
19
|
+
* @param tree Schematic tree
|
|
20
|
+
* @param filePath Path of the `app.config.ts` / `main.ts` file
|
|
21
|
+
* @param context Schematic context for logging
|
|
22
|
+
*/
|
|
23
|
+
const appendStartToInjectedConsumers = (tree, filePath, context) => {
|
|
24
|
+
const original = tree.readText(filePath);
|
|
25
|
+
let updated = original;
|
|
26
|
+
const started = [];
|
|
27
|
+
for (const consumer of KNOWN_CONSUMERS) {
|
|
28
|
+
// Match `inject(<Consumer>)` that is not already followed by `.start(`.
|
|
29
|
+
const injectRegex = new RegExp(`inject\\(\\s*${consumer}\\s*\\)(?!\\s*\\.start\\b)`, 'g');
|
|
30
|
+
if (injectRegex.test(updated)) {
|
|
31
|
+
updated = updated.replace(injectRegex, `inject(${consumer}).start()`);
|
|
32
|
+
started.push(consumer);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
if (updated !== original) {
|
|
36
|
+
tree.overwrite(filePath, updated);
|
|
37
|
+
context.logger.info(`[ama-mfe ng-update] Added explicit ".start()" call for ${started.join(', ')} in ${filePath}.`);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Migration to v14.5.0 of `@ama-mfe/ng-utils`.
|
|
42
|
+
*
|
|
43
|
+
* The consumers no longer auto-start in their constructor. This migration scans the
|
|
44
|
+
* application configuration files (`app.config.ts` / `main.ts`) and, for every known consumer already injected there,
|
|
45
|
+
* appends an explicit `.start()` call so the consumer keeps being started.
|
|
46
|
+
*/
|
|
47
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- version contained in the function name
|
|
48
|
+
function updateV14_5Fn() {
|
|
49
|
+
return (tree, context) => {
|
|
50
|
+
const files = (0, schematics_2.findFilesInTree)(tree.getDir('/'), (filePath) => /\b(?:app\.config|main)\.ts$/.test(filePath) && !/\bdist\b/.test(filePath));
|
|
51
|
+
for (const file of files) {
|
|
52
|
+
appendStartToInjectedConsumers(tree, file.path, context);
|
|
53
|
+
}
|
|
54
|
+
return (0, schematics_2.applyEsLintFix)() ?? (0, schematics_1.noop)();
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Migration of `@ama-mfe/ng-utils` to v14.5.0.
|
|
59
|
+
*
|
|
60
|
+
* Appends explicit `.start()` calls for the in-repo consumers that no longer auto-start.
|
|
61
|
+
*/
|
|
62
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- version contained in the function name
|
|
63
|
+
exports.updateV14_5 = (0, schematics_2.createOtterSchematic)(updateV14_5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OAAyB,EAAE,EAAE;QAC/C,MAAM,KAAK,GAAG,IAAA,4BAAe,EAC3B,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAChB,CAAC,QAAQ,EAAE,EAAE,CAAC,6BAA6B,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CACzF,CAAC;QACF,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,8BAA8B,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC3D,CAAC;QACD,OAAO,IAAA,2BAAc,GAAE,IAAI,IAAA,iBAAI,GAAE,CAAC;IACpC,CAAC,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,0GAA0G;AAC7F,QAAA,WAAW,GAAG,IAAA,iCAAoB,EAAC,aAAa,CAAC,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { DestroyRef, 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
|
/**
|
|
@@ -198,16 +199,13 @@ declare abstract class AbstractMessageConsumer<T extends VersionedMessage = Vers
|
|
|
198
199
|
protected readonly consumerManagerService: ConsumerManagerService;
|
|
199
200
|
/** The reference used to handle the destruction of the consumer */
|
|
200
201
|
protected readonly destroyRef: DestroyRef;
|
|
202
|
+
/** Logger shared with subclasses. */
|
|
203
|
+
protected readonly logger: LoggerService;
|
|
201
204
|
private unregisterCallback?;
|
|
202
205
|
/** @inheritdoc */
|
|
203
206
|
abstract readonly type: MessageConsumer<T>['type'];
|
|
204
207
|
/** @inheritdoc */
|
|
205
208
|
abstract readonly supportedVersions: MessageConsumer<T>['supportedVersions'];
|
|
206
|
-
/**
|
|
207
|
-
* Creates an instance of AbstractMessageConsumer and optionally starts it.
|
|
208
|
-
* @param autoStart If true, the consumer will be started immediately after creation. Defaults to true.
|
|
209
|
-
*/
|
|
210
|
-
constructor(autoStart?: boolean);
|
|
211
209
|
/** @inheritdoc */
|
|
212
210
|
start(): void;
|
|
213
211
|
/** @inheritdoc */
|
|
@@ -596,6 +594,388 @@ declare class RoutingService implements MessageProducer<NavigationMessage>, Mess
|
|
|
596
594
|
static ɵprov: i0.ɵɵInjectableDeclaration<RoutingService>;
|
|
597
595
|
}
|
|
598
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
|
+
|
|
599
979
|
/**
|
|
600
980
|
* This service listens for resize messages and updates the height of elements based on the received messages.
|
|
601
981
|
*/
|
|
@@ -750,7 +1130,6 @@ declare class ApplyTheme implements PipeTransform {
|
|
|
750
1130
|
*/
|
|
751
1131
|
declare class ThemeConsumerService extends AbstractMessageConsumer<ThemeMessage> {
|
|
752
1132
|
private readonly domSanitizer;
|
|
753
|
-
private readonly logger;
|
|
754
1133
|
/**
|
|
755
1134
|
* The type of messages this service handles ('theme').
|
|
756
1135
|
*/
|
|
@@ -1146,7 +1525,13 @@ declare function getDefaultClientEndpointStartOptions(): PeerConnectionOptions;
|
|
|
1146
1525
|
* @param windowParam - A {@link window} object with information about the current window of the document. Defaults to global {@link window}.
|
|
1147
1526
|
*/
|
|
1148
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;
|
|
1149
1534
|
|
|
1150
|
-
export { ACTIVITY_EVENTS, AbstractMessageConsumer, 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 };
|
|
1151
|
-
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 };
|
|
1152
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/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/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;;;;aAI3D,MAAM;AAChB;AAED;;;AAGG;AACH,iBAAgB,iBAAiB,2BAA2B,uBAAuB,GAAAD,EAAA,CAAA,oBAAA;;AClCnF;;;;AAIG;AACH,cAAa,qBAAqB,cAAe,oBAAoB;;;;;;;;;ACRrE;AACA,cAAa,kBAAkB;AAE/B;;AAEG;AACG,KAAM,WAAW;AAEvB;;;AAGG;UACc,YAAY,WAAW,gB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;;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;;;;aAI3D,MAAM;AAChB;AAED;;;AAGG;AACH,iBAAgB,iBAAiB,2BAA2B,uBAAuB,GAAAD,EAAA,CAAA,oBAAA;;AClCnF;;;;AAIG;AACH,cAAa,qBAAqB,cAAe,oBAAoB;;;;;;;;;ACRrE;AACA,cAAa,kBAAkB;AAE/B;;AAEG;AACG,KAAM,WAAW;AAEvB;;;AAGG;UACc,YAAY,WAAW,gBAAgB,GAAG,gBAAgB;;YAEjE,WAAW;;;AAGp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