@ama-mfe/ng-utils 13.1.4 → 13.1.9

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/index.d.ts CHANGED
@@ -1,12 +1,47 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { PipeTransform } from '@angular/core';
3
- import { VersionedMessage, RoutedMessage, PeerConnectionOptions } from '@amadeus-it-group/microfrontends';
4
- import { MessagePeerServiceType, MessagePeerConfig } from '@amadeus-it-group/microfrontends-angular';
5
- export { MessagePeerConfig as ConnectionConfig, MessagePeerService as ConnectionService } from '@amadeus-it-group/microfrontends-angular';
6
- import { ResizeMessage, ResizeV1_0, NavigationMessage, NavigationV1_0, ThemeMessage, ThemeV1_0, ThemeStructure } from '@ama-mfe/messages';
7
- import * as rxjs from 'rxjs';
8
3
  import { SafeResourceUrl } from '@angular/platform-browser';
4
+ import { MessagePeerConfig, MessagePeerServiceType } from '@amadeus-it-group/microfrontends-angular';
5
+ export { MessagePeerConfig as ConnectionConfig, MessagePeerService as ConnectionService } from '@amadeus-it-group/microfrontends-angular';
9
6
  import { Logger } from '@o3r/logger';
7
+ import { HistoryMessage, HistoryV1_0, NavigationMessage, NavigationV1_0, ResizeMessage, ResizeV1_0, ThemeMessage, ThemeV1_0, ThemeStructure } from '@ama-mfe/messages';
8
+ import { VersionedMessage, RoutedMessage, PeerConnectionOptions } from '@amadeus-it-group/microfrontends';
9
+ import * as rxjs from 'rxjs';
10
+
11
+ declare class ConnectDirective {
12
+ /**
13
+ * The connection ID required for the message peer service.
14
+ */
15
+ connect: i0.InputSignal<string>;
16
+ /**
17
+ * The sanitized source URL for the iframe.
18
+ */
19
+ src: i0.InputSignal<SafeResourceUrl | undefined>;
20
+ /**
21
+ * Binds the `src` attribute of the iframe to the sanitized source URL.
22
+ */
23
+ get srcAttr(): SafeResourceUrl | undefined;
24
+ private readonly messageService;
25
+ private readonly domSanitizer;
26
+ private readonly iframeElement;
27
+ private readonly clientOrigin;
28
+ constructor();
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConnectDirective, never>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ConnectDirective, "iframe[connect]", never, { "connect": { "alias": "connect"; "required": true; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
31
+ }
32
+
33
+ /** Options to configure the connection inside the communication protocol */
34
+ interface ConnectionConfigOptions extends Omit<MessagePeerConfig, 'id'> {
35
+ /** @inheritdoc */
36
+ id?: string;
37
+ /** Logger used to gather information */
38
+ logger?: Logger;
39
+ }
40
+ /**
41
+ * Provide the communication protocol connection configuration
42
+ * @param connectionConfigOptions The identifier of the application in the communication protocol ecosystem plus the types of messages able to exchange and a logger object
43
+ */
44
+ declare function provideConnection(connectionConfigOptions?: ConnectionConfigOptions): i0.EnvironmentProviders;
10
45
 
11
46
  /** the error message type */
12
47
  declare const ERROR_MESSAGE_TYPE = "error";
@@ -183,92 +218,119 @@ declare const registerProducer: (producer: MessageProducer) => void;
183
218
  declare const registerConsumer: (consumer: MessageConsumer) => void;
184
219
 
185
220
  /**
186
- * This service listens for resize messages and updates the height of elements based on the received messages.
221
+ * A service that handles history messages.
222
+ *
223
+ * This service listens for history messages and navigates accordingly.
187
224
  */
188
- declare class ResizeConsumerService implements MessageConsumer<ResizeMessage> {
189
- private readonly newHeight;
225
+ declare class HistoryConsumerService implements MessageConsumer<HistoryMessage> {
190
226
  /**
191
- * A readonly signal that provides the new height information from the channel.
192
- */
193
- readonly newHeightFromChannel: i0.Signal<{
194
- height: number;
195
- channelId: string;
196
- } | undefined>;
197
- /**
198
- * The type of messages this service handles ('resize').
227
+ * The type of messages this service handles.
199
228
  */
200
- readonly type = "resize";
229
+ readonly type = "history";
201
230
  /**
202
- * The supported versions of resize messages and their handlers.
231
+ * @inheritdoc
203
232
  */
204
- supportedVersions: {
233
+ readonly supportedVersions: {
205
234
  /**
206
- * Use the message paylod to compute a new height and emit it via the public signal
235
+ * Use the message payload to navigate in the history
207
236
  * @param message message to consume
208
237
  */
209
- '1.0': (message: RoutedMessage<ResizeV1_0>) => void;
238
+ '1.0': (message: RoutedMessage<HistoryV1_0>) => void;
210
239
  };
211
240
  private readonly consumerManagerService;
212
241
  constructor();
213
242
  /**
214
- * Starts the resize handler service by registering it into the consumer manager service.
243
+ * @inheritdoc
215
244
  */
216
245
  start(): void;
217
246
  /**
218
- * Stops the resize handler service by unregistering it from the consumer manager service.
247
+ * @inheritdoc
219
248
  */
220
249
  stop(): void;
221
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizeConsumerService, never>;
222
- static ɵprov: i0.ɵɵInjectableDeclaration<ResizeConsumerService>;
250
+ static ɵfac: i0.ɵɵFactoryDeclaration<HistoryConsumerService, never>;
251
+ static ɵprov: i0.ɵɵInjectableDeclaration<HistoryConsumerService>;
223
252
  }
224
253
 
225
254
  /**
226
- * This service observe changes in the document's body height.
227
- * When the height changes, it sends a resize message with the new height, to the connected peers
255
+ * Provides necessary overrides to make the module navigation in history work in an embedded context :
256
+ * - Prevent pushing states to history, replace state instead
257
+ * - Handle history navigation via History messages to let the host manage the states
228
258
  */
229
- declare class ResizeService implements MessageProducer<ResizeMessage> {
230
- private actualHeight?;
231
- private readonly messageService;
232
- private resizeObserver?;
259
+ declare function provideHistoryOverrides(): i0.EnvironmentProviders;
260
+
261
+ /**
262
+ * Search parameter to add to the URL when embedding an iframe containing the URL of the host.
263
+ * This is needed to support Firefox (on which {@link https://developer.mozilla.org/docs/Web/API/Location/ancestorOrigins | location.ancestorOrigins} is not currently supported)
264
+ * in case of redirection inside the iframe.
265
+ */
266
+ declare const MFE_HOST_URL_PARAM = "ama-mfe-host-url";
267
+ /**
268
+ * Search parameter to add to the URL to let a module know on which application it's embedded
269
+ */
270
+ declare const MFE_HOST_APPLICATION_ID_PARAM = "ama-mfe-host-app-id";
271
+ /**
272
+ * Search parameter to add to the URL to identify the application in the network of peers in the communication protocol
273
+ */
274
+ declare const MFE_MODULE_APPLICATION_ID_PARAM = "ama-mfe-module-app-id";
275
+ /** The list of query parameters which can be set by the host */
276
+ declare const hostQueryParams: string[];
277
+ /**
278
+ * Information set up at host level to use in embedded context
279
+ */
280
+ interface MFEHostInformation {
233
281
  /**
234
- * @inheritdoc
282
+ * URL of the host application
235
283
  */
236
- readonly types = "resize";
237
- constructor();
284
+ hostURL?: string;
238
285
  /**
239
- * @inheritdoc
286
+ * ID of the host application
240
287
  */
241
- handleError(message: ErrorContent<ResizeMessage>): void;
288
+ hostApplicationId?: string;
242
289
  /**
243
- * This method sets up a `ResizeObserver` to observe changes in the document's body height.
244
- * When the height changes, it sends a resize message with the new height, to the connected peers
290
+ * ID of the module to embed defined at host level
245
291
  */
246
- startResizeObserver(): void;
247
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizeService, never>;
248
- static ɵprov: i0.ɵɵInjectableDeclaration<ResizeService>;
292
+ moduleApplicationId?: string;
249
293
  }
294
+ /**
295
+ * Gather the host information from the url parameters
296
+ * The host url will use the first found among:
297
+ * - look for the search parameter {@link MFE_HOST_URL_PARAM} in the URL of the iframe
298
+ * - use the first item in `location.ancestorOrigins` (currently not supported on Firefox)
299
+ * - use `document.referrer` (will only work if called before any redirection in the iframe)
300
+ * The host application ID is taken from the search parameter {@link MFE_HOST_APPLICATION_ID_PARAM} in the URL of the iframe
301
+ * The module application ID is taken from the search parameter {@link MFE_APPLICATION_ID_PARAM} in the URL of the iframe
302
+ */
303
+ declare function getHostInfo(): MFEHostInformation;
304
+ /**
305
+ * Gather the host information from the url parameters and handle the persistence in session storage.
306
+ */
307
+ declare function persistHostInfo(): void;
250
308
 
251
309
  /**
252
- * A directive that adjusts the height of an element based on resize messages from a specified channel.
310
+ * A pipe that adds the host information in the URL of an iframe,
253
311
  */
254
- declare class ScalableDirective {
255
- /**
256
- * The connection ID for the element, used as channel id backup
257
- */
258
- connect: i0.InputSignal<string | undefined>;
259
- /**
260
- * The channel id
261
- */
262
- scalable: i0.InputSignal<string | undefined>;
263
- private readonly resizeHandler;
312
+ declare class HostInfoPipe implements PipeTransform {
313
+ private readonly domSanitizer;
264
314
  /**
265
- * This signal checks if the current channel requesting the resize matches the channel ID from the resize handler.
266
- * If they match, it returns the new height information; otherwise, it returns undefined.
315
+ * Transforms the given URL or SafeResourceUrl by appending query parameters.
316
+ * @param url - The URL or SafeResourceUrl to be transformed.
317
+ * @param options - hostId and moduleId
318
+ * @returns - The transformed SafeResourceUrl or undefined if the input URL is invalid.
267
319
  */
268
- private readonly newHeightFromChannel;
269
- constructor();
270
- static ɵfac: i0.ɵɵFactoryDeclaration<ScalableDirective, never>;
271
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScalableDirective, "[scalable]", never, { "connect": { "alias": "connect"; "required": false; "isSignal": true; }; "scalable": { "alias": "scalable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
320
+ transform(url: string, options: {
321
+ hostId: string;
322
+ moduleId?: string;
323
+ }): string;
324
+ transform(url: SafeResourceUrl, options: {
325
+ hostId: string;
326
+ moduleId?: string;
327
+ }): SafeResourceUrl;
328
+ transform(url: undefined, options: {
329
+ hostId: string;
330
+ moduleId?: string;
331
+ }): undefined;
332
+ static ɵfac: i0.ɵɵFactoryDeclaration<HostInfoPipe, never>;
333
+ static ɵpipe: i0.ɵɵPipeDeclaration<HostInfoPipe, "hostInfo", true>;
272
334
  }
273
335
 
274
336
  /**
@@ -483,6 +545,95 @@ declare class RestoreRoute implements PipeTransform {
483
545
  static ɵpipe: i0.ɵɵPipeDeclaration<RestoreRoute, "restoreRoute", true>;
484
546
  }
485
547
 
548
+ /**
549
+ * This service listens for resize messages and updates the height of elements based on the received messages.
550
+ */
551
+ declare class ResizeConsumerService implements MessageConsumer<ResizeMessage> {
552
+ private readonly newHeight;
553
+ /**
554
+ * A readonly signal that provides the new height information from the channel.
555
+ */
556
+ readonly newHeightFromChannel: i0.Signal<{
557
+ height: number;
558
+ channelId: string;
559
+ } | undefined>;
560
+ /**
561
+ * The type of messages this service handles ('resize').
562
+ */
563
+ readonly type = "resize";
564
+ /**
565
+ * The supported versions of resize messages and their handlers.
566
+ */
567
+ supportedVersions: {
568
+ /**
569
+ * Use the message paylod to compute a new height and emit it via the public signal
570
+ * @param message message to consume
571
+ */
572
+ '1.0': (message: RoutedMessage<ResizeV1_0>) => void;
573
+ };
574
+ private readonly consumerManagerService;
575
+ constructor();
576
+ /**
577
+ * Starts the resize handler service by registering it into the consumer manager service.
578
+ */
579
+ start(): void;
580
+ /**
581
+ * Stops the resize handler service by unregistering it from the consumer manager service.
582
+ */
583
+ stop(): void;
584
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizeConsumerService, never>;
585
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResizeConsumerService>;
586
+ }
587
+
588
+ /**
589
+ * This service observe changes in the document's body height.
590
+ * When the height changes, it sends a resize message with the new height, to the connected peers
591
+ */
592
+ declare class ResizeService implements MessageProducer<ResizeMessage> {
593
+ private actualHeight?;
594
+ private readonly messageService;
595
+ private resizeObserver?;
596
+ /**
597
+ * @inheritdoc
598
+ */
599
+ readonly types = "resize";
600
+ constructor();
601
+ /**
602
+ * @inheritdoc
603
+ */
604
+ handleError(message: ErrorContent<ResizeMessage>): void;
605
+ /**
606
+ * This method sets up a `ResizeObserver` to observe changes in the document's body height.
607
+ * When the height changes, it sends a resize message with the new height, to the connected peers
608
+ */
609
+ startResizeObserver(): void;
610
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizeService, never>;
611
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResizeService>;
612
+ }
613
+
614
+ /**
615
+ * A directive that adjusts the height of an element based on resize messages from a specified channel.
616
+ */
617
+ declare class ScalableDirective {
618
+ /**
619
+ * The connection ID for the element, used as channel id backup
620
+ */
621
+ connect: i0.InputSignal<string | undefined>;
622
+ /**
623
+ * The channel id
624
+ */
625
+ scalable: i0.InputSignal<string | undefined>;
626
+ private readonly resizeHandler;
627
+ /**
628
+ * This signal checks if the current channel requesting the resize matches the channel ID from the resize handler.
629
+ * If they match, it returns the new height information; otherwise, it returns undefined.
630
+ */
631
+ private readonly newHeightFromChannel;
632
+ constructor();
633
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScalableDirective, never>;
634
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScalableDirective, "[scalable]", never, { "connect": { "alias": "connect"; "required": false; "isSignal": true; }; "scalable": { "alias": "scalable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
635
+ }
636
+
486
637
  /**
487
638
  * A pipe that applies the current theme from a theme manager service, to a given URL or SafeResourceUrl, as query param
488
639
  */
@@ -606,41 +757,6 @@ declare class ThemeProducerService implements MessageProducer<ThemeMessage> {
606
757
  static ɵprov: i0.ɵɵInjectableDeclaration<ThemeProducerService>;
607
758
  }
608
759
 
609
- declare class ConnectDirective {
610
- /**
611
- * The connection ID required for the message peer service.
612
- */
613
- connect: i0.InputSignal<string>;
614
- /**
615
- * The sanitized source URL for the iframe.
616
- */
617
- src: i0.InputSignal<SafeResourceUrl | undefined>;
618
- /**
619
- * Binds the `src` attribute of the iframe to the sanitized source URL.
620
- */
621
- get srcAttr(): SafeResourceUrl | undefined;
622
- private readonly messageService;
623
- private readonly domSanitizer;
624
- private readonly iframeElement;
625
- private readonly clientOrigin;
626
- constructor();
627
- static ɵfac: i0.ɵɵFactoryDeclaration<ConnectDirective, never>;
628
- static ɵdir: i0.ɵɵDirectiveDeclaration<ConnectDirective, "iframe[connect]", never, { "connect": { "alias": "connect"; "required": true; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
629
- }
630
-
631
- /** Options to configure the connection inside the communication protocol */
632
- interface ConnectionConfigOptions extends Omit<MessagePeerConfig, 'id'> {
633
- /** @inheritdoc */
634
- id?: string;
635
- /** Logger used to gather information */
636
- logger?: Logger;
637
- }
638
- /**
639
- * Provide the communication protocol connection configuration
640
- * @param connectionConfigOptions The identifier of the application in the communication protocol ecosystem plus the types of messages able to exchange and a logger object
641
- */
642
- declare function provideConnection(connectionConfigOptions?: ConnectionConfigOptions): i0.EnvironmentProviders;
643
-
644
760
  /**
645
761
  * A constant array of known message types and their versions.
646
762
  */
@@ -658,81 +774,6 @@ declare function getDefaultClientEndpointStartOptions(): PeerConnectionOptions;
658
774
  */
659
775
  declare function isEmbedded(): boolean;
660
776
 
661
- /**
662
- * Search parameter to add to the URL when embedding an iframe containing the URL of the host.
663
- * This is needed to support Firefox (on which {@link https://developer.mozilla.org/docs/Web/API/Location/ancestorOrigins | location.ancestorOrigins} is not currently supported)
664
- * in case of redirection inside the iframe.
665
- */
666
- declare const MFE_HOST_URL_PARAM = "ama-mfe-host-url";
667
- /**
668
- * Search parameter to add to the URL to let a module know on which application it's embedded
669
- */
670
- declare const MFE_HOST_APPLICATION_ID_PARAM = "ama-mfe-host-app-id";
671
- /**
672
- * Search parameter to add to the URL to identify the application in the network of peers in the communication protocol
673
- */
674
- declare const MFE_MODULE_APPLICATION_ID_PARAM = "ama-mfe-module-app-id";
675
- /** The list of query parameters which can be set by the host */
676
- declare const hostQueryParams: string[];
677
- /**
678
- * Information set up at host level to use in embedded context
679
- */
680
- interface MFEHostInformation {
681
- /**
682
- * URL of the host application
683
- */
684
- hostURL?: string;
685
- /**
686
- * ID of the host application
687
- */
688
- hostApplicationId?: string;
689
- /**
690
- * ID of the module to embed defined at host level
691
- */
692
- moduleApplicationId?: string;
693
- }
694
- /**
695
- * Gather the host information from the url parameters
696
- * The host url will use the first found among:
697
- * - look for the search parameter {@link MFE_HOST_URL_PARAM} in the URL of the iframe
698
- * - use the first item in `location.ancestorOrigins` (currently not supported on Firefox)
699
- * - use `document.referrer` (will only work if called before any redirection in the iframe)
700
- * The host application ID is taken from the search parameter {@link MFE_HOST_APPLICATION_ID_PARAM} in the URL of the iframe
701
- * The module application ID is taken from the search parameter {@link MFE_APPLICATION_ID_PARAM} in the URL of the iframe
702
- */
703
- declare function getHostInfo(): MFEHostInformation;
704
- /**
705
- * Gather the host information from the url parameters and handle the persistence in session storage.
706
- */
707
- declare function persistHostInfo(): void;
708
-
709
- /**
710
- * A pipe that adds the host information in the URL of an iframe,
711
- */
712
- declare class HostInfoPipe implements PipeTransform {
713
- private readonly domSanitizer;
714
- /**
715
- * Transforms the given URL or SafeResourceUrl by appending query parameters.
716
- * @param url - The URL or SafeResourceUrl to be transformed.
717
- * @param options - hostId and moduleId
718
- * @returns - The transformed SafeResourceUrl or undefined if the input URL is invalid.
719
- */
720
- transform(url: string, options: {
721
- hostId: string;
722
- moduleId?: string;
723
- }): string;
724
- transform(url: SafeResourceUrl, options: {
725
- hostId: string;
726
- moduleId?: string;
727
- }): SafeResourceUrl;
728
- transform(url: undefined, options: {
729
- hostId: string;
730
- moduleId?: string;
731
- }): undefined;
732
- static ɵfac: i0.ɵɵFactoryDeclaration<HostInfoPipe, never>;
733
- static ɵpipe: i0.ɵɵPipeDeclaration<HostInfoPipe, "hostInfo", true>;
734
- }
735
-
736
- export { ApplyTheme, ConnectDirective, ConsumerManagerService, ERROR_MESSAGE_TYPE, HostInfoPipe, 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, applyInitialTheme, applyTheme, downloadApplicationThemeCss, getAvailableConsumers, getDefaultClientEndpointStartOptions, getHostInfo, getStyle, hostQueryParams, isEmbedded, isErrorMessage, persistHostInfo, provideConnection, registerConsumer, registerProducer, sendError };
777
+ export { ApplyTheme, ConnectDirective, ConsumerManagerService, ERROR_MESSAGE_TYPE, HistoryConsumerService, HostInfoPipe, 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, applyInitialTheme, applyTheme, downloadApplicationThemeCss, getAvailableConsumers, getDefaultClientEndpointStartOptions, getHostInfo, getStyle, hostQueryParams, isEmbedded, isErrorMessage, persistHostInfo, provideConnection, provideHistoryOverrides, registerConsumer, registerProducer, sendError };
737
778
  export type { BasicMessageConsumer, ConnectionConfigOptions, ErrorContent, ErrorMessage, ErrorMessageV1_0, ErrorReason, MFEHostInformation, MessageCallback, MessageConsumer, MessageProducer, MessageVersions, RestoreRouteOptions, RoutingServiceOptions, StyleHelperOptions };
738
779
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../src/messages/error/base.ts","../src/messages/error/error.versions.ts","../src/messages/error/index.ts","../src/messages/error.sender.ts","../src/messages/available.sender.ts","../src/managers/interfaces.ts","../src/managers/consumer.manager.service.ts","../src/managers/producer.manager.service.ts","../src/managers/utils.ts","../src/resize/resize.consumer.service.ts","../src/resize/resize.producer.service.ts","../src/resize/resize.directive.ts","../src/navigation/navigation.consumer.service.ts","../src/navigation/route-memorize/route-memorize.directive.ts","../src/navigation/route-memorize/route-memorize.service.ts","../src/navigation/routing.service.ts","../src/navigation/restore-route.pipe.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/connect/connect.directive.ts","../src/connect/connect.providers.ts","../src/utils.ts","../src/host-info/host-info.ts","../src/host-info/host-info.pipe.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;AAIA;AACA;AAEA;;AAEG;AACG;AAEN;;;AAGG;;;;;;AAMF;;AC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;AAEG;AACH;AAIE;AAEA;;;;;AAKG;AACI;;;AAAqE;AACrE;;;AAA8E;AAC9E;;;AAAwE;;;AAsBhF;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../src/connect/connect.directive.ts","../src/connect/connect.providers.ts","../src/messages/error/base.ts","../src/messages/error/error.versions.ts","../src/messages/error/index.ts","../src/messages/error.sender.ts","../src/messages/available.sender.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/navigation/navigation.consumer.service.ts","../src/navigation/route-memorize/route-memorize.directive.ts","../src/navigation/route-memorize/route-memorize.service.ts","../src/navigation/routing.service.ts","../src/navigation/restore-route.pipe.ts","../src/resize/resize.consumer.service.ts","../src/resize/resize.producer.service.ts","../src/resize/resize.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/utils.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;AAqBA;AAKE;;AAEG;AACI;AAEP;;AAEG;AACI;AAEP;;AAEG;AACH;AAKA;AACA;AACA;AAEA;;;;AAmCD;;ACtDD;AACM;;;;;AAKL;AAED;;;AAGG;AACH;;ACrCA;AACA;AAEA;;AAEG;AACG;AAEN;;;AAGG;;;;;;AAMF;;ACdD;AACM;;;;;AAKL;;ACND;AACM;;ACIN;;;;AAIG;AACH;AAQA;;;AAGG;AAEH;;AAA+G;;ACvB/G;;;;AAIG;AACH;;;;;;;;;ACJA;;;AAGG;AACG;AAEN;;AAEG;AACG;;;AAGL;AAED;;;AAGE;;;AAGD;AAED;AACM;;AAGJ;;AAEA;;;;;;;;;AAWD;AAED;;AAEG;;;;AAKD;;;AAGG;AACH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;AAEG;AACI;AAEP;;AAEG;AACI;AAEP;;AAEG;;AAKH;;;;;AAKG;AACI;;;AAiCR;;ACtID;;AAEG;;AAED;;AAEG;;AAGH;;AAEG;;AAGH;;;AAGG;;AAEJ;AAED;;;;;AAKG;AACH;AAIE;AACA;AACA;AAEA;;;;;AAKG;AACI;AACA;AACA;;;AAiCR;;ACxED;;AAEG;AACH;AAIE;AAEA;;AAEG;AACH;;;AAAmE;AAEnE;;AAEG;AACH;AAEA;;AAEG;;AAED;;;AAGG;;AAEH;AAEF;;AAOA;;AAEG;;AAKH;;AAEG;;;;AAIJ;;AChDD;;;AAGG;AACH;;AAKE;;AAGA;;AAEG;AACH;;AAMA;;AAEG;;AAMH;;;AAGG;;;;AAkBJ;;AC5DD;;AAEG;AACH;AAKE;;AAEG;AACI;AAEP;;AAEG;AACI;AAEP;AAEA;;;AAGG;AACH;;;;AAuBD;;AC9CD;;AAEG;AACH;AAIE;AACA;AAEA;;;;AAIG;AACI;AACA;AACA;;;AAqBR;;ACrBD;;AAEG;AACH;AAIE;AACA;AACA;AACA;;AAEG;AACH;AAEA;;AAEG;AACH;AACE;;;AAGG;;AAaH;;AAOF;;AAEG;;AAKH;;AAEG;;;;AAIJ;;AC/ED;AACA;AACA;AACA;AAEA;;AAEE;;AAEG;;AAEJ;AAED;;;;;AAKG;AACH;AAYA;;;;AAIG;AACH;AAUA;;;;AAIG;AACH;AAKA;;;;;;AAMG;AACH;;ACrCA;;AAEG;AACH;AAIE;AACA;;AAGA;;AAEA;AAEA;;AAEG;AACH;;AA+CA;;;AAGG;;AAYH;;AAEG;AACI;AAIP;;AAEG;;;;AAKJ;;ACpHD;;AAEG;AACH;;;;AAOA;;;AAGG;AACH;AAWA;;AAEG;AACH;;;"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@ama-mfe/ng-utils",
3
- "version": "13.1.4",
3
+ "version": "13.1.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "peerDependencies": {
8
- "@ama-mfe/messages": "^13.1.4",
8
+ "@ama-mfe/messages": "^13.1.9",
9
9
  "@amadeus-it-group/microfrontends": "0.0.9",
10
10
  "@amadeus-it-group/microfrontends-angular": "0.0.9",
11
11
  "@angular-devkit/core": "^20.0.0",
@@ -14,16 +14,16 @@
14
14
  "@angular/core": "^20.0.0",
15
15
  "@angular/platform-browser": "^20.0.0",
16
16
  "@angular/router": "^20.0.0",
17
- "@o3r/logger": "^13.1.4",
18
- "@o3r/schematics": "^13.1.4",
17
+ "@o3r/logger": "^13.1.9",
18
+ "@o3r/schematics": "^13.1.9",
19
19
  "rxjs": "^7.8.1",
20
20
  "type-fest": "^4.30.1"
21
21
  },
22
22
  "dependencies": {
23
23
  "@amadeus-it-group/microfrontends": "0.0.9",
24
24
  "@amadeus-it-group/microfrontends-angular": "0.0.9",
25
- "@o3r/logger": "^13.1.4",
26
- "@o3r/schematics": "^13.1.4",
25
+ "@o3r/logger": "^13.1.9",
26
+ "@o3r/schematics": "^13.1.9",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "sideEffects": false,