@eui/core 13.0.0-rc.40 → 13.0.0-rc.44
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/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +2 -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 +3 -3
- package/esm2020/lib/services/i18n/i18n.service.mjs +3 -3
- 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 +3 -3
- 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 +120 -100
- package/fesm2015/eui-core.mjs.map +1 -1
- package/fesm2020/eui-core.mjs +120 -100
- 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/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/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',
|
|
@@ -786,9 +788,9 @@ class I18nLoader {
|
|
|
786
788
|
return undefined;
|
|
787
789
|
}
|
|
788
790
|
}
|
|
789
|
-
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
790
|
-
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
791
|
-
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: [{
|
|
792
794
|
type: Injectable
|
|
793
795
|
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
|
|
794
796
|
type: Optional
|
|
@@ -998,9 +1000,9 @@ class I18nService extends EuiLazyService {
|
|
|
998
1000
|
this.document.documentElement.lang = lang;
|
|
999
1001
|
}
|
|
1000
1002
|
}
|
|
1001
|
-
/** @nocollapse */ /** @nocollapse */ I18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1002
|
-
/** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1003
|
-
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: [{
|
|
1004
1006
|
type: Injectable,
|
|
1005
1007
|
args: [{
|
|
1006
1008
|
providedIn: 'root',
|
|
@@ -1043,9 +1045,9 @@ class I18nServiceMock extends I18nService {
|
|
|
1043
1045
|
return of({ success: true });
|
|
1044
1046
|
}
|
|
1045
1047
|
}
|
|
1046
|
-
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1047
|
-
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1048
|
-
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: [{
|
|
1049
1051
|
type: Injectable
|
|
1050
1052
|
}], ctorParameters: function () { return []; } });
|
|
1051
1053
|
|
|
@@ -1671,9 +1673,9 @@ class UxAppShellService {
|
|
|
1671
1673
|
});
|
|
1672
1674
|
}
|
|
1673
1675
|
}
|
|
1674
|
-
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1675
|
-
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1676
|
-
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: [{
|
|
1677
1679
|
type: Injectable,
|
|
1678
1680
|
args: [{
|
|
1679
1681
|
providedIn: 'root',
|
|
@@ -1723,8 +1725,8 @@ class CoreAppEffects {
|
|
|
1723
1725
|
}));
|
|
1724
1726
|
}
|
|
1725
1727
|
}
|
|
1726
|
-
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1727
|
-
/** @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 });
|
|
1728
1730
|
__decorate([
|
|
1729
1731
|
Effect()
|
|
1730
1732
|
], CoreAppEffects.prototype, "getAppConnectionInformation", void 0);
|
|
@@ -1734,7 +1736,7 @@ __decorate([
|
|
|
1734
1736
|
__decorate([
|
|
1735
1737
|
Effect({ dispatch: false })
|
|
1736
1738
|
], CoreAppEffects.prototype, "updateAppConnection", void 0);
|
|
1737
|
-
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: [{
|
|
1738
1740
|
type: Injectable
|
|
1739
1741
|
}], ctorParameters: function () { return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
|
|
1740
1742
|
type: Inject,
|
|
@@ -1893,10 +1895,12 @@ const coreReducers = Object.assign({}, {
|
|
|
1893
1895
|
});
|
|
1894
1896
|
|
|
1895
1897
|
const extend = extendProxy.default || extendProxy;
|
|
1898
|
+
/* tslint:disable */
|
|
1896
1899
|
/**
|
|
1897
1900
|
* Utility meta-reducer to load the state from the local storage
|
|
1898
1901
|
* @param reducer the action reducer
|
|
1899
1902
|
*/
|
|
1903
|
+
/* tslint:enable */
|
|
1900
1904
|
function localStorageSync(reducer) {
|
|
1901
1905
|
return cb(reducer, localStorage);
|
|
1902
1906
|
}
|
|
@@ -1909,10 +1913,12 @@ function sessionStorageSync(reducer) {
|
|
|
1909
1913
|
}
|
|
1910
1914
|
// Keys that are allowed to be synced with NgRx state from BrowserStorage
|
|
1911
1915
|
const disallowedKeys = ['loadedConfigModules', 'connect', 'currentModule', 'status', 'apiQueue'];
|
|
1916
|
+
/* tslint:disable */
|
|
1912
1917
|
/**
|
|
1913
1918
|
* filters the AppState by removing those keys from the state and return a new state Object
|
|
1914
1919
|
* @param app the AppState
|
|
1915
1920
|
*/
|
|
1921
|
+
/* tslint:enable */
|
|
1916
1922
|
const filterAppState = (app) => {
|
|
1917
1923
|
// in case app is undefined or null it should return empty object
|
|
1918
1924
|
if (!app) {
|
|
@@ -1927,11 +1933,13 @@ const filterAppState = (app) => {
|
|
|
1927
1933
|
return obj;
|
|
1928
1934
|
}, {});
|
|
1929
1935
|
};
|
|
1936
|
+
/* tslint:disable */
|
|
1930
1937
|
/**
|
|
1931
1938
|
*
|
|
1932
1939
|
* @param storageType
|
|
1933
1940
|
*/
|
|
1934
1941
|
const loadState = (storage = localStorage) => {
|
|
1942
|
+
/* tslint:enable */
|
|
1935
1943
|
try {
|
|
1936
1944
|
// by default falls back to localStorage
|
|
1937
1945
|
const serializedState = storage.getItem('state');
|
|
@@ -1948,7 +1956,9 @@ const loadState = (storage = localStorage) => {
|
|
|
1948
1956
|
return undefined;
|
|
1949
1957
|
}
|
|
1950
1958
|
};
|
|
1959
|
+
/* tslint:disable */
|
|
1951
1960
|
const cb = (reducer, storage) => {
|
|
1961
|
+
/* tslint:enable */
|
|
1952
1962
|
return function (state, action) {
|
|
1953
1963
|
if (action.type === CoreAppActionTypes.INIT_STORE) {
|
|
1954
1964
|
// This action must be dispatched from an app initializer
|
|
@@ -1997,9 +2007,9 @@ class StoreServiceMock extends StoreService {
|
|
|
1997
2007
|
return of({});
|
|
1998
2008
|
}
|
|
1999
2009
|
}
|
|
2000
|
-
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2001
|
-
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2002
|
-
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: [{
|
|
2003
2013
|
type: Injectable
|
|
2004
2014
|
}], ctorParameters: function () { return []; } });
|
|
2005
2015
|
|
|
@@ -2044,12 +2054,12 @@ class CoreModule {
|
|
|
2044
2054
|
};
|
|
2045
2055
|
}
|
|
2046
2056
|
}
|
|
2047
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2048
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.
|
|
2049
|
-
/** @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: [[
|
|
2050
2060
|
HttpClientModule,
|
|
2051
2061
|
]] });
|
|
2052
|
-
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: [{
|
|
2053
2063
|
type: NgModule,
|
|
2054
2064
|
args: [{
|
|
2055
2065
|
imports: [
|
|
@@ -2080,12 +2090,14 @@ function euiCoreRootGuardClass() {
|
|
|
2080
2090
|
return new EuiCoreRootGuardClass();
|
|
2081
2091
|
}
|
|
2082
2092
|
|
|
2093
|
+
/* tslint:disable */
|
|
2083
2094
|
/**
|
|
2084
2095
|
* Function to be used before the AppModule is bootstrapped. It is currently used to load dynamic configurations.
|
|
2085
2096
|
* It needs to be added in your application main.ts file.
|
|
2086
2097
|
* @param envConfig the current environment configuration
|
|
2087
2098
|
* @returns the updated environment configuration, as a promise
|
|
2088
2099
|
*/
|
|
2100
|
+
/* tslint:enable */
|
|
2089
2101
|
async function preInitApp(envConfig) {
|
|
2090
2102
|
const envDynamicConfig = envConfig && envConfig.envDynamicConfig;
|
|
2091
2103
|
if (envDynamicConfig) {
|
|
@@ -2171,9 +2183,9 @@ class GlobalErrorHandler extends ErrorHandler {
|
|
|
2171
2183
|
super.handleError(error);
|
|
2172
2184
|
}
|
|
2173
2185
|
}
|
|
2174
|
-
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2175
|
-
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2176
|
-
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: [{
|
|
2177
2189
|
type: Injectable,
|
|
2178
2190
|
args: [{
|
|
2179
2191
|
providedIn: 'root',
|
|
@@ -2220,9 +2232,9 @@ class HttpErrorHandlerInterceptor {
|
|
|
2220
2232
|
return routes.length > 0 ? routes[0] : null;
|
|
2221
2233
|
}
|
|
2222
2234
|
}
|
|
2223
|
-
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2224
|
-
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2225
|
-
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: [{
|
|
2226
2238
|
type: Injectable
|
|
2227
2239
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2228
2240
|
type: Inject,
|
|
@@ -2369,9 +2381,9 @@ class ApiQueueService {
|
|
|
2369
2381
|
.pipe(tap(() => this.removeQueueItem(id)));
|
|
2370
2382
|
}
|
|
2371
2383
|
}
|
|
2372
|
-
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2373
|
-
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2374
|
-
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: [{
|
|
2375
2387
|
type: Injectable,
|
|
2376
2388
|
args: [{
|
|
2377
2389
|
providedIn: 'root',
|
|
@@ -2458,10 +2470,12 @@ const getStyle = (nativeEl, cssProp) => {
|
|
|
2458
2470
|
const isStaticPositioned = (nativeEl) => {
|
|
2459
2471
|
return (getStyle(nativeEl, 'position') || 'static') === 'static';
|
|
2460
2472
|
};
|
|
2473
|
+
/* tslint:disable */
|
|
2461
2474
|
/**
|
|
2462
2475
|
* returns the closest, non-statically positioned parentOffset of a given element
|
|
2463
2476
|
* @param nativeEl
|
|
2464
2477
|
*/
|
|
2478
|
+
/* tslint:enable */
|
|
2465
2479
|
const parentOffsetEl = (nativeEl) => {
|
|
2466
2480
|
let offsetParent = nativeEl.offsetParent || document;
|
|
2467
2481
|
while (offsetParent && offsetParent !== document &&
|
|
@@ -2550,6 +2564,7 @@ const validateEmail = (c) => {
|
|
|
2550
2564
|
const uniqueId = () => {
|
|
2551
2565
|
return Math.random().toString(36).substr(2, 9);
|
|
2552
2566
|
};
|
|
2567
|
+
/* tslint:disable */
|
|
2553
2568
|
/**
|
|
2554
2569
|
* Its job is to parse number and format it based on given input.
|
|
2555
2570
|
* @param value can be a number or a string number
|
|
@@ -2557,6 +2572,7 @@ const uniqueId = () => {
|
|
|
2557
2572
|
* @param inDecimalSeparator separator for decimal part of the number default is ','
|
|
2558
2573
|
* @param inThousandSeparator separator for the whole part of the number default is ''
|
|
2559
2574
|
*/
|
|
2575
|
+
/* tslint:enable */
|
|
2560
2576
|
const formatNumber = (value, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = '') => {
|
|
2561
2577
|
if (inDecimalSeparator || inThousandSeparator) {
|
|
2562
2578
|
console.warn('The inDecimalSeparator and inThousandSeparator are deprecated. They will be a ' +
|
|
@@ -2724,9 +2740,9 @@ class EuiPermissionService extends EuiService {
|
|
|
2724
2740
|
return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
|
|
2725
2741
|
}
|
|
2726
2742
|
}
|
|
2727
|
-
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2728
|
-
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2729
|
-
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: [{
|
|
2730
2746
|
type: Injectable,
|
|
2731
2747
|
args: [{
|
|
2732
2748
|
providedIn: 'root',
|
|
@@ -2787,9 +2803,9 @@ class UxDynamicMenuService {
|
|
|
2787
2803
|
});
|
|
2788
2804
|
}
|
|
2789
2805
|
}
|
|
2790
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2791
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2792
|
-
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: [{
|
|
2793
2809
|
type: Injectable,
|
|
2794
2810
|
args: [{
|
|
2795
2811
|
providedIn: 'root',
|
|
@@ -2857,9 +2873,9 @@ class UxErrorFeedbackService {
|
|
|
2857
2873
|
return new UxErrorManager(this, true);
|
|
2858
2874
|
}
|
|
2859
2875
|
}
|
|
2860
|
-
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2861
|
-
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2862
|
-
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: [{
|
|
2863
2879
|
type: Injectable,
|
|
2864
2880
|
args: [{
|
|
2865
2881
|
providedIn: 'root'
|
|
@@ -2954,9 +2970,9 @@ class UxDynamicComponentService {
|
|
|
2954
2970
|
return new PortalInjector(this.injector, injectorTokens);
|
|
2955
2971
|
}
|
|
2956
2972
|
}
|
|
2957
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2958
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2959
|
-
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: [{
|
|
2960
2976
|
type: Injectable,
|
|
2961
2977
|
args: [{ providedIn: 'root' }]
|
|
2962
2978
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
|
|
@@ -3671,9 +3687,9 @@ class UxTimezoneService {
|
|
|
3671
3687
|
});
|
|
3672
3688
|
}
|
|
3673
3689
|
}
|
|
3674
|
-
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3675
|
-
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3676
|
-
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: [{
|
|
3677
3693
|
type: Injectable
|
|
3678
3694
|
}] });
|
|
3679
3695
|
|
|
@@ -3799,9 +3815,9 @@ class LocalStorageService extends StorageService {
|
|
|
3799
3815
|
}
|
|
3800
3816
|
}
|
|
3801
3817
|
LocalStorageService.NAME = 'LocalStorageService';
|
|
3802
|
-
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3803
|
-
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3804
|
-
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: [{
|
|
3805
3821
|
type: Injectable
|
|
3806
3822
|
}], ctorParameters: function () { return [{ type: LogService, decorators: [{
|
|
3807
3823
|
type: Optional
|
|
@@ -3870,15 +3886,17 @@ class SessionStorageService extends StorageService {
|
|
|
3870
3886
|
}
|
|
3871
3887
|
}
|
|
3872
3888
|
SessionStorageService.NAME = 'SessionStorageService';
|
|
3873
|
-
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3874
|
-
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3875
|
-
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: [{
|
|
3876
3892
|
type: Injectable
|
|
3877
3893
|
}], ctorParameters: function () { return [{ type: LogService, decorators: [{
|
|
3878
3894
|
type: Optional
|
|
3879
3895
|
}] }]; } });
|
|
3880
3896
|
|
|
3897
|
+
/* tslint:disable */
|
|
3881
3898
|
/** @internal */
|
|
3899
|
+
/* tslint:enable */
|
|
3882
3900
|
const localForage = 'defineDriver' in lf ? lf : lf['default'];
|
|
3883
3901
|
const LOCAL_FORAGE_SERVICE_CONFIG_TOKEN = new InjectionToken('LOCAL_FORAGE_SERVICE_CONFIG');
|
|
3884
3902
|
/**
|
|
@@ -3959,9 +3977,9 @@ class LocalForageService extends AsyncStorageService {
|
|
|
3959
3977
|
}
|
|
3960
3978
|
}
|
|
3961
3979
|
LocalForageService.NAME = 'LocalForageService';
|
|
3962
|
-
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3963
|
-
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3964
|
-
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: [{
|
|
3965
3983
|
type: Injectable
|
|
3966
3984
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3967
3985
|
type: Inject,
|
|
@@ -4085,9 +4103,11 @@ class LocaleService extends EuiService {
|
|
|
4085
4103
|
bindTranslateServiceLangChangeToState() {
|
|
4086
4104
|
if (this.i18n) {
|
|
4087
4105
|
this.i18n.onStateChange.pipe(takeUntil(this.subNotifier),
|
|
4106
|
+
// filter out null values
|
|
4107
|
+
filter(state => state.activeLang !== null),
|
|
4088
4108
|
// BEWARE: filter is based on convention that locale id sliced(2) will match activeLang e.g. en-US => en
|
|
4089
4109
|
// Also, if activeLang is 'en' and locale is 'en-GB' it will not trigger locale change
|
|
4090
|
-
filter(state => state
|
|
4110
|
+
filter(state => state.activeLang.toLowerCase() !== this.stateInstance?.id.slice(0, 2).toLowerCase()),
|
|
4091
4111
|
// to check if registration of locale otherwise register it
|
|
4092
4112
|
switchMap(value => of(value).pipe(
|
|
4093
4113
|
// getLocaleId may throw Error(`Missing locale data for the locale "${locale}".`);
|
|
@@ -4101,7 +4121,7 @@ class LocaleService extends EuiService {
|
|
|
4101
4121
|
if (this.log) {
|
|
4102
4122
|
this.logger.debug(error);
|
|
4103
4123
|
}
|
|
4104
|
-
return this.loadLocale(value
|
|
4124
|
+
return this.loadLocale(value?.activeLang).pipe(filter((s) => s.success), map(() => this.localeMapper(value?.activeLang)), catchError(e => {
|
|
4105
4125
|
if (this.log) {
|
|
4106
4126
|
this.logger.debug('Something went terribly really wrong during locale loading', e.err.message);
|
|
4107
4127
|
}
|
|
@@ -4192,9 +4212,9 @@ class LocaleService extends EuiService {
|
|
|
4192
4212
|
return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
|
|
4193
4213
|
}
|
|
4194
4214
|
}
|
|
4195
|
-
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4196
|
-
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4197
|
-
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: [{
|
|
4198
4218
|
type: Injectable,
|
|
4199
4219
|
args: [{
|
|
4200
4220
|
providedIn: 'root'
|
|
@@ -4249,9 +4269,9 @@ class UserService extends EuiService {
|
|
|
4249
4269
|
this.store.dispatch(new UpdateUserStateAction(userState));
|
|
4250
4270
|
}
|
|
4251
4271
|
}
|
|
4252
|
-
/** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4253
|
-
/** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4254
|
-
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: [{
|
|
4255
4275
|
type: Injectable,
|
|
4256
4276
|
args: [{
|
|
4257
4277
|
providedIn: 'root',
|
|
@@ -4282,9 +4302,9 @@ class UserServiceMock extends UserService {
|
|
|
4282
4302
|
return of('anonymous');
|
|
4283
4303
|
}
|
|
4284
4304
|
}
|
|
4285
|
-
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4286
|
-
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4287
|
-
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: [{
|
|
4288
4308
|
type: Injectable
|
|
4289
4309
|
}], ctorParameters: function () { return []; } });
|
|
4290
4310
|
|
|
@@ -4314,9 +4334,9 @@ class AddLangParamInterceptor {
|
|
|
4314
4334
|
}));
|
|
4315
4335
|
}
|
|
4316
4336
|
}
|
|
4317
|
-
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4318
|
-
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4319
|
-
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: [{
|
|
4320
4340
|
type: Injectable
|
|
4321
4341
|
}], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
|
|
4322
4342
|
|
|
@@ -4333,9 +4353,9 @@ class CachePreventionInterceptor {
|
|
|
4333
4353
|
}));
|
|
4334
4354
|
}
|
|
4335
4355
|
}
|
|
4336
|
-
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4337
|
-
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4338
|
-
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: [{
|
|
4339
4359
|
type: Injectable
|
|
4340
4360
|
}] });
|
|
4341
4361
|
|
|
@@ -4346,9 +4366,9 @@ class CorsSecurityInterceptor {
|
|
|
4346
4366
|
}));
|
|
4347
4367
|
}
|
|
4348
4368
|
}
|
|
4349
|
-
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4350
|
-
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4351
|
-
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: [{
|
|
4352
4372
|
type: Injectable
|
|
4353
4373
|
}] });
|
|
4354
4374
|
|
|
@@ -4359,9 +4379,9 @@ class CsrfPreventionInterceptor {
|
|
|
4359
4379
|
}));
|
|
4360
4380
|
}
|
|
4361
4381
|
}
|
|
4362
|
-
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4363
|
-
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4364
|
-
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: [{
|
|
4365
4385
|
type: Injectable
|
|
4366
4386
|
}] });
|
|
4367
4387
|
|
|
@@ -4415,9 +4435,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4415
4435
|
document.location.reload();
|
|
4416
4436
|
}
|
|
4417
4437
|
}
|
|
4418
|
-
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4419
|
-
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4420
|
-
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: [{
|
|
4421
4441
|
type: Injectable
|
|
4422
4442
|
}] });
|
|
4423
4443
|
|
|
@@ -4438,9 +4458,9 @@ class UxRequestErrorModelInterceptor {
|
|
|
4438
4458
|
}));
|
|
4439
4459
|
}
|
|
4440
4460
|
}
|
|
4441
|
-
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4442
|
-
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4443
|
-
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: [{
|
|
4444
4464
|
type: Injectable
|
|
4445
4465
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4446
4466
|
type: Inject,
|
|
@@ -4582,9 +4602,9 @@ class OpenIdConnectInterceptor {
|
|
|
4582
4602
|
}
|
|
4583
4603
|
}
|
|
4584
4604
|
}
|
|
4585
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4586
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4587
|
-
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: [{
|
|
4588
4608
|
type: Injectable
|
|
4589
4609
|
}], ctorParameters: function () { return []; } });
|
|
4590
4610
|
|
|
@@ -4614,9 +4634,9 @@ class OpenIdConnectService {
|
|
|
4614
4634
|
return this.userDetails;
|
|
4615
4635
|
}
|
|
4616
4636
|
}
|
|
4617
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4618
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4619
|
-
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: [{
|
|
4620
4640
|
type: Injectable,
|
|
4621
4641
|
args: [{
|
|
4622
4642
|
providedIn: 'root'
|