@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/fesm2015/eui-core.mjs
CHANGED
|
@@ -168,9 +168,9 @@ class LogService extends Logger {
|
|
|
168
168
|
return logger;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
/** @nocollapse */ /** @nocollapse */ LogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
172
|
-
/** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
171
|
+
/** @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 });
|
|
172
|
+
/** @nocollapse */ /** @nocollapse */ LogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogService });
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogService, decorators: [{
|
|
174
174
|
type: Injectable
|
|
175
175
|
}], ctorParameters: function () {
|
|
176
176
|
return [{ type: undefined, decorators: [{
|
|
@@ -186,12 +186,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
|
186
186
|
} });
|
|
187
187
|
|
|
188
188
|
const LOG_INSTANCES = {};
|
|
189
|
+
/* tslint:disable */
|
|
189
190
|
/**
|
|
190
191
|
* Helper function to check if the log config is defined.
|
|
191
192
|
* Does not check only for empty object, because the config can have other (non-log) parameters
|
|
192
193
|
* @params config log configuration
|
|
193
194
|
* @returns true/false
|
|
194
195
|
*/
|
|
196
|
+
/* tslint:enable */
|
|
195
197
|
function isLogConfigDefined(config) {
|
|
196
198
|
return config && ('baseLoggerName' in config || 'logLevel' in config || 'logAppenders' in config);
|
|
197
199
|
}
|
|
@@ -342,10 +344,10 @@ class LogModule {
|
|
|
342
344
|
};
|
|
343
345
|
}
|
|
344
346
|
}
|
|
345
|
-
/** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
346
|
-
/** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.
|
|
347
|
-
/** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.
|
|
348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
347
|
+
/** @nocollapse */ /** @nocollapse */ LogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
348
|
+
/** @nocollapse */ /** @nocollapse */ LogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule });
|
|
349
|
+
/** @nocollapse */ /** @nocollapse */ LogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule });
|
|
350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LogModule, decorators: [{
|
|
349
351
|
type: NgModule
|
|
350
352
|
}] });
|
|
351
353
|
|
|
@@ -437,9 +439,9 @@ class StoreService {
|
|
|
437
439
|
}
|
|
438
440
|
}
|
|
439
441
|
}
|
|
440
|
-
/** @nocollapse */ /** @nocollapse */ StoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
441
|
-
/** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
442
|
+
/** @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 });
|
|
443
|
+
/** @nocollapse */ /** @nocollapse */ StoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreService, providedIn: 'root' });
|
|
444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreService, decorators: [{
|
|
443
445
|
type: Injectable,
|
|
444
446
|
args: [{
|
|
445
447
|
providedIn: 'root',
|
|
@@ -773,9 +775,9 @@ class I18nLoader {
|
|
|
773
775
|
return undefined;
|
|
774
776
|
}
|
|
775
777
|
}
|
|
776
|
-
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
777
|
-
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
778
|
+
/** @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 });
|
|
779
|
+
/** @nocollapse */ /** @nocollapse */ I18nLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nLoader });
|
|
780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nLoader, decorators: [{
|
|
779
781
|
type: Injectable
|
|
780
782
|
}], ctorParameters: function () {
|
|
781
783
|
return [{ type: i1$2.HttpClient }, { type: LogService, decorators: [{
|
|
@@ -984,9 +986,9 @@ class I18nService extends EuiLazyService {
|
|
|
984
986
|
this.document.documentElement.lang = lang;
|
|
985
987
|
}
|
|
986
988
|
}
|
|
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.
|
|
989
|
+
/** @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 });
|
|
990
|
+
/** @nocollapse */ /** @nocollapse */ I18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nService, providedIn: 'root' });
|
|
991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nService, decorators: [{
|
|
990
992
|
type: Injectable,
|
|
991
993
|
args: [{
|
|
992
994
|
providedIn: 'root',
|
|
@@ -1031,9 +1033,9 @@ class I18nServiceMock extends I18nService {
|
|
|
1031
1033
|
return of({ success: true });
|
|
1032
1034
|
}
|
|
1033
1035
|
}
|
|
1034
|
-
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1035
|
-
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
1036
|
+
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1037
|
+
/** @nocollapse */ /** @nocollapse */ I18nServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nServiceMock });
|
|
1038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: I18nServiceMock, decorators: [{
|
|
1037
1039
|
type: Injectable
|
|
1038
1040
|
}], ctorParameters: function () { return []; } });
|
|
1039
1041
|
|
|
@@ -1604,9 +1606,9 @@ class UxAppShellService {
|
|
|
1604
1606
|
});
|
|
1605
1607
|
}
|
|
1606
1608
|
}
|
|
1607
|
-
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1608
|
-
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
1609
|
+
/** @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 });
|
|
1610
|
+
/** @nocollapse */ /** @nocollapse */ UxAppShellService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxAppShellService, providedIn: 'root' });
|
|
1611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxAppShellService, decorators: [{
|
|
1610
1612
|
type: Injectable,
|
|
1611
1613
|
args: [{
|
|
1612
1614
|
providedIn: 'root',
|
|
@@ -1658,8 +1660,8 @@ class CoreAppEffects {
|
|
|
1658
1660
|
}));
|
|
1659
1661
|
}
|
|
1660
1662
|
}
|
|
1661
|
-
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1662
|
-
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1663
|
+
/** @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 });
|
|
1664
|
+
/** @nocollapse */ /** @nocollapse */ CoreAppEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreAppEffects });
|
|
1663
1665
|
__decorate([
|
|
1664
1666
|
Effect()
|
|
1665
1667
|
], CoreAppEffects.prototype, "getAppConnectionInformation", void 0);
|
|
@@ -1669,7 +1671,7 @@ __decorate([
|
|
|
1669
1671
|
__decorate([
|
|
1670
1672
|
Effect({ dispatch: false })
|
|
1671
1673
|
], CoreAppEffects.prototype, "updateAppConnection", void 0);
|
|
1672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
1674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreAppEffects, decorators: [{
|
|
1673
1675
|
type: Injectable
|
|
1674
1676
|
}], ctorParameters: function () {
|
|
1675
1677
|
return [{ type: i1$3.Actions }, { type: undefined, decorators: [{
|
|
@@ -1816,10 +1818,12 @@ const coreReducers = Object.assign({}, {
|
|
|
1816
1818
|
});
|
|
1817
1819
|
|
|
1818
1820
|
const extend = extendProxy.default || extendProxy;
|
|
1821
|
+
/* tslint:disable */
|
|
1819
1822
|
/**
|
|
1820
1823
|
* Utility meta-reducer to load the state from the local storage
|
|
1821
1824
|
* @param reducer the action reducer
|
|
1822
1825
|
*/
|
|
1826
|
+
/* tslint:enable */
|
|
1823
1827
|
function localStorageSync(reducer) {
|
|
1824
1828
|
return cb(reducer, localStorage);
|
|
1825
1829
|
}
|
|
@@ -1832,10 +1836,12 @@ function sessionStorageSync(reducer) {
|
|
|
1832
1836
|
}
|
|
1833
1837
|
// Keys that are allowed to be synced with NgRx state from BrowserStorage
|
|
1834
1838
|
const disallowedKeys = ['loadedConfigModules', 'connect', 'currentModule', 'status', 'apiQueue'];
|
|
1839
|
+
/* tslint:disable */
|
|
1835
1840
|
/**
|
|
1836
1841
|
* filters the AppState by removing those keys from the state and return a new state Object
|
|
1837
1842
|
* @param app the AppState
|
|
1838
1843
|
*/
|
|
1844
|
+
/* tslint:enable */
|
|
1839
1845
|
const filterAppState = (app) => {
|
|
1840
1846
|
// in case app is undefined or null it should return empty object
|
|
1841
1847
|
if (!app) {
|
|
@@ -1850,11 +1856,13 @@ const filterAppState = (app) => {
|
|
|
1850
1856
|
return obj;
|
|
1851
1857
|
}, {});
|
|
1852
1858
|
};
|
|
1859
|
+
/* tslint:disable */
|
|
1853
1860
|
/**
|
|
1854
1861
|
*
|
|
1855
1862
|
* @param storageType
|
|
1856
1863
|
*/
|
|
1857
1864
|
const loadState = (storage = localStorage) => {
|
|
1865
|
+
/* tslint:enable */
|
|
1858
1866
|
try {
|
|
1859
1867
|
// by default falls back to localStorage
|
|
1860
1868
|
const serializedState = storage.getItem('state');
|
|
@@ -1871,7 +1879,9 @@ const loadState = (storage = localStorage) => {
|
|
|
1871
1879
|
return undefined;
|
|
1872
1880
|
}
|
|
1873
1881
|
};
|
|
1882
|
+
/* tslint:disable */
|
|
1874
1883
|
const cb = (reducer, storage) => {
|
|
1884
|
+
/* tslint:enable */
|
|
1875
1885
|
return function (state, action) {
|
|
1876
1886
|
var _a;
|
|
1877
1887
|
if (action.type === CoreAppActionTypes.INIT_STORE) {
|
|
@@ -1921,9 +1931,9 @@ class StoreServiceMock extends StoreService {
|
|
|
1921
1931
|
return of({});
|
|
1922
1932
|
}
|
|
1923
1933
|
}
|
|
1924
|
-
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1925
|
-
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
1926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
1934
|
+
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1935
|
+
/** @nocollapse */ /** @nocollapse */ StoreServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreServiceMock });
|
|
1936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: StoreServiceMock, decorators: [{
|
|
1927
1937
|
type: Injectable
|
|
1928
1938
|
}], ctorParameters: function () { return []; } });
|
|
1929
1939
|
|
|
@@ -1968,12 +1978,12 @@ class CoreModule {
|
|
|
1968
1978
|
};
|
|
1969
1979
|
}
|
|
1970
1980
|
}
|
|
1971
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
1972
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.
|
|
1973
|
-
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.
|
|
1981
|
+
/** @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 });
|
|
1982
|
+
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, imports: [HttpClientModule] });
|
|
1983
|
+
/** @nocollapse */ /** @nocollapse */ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, imports: [[
|
|
1974
1984
|
HttpClientModule,
|
|
1975
1985
|
]] });
|
|
1976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
1986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CoreModule, decorators: [{
|
|
1977
1987
|
type: NgModule,
|
|
1978
1988
|
args: [{
|
|
1979
1989
|
imports: [
|
|
@@ -2006,12 +2016,14 @@ function euiCoreRootGuardClass() {
|
|
|
2006
2016
|
return new EuiCoreRootGuardClass();
|
|
2007
2017
|
}
|
|
2008
2018
|
|
|
2019
|
+
/* tslint:disable */
|
|
2009
2020
|
/**
|
|
2010
2021
|
* Function to be used before the AppModule is bootstrapped. It is currently used to load dynamic configurations.
|
|
2011
2022
|
* It needs to be added in your application main.ts file.
|
|
2012
2023
|
* @param envConfig the current environment configuration
|
|
2013
2024
|
* @returns the updated environment configuration, as a promise
|
|
2014
2025
|
*/
|
|
2026
|
+
/* tslint:enable */
|
|
2015
2027
|
function preInitApp(envConfig) {
|
|
2016
2028
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2017
2029
|
const envDynamicConfig = envConfig && envConfig.envDynamicConfig;
|
|
@@ -2101,9 +2113,9 @@ class GlobalErrorHandler extends ErrorHandler {
|
|
|
2101
2113
|
super.handleError(error);
|
|
2102
2114
|
}
|
|
2103
2115
|
}
|
|
2104
|
-
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2105
|
-
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2116
|
+
/** @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 });
|
|
2117
|
+
/** @nocollapse */ /** @nocollapse */ GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: GlobalErrorHandler, providedIn: 'root' });
|
|
2118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
2107
2119
|
type: Injectable,
|
|
2108
2120
|
args: [{
|
|
2109
2121
|
providedIn: 'root',
|
|
@@ -2150,9 +2162,9 @@ class HttpErrorHandlerInterceptor {
|
|
|
2150
2162
|
return routes.length > 0 ? routes[0] : null;
|
|
2151
2163
|
}
|
|
2152
2164
|
}
|
|
2153
|
-
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2154
|
-
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2165
|
+
/** @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 });
|
|
2166
|
+
/** @nocollapse */ /** @nocollapse */ HttpErrorHandlerInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpErrorHandlerInterceptor });
|
|
2167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: HttpErrorHandlerInterceptor, decorators: [{
|
|
2156
2168
|
type: Injectable
|
|
2157
2169
|
}], ctorParameters: function () {
|
|
2158
2170
|
return [{ type: undefined, decorators: [{
|
|
@@ -2301,9 +2313,9 @@ class ApiQueueService {
|
|
|
2301
2313
|
.pipe(tap(() => this.removeQueueItem(id)));
|
|
2302
2314
|
}
|
|
2303
2315
|
}
|
|
2304
|
-
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2305
|
-
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2316
|
+
/** @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 });
|
|
2317
|
+
/** @nocollapse */ /** @nocollapse */ ApiQueueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ApiQueueService, providedIn: 'root' });
|
|
2318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ApiQueueService, decorators: [{
|
|
2307
2319
|
type: Injectable,
|
|
2308
2320
|
args: [{
|
|
2309
2321
|
providedIn: 'root',
|
|
@@ -2390,10 +2402,12 @@ const getStyle = (nativeEl, cssProp) => {
|
|
|
2390
2402
|
const isStaticPositioned = (nativeEl) => {
|
|
2391
2403
|
return (getStyle(nativeEl, 'position') || 'static') === 'static';
|
|
2392
2404
|
};
|
|
2405
|
+
/* tslint:disable */
|
|
2393
2406
|
/**
|
|
2394
2407
|
* returns the closest, non-statically positioned parentOffset of a given element
|
|
2395
2408
|
* @param nativeEl
|
|
2396
2409
|
*/
|
|
2410
|
+
/* tslint:enable */
|
|
2397
2411
|
const parentOffsetEl = (nativeEl) => {
|
|
2398
2412
|
let offsetParent = nativeEl.offsetParent || document;
|
|
2399
2413
|
while (offsetParent && offsetParent !== document &&
|
|
@@ -2482,6 +2496,7 @@ const validateEmail = (c) => {
|
|
|
2482
2496
|
const uniqueId = () => {
|
|
2483
2497
|
return Math.random().toString(36).substr(2, 9);
|
|
2484
2498
|
};
|
|
2499
|
+
/* tslint:disable */
|
|
2485
2500
|
/**
|
|
2486
2501
|
* Its job is to parse number and format it based on given input.
|
|
2487
2502
|
* @param value can be a number or a string number
|
|
@@ -2489,6 +2504,7 @@ const uniqueId = () => {
|
|
|
2489
2504
|
* @param inDecimalSeparator separator for decimal part of the number default is ','
|
|
2490
2505
|
* @param inThousandSeparator separator for the whole part of the number default is ''
|
|
2491
2506
|
*/
|
|
2507
|
+
/* tslint:enable */
|
|
2492
2508
|
const formatNumber = (value, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = '') => {
|
|
2493
2509
|
if (inDecimalSeparator || inThousandSeparator) {
|
|
2494
2510
|
console.warn('The inDecimalSeparator and inThousandSeparator are deprecated. They will be a ' +
|
|
@@ -2656,9 +2672,9 @@ class EuiPermissionService extends EuiService {
|
|
|
2656
2672
|
return rights.every((right) => this.userRights.find((uRight) => uRight.id === right.id));
|
|
2657
2673
|
}
|
|
2658
2674
|
}
|
|
2659
|
-
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2660
|
-
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2675
|
+
/** @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 });
|
|
2676
|
+
/** @nocollapse */ /** @nocollapse */ EuiPermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuiPermissionService, providedIn: 'root' });
|
|
2677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuiPermissionService, decorators: [{
|
|
2662
2678
|
type: Injectable,
|
|
2663
2679
|
args: [{
|
|
2664
2680
|
providedIn: 'root',
|
|
@@ -2721,9 +2737,9 @@ class UxDynamicMenuService {
|
|
|
2721
2737
|
});
|
|
2722
2738
|
}
|
|
2723
2739
|
}
|
|
2724
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2725
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2740
|
+
/** @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 });
|
|
2741
|
+
/** @nocollapse */ /** @nocollapse */ UxDynamicMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicMenuService, providedIn: 'root' });
|
|
2742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicMenuService, decorators: [{
|
|
2727
2743
|
type: Injectable,
|
|
2728
2744
|
args: [{
|
|
2729
2745
|
providedIn: 'root',
|
|
@@ -2791,9 +2807,9 @@ class UxErrorFeedbackService {
|
|
|
2791
2807
|
return new UxErrorManager(this, true);
|
|
2792
2808
|
}
|
|
2793
2809
|
}
|
|
2794
|
-
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2795
|
-
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2810
|
+
/** @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 });
|
|
2811
|
+
/** @nocollapse */ /** @nocollapse */ UxErrorFeedbackService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxErrorFeedbackService, providedIn: 'root' });
|
|
2812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxErrorFeedbackService, decorators: [{
|
|
2797
2813
|
type: Injectable,
|
|
2798
2814
|
args: [{
|
|
2799
2815
|
providedIn: 'root'
|
|
@@ -2888,9 +2904,9 @@ class UxDynamicComponentService {
|
|
|
2888
2904
|
return new PortalInjector(this.injector, injectorTokens);
|
|
2889
2905
|
}
|
|
2890
2906
|
}
|
|
2891
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
2892
|
-
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
2893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
2907
|
+
/** @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 });
|
|
2908
|
+
/** @nocollapse */ /** @nocollapse */ UxDynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicComponentService, providedIn: 'root' });
|
|
2909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxDynamicComponentService, decorators: [{
|
|
2894
2910
|
type: Injectable,
|
|
2895
2911
|
args: [{ providedIn: 'root' }]
|
|
2896
2912
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
|
|
@@ -3605,9 +3621,9 @@ class UxTimezoneService {
|
|
|
3605
3621
|
});
|
|
3606
3622
|
}
|
|
3607
3623
|
}
|
|
3608
|
-
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3609
|
-
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
3624
|
+
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxTimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3625
|
+
/** @nocollapse */ /** @nocollapse */ UxTimezoneService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxTimezoneService });
|
|
3626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxTimezoneService, decorators: [{
|
|
3611
3627
|
type: Injectable
|
|
3612
3628
|
}] });
|
|
3613
3629
|
|
|
@@ -3733,9 +3749,9 @@ class LocalStorageService extends StorageService {
|
|
|
3733
3749
|
}
|
|
3734
3750
|
}
|
|
3735
3751
|
LocalStorageService.NAME = 'LocalStorageService';
|
|
3736
|
-
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3737
|
-
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
3752
|
+
/** @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 });
|
|
3753
|
+
/** @nocollapse */ /** @nocollapse */ LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalStorageService });
|
|
3754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
3739
3755
|
type: Injectable
|
|
3740
3756
|
}], ctorParameters: function () {
|
|
3741
3757
|
return [{ type: LogService, decorators: [{
|
|
@@ -3806,9 +3822,9 @@ class SessionStorageService extends StorageService {
|
|
|
3806
3822
|
}
|
|
3807
3823
|
}
|
|
3808
3824
|
SessionStorageService.NAME = 'SessionStorageService';
|
|
3809
|
-
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3810
|
-
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
3825
|
+
/** @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 });
|
|
3826
|
+
/** @nocollapse */ /** @nocollapse */ SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SessionStorageService });
|
|
3827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
3812
3828
|
type: Injectable
|
|
3813
3829
|
}], ctorParameters: function () {
|
|
3814
3830
|
return [{ type: LogService, decorators: [{
|
|
@@ -3816,7 +3832,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
|
3816
3832
|
}] }];
|
|
3817
3833
|
} });
|
|
3818
3834
|
|
|
3835
|
+
/* tslint:disable */
|
|
3819
3836
|
/** @internal */
|
|
3837
|
+
/* tslint:enable */
|
|
3820
3838
|
const localForage = 'defineDriver' in lf ? lf : lf['default'];
|
|
3821
3839
|
const LOCAL_FORAGE_SERVICE_CONFIG_TOKEN = new InjectionToken('LOCAL_FORAGE_SERVICE_CONFIG');
|
|
3822
3840
|
/**
|
|
@@ -3897,9 +3915,9 @@ class LocalForageService extends AsyncStorageService {
|
|
|
3897
3915
|
}
|
|
3898
3916
|
}
|
|
3899
3917
|
LocalForageService.NAME = 'LocalForageService';
|
|
3900
|
-
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
3901
|
-
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
3902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
3918
|
+
/** @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 });
|
|
3919
|
+
/** @nocollapse */ /** @nocollapse */ LocalForageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalForageService });
|
|
3920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocalForageService, decorators: [{
|
|
3903
3921
|
type: Injectable
|
|
3904
3922
|
}], ctorParameters: function () {
|
|
3905
3923
|
return [{ type: undefined, decorators: [{
|
|
@@ -4028,9 +4046,11 @@ class LocaleService extends EuiService {
|
|
|
4028
4046
|
bindTranslateServiceLangChangeToState() {
|
|
4029
4047
|
if (this.i18n) {
|
|
4030
4048
|
this.i18n.onStateChange.pipe(takeUntil(this.subNotifier),
|
|
4049
|
+
// filter out null values
|
|
4050
|
+
filter(state => state.activeLang !== null),
|
|
4031
4051
|
// BEWARE: filter is based on convention that locale id sliced(2) will match activeLang e.g. en-US => en
|
|
4032
4052
|
// Also, if activeLang is 'en' and locale is 'en-GB' it will not trigger locale change
|
|
4033
|
-
filter(state => { var _a
|
|
4053
|
+
filter(state => { var _a; return state.activeLang.toLowerCase() !== ((_a = this.stateInstance) === null || _a === void 0 ? void 0 : _a.id.slice(0, 2).toLowerCase()); }),
|
|
4034
4054
|
// to check if registration of locale otherwise register it
|
|
4035
4055
|
switchMap(value => of(value).pipe(
|
|
4036
4056
|
// getLocaleId may throw Error(`Missing locale data for the locale "${locale}".`);
|
|
@@ -4044,7 +4064,7 @@ class LocaleService extends EuiService {
|
|
|
4044
4064
|
if (this.log) {
|
|
4045
4065
|
this.logger.debug(error);
|
|
4046
4066
|
}
|
|
4047
|
-
return this.loadLocale(value.activeLang).pipe(filter((s) => s.success), map(() => this.localeMapper(value.activeLang)), catchError(e => {
|
|
4067
|
+
return this.loadLocale(value === null || value === void 0 ? void 0 : value.activeLang).pipe(filter((s) => s.success), map(() => this.localeMapper(value === null || value === void 0 ? void 0 : value.activeLang)), catchError(e => {
|
|
4048
4068
|
if (this.log) {
|
|
4049
4069
|
this.logger.debug('Something went terribly really wrong during locale loading', e.err.message);
|
|
4050
4070
|
}
|
|
@@ -4135,9 +4155,9 @@ class LocaleService extends EuiService {
|
|
|
4135
4155
|
return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
|
|
4136
4156
|
}
|
|
4137
4157
|
}
|
|
4138
|
-
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4139
|
-
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4158
|
+
/** @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 });
|
|
4159
|
+
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocaleService, providedIn: 'root' });
|
|
4160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LocaleService, decorators: [{
|
|
4141
4161
|
type: Injectable,
|
|
4142
4162
|
args: [{
|
|
4143
4163
|
providedIn: 'root'
|
|
@@ -4194,9 +4214,9 @@ class UserService extends EuiService {
|
|
|
4194
4214
|
this.store.dispatch(new UpdateUserStateAction(userState));
|
|
4195
4215
|
}
|
|
4196
4216
|
}
|
|
4197
|
-
/** @nocollapse */ /** @nocollapse */ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4198
|
-
/** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4217
|
+
/** @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 });
|
|
4218
|
+
/** @nocollapse */ /** @nocollapse */ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
4219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserService, decorators: [{
|
|
4200
4220
|
type: Injectable,
|
|
4201
4221
|
args: [{
|
|
4202
4222
|
providedIn: 'root',
|
|
@@ -4227,9 +4247,9 @@ class UserServiceMock extends UserService {
|
|
|
4227
4247
|
return of('anonymous');
|
|
4228
4248
|
}
|
|
4229
4249
|
}
|
|
4230
|
-
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4231
|
-
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4250
|
+
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4251
|
+
/** @nocollapse */ /** @nocollapse */ UserServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserServiceMock });
|
|
4252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UserServiceMock, decorators: [{
|
|
4233
4253
|
type: Injectable
|
|
4234
4254
|
}], ctorParameters: function () { return []; } });
|
|
4235
4255
|
|
|
@@ -4259,9 +4279,9 @@ class AddLangParamInterceptor {
|
|
|
4259
4279
|
}));
|
|
4260
4280
|
}
|
|
4261
4281
|
}
|
|
4262
|
-
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4263
|
-
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4282
|
+
/** @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 });
|
|
4283
|
+
/** @nocollapse */ /** @nocollapse */ AddLangParamInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AddLangParamInterceptor });
|
|
4284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AddLangParamInterceptor, decorators: [{
|
|
4265
4285
|
type: Injectable
|
|
4266
4286
|
}], ctorParameters: function () { return [{ type: i2.TranslateService }]; } });
|
|
4267
4287
|
|
|
@@ -4278,9 +4298,9 @@ class CachePreventionInterceptor {
|
|
|
4278
4298
|
}));
|
|
4279
4299
|
}
|
|
4280
4300
|
}
|
|
4281
|
-
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4282
|
-
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4301
|
+
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CachePreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4302
|
+
/** @nocollapse */ /** @nocollapse */ CachePreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CachePreventionInterceptor });
|
|
4303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CachePreventionInterceptor, decorators: [{
|
|
4284
4304
|
type: Injectable
|
|
4285
4305
|
}] });
|
|
4286
4306
|
|
|
@@ -4291,9 +4311,9 @@ class CorsSecurityInterceptor {
|
|
|
4291
4311
|
}));
|
|
4292
4312
|
}
|
|
4293
4313
|
}
|
|
4294
|
-
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4295
|
-
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4314
|
+
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CorsSecurityInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4315
|
+
/** @nocollapse */ /** @nocollapse */ CorsSecurityInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CorsSecurityInterceptor });
|
|
4316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CorsSecurityInterceptor, decorators: [{
|
|
4297
4317
|
type: Injectable
|
|
4298
4318
|
}] });
|
|
4299
4319
|
|
|
@@ -4304,9 +4324,9 @@ class CsrfPreventionInterceptor {
|
|
|
4304
4324
|
}));
|
|
4305
4325
|
}
|
|
4306
4326
|
}
|
|
4307
|
-
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4308
|
-
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4327
|
+
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CsrfPreventionInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4328
|
+
/** @nocollapse */ /** @nocollapse */ CsrfPreventionInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CsrfPreventionInterceptor });
|
|
4329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CsrfPreventionInterceptor, decorators: [{
|
|
4310
4330
|
type: Injectable
|
|
4311
4331
|
}] });
|
|
4312
4332
|
|
|
@@ -4360,9 +4380,9 @@ class EuLoginSessionTimeoutHandlingInterceptor {
|
|
|
4360
4380
|
document.location.reload();
|
|
4361
4381
|
}
|
|
4362
4382
|
}
|
|
4363
|
-
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4364
|
-
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4383
|
+
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4384
|
+
/** @nocollapse */ /** @nocollapse */ EuLoginSessionTimeoutHandlingInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor });
|
|
4385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EuLoginSessionTimeoutHandlingInterceptor, decorators: [{
|
|
4366
4386
|
type: Injectable
|
|
4367
4387
|
}] });
|
|
4368
4388
|
|
|
@@ -4383,9 +4403,9 @@ class UxRequestErrorModelInterceptor {
|
|
|
4383
4403
|
}));
|
|
4384
4404
|
}
|
|
4385
4405
|
}
|
|
4386
|
-
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4387
|
-
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4406
|
+
/** @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 });
|
|
4407
|
+
/** @nocollapse */ /** @nocollapse */ UxRequestErrorModelInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxRequestErrorModelInterceptor });
|
|
4408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: UxRequestErrorModelInterceptor, decorators: [{
|
|
4389
4409
|
type: Injectable
|
|
4390
4410
|
}], ctorParameters: function () {
|
|
4391
4411
|
return [{ type: undefined, decorators: [{
|
|
@@ -4529,9 +4549,9 @@ class OpenIdConnectInterceptor {
|
|
|
4529
4549
|
}
|
|
4530
4550
|
}
|
|
4531
4551
|
}
|
|
4532
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4533
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4552
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4553
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectInterceptor });
|
|
4554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectInterceptor, decorators: [{
|
|
4535
4555
|
type: Injectable
|
|
4536
4556
|
}], ctorParameters: function () { return []; } });
|
|
4537
4557
|
|
|
@@ -4561,9 +4581,9 @@ class OpenIdConnectService {
|
|
|
4561
4581
|
return this.userDetails;
|
|
4562
4582
|
}
|
|
4563
4583
|
}
|
|
4564
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
4565
|
-
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
|
4566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
4584
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4585
|
+
/** @nocollapse */ /** @nocollapse */ OpenIdConnectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectService, providedIn: 'root' });
|
|
4586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: OpenIdConnectService, decorators: [{
|
|
4567
4587
|
type: Injectable,
|
|
4568
4588
|
args: [{
|
|
4569
4589
|
providedIn: 'root'
|