@eui/core 13.0.0-rc.39 → 13.0.0-rc.42
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/docs/dependencies.html +39 -35
- package/docs/injectables/I18nLoader.html +39 -0
- package/docs/injectables/UxAppShellService.html +66 -2
- package/docs/interfaces/UIState.html +45 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +3 -0
- package/esm2020/lib/eui-core.module.mjs +4 -4
- package/esm2020/lib/helpers/dom-helpers.mjs +3 -1
- package/esm2020/lib/helpers/format-helpers.mjs +3 -1
- package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/cors-security.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +3 -3
- package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +3 -3
- package/esm2020/lib/services/app/eui-pre-init-app.mjs +3 -1
- package/esm2020/lib/services/app/factories/log.mjs +3 -1
- package/esm2020/lib/services/errors/global-error-handler.mjs +3 -3
- package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +3 -3
- package/esm2020/lib/services/i18n/i18n.loader.mjs +12 -4
- package/esm2020/lib/services/i18n/i18n.service.mjs +10 -4
- package/esm2020/lib/services/i18n/i18n.service.mock.mjs +3 -3
- package/esm2020/lib/services/locale/locale.service.mjs +8 -6
- package/esm2020/lib/services/log/log.module.mjs +4 -4
- package/esm2020/lib/services/log/log.service.mjs +3 -3
- package/esm2020/lib/services/permission/permission.service.mjs +3 -3
- package/esm2020/lib/services/queue/api-queue.service.mjs +3 -3
- package/esm2020/lib/services/storage/async-storage.service.mjs +1 -1
- package/esm2020/lib/services/storage/local-forage.service.mjs +6 -4
- package/esm2020/lib/services/storage/local-storage.service.mjs +3 -3
- package/esm2020/lib/services/storage/session-storage.service.mjs +3 -3
- package/esm2020/lib/services/storage/storage.service.mjs +1 -1
- package/esm2020/lib/services/store/effects/app.effects.mjs +3 -3
- package/esm2020/lib/services/store/reducers/meta.reducers.mjs +9 -1
- package/esm2020/lib/services/store/store.service.mjs +3 -3
- package/esm2020/lib/services/store/store.service.mock.mjs +3 -3
- package/esm2020/lib/services/user/user.service.mjs +3 -3
- package/esm2020/lib/services/user/user.service.mock.mjs +3 -3
- package/esm2020/lib/services/ux-app-shell.service.mjs +15 -12
- package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +3 -3
- package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +3 -3
- package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +3 -3
- package/esm2020/lib/services/ux-timezone.service.mjs +3 -3
- package/fesm2015/eui-core.mjs +142 -105
- package/fesm2015/eui-core.mjs.map +1 -1
- package/fesm2020/eui-core.mjs +145 -108
- package/fesm2020/eui-core.mjs.map +1 -1
- package/lib/helpers/dom-helpers.d.ts.map +1 -1
- package/lib/helpers/format-helpers.d.ts.map +1 -1
- package/lib/services/app/eui-pre-init-app.d.ts.map +1 -1
- package/lib/services/app/factories/log.d.ts.map +1 -1
- package/lib/services/i18n/i18n.loader.d.ts +5 -0
- package/lib/services/i18n/i18n.loader.d.ts.map +1 -1
- package/lib/services/i18n/i18n.service.d.ts.map +1 -1
- package/lib/services/locale/locale.service.d.ts.map +1 -1
- package/lib/services/storage/async-storage.service.d.ts.map +1 -1
- package/lib/services/storage/local-forage.service.d.ts.map +1 -1
- package/lib/services/store/reducers/meta.reducers.d.ts.map +1 -1
- package/lib/services/ux-app-shell.service.d.ts +3 -2
- package/lib/services/ux-app-shell.service.d.ts.map +1 -1
- package/package.json +1 -1
package/fesm2020/eui-core.mjs
CHANGED
|
@@ -185,9 +185,9 @@ class LogService extends Logger {
|
|
|
185
185
|
return logger;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
/** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
189
|
-
/** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
188
|
+
/** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogService, deps: [{ token: BASE_LOGGER_NAME_TOKEN }, { token: LOG_LEVEL_TOKEN }, { token: LOG_APPENDERS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
189
|
+
/** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogService });
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogService, decorators: [{
|
|
191
191
|
type: Injectable
|
|
192
192
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
193
193
|
type: Inject,
|
|
@@ -201,12 +201,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
|
201
201
|
}] }]; } });
|
|
202
202
|
|
|
203
203
|
const LOG_INSTANCES = {};
|
|
204
|
+
/* tslint:disable */
|
|
204
205
|
/**
|
|
205
206
|
* Helper function to check if the log config is defined.
|
|
206
207
|
* Does not check only for empty object, because the config can have other (non-log) parameters
|
|
207
208
|
* @params config log configuration
|
|
208
209
|
* @returns true/false
|
|
209
210
|
*/
|
|
211
|
+
/* tslint:enable */
|
|
210
212
|
function isLogConfigDefined(config) {
|
|
211
213
|
return config && ('baseLoggerName' in config || 'logLevel' in config || 'logAppenders' in config);
|
|
212
214
|
}
|
|
@@ -357,10 +359,10 @@ class LogModule {
|
|
|
357
359
|
};
|
|
358
360
|
}
|
|
359
361
|
}
|
|
360
|
-
/** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
361
|
-
/** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.
|
|
362
|
-
/** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.
|
|
363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
362
|
+
/** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
363
|
+
/** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule });
|
|
364
|
+
/** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule });
|
|
365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule, decorators: [{
|
|
364
366
|
type: NgModule
|
|
365
367
|
}] });
|
|
366
368
|
|
|
@@ -452,9 +454,9 @@ class StoreService {
|
|
|
452
454
|
}
|
|
453
455
|
}
|
|
454
456
|
}
|
|
455
|
-
/** @nocollapse */ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
456
|
-
/** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
457
|
+
/** @nocollapse */ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreService, deps: [{ token: i1$1.Store, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
458
|
+
/** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreService, providedIn: 'root' });
|
|
459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreService, decorators: [{
|
|
458
460
|
type: Injectable,
|
|
459
461
|
args: [{
|
|
460
462
|
providedIn: 'root',
|
|
@@ -637,6 +639,7 @@ class I18nLoader {
|
|
|
637
639
|
this.logService = logService;
|
|
638
640
|
this.euiAppConfig = euiAppConfig;
|
|
639
641
|
this.resources = [];
|
|
642
|
+
this.failedResources = [];
|
|
640
643
|
// create the resources from the config object
|
|
641
644
|
const i18nConfig = this.euiAppConfig.global && this.euiAppConfig.global.i18n;
|
|
642
645
|
const i18nLoaderConfig = i18nConfig && i18nConfig.i18nLoader;
|
|
@@ -649,6 +652,7 @@ class I18nLoader {
|
|
|
649
652
|
*/
|
|
650
653
|
getTranslation(lang) {
|
|
651
654
|
return this.loadResources(this.resources, lang).pipe(map((loadedResources) => {
|
|
655
|
+
this.failedResources = loadedResources.hasError ? loadedResources.errors : [];
|
|
652
656
|
return loadedResources.translations;
|
|
653
657
|
}));
|
|
654
658
|
}
|
|
@@ -709,6 +713,12 @@ class I18nLoader {
|
|
|
709
713
|
return of({ hasError: false, translations: {} });
|
|
710
714
|
}
|
|
711
715
|
}
|
|
716
|
+
/**
|
|
717
|
+
* Returns resources that failed
|
|
718
|
+
*/
|
|
719
|
+
getFailedResources() {
|
|
720
|
+
return this.failedResources;
|
|
721
|
+
}
|
|
712
722
|
/**
|
|
713
723
|
* Create resources from a config file
|
|
714
724
|
* @param config loader configuration
|
|
@@ -778,9 +788,9 @@ class I18nLoader {
|
|
|
778
788
|
return undefined;
|
|
779
789
|
}
|
|
780
790
|
}
|
|
781
|
-
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
782
|
-
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
791
|
+
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nLoader, deps: [{ token: i1$2.HttpClient }, { token: LogService, optional: true }, { token: CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
792
|
+
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nLoader });
|
|
793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nLoader, decorators: [{
|
|
784
794
|
type: Injectable
|
|
785
795
|
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
|
|
786
796
|
type: Optional
|
|
@@ -937,6 +947,12 @@ class I18nService extends EuiLazyService {
|
|
|
937
947
|
this.setDefaultLanguage(this.config.defaultLanguage);
|
|
938
948
|
}
|
|
939
949
|
}), map(() => {
|
|
950
|
+
if (this.translateService.currentLoader instanceof I18nLoader) {
|
|
951
|
+
const failedResources = this.translateService.currentLoader.getFailedResources();
|
|
952
|
+
if (failedResources.length > 0) {
|
|
953
|
+
return { success: false, error: failedResources };
|
|
954
|
+
}
|
|
955
|
+
}
|
|
940
956
|
return { success: true };
|
|
941
957
|
}), catchError((error) => {
|
|
942
958
|
return of({ success: false, error: error });
|
|
@@ -984,9 +1000,9 @@ class I18nService extends EuiLazyService {
|
|
|
984
1000
|
this.document.documentElement.lang = lang;
|
|
985
1001
|
}
|
|
986
1002
|
}
|
|
987
|
-
/** @nocollapse */ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
988
|
-
/** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
1003
|
+
/** @nocollapse */ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nService, deps: [{ token: GLOBAL_CONFIG_TOKEN }, { token: i2.TranslateService }, { token: LogService, optional: true }, { token: StoreService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1004
|
+
/** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nService, providedIn: 'root' });
|
|
1005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nService, decorators: [{
|
|
990
1006
|
type: Injectable,
|
|
991
1007
|
args: [{
|
|
992
1008
|
providedIn: 'root',
|
|
@@ -1029,9 +1045,9 @@ class I18nServiceMock extends I18nService {
|
|
|
1029
1045
|
return of({ success: true });
|
|
1030
1046
|
}
|
|
1031
1047
|
}
|
|
1032
|
-
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1033
|
-
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
1048
|
+
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1049
|
+
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nServiceMock });
|
|
1050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nServiceMock, decorators: [{
|
|
1035
1051
|
type: Injectable
|
|
1036
1052
|
}], ctorParameters: function () { return []; } });
|
|
1037
1053
|
|
|
@@ -1047,6 +1063,7 @@ const initialState = {
|
|
|
1047
1063
|
isSidebarActive: false,
|
|
1048
1064
|
isSidebarInnerActive: false,
|
|
1049
1065
|
isSidebarStateCloseWithIcons: false,
|
|
1066
|
+
isSidebarExpandOnHover: true,
|
|
1050
1067
|
hasSidebar: false,
|
|
1051
1068
|
hasHeader: false,
|
|
1052
1069
|
hasHeaderLogo: false,
|
|
@@ -1155,10 +1172,12 @@ class UxAppShellService {
|
|
|
1155
1172
|
});
|
|
1156
1173
|
}
|
|
1157
1174
|
set isSidebarHover(isHover) {
|
|
1158
|
-
this.
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1175
|
+
if (this.state.isSidebarExpandOnHover) {
|
|
1176
|
+
this.setState({
|
|
1177
|
+
...this.state,
|
|
1178
|
+
isSidebarHover: isHover,
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1162
1181
|
}
|
|
1163
1182
|
get isSidebarHover() {
|
|
1164
1183
|
return this.state.isSidebarHover;
|
|
@@ -1314,12 +1333,12 @@ class UxAppShellService {
|
|
|
1314
1333
|
});
|
|
1315
1334
|
this.activateHeaderCssVars();
|
|
1316
1335
|
}
|
|
1317
|
-
activateTopMessage() {
|
|
1336
|
+
activateTopMessage(height) {
|
|
1318
1337
|
this.setState({
|
|
1319
1338
|
...this.state,
|
|
1320
1339
|
hasTopMessage: true,
|
|
1321
1340
|
});
|
|
1322
|
-
this.activateTopMessageCssVars();
|
|
1341
|
+
this.activateTopMessageCssVars(height);
|
|
1323
1342
|
}
|
|
1324
1343
|
activateToolbar() {
|
|
1325
1344
|
this.setState({
|
|
@@ -1369,8 +1388,8 @@ class UxAppShellService {
|
|
|
1369
1388
|
activateHeaderCssVars() {
|
|
1370
1389
|
this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
|
|
1371
1390
|
}
|
|
1372
|
-
activateTopMessageCssVars() {
|
|
1373
|
-
this.
|
|
1391
|
+
activateTopMessageCssVars(height) {
|
|
1392
|
+
this._setCssVarValue('--eui-app-top-message-height', `${height}px`);
|
|
1374
1393
|
}
|
|
1375
1394
|
activateToolbarCssVars() {
|
|
1376
1395
|
this.setCssVar('--eui-app-toolbar-height-active', '--eui-app-toolbar-height');
|
|
@@ -1654,9 +1673,9 @@ class UxAppShellService {
|
|
|
1654
1673
|
});
|
|
1655
1674
|
}
|
|
1656
1675
|
}
|
|
1657
|
-
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1658
|
-
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
1676
|
+
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxAppShellService, deps: [{ token: GLOBAL_CONFIG_TOKEN, optional: true }, { token: i1$2.HttpClient }, { token: PLATFORM_ID }, { token: i2$1.Router }, { token: StoreService }, { token: I18nService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1677
|
+
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
|
|
1678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxAppShellService, decorators: [{
|
|
1660
1679
|
type: Injectable,
|
|
1661
1680
|
args: [{
|
|
1662
1681
|
providedIn: 'root',
|
|
@@ -1706,8 +1725,8 @@ class CoreAppEffects {
|
|
|
1706
1725
|
}));
|
|
1707
1726
|
}
|
|
1708
1727
|
}
|
|
1709
|
-
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1710
|
-
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1728
|
+
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreAppEffects, deps: [{ token: i1$3.Actions }, { token: SHOW_CONNECTION_STATUS_TOKEN }, { token: i2.TranslateService }, { token: UxAppShellService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1729
|
+
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreAppEffects });
|
|
1711
1730
|
__decorate([
|
|
1712
1731
|
Effect()
|
|
1713
1732
|
], CoreAppEffects.prototype, "getAppConnectionInformation", void 0);
|
|
@@ -1717,7 +1736,7 @@ __decorate([
|
|
|
1717
1736
|
__decorate([
|
|
1718
1737
|
Effect({ dispatch: false })
|
|
1719
1738
|
], CoreAppEffects.prototype, "updateAppConnection", void 0);
|
|
1720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
1739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreAppEffects, decorators: [{
|
|
1721
1740
|
type: Injectable
|
|
1722
1741
|
}], ctorParameters: function () { return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
|
|
1723
1742
|
type: Inject,
|
|
@@ -1876,10 +1895,12 @@ const coreReducers = Object.assign({}, {
|
|
|
1876
1895
|
});
|
|
1877
1896
|
|
|
1878
1897
|
const extend = extendProxy.default || extendProxy;
|
|
1898
|
+
/* tslint:disable */
|
|
1879
1899
|
/**
|
|
1880
1900
|
* Utility meta-reducer to load the state from the local storage
|
|
1881
1901
|
* @param reducer the action reducer
|
|
1882
1902
|
*/
|
|
1903
|
+
/* tslint:enable */
|
|
1883
1904
|
function localStorageSync(reducer) {
|
|
1884
1905
|
return cb(reducer, localStorage);
|
|
1885
1906
|
}
|
|
@@ -1892,10 +1913,12 @@ function sessionStorageSync(reducer) {
|
|
|
1892
1913
|
}
|
|
1893
1914
|
// Keys that are allowed to be synced with NgRx state from BrowserStorage
|
|
1894
1915
|
const disallowedKeys = ['loadedConfigModules', 'connect', 'currentModule', 'status', 'apiQueue'];
|
|
1916
|
+
/* tslint:disable */
|
|
1895
1917
|
/**
|
|
1896
1918
|
* filters the AppState by removing those keys from the state and return a new state Object
|
|
1897
1919
|
* @param app the AppState
|
|
1898
1920
|
*/
|
|
1921
|
+
/* tslint:enable */
|
|
1899
1922
|
const filterAppState = (app) => {
|
|
1900
1923
|
// in case app is undefined or null it should return empty object
|
|
1901
1924
|
if (!app) {
|
|
@@ -1910,11 +1933,13 @@ const filterAppState = (app) => {
|
|
|
1910
1933
|
return obj;
|
|
1911
1934
|
}, {});
|
|
1912
1935
|
};
|
|
1936
|
+
/* tslint:disable */
|
|
1913
1937
|
/**
|
|
1914
1938
|
*
|
|
1915
1939
|
* @param storageType
|
|
1916
1940
|
*/
|
|
1917
1941
|
const loadState = (storage = localStorage) => {
|
|
1942
|
+
/* tslint:enable */
|
|
1918
1943
|
try {
|
|
1919
1944
|
// by default falls back to localStorage
|
|
1920
1945
|
const serializedState = storage.getItem('state');
|
|
@@ -1931,7 +1956,9 @@ const loadState = (storage = localStorage) => {
|
|
|
1931
1956
|
return undefined;
|
|
1932
1957
|
}
|
|
1933
1958
|
};
|
|
1959
|
+
/* tslint:disable */
|
|
1934
1960
|
const cb = (reducer, storage) => {
|
|
1961
|
+
/* tslint:enable */
|
|
1935
1962
|
return function (state, action) {
|
|
1936
1963
|
if (action.type === CoreAppActionTypes.INIT_STORE) {
|
|
1937
1964
|
// This action must be dispatched from an app initializer
|
|
@@ -1980,9 +2007,9 @@ class StoreServiceMock extends StoreService {
|
|
|
1980
2007
|
return of({});
|
|
1981
2008
|
}
|
|
1982
2009
|
}
|
|
1983
|
-
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1984
|
-
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2010
|
+
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2011
|
+
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreServiceMock });
|
|
2012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreServiceMock, decorators: [{
|
|
1986
2013
|
type: Injectable
|
|
1987
2014
|
}], ctorParameters: function () { return []; } });
|
|
1988
2015
|
|
|
@@ -2027,12 +2054,12 @@ class CoreModule {
|
|
|
2027
2054
|
};
|
|
2028
2055
|
}
|
|
2029
2056
|
}
|
|
2030
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2031
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.
|
|
2032
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.
|
|
2057
|
+
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, deps: [{ token: CORE_ROOT_GUARD, optional: true }, { token: CoreModule, optional: true, skipSelf: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2058
|
+
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
|
|
2059
|
+
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, imports: [[
|
|
2033
2060
|
HttpClientModule,
|
|
2034
2061
|
]] });
|
|
2035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, decorators: [{
|
|
2036
2063
|
type: NgModule,
|
|
2037
2064
|
args: [{
|
|
2038
2065
|
imports: [
|
|
@@ -2063,12 +2090,14 @@ function euiCoreRootGuardClass() {
|
|
|
2063
2090
|
return new EuiCoreRootGuardClass();
|
|
2064
2091
|
}
|
|
2065
2092
|
|
|
2093
|
+
/* tslint:disable */
|
|
2066
2094
|
/**
|
|
2067
2095
|
* Function to be used before the AppModule is bootstrapped. It is currently used to load dynamic configurations.
|
|
2068
2096
|
* It needs to be added in your application main.ts file.
|
|
2069
2097
|
* @param envConfig the current environment configuration
|
|
2070
2098
|
* @returns the updated environment configuration, as a promise
|
|
2071
2099
|
*/
|
|
2100
|
+
/* tslint:enable */
|
|
2072
2101
|
async function preInitApp(envConfig) {
|
|
2073
2102
|
const envDynamicConfig = envConfig && envConfig.envDynamicConfig;
|
|
2074
2103
|
if (envDynamicConfig) {
|
|
@@ -2154,9 +2183,9 @@ class GlobalErrorHandler extends ErrorHandler {
|
|
|
2154
2183
|
super.handleError(error);
|
|
2155
2184
|
}
|
|
2156
2185
|
}
|
|
2157
|
-
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2158
|
-
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2186
|
+
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2187
|
+
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
|
|
2188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
2160
2189
|
type: Injectable,
|
|
2161
2190
|
args: [{
|
|
2162
2191
|
providedIn: 'root',
|
|
@@ -2203,9 +2232,9 @@ class HttpErrorHandlerInterceptor {
|
|
|
2203
2232
|
return routes.length > 0 ? routes[0] : null;
|
|
2204
2233
|
}
|
|
2205
2234
|
}
|
|
2206
|
-
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2207
|
-
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2235
|
+
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpErrorHandlerInterceptor, deps: [{ token: HTTP_ERROR_HANDLER_CONFIG_TOKEN }, { token: i0.Injector }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2236
|
+
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpErrorHandlerInterceptor });
|
|
2237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
|
|
2209
2238
|
type: Injectable
|
|
2210
2239
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2211
2240
|
type: Inject,
|
|
@@ -2352,9 +2381,9 @@ class ApiQueueService {
|
|
|
2352
2381
|
.pipe(tap(() => this.removeQueueItem(id)));
|
|
2353
2382
|
}
|
|
2354
2383
|
}
|
|
2355
|
-
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2356
|
-
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2384
|
+
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ApiQueueService, deps: [{ token: StoreService }, { token: i1$2.HttpClient }, { token: LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2385
|
+
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
|
|
2386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ApiQueueService, decorators: [{
|
|
2358
2387
|
type: Injectable,
|
|
2359
2388
|
args: [{
|
|
2360
2389
|
providedIn: 'root',
|
|
@@ -2441,10 +2470,12 @@ const getStyle = (nativeEl, cssProp) => {
|
|
|
2441
2470
|
const isStaticPositioned = (nativeEl) => {
|
|
2442
2471
|
return (getStyle(nativeEl, 'position') || 'static') === 'static';
|
|
2443
2472
|
};
|
|
2473
|
+
/* tslint:disable */
|
|
2444
2474
|
/**
|
|
2445
2475
|
* returns the closest, non-statically positioned parentOffset of a given element
|
|
2446
2476
|
* @param nativeEl
|
|
2447
2477
|
*/
|
|
2478
|
+
/* tslint:enable */
|
|
2448
2479
|
const parentOffsetEl = (nativeEl) => {
|
|
2449
2480
|
let offsetParent = nativeEl.offsetParent || document;
|
|
2450
2481
|
while (offsetParent && offsetParent !== document &&
|
|
@@ -2533,6 +2564,7 @@ const validateEmail = (c) => {
|
|
|
2533
2564
|
const uniqueId = () => {
|
|
2534
2565
|
return Math.random().toString(36).substr(2, 9);
|
|
2535
2566
|
};
|
|
2567
|
+
/* tslint:disable */
|
|
2536
2568
|
/**
|
|
2537
2569
|
* Its job is to parse number and format it based on given input.
|
|
2538
2570
|
* @param value can be a number or a string number
|
|
@@ -2540,6 +2572,7 @@ const uniqueId = () => {
|
|
|
2540
2572
|
* @param inDecimalSeparator separator for decimal part of the number default is ','
|
|
2541
2573
|
* @param inThousandSeparator separator for the whole part of the number default is ''
|
|
2542
2574
|
*/
|
|
2575
|
+
/* tslint:enable */
|
|
2543
2576
|
const formatNumber = (value, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = '') => {
|
|
2544
2577
|
if (inDecimalSeparator || inThousandSeparator) {
|
|
2545
2578
|
console.warn('The inDecimalSeparator and inThousandSeparator are deprecated. They will be a ' +
|
|
@@ -2707,9 +2740,9 @@ class EuiPermissionService extends EuiService {
|
|
|
2707
2740
|
return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
|
|
2708
2741
|
}
|
|
2709
2742
|
}
|
|
2710
|
-
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2711
|
-
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2743
|
+
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuiPermissionService, deps: [{ token: LogService, optional: true }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2744
|
+
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
|
|
2745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuiPermissionService, decorators: [{
|
|
2713
2746
|
type: Injectable,
|
|
2714
2747
|
args: [{
|
|
2715
2748
|
providedIn: 'root',
|
|
@@ -2770,9 +2803,9 @@ class UxDynamicMenuService {
|
|
|
2770
2803
|
});
|
|
2771
2804
|
}
|
|
2772
2805
|
}
|
|
2773
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2774
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2806
|
+
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicMenuService, deps: [{ token: EuiPermissionService }, { token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2807
|
+
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
|
|
2808
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicMenuService, decorators: [{
|
|
2776
2809
|
type: Injectable,
|
|
2777
2810
|
args: [{
|
|
2778
2811
|
providedIn: 'root',
|
|
@@ -2840,9 +2873,9 @@ class UxErrorFeedbackService {
|
|
|
2840
2873
|
return new UxErrorManager(this, true);
|
|
2841
2874
|
}
|
|
2842
2875
|
}
|
|
2843
|
-
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2844
|
-
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2876
|
+
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxErrorFeedbackService, deps: [{ token: UxAppShellService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2877
|
+
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
|
|
2878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
|
|
2846
2879
|
type: Injectable,
|
|
2847
2880
|
args: [{
|
|
2848
2881
|
providedIn: 'root'
|
|
@@ -2937,9 +2970,9 @@ class UxDynamicComponentService {
|
|
|
2937
2970
|
return new PortalInjector(this.injector, injectorTokens);
|
|
2938
2971
|
}
|
|
2939
2972
|
}
|
|
2940
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2941
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2973
|
+
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2974
|
+
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
|
|
2975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicComponentService, decorators: [{
|
|
2943
2976
|
type: Injectable,
|
|
2944
2977
|
args: [{ providedIn: 'root' }]
|
|
2945
2978
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
|
|
@@ -3654,9 +3687,9 @@ class UxTimezoneService {
|
|
|
3654
3687
|
});
|
|
3655
3688
|
}
|
|
3656
3689
|
}
|
|
3657
|
-
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3658
|
-
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
3690
|
+
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3691
|
+
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxTimezoneService });
|
|
3692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxTimezoneService, decorators: [{
|
|
3660
3693
|
type: Injectable
|
|
3661
3694
|
}] });
|
|
3662
3695
|
|
|
@@ -3782,9 +3815,9 @@ class LocalStorageService extends StorageService {
|
|
|
3782
3815
|
}
|
|
3783
3816
|
}
|
|
3784
3817
|
LocalStorageService.NAME = 'LocalStorageService';
|
|
3785
|
-
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3786
|
-
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
3818
|
+
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3819
|
+
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalStorageService });
|
|
3820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
3788
3821
|
type: Injectable
|
|
3789
3822
|
}], ctorParameters: function () { return [{ type: LogService, decorators: [{
|
|
3790
3823
|
type: Optional
|
|
@@ -3853,15 +3886,17 @@ class SessionStorageService extends StorageService {
|
|
|
3853
3886
|
}
|
|
3854
3887
|
}
|
|
3855
3888
|
SessionStorageService.NAME = 'SessionStorageService';
|
|
3856
|
-
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3857
|
-
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
3889
|
+
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SessionStorageService, deps: [{ token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3890
|
+
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SessionStorageService });
|
|
3891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
3859
3892
|
type: Injectable
|
|
3860
3893
|
}], ctorParameters: function () { return [{ type: LogService, decorators: [{
|
|
3861
3894
|
type: Optional
|
|
3862
3895
|
}] }]; } });
|
|
3863
3896
|
|
|
3897
|
+
/* tslint:disable */
|
|
3864
3898
|
/** @internal */
|
|
3899
|
+
/* tslint:enable */
|
|
3865
3900
|
const localForage = 'defineDriver' in lf ? lf : lf['default'];
|
|
3866
3901
|
const LOCAL_FORAGE_SERVICE_CONFIG_TOKEN = new InjectionToken('LOCAL_FORAGE_SERVICE_CONFIG');
|
|
3867
3902
|
/**
|
|
@@ -3942,9 +3977,9 @@ class LocalForageService extends AsyncStorageService {
|
|
|
3942
3977
|
}
|
|
3943
3978
|
}
|
|
3944
3979
|
LocalForageService.NAME = 'LocalForageService';
|
|
3945
|
-
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3946
|
-
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
3980
|
+
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalForageService, deps: [{ token: LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3981
|
+
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalForageService });
|
|
3982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalForageService, decorators: [{
|
|
3948
3983
|
type: Injectable
|
|
3949
3984
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3950
3985
|
type: Inject,
|
|
@@ -4068,9 +4103,11 @@ class LocaleService extends EuiService {
|
|
|
4068
4103
|
bindTranslateServiceLangChangeToState() {
|
|
4069
4104
|
if (this.i18n) {
|
|
4070
4105
|
this.i18n.onStateChange.pipe(takeUntil(this.subNotifier),
|
|
4106
|
+
// filter out null values
|
|
4107
|
+
filter(state => state.activeLang !== null),
|
|
4071
4108
|
// BEWARE: filter is based on convention that locale id sliced(2) will match activeLang e.g. en-US => en
|
|
4072
4109
|
// Also, if activeLang is 'en' and locale is 'en-GB' it will not trigger locale change
|
|
4073
|
-
filter(state => state
|
|
4110
|
+
filter(state => state.activeLang.toLowerCase() !== this.stateInstance?.id.slice(0, 2).toLowerCase()),
|
|
4074
4111
|
// to check if registration of locale otherwise register it
|
|
4075
4112
|
switchMap(value => of(value).pipe(
|
|
4076
4113
|
// getLocaleId may throw Error(`Missing locale data for the locale "${locale}".`);
|
|
@@ -4084,7 +4121,7 @@ class LocaleService extends EuiService {
|
|
|
4084
4121
|
if (this.log) {
|
|
4085
4122
|
this.logger.debug(error);
|
|
4086
4123
|
}
|
|
4087
|
-
return this.loadLocale(value
|
|
4124
|
+
return this.loadLocale(value?.activeLang).pipe(filter((s) => s.success), map(() => this.localeMapper(value?.activeLang)), catchError(e => {
|
|
4088
4125
|
if (this.log) {
|
|
4089
4126
|
this.logger.debug('Something went terribly really wrong during locale loading', e.err.message);
|
|
4090
4127
|
}
|
|
@@ -4175,9 +4212,9 @@ class LocaleService extends EuiService {
|
|
|
4175
4212
|
return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
|
|
4176
4213
|
}
|
|
4177
4214
|
}
|
|
4178
|
-
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4179
|
-
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4215
|
+
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocaleService, deps: [{ token: StoreService }, { token: GLOBAL_CONFIG_TOKEN }, { token: LOCALE_ID }, { token: LOCALE_ID_MAPPER, optional: true }, { token: I18nService, optional: true }, { token: LogService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4216
|
+
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocaleService, providedIn: 'root' });
|
|
4217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocaleService, decorators: [{
|
|
4181
4218
|
type: Injectable,
|
|
4182
4219
|
args: [{
|
|
4183
4220
|
providedIn: 'root'
|
|
@@ -4232,9 +4269,9 @@ class UserService extends EuiService {
|
|
|
4232
4269
|
this.store.dispatch(new UpdateUserStateAction(userState));
|
|
4233
4270
|
}
|
|
4234
4271
|
}
|
|
4235
|
-
/** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4236
|
-
/** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4272
|
+
/** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserService, deps: [{ token: StoreService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4273
|
+
/** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
4274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserService, decorators: [{
|
|
4238
4275
|
type: Injectable,
|
|
4239
4276
|
args: [{
|
|
4240
4277
|
providedIn: 'root',
|
|
@@ -4265,9 +4302,9 @@ class UserServiceMock extends UserService {
|
|
|
4265
4302
|
return of('anonymous');
|
|
4266
4303
|
}
|
|
4267
4304
|
}
|
|
4268
|
-
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4269
|
-
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4305
|
+
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4306
|
+
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserServiceMock });
|
|
4307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
4271
4308
|
type: Injectable
|
|
4272
4309
|
}], ctorParameters: function () { return []; } });
|
|
4273
4310
|
|
|
@@ -4297,9 +4334,9 @@ class AddLangParamInterceptor {
|
|
|
4297
4334
|
}));
|
|
4298
4335
|
}
|
|
4299
4336
|
}
|
|
4300
|
-
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4301
|
-
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4337
|
+
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AddLangParamInterceptor, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4338
|
+
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AddLangParamInterceptor });
|
|
4339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
4303
4340
|
type: Injectable
|
|
4304
4341
|
}], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
|
|
4305
4342
|
|
|
@@ -4316,9 +4353,9 @@ class CachePreventionInterceptor {
|
|
|
4316
4353
|
}));
|
|
4317
4354
|
}
|
|
4318
4355
|
}
|
|
4319
|
-
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4320
|
-
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4356
|
+
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4357
|
+
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CachePreventionInterceptor });
|
|
4358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
4322
4359
|
type: Injectable
|
|
4323
4360
|
}] });
|
|
4324
4361
|
|
|
@@ -4329,9 +4366,9 @@ class CorsSecurityInterceptor {
|
|
|
4329
4366
|
}));
|
|
4330
4367
|
}
|
|
4331
4368
|
}
|
|
4332
|
-
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4333
|
-
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4369
|
+
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4370
|
+
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CorsSecurityInterceptor });
|
|
4371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
4335
4372
|
type: Injectable
|
|
4336
4373
|
}] });
|
|
4337
4374
|
|
|
@@ -4342,9 +4379,9 @@ class CsrfPreventionInterceptor {
|
|
|
4342
4379
|
}));
|
|
4343
4380
|
}
|
|
4344
4381
|
}
|
|
4345
|
-
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4346
|
-
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4382
|
+
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4383
|
+
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CsrfPreventionInterceptor });
|
|
4384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
4348
4385
|
type: Injectable
|
|
4349
4386
|
}] });
|
|
4350
4387
|
|
|
@@ -4398,9 +4435,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4398
4435
|
document.location.reload();
|
|
4399
4436
|
}
|
|
4400
4437
|
}
|
|
4401
|
-
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4402
|
-
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4438
|
+
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4439
|
+
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
|
|
4440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
4404
4441
|
type: Injectable
|
|
4405
4442
|
}] });
|
|
4406
4443
|
|
|
@@ -4421,9 +4458,9 @@ class UxRequestErrorModelInterceptor {
|
|
|
4421
4458
|
}));
|
|
4422
4459
|
}
|
|
4423
4460
|
}
|
|
4424
|
-
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4425
|
-
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4461
|
+
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxRequestErrorModelInterceptor, deps: [{ token: UX_ERROR_MAPPING_HANDLER_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4462
|
+
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxRequestErrorModelInterceptor });
|
|
4463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
4427
4464
|
type: Injectable
|
|
4428
4465
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4429
4466
|
type: Inject,
|
|
@@ -4565,9 +4602,9 @@ class OpenIdConnectInterceptor {
|
|
|
4565
4602
|
}
|
|
4566
4603
|
}
|
|
4567
4604
|
}
|
|
4568
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4569
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4605
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4606
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectInterceptor });
|
|
4607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
|
|
4571
4608
|
type: Injectable
|
|
4572
4609
|
}], ctorParameters: function () { return []; } });
|
|
4573
4610
|
|
|
@@ -4597,9 +4634,9 @@ class OpenIdConnectService {
|
|
|
4597
4634
|
return this.userDetails;
|
|
4598
4635
|
}
|
|
4599
4636
|
}
|
|
4600
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4601
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4637
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4638
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
|
|
4639
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectService, decorators: [{
|
|
4603
4640
|
type: Injectable,
|
|
4604
4641
|
args: [{
|
|
4605
4642
|
providedIn: 'root'
|