@openmfp/portal-ui-lib 0.194.25 → 0.194.26
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.
|
@@ -1172,6 +1172,7 @@ class UserSettingsConfigService {
|
|
|
1172
1172
|
viewUrl: '/assets/openmfp-portal-ui-wc.js#development-settings',
|
|
1173
1173
|
webcomponent: {
|
|
1174
1174
|
selfRegistered: true,
|
|
1175
|
+
type: 'module',
|
|
1175
1176
|
},
|
|
1176
1177
|
context: {
|
|
1177
1178
|
translationTable: this.i18nService.translationTable,
|
|
@@ -1234,6 +1235,7 @@ class UserSettingsConfigService {
|
|
|
1234
1235
|
viewUrl: '/assets/openmfp-portal-ui-wc.js#feature-toggle',
|
|
1235
1236
|
webcomponent: {
|
|
1236
1237
|
selfRegistered: true,
|
|
1238
|
+
type: 'module',
|
|
1237
1239
|
},
|
|
1238
1240
|
context: {
|
|
1239
1241
|
translationTable: this.i18nService.translationTable,
|
|
@@ -1851,9 +1853,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
1851
1853
|
args: [{ providedIn: 'root' }]
|
|
1852
1854
|
}] });
|
|
1853
1855
|
|
|
1854
|
-
async function bootstrap() {
|
|
1855
|
-
const authService = inject(AuthService);
|
|
1856
|
-
const envConfigService = inject(EnvConfigService);
|
|
1856
|
+
async function bootstrap(authService, envConfigService) {
|
|
1857
1857
|
try {
|
|
1858
1858
|
const { oauthServerUrl, clientId } = await envConfigService.getEnvConfig();
|
|
1859
1859
|
if (!oauthServerUrl || !clientId) {
|
|
@@ -1865,7 +1865,7 @@ async function bootstrap() {
|
|
|
1865
1865
|
console.error('Error bootstrapping the app:', error);
|
|
1866
1866
|
}
|
|
1867
1867
|
}
|
|
1868
|
-
const provideBootstrap = () => provideAppInitializer(() => bootstrap());
|
|
1868
|
+
const provideBootstrap = () => provideAppInitializer(() => bootstrap(inject(AuthService), inject(EnvConfigService)));
|
|
1869
1869
|
|
|
1870
1870
|
async function initializeAutomaticSessionRefresh(sessionRefreshService, authService) {
|
|
1871
1871
|
authService.authEvents
|