@eui/core 13.0.0-rc.31 → 13.0.0-rc.35
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 +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2020/lib/services/locale/locale.service.mjs +10 -6
- package/fesm2015/eui-core.mjs +9 -5
- package/fesm2015/eui-core.mjs.map +1 -1
- package/fesm2020/eui-core.mjs +9 -5
- package/fesm2020/eui-core.mjs.map +1 -1
- package/lib/services/locale/locale.service.d.ts.map +1 -1
- package/package.json +1 -1
package/fesm2020/eui-core.mjs
CHANGED
|
@@ -4134,8 +4134,10 @@ class LocaleService extends EuiService {
|
|
|
4134
4134
|
importLocale(id) {
|
|
4135
4135
|
// in case of an error, catch it and return null
|
|
4136
4136
|
return import(
|
|
4137
|
-
/*
|
|
4138
|
-
|
|
4137
|
+
/* webpackExclude: /\.d\.ts$/ */
|
|
4138
|
+
/* webpackMode: "lazy-once" */
|
|
4139
|
+
/* webpackChunkName: "i18n-base" */
|
|
4140
|
+
`@/../node_modules/@angular/common/locales/${id}`)
|
|
4139
4141
|
.then(m => m.default)
|
|
4140
4142
|
.catch(error => {
|
|
4141
4143
|
if (this.log) {
|
|
@@ -4152,8 +4154,10 @@ class LocaleService extends EuiService {
|
|
|
4152
4154
|
importExtraLocale(id) {
|
|
4153
4155
|
// in case of an error, catch it and return null
|
|
4154
4156
|
return import(
|
|
4155
|
-
/*
|
|
4156
|
-
|
|
4157
|
+
/* webpackExclude: /\.d\.ts$/ */
|
|
4158
|
+
/* webpackMode: "lazy-once" */
|
|
4159
|
+
/* webpackChunkName: "i18n-extra" */
|
|
4160
|
+
`@/../node_modules/@angular/common/locales/extra/${id}`)
|
|
4157
4161
|
.then(m => m.default)
|
|
4158
4162
|
.catch(error => {
|
|
4159
4163
|
if (this.log) {
|
|
@@ -4168,7 +4172,7 @@ class LocaleService extends EuiService {
|
|
|
4168
4172
|
* @private
|
|
4169
4173
|
*/
|
|
4170
4174
|
importDataAndExtraLocale(localeId) {
|
|
4171
|
-
return from(this.importLocale(localeId)).pipe(mergeMap(() => from(this.importExtraLocale(localeId)).pipe(map((
|
|
4175
|
+
return from(this.importLocale(localeId)).pipe(mergeMap((data) => from(this.importExtraLocale(localeId)).pipe(map((extraData) => Object.assign({}, { data, localeId, extraData }))), 1));
|
|
4172
4176
|
}
|
|
4173
4177
|
}
|
|
4174
4178
|
/** @nocollapse */ /** @nocollapse */ LocaleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", 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 });
|