@ama-mfe/ng-utils 14.5.1 → 14.5.4
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 +4 -2
- package/fesm2022/ama-mfe-ng-utils.mjs +132 -90
- package/fesm2022/ama-mfe-ng-utils.mjs.map +1 -1
- package/package.json +8 -11
- package/types/ama-mfe-ng-utils.d.ts +7 -1
- package/types/ama-mfe-ng-utils.d.ts.map +1 -1
- package/migration.json +0 -10
package/README.md
CHANGED
|
@@ -334,7 +334,8 @@ import {IframeEmbedComponent} from '@ama-mfe/ng-utils';
|
|
|
334
334
|
src="https://my-embedded-app.example.com"
|
|
335
335
|
moduleId="my-module-id"
|
|
336
336
|
hostApplicationId="host-app-id"
|
|
337
|
-
sandbox="allow-scripts allow-same-origin"
|
|
337
|
+
sandbox="allow-scripts allow-same-origin"
|
|
338
|
+
allow="camera; microphone" />
|
|
338
339
|
`
|
|
339
340
|
})
|
|
340
341
|
export class HostComponent {}
|
|
@@ -346,8 +347,9 @@ export class HostComponent {}
|
|
|
346
347
|
| `moduleId` | `string` | Unique identifier for the embedded module (used by the `connect` directive). |
|
|
347
348
|
| `hostApplicationId` | `string` | The host application identifier sent to the embedded module via `hostInfo`. |
|
|
348
349
|
| `sandbox` | `string` | The iframe sandbox permissions. Defaults to `'allow-scripts allow-same-origin'`. |
|
|
350
|
+
| `allow` | `string` | The iframe [Permissions Policy](https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/iframe#allow) (e.g. `'camera; microphone'`). Defaults to `''` (attribute not set). |
|
|
349
351
|
|
|
350
|
-
The `sandbox`
|
|
352
|
+
The `sandbox` and `allow` attributes are set once at initialization for security reasons (runtime changes are ignored).
|
|
351
353
|
|
|
352
354
|
### Host information
|
|
353
355
|
|
|
@@ -58,10 +58,10 @@ class ConnectDirective {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
62
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
61
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ConnectDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
62
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: ConnectDirective, isStandalone: true, selector: "iframe[connect]", inputs: { connect: { classPropertyName: "connect", publicName: "connect", isSignal: true, isRequired: true, transformFunction: null }, src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "src": "this.srcAttr" } }, ngImport: i0 }); }
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ConnectDirective, decorators: [{
|
|
65
65
|
type: Directive,
|
|
66
66
|
args: [{
|
|
67
67
|
selector: 'iframe[connect]',
|
|
@@ -143,10 +143,10 @@ class ProducerManagerService {
|
|
|
143
143
|
}
|
|
144
144
|
return handlersPresent;
|
|
145
145
|
}
|
|
146
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
147
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
146
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ProducerManagerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
147
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ProducerManagerService, providedIn: 'root' }); }
|
|
148
148
|
}
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ProducerManagerService, decorators: [{
|
|
150
150
|
type: Injectable,
|
|
151
151
|
args: [{
|
|
152
152
|
providedIn: 'root'
|
|
@@ -267,10 +267,10 @@ class ConsumerManagerService {
|
|
|
267
267
|
return consumers.filter((c) => c !== consumer);
|
|
268
268
|
});
|
|
269
269
|
}
|
|
270
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
271
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
270
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ConsumerManagerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
271
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ConsumerManagerService, providedIn: 'root' }); }
|
|
272
272
|
}
|
|
273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ConsumerManagerService, decorators: [{
|
|
274
274
|
type: Injectable,
|
|
275
275
|
args: [{
|
|
276
276
|
providedIn: 'root'
|
|
@@ -363,10 +363,10 @@ class HistoryConsumerService extends AbstractMessageConsumer {
|
|
|
363
363
|
*/
|
|
364
364
|
this.start();
|
|
365
365
|
}
|
|
366
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
367
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
366
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: HistoryConsumerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
367
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: HistoryConsumerService, providedIn: 'root' }); }
|
|
368
368
|
}
|
|
369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: HistoryConsumerService, decorators: [{
|
|
370
370
|
type: Injectable,
|
|
371
371
|
args: [{
|
|
372
372
|
providedIn: 'root'
|
|
@@ -482,10 +482,10 @@ class HostInfoPipe {
|
|
|
482
482
|
return typeof url === 'string' ? moduleUrlStringyfied : this.domSanitizer.bypassSecurityTrustResourceUrl(moduleUrlStringyfied);
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
486
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
485
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: HostInfoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
486
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: HostInfoPipe, isStandalone: true, name: "hostInfo" }); }
|
|
487
487
|
}
|
|
488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: HostInfoPipe, decorators: [{
|
|
489
489
|
type: Pipe,
|
|
490
490
|
args: [{
|
|
491
491
|
name: 'hostInfo'
|
|
@@ -610,10 +610,10 @@ class ResizeConsumerService extends AbstractMessageConsumer {
|
|
|
610
610
|
*/
|
|
611
611
|
this.start();
|
|
612
612
|
}
|
|
613
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
614
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
613
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ResizeConsumerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
614
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ResizeConsumerService, providedIn: 'root' }); }
|
|
615
615
|
}
|
|
616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ResizeConsumerService, decorators: [{
|
|
617
617
|
type: Injectable,
|
|
618
618
|
args: [{
|
|
619
619
|
providedIn: 'root'
|
|
@@ -760,10 +760,10 @@ class ScalableDirective {
|
|
|
760
760
|
this.renderer.setStyle(this.elem.nativeElement, 'min-height', `${height}px`);
|
|
761
761
|
}
|
|
762
762
|
}
|
|
763
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
764
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
763
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ScalableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
764
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: ScalableDirective, isStandalone: true, selector: "[scalable]", inputs: { connect: { classPropertyName: "connect", publicName: "connect", isSignal: true, isRequired: false, transformFunction: null }, scalable: { classPropertyName: "scalable", publicName: "scalable", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
765
765
|
}
|
|
766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ScalableDirective, decorators: [{
|
|
767
767
|
type: Directive,
|
|
768
768
|
args: [{
|
|
769
769
|
selector: '[scalable]',
|
|
@@ -921,10 +921,10 @@ class ThemeProducerService {
|
|
|
921
921
|
this.logger.error('Error in theme service message', message);
|
|
922
922
|
this.revertToPreviousTheme();
|
|
923
923
|
}
|
|
924
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
925
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
924
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThemeProducerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
925
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThemeProducerService, providedIn: 'root' }); }
|
|
926
926
|
}
|
|
927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThemeProducerService, decorators: [{
|
|
928
928
|
type: Injectable,
|
|
929
929
|
args: [{
|
|
930
930
|
providedIn: 'root'
|
|
@@ -957,16 +957,51 @@ class ApplyTheme {
|
|
|
957
957
|
}
|
|
958
958
|
return undefined;
|
|
959
959
|
}
|
|
960
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
961
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
960
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ApplyTheme, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
961
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: ApplyTheme, isStandalone: true, name: "applyTheme" }); }
|
|
962
962
|
}
|
|
963
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ApplyTheme, decorators: [{
|
|
964
964
|
type: Pipe,
|
|
965
965
|
args: [{
|
|
966
966
|
name: 'applyTheme'
|
|
967
967
|
}]
|
|
968
968
|
}] });
|
|
969
969
|
|
|
970
|
+
/**
|
|
971
|
+
* Directive to set the allow attribute (Permissions Policy) on an iframe element.
|
|
972
|
+
* Uses Renderer2 to set the attribute once at initialization, respecting the security intent (no runtime changes).
|
|
973
|
+
* @example
|
|
974
|
+
* ```html
|
|
975
|
+
* <iframe [mfeAllow]="'camera; microphone; fullscreen'" />
|
|
976
|
+
* ```
|
|
977
|
+
*/
|
|
978
|
+
class AllowDirective {
|
|
979
|
+
constructor() {
|
|
980
|
+
this.elementRef = inject(ElementRef);
|
|
981
|
+
this.renderer = inject(Renderer2);
|
|
982
|
+
/**
|
|
983
|
+
* The Permissions Policy features to delegate to the iframe (e.g. `'camera; microphone'`).
|
|
984
|
+
* Defaults to empty string (no additional feature delegated, the attribute is not set).
|
|
985
|
+
* Set once at initialization; runtime changes are ignored for security reasons.
|
|
986
|
+
*/
|
|
987
|
+
this.mfeAllow = input('', ...(ngDevMode ? [{ debugName: "mfeAllow" }] : /* istanbul ignore next */ []));
|
|
988
|
+
}
|
|
989
|
+
ngOnInit() {
|
|
990
|
+
const allow = this.mfeAllow();
|
|
991
|
+
if (allow) {
|
|
992
|
+
this.renderer.setAttribute(this.elementRef.nativeElement, 'allow', allow);
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AllowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
996
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: AllowDirective, isStandalone: true, selector: "iframe[mfeAllow]", inputs: { mfeAllow: { classPropertyName: "mfeAllow", publicName: "mfeAllow", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
997
|
+
}
|
|
998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AllowDirective, decorators: [{
|
|
999
|
+
type: Directive,
|
|
1000
|
+
args: [{
|
|
1001
|
+
selector: 'iframe[mfeAllow]'
|
|
1002
|
+
}]
|
|
1003
|
+
}], propDecorators: { mfeAllow: [{ type: i0.Input, args: [{ isSignal: true, alias: "mfeAllow", required: false }] }] } });
|
|
1004
|
+
|
|
970
1005
|
/**
|
|
971
1006
|
* Directive to set the sandbox attribute on an iframe element.
|
|
972
1007
|
* Uses Renderer2 to set the attribute once at initialization, respecting the security intent (no runtime changes).
|
|
@@ -989,10 +1024,10 @@ class SandboxDirective {
|
|
|
989
1024
|
ngOnInit() {
|
|
990
1025
|
this.renderer.setAttribute(this.elementRef.nativeElement, 'sandbox', this.mfeSandbox());
|
|
991
1026
|
}
|
|
992
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
993
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1027
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SandboxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1028
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: SandboxDirective, isStandalone: true, selector: "iframe[mfeSandbox]", inputs: { mfeSandbox: { classPropertyName: "mfeSandbox", publicName: "mfeSandbox", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
994
1029
|
}
|
|
995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SandboxDirective, decorators: [{
|
|
996
1031
|
type: Directive,
|
|
997
1032
|
args: [{
|
|
998
1033
|
selector: 'iframe[mfeSandbox]'
|
|
@@ -1024,20 +1059,27 @@ class IframeEmbedComponent {
|
|
|
1024
1059
|
* Pass through to the SandboxDirective on the iframe element.
|
|
1025
1060
|
*/
|
|
1026
1061
|
this.sandbox = input('allow-scripts allow-same-origin', ...(ngDevMode ? [{ debugName: "sandbox" }] : /* istanbul ignore next */ []));
|
|
1062
|
+
/**
|
|
1063
|
+
* The allow attribute (Permissions Policy) for the iframe, e.g. `'camera; microphone'`.
|
|
1064
|
+
* Pass through to the AllowDirective on the iframe element.
|
|
1065
|
+
* Defaults to empty string (attribute not set).
|
|
1066
|
+
*/
|
|
1067
|
+
this.allow = input('', ...(ngDevMode ? [{ debugName: "allow" }] : /* istanbul ignore next */ []));
|
|
1027
1068
|
}
|
|
1028
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1029
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
1069
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: IframeEmbedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1070
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.25", type: IframeEmbedComponent, isStandalone: true, selector: "mfe-iframe-embed", inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: true, transformFunction: null }, moduleId: { classPropertyName: "moduleId", publicName: "moduleId", isSignal: true, isRequired: true, transformFunction: null }, hostApplicationId: { classPropertyName: "hostApplicationId", publicName: "hostApplicationId", isSignal: true, isRequired: true, transformFunction: null }, sandbox: { classPropertyName: "sandbox", publicName: "sandbox", isSignal: true, isRequired: false, transformFunction: null }, allow: { classPropertyName: "allow", publicName: "allow", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@let hostInfoOptions = {hostId: hostApplicationId(), moduleId: moduleId()};\n<iframe\n [connect]=\"hostInfoOptions.moduleId\"\n scalable\n [src]=\"safeSrc() | hostInfo: hostInfoOptions | applyTheme\"\n [mfeSandbox]=\"sandbox()\"\n [mfeAllow]=\"allow()\">\n</iframe>\n", styles: ["mfe-iframe-embed iframe{height:100%;width:100%;display:block}\n"], dependencies: [{ kind: "directive", type: ConnectDirective, selector: "iframe[connect]", inputs: ["connect", "src"] }, { kind: "directive", type: ScalableDirective, selector: "[scalable]", inputs: ["connect", "scalable"] }, { kind: "directive", type: SandboxDirective, selector: "iframe[mfeSandbox]", inputs: ["mfeSandbox"] }, { kind: "directive", type: AllowDirective, selector: "iframe[mfeAllow]", inputs: ["mfeAllow"] }, { kind: "pipe", type: ApplyTheme, name: "applyTheme" }, { kind: "pipe", type: HostInfoPipe, name: "hostInfo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1030
1071
|
}
|
|
1031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: IframeEmbedComponent, decorators: [{
|
|
1032
1073
|
type: Component,
|
|
1033
1074
|
args: [{ selector: 'mfe-iframe-embed', imports: [
|
|
1034
1075
|
ConnectDirective,
|
|
1035
1076
|
ScalableDirective,
|
|
1036
1077
|
ApplyTheme,
|
|
1037
1078
|
HostInfoPipe,
|
|
1038
|
-
SandboxDirective
|
|
1039
|
-
|
|
1040
|
-
|
|
1079
|
+
SandboxDirective,
|
|
1080
|
+
AllowDirective
|
|
1081
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "@let hostInfoOptions = {hostId: hostApplicationId(), moduleId: moduleId()};\n<iframe\n [connect]=\"hostInfoOptions.moduleId\"\n scalable\n [src]=\"safeSrc() | hostInfo: hostInfoOptions | applyTheme\"\n [mfeSandbox]=\"sandbox()\"\n [mfeAllow]=\"allow()\">\n</iframe>\n", styles: ["mfe-iframe-embed iframe{height:100%;width:100%;display:block}\n"] }]
|
|
1082
|
+
}], propDecorators: { src: [{ type: i0.Input, args: [{ isSignal: true, alias: "src", required: true }] }], moduleId: [{ type: i0.Input, args: [{ isSignal: true, alias: "moduleId", required: true }] }], hostApplicationId: [{ type: i0.Input, args: [{ isSignal: true, alias: "hostApplicationId", required: true }] }], sandbox: [{ type: i0.Input, args: [{ isSignal: true, alias: "sandbox", required: false }] }], allow: [{ type: i0.Input, args: [{ isSignal: true, alias: "allow", required: false }] }] } });
|
|
1041
1083
|
|
|
1042
1084
|
/**
|
|
1043
1085
|
* A service that handles navigation messages and routing.
|
|
@@ -1116,10 +1158,10 @@ class NavigationConsumerService extends AbstractMessageConsumer {
|
|
|
1116
1158
|
replaceUrl: extras?.replaceUrl
|
|
1117
1159
|
});
|
|
1118
1160
|
}
|
|
1119
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1120
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1161
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationConsumerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1162
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationConsumerService, providedIn: 'root' }); }
|
|
1121
1163
|
}
|
|
1122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationConsumerService, decorators: [{
|
|
1123
1165
|
type: Injectable,
|
|
1124
1166
|
args: [{
|
|
1125
1167
|
providedIn: 'root'
|
|
@@ -1162,10 +1204,10 @@ class RouteMemorizeService {
|
|
|
1162
1204
|
getRoute(channelId) {
|
|
1163
1205
|
return this.routeStack[channelId];
|
|
1164
1206
|
}
|
|
1165
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1166
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1207
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouteMemorizeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1208
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouteMemorizeService, providedIn: 'root' }); }
|
|
1167
1209
|
}
|
|
1168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouteMemorizeService, decorators: [{
|
|
1169
1211
|
type: Injectable,
|
|
1170
1212
|
args: [{
|
|
1171
1213
|
providedIn: 'root'
|
|
@@ -1213,10 +1255,10 @@ class RestoreRoute {
|
|
|
1213
1255
|
return typeof url === 'string' ? moduleUrlStringyfied : this.domSanitizer.bypassSecurityTrustResourceUrl(moduleUrlStringyfied);
|
|
1214
1256
|
}
|
|
1215
1257
|
}
|
|
1216
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1217
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
1258
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RestoreRoute, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1259
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: RestoreRoute, isStandalone: true, name: "restoreRoute" }); }
|
|
1218
1260
|
}
|
|
1219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RestoreRoute, decorators: [{
|
|
1220
1262
|
type: Pipe,
|
|
1221
1263
|
args: [{
|
|
1222
1264
|
name: 'restoreRoute'
|
|
@@ -1270,10 +1312,10 @@ class RouteMemorizeDirective {
|
|
|
1270
1312
|
}
|
|
1271
1313
|
});
|
|
1272
1314
|
}
|
|
1273
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1274
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1315
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouteMemorizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1316
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: RouteMemorizeDirective, isStandalone: true, selector: "iframe[memorizeRoute]", inputs: { memorizeRoute: { classPropertyName: "memorizeRoute", publicName: "memorizeRoute", isSignal: true, isRequired: false, transformFunction: null }, memorizeRouteId: { classPropertyName: "memorizeRouteId", publicName: "memorizeRouteId", isSignal: true, isRequired: false, transformFunction: null }, memorizeMaxAge: { classPropertyName: "memorizeMaxAge", publicName: "memorizeMaxAge", isSignal: true, isRequired: false, transformFunction: null }, memorizeRouteMaxAge: { classPropertyName: "memorizeRouteMaxAge", publicName: "memorizeRouteMaxAge", isSignal: true, isRequired: false, transformFunction: null }, connect: { classPropertyName: "connect", publicName: "connect", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
1275
1317
|
}
|
|
1276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouteMemorizeDirective, decorators: [{
|
|
1277
1319
|
type: Directive,
|
|
1278
1320
|
args: [{
|
|
1279
1321
|
selector: 'iframe[memorizeRoute]',
|
|
@@ -1387,10 +1429,10 @@ class RoutingService {
|
|
|
1387
1429
|
}
|
|
1388
1430
|
});
|
|
1389
1431
|
}
|
|
1390
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1391
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1432
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RoutingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1433
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RoutingService, providedIn: 'root' }); }
|
|
1392
1434
|
}
|
|
1393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RoutingService, decorators: [{
|
|
1394
1436
|
type: Injectable,
|
|
1395
1437
|
args: [{
|
|
1396
1438
|
providedIn: 'root'
|
|
@@ -1421,10 +1463,10 @@ class NavigationBlockService {
|
|
|
1421
1463
|
unblock() {
|
|
1422
1464
|
this.stateSignal.set({ blocked: false });
|
|
1423
1465
|
}
|
|
1424
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1425
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1466
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1467
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockService, providedIn: 'root' }); }
|
|
1426
1468
|
}
|
|
1427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockService, decorators: [{
|
|
1428
1470
|
type: Injectable,
|
|
1429
1471
|
args: [{
|
|
1430
1472
|
providedIn: 'root'
|
|
@@ -1466,10 +1508,10 @@ class NavigationBlockStateProducerService {
|
|
|
1466
1508
|
handleError(message) {
|
|
1467
1509
|
this.logger.error('navigation-block state message could not be consumed by the shell', message);
|
|
1468
1510
|
}
|
|
1469
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1470
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1511
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockStateProducerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1512
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockStateProducerService, providedIn: 'root' }); }
|
|
1471
1513
|
}
|
|
1472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockStateProducerService, decorators: [{
|
|
1473
1515
|
type: Injectable,
|
|
1474
1516
|
args: [{
|
|
1475
1517
|
providedIn: 'root'
|
|
@@ -1512,10 +1554,10 @@ class NavigationBlockStateConsumerService extends AbstractMessageConsumer {
|
|
|
1512
1554
|
clear() {
|
|
1513
1555
|
this.blockStateSignal.set({ blocked: false });
|
|
1514
1556
|
}
|
|
1515
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1516
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1557
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockStateConsumerService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1558
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockStateConsumerService, providedIn: 'root' }); }
|
|
1517
1559
|
}
|
|
1518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockStateConsumerService, decorators: [{
|
|
1519
1561
|
type: Injectable,
|
|
1520
1562
|
args: [{
|
|
1521
1563
|
providedIn: 'root'
|
|
@@ -1617,10 +1659,10 @@ class NavigationRequestManagerService {
|
|
|
1617
1659
|
}
|
|
1618
1660
|
this.producerManagerService.unregister(this);
|
|
1619
1661
|
}
|
|
1620
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1621
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1662
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationRequestManagerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1663
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationRequestManagerService, providedIn: 'root' }); }
|
|
1622
1664
|
}
|
|
1623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationRequestManagerService, decorators: [{
|
|
1624
1666
|
type: Injectable,
|
|
1625
1667
|
args: [{
|
|
1626
1668
|
providedIn: 'root'
|
|
@@ -1698,10 +1740,10 @@ class NavigationRequestConsumerService extends AbstractMessageConsumer {
|
|
|
1698
1740
|
}
|
|
1699
1741
|
this.producerService.sendDecision(message.payload.correlationId, message.from);
|
|
1700
1742
|
}
|
|
1701
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1702
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1743
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationRequestConsumerService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1744
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationRequestConsumerService, providedIn: 'root' }); }
|
|
1703
1745
|
}
|
|
1704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationRequestConsumerService, decorators: [{
|
|
1705
1747
|
type: Injectable,
|
|
1706
1748
|
args: [{
|
|
1707
1749
|
providedIn: 'root'
|
|
@@ -1740,10 +1782,10 @@ class BrowserConfirmationStrategy {
|
|
|
1740
1782
|
// eslint-disable-next-line no-alert -- intentional use of window.confirm for basic confirmation strategy
|
|
1741
1783
|
return Promise.resolve(window.confirm(message));
|
|
1742
1784
|
}
|
|
1743
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1744
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1785
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: BrowserConfirmationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1786
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: BrowserConfirmationStrategy, providedIn: 'root' }); }
|
|
1745
1787
|
}
|
|
1746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: BrowserConfirmationStrategy, decorators: [{
|
|
1747
1789
|
type: Injectable,
|
|
1748
1790
|
args: [{
|
|
1749
1791
|
providedIn: 'root'
|
|
@@ -1791,10 +1833,10 @@ class NavigationBlockConfirmationService {
|
|
|
1791
1833
|
this.pendingConfirmation = pending;
|
|
1792
1834
|
return pending;
|
|
1793
1835
|
}
|
|
1794
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1795
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1836
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockConfirmationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1837
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockConfirmationService, providedIn: 'root' }); }
|
|
1796
1838
|
}
|
|
1797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationBlockConfirmationService, decorators: [{
|
|
1798
1840
|
type: Injectable,
|
|
1799
1841
|
args: [{
|
|
1800
1842
|
providedIn: 'root'
|
|
@@ -1856,10 +1898,10 @@ class NavigationDecisionConsumerService extends AbstractMessageConsumer {
|
|
|
1856
1898
|
};
|
|
1857
1899
|
this.producerService = inject(NavigationRequestManagerService);
|
|
1858
1900
|
}
|
|
1859
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1860
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1901
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationDecisionConsumerService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1902
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationDecisionConsumerService, providedIn: 'root' }); }
|
|
1861
1903
|
}
|
|
1862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationDecisionConsumerService, decorators: [{
|
|
1863
1905
|
type: Injectable,
|
|
1864
1906
|
args: [{
|
|
1865
1907
|
providedIn: 'root'
|
|
@@ -1995,10 +2037,10 @@ class ResizeService {
|
|
|
1995
2037
|
});
|
|
1996
2038
|
afterNextRender(() => this.resizeObserver?.observe(document.body));
|
|
1997
2039
|
}
|
|
1998
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1999
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2040
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ResizeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2041
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ResizeService, providedIn: 'root' }); }
|
|
2000
2042
|
}
|
|
2001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ResizeService, decorators: [{
|
|
2002
2044
|
type: Injectable,
|
|
2003
2045
|
args: [{
|
|
2004
2046
|
providedIn: 'root'
|
|
@@ -2044,10 +2086,10 @@ class ThemeConsumerService extends AbstractMessageConsumer {
|
|
|
2044
2086
|
*/
|
|
2045
2087
|
this.start();
|
|
2046
2088
|
}
|
|
2047
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2048
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2089
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThemeConsumerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2090
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThemeConsumerService, providedIn: 'root' }); }
|
|
2049
2091
|
}
|
|
2050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2092
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ThemeConsumerService, decorators: [{
|
|
2051
2093
|
type: Injectable,
|
|
2052
2094
|
args: [{
|
|
2053
2095
|
providedIn: 'root'
|
|
@@ -2220,10 +2262,10 @@ class IframeActivityTrackerService {
|
|
|
2220
2262
|
this.stopActivityInterval();
|
|
2221
2263
|
this.config = undefined;
|
|
2222
2264
|
}
|
|
2223
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2224
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2265
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: IframeActivityTrackerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2266
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: IframeActivityTrackerService, providedIn: 'root' }); }
|
|
2225
2267
|
}
|
|
2226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: IframeActivityTrackerService, decorators: [{
|
|
2227
2269
|
type: Injectable,
|
|
2228
2270
|
args: [{
|
|
2229
2271
|
providedIn: 'root'
|
|
@@ -2400,10 +2442,10 @@ class ActivityProducerService {
|
|
|
2400
2442
|
this.lastEmitTimestamps.clear();
|
|
2401
2443
|
this.iframeActivityTracker.stop();
|
|
2402
2444
|
}
|
|
2403
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2404
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2445
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActivityProducerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2446
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActivityProducerService, providedIn: 'root' }); }
|
|
2405
2447
|
}
|
|
2406
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActivityProducerService, decorators: [{
|
|
2407
2449
|
type: Injectable,
|
|
2408
2450
|
args: [{
|
|
2409
2451
|
providedIn: 'root'
|
|
@@ -2456,10 +2498,10 @@ class ActivityConsumerService {
|
|
|
2456
2498
|
stop() {
|
|
2457
2499
|
this.consumerManagerService.unregister(this);
|
|
2458
2500
|
}
|
|
2459
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2460
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2501
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActivityConsumerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2502
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActivityConsumerService, providedIn: 'root' }); }
|
|
2461
2503
|
}
|
|
2462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActivityConsumerService, decorators: [{
|
|
2463
2505
|
type: Injectable,
|
|
2464
2506
|
args: [{
|
|
2465
2507
|
providedIn: 'root'
|