@eui/core 22.0.0-alpha.67 → 22.0.0-alpha.69
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/CHANGELOG.md +61 -0
- package/docs/changelog.html +113 -0
- package/docs/interceptors/{UxRequestErrorModelInterceptor.html → RequestErrorInterceptor.html} +3 -3
- package/docs/interfaces/Edit-2.html +1 -1
- package/docs/interfaces/Edit-3.html +1 -1
- package/docs/interfaces/Schema-6.html +8 -13
- package/docs/interfaces/Schema-7.html +13 -8
- package/docs/js/menu-wc.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +415 -415
- package/docs/llms.txt +29 -29
- package/docs/miscellaneous/functions.html +445 -445
- package/docs/miscellaneous/variables.html +32 -32
- package/docs/properties.html +1 -1
- package/fesm2022/eui-core.mjs +9 -9
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/types/eui-core.d.ts +3 -3
- package/types/eui-core.d.ts.map +1 -1
|
@@ -320,6 +320,9 @@
|
|
|
320
320
|
<li>
|
|
321
321
|
<a href="#EUI_DIRECTIVES" title="packages/core/schematics/migrate-eui-accent/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>EUI_DIRECTIVES</b> (packages/.../index.ts)</span></a>
|
|
322
322
|
</li>
|
|
323
|
+
<li>
|
|
324
|
+
<a href="#EUI_ERROR_MAPPING_HANDLER_TOKEN" title="packages/core/src/lib/interceptors/request-error.interceptor.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>EUI_ERROR_MAPPING_HANDLER_TOKEN</b> (packages/.../request-error.interceptor.ts)</span></a>
|
|
325
|
+
</li>
|
|
323
326
|
<li>
|
|
324
327
|
<a href="#EUI_SELECTOR_TO_CLASS" title="packages/core/schematics/migrate-to-signals/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>EUI_SELECTOR_TO_CLASS</b> (packages/.../index.ts)</span></a>
|
|
325
328
|
</li>
|
|
@@ -785,9 +788,6 @@
|
|
|
785
788
|
<li>
|
|
786
789
|
<a href="#updateUserRights" title="packages/core/src/lib/services/store/reducers/user.reducers.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>updateUserRights</b> (packages/.../user.reducers.ts)</span></a>
|
|
787
790
|
</li>
|
|
788
|
-
<li>
|
|
789
|
-
<a href="#UX_ERROR_MAPPING_HANDLER_TOKEN" title="packages/core/src/lib/interceptors/ux-request-error-model.interceptor.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>UX_ERROR_MAPPING_HANDLER_TOKEN</b> (packages/.../ux-request-error-model.interceptor.ts)</span></a>
|
|
790
|
-
</li>
|
|
791
791
|
<li>
|
|
792
792
|
<a href="#validateEmail" title="packages/core/src/lib/helpers/form-helpers.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>validateEmail</b> (packages/.../form-helpers.ts)</span></a>
|
|
793
793
|
</li>
|
|
@@ -5830,6 +5830,35 @@ Ported from csdr-engine/migrate/index.js euiComponentsBase.</p>
|
|
|
5830
5830
|
</tr>
|
|
5831
5831
|
|
|
5832
5832
|
|
|
5833
|
+
</tbody>
|
|
5834
|
+
</table>
|
|
5835
|
+
</section>
|
|
5836
|
+
<h3>packages/core/src/lib/interceptors/request-error.interceptor.ts</h3>
|
|
5837
|
+
<section data-compodoc="block-properties">
|
|
5838
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
5839
|
+
<tbody>
|
|
5840
|
+
<tr>
|
|
5841
|
+
<td class="col-md-4">
|
|
5842
|
+
<a name="EUI_ERROR_MAPPING_HANDLER_TOKEN"></a>
|
|
5843
|
+
<span class="name">
|
|
5844
|
+
<span ><b>EUI_ERROR_MAPPING_HANDLER_TOKEN</b></span>
|
|
5845
|
+
<a href="#EUI_ERROR_MAPPING_HANDLER_TOKEN"><span class="icon ion-ios-link"></span></a>
|
|
5846
|
+
</span>
|
|
5847
|
+
</td>
|
|
5848
|
+
</tr>
|
|
5849
|
+
<tr>
|
|
5850
|
+
<td class="col-md-4">
|
|
5851
|
+
<i>Type : </i> <code>unknown</code>
|
|
5852
|
+
|
|
5853
|
+
</td>
|
|
5854
|
+
</tr>
|
|
5855
|
+
<tr>
|
|
5856
|
+
<td class="col-md-4">
|
|
5857
|
+
<i>Default value : </i><code>new InjectionToken<ErrorMappingHandler>('EUI_ERROR_MAPPING_HANDLER')</code>
|
|
5858
|
+
</td>
|
|
5859
|
+
</tr>
|
|
5860
|
+
|
|
5861
|
+
|
|
5833
5862
|
</tbody>
|
|
5834
5863
|
</table>
|
|
5835
5864
|
</section>
|
|
@@ -9715,35 +9744,6 @@ Ported from csdr-engine/migrate/index.js replaceIcons.</p>
|
|
|
9715
9744
|
</tr>
|
|
9716
9745
|
|
|
9717
9746
|
|
|
9718
|
-
</tbody>
|
|
9719
|
-
</table>
|
|
9720
|
-
</section>
|
|
9721
|
-
<h3>packages/core/src/lib/interceptors/ux-request-error-model.interceptor.ts</h3>
|
|
9722
|
-
<section data-compodoc="block-properties">
|
|
9723
|
-
<h3></h3> <table class="table table-sm table-bordered">
|
|
9724
|
-
<tbody>
|
|
9725
|
-
<tr>
|
|
9726
|
-
<td class="col-md-4">
|
|
9727
|
-
<a name="UX_ERROR_MAPPING_HANDLER_TOKEN"></a>
|
|
9728
|
-
<span class="name">
|
|
9729
|
-
<span ><b>UX_ERROR_MAPPING_HANDLER_TOKEN</b></span>
|
|
9730
|
-
<a href="#UX_ERROR_MAPPING_HANDLER_TOKEN"><span class="icon ion-ios-link"></span></a>
|
|
9731
|
-
</span>
|
|
9732
|
-
</td>
|
|
9733
|
-
</tr>
|
|
9734
|
-
<tr>
|
|
9735
|
-
<td class="col-md-4">
|
|
9736
|
-
<i>Type : </i> <code>unknown</code>
|
|
9737
|
-
|
|
9738
|
-
</td>
|
|
9739
|
-
</tr>
|
|
9740
|
-
<tr>
|
|
9741
|
-
<td class="col-md-4">
|
|
9742
|
-
<i>Default value : </i><code>new InjectionToken<ErrorMappingHandler>('UX_ERROR_MAPPING_HANDLER')</code>
|
|
9743
|
-
</td>
|
|
9744
|
-
</tr>
|
|
9745
|
-
|
|
9746
|
-
|
|
9747
9747
|
</tbody>
|
|
9748
9748
|
</table>
|
|
9749
9749
|
</section>
|
package/docs/properties.html
CHANGED
package/fesm2022/eui-core.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConsoleAppender, EuiEuLanguages, EuiLazyService, EuiService, LogLevel, Logger, LoggerMock, getBrowserDefaultLanguage, getI18nLoaderConfig, getI18nServiceConfigFromBase, getLocaleServiceConfigFromBase, getUserState, initialAppState, initialCoreState, initialI18nState, initialLocaleState, initialNotificationsState, initialUserState, mergeAll,
|
|
1
|
+
import { ConsoleAppender, EuiEuLanguages, EuiLazyService, EuiService, LogLevel, Logger, LoggerMock, getBrowserDefaultLanguage, getI18nLoaderConfig, getI18nServiceConfigFromBase, getLocaleServiceConfigFromBase, getUserState, initialAppState, initialCoreState, initialI18nState, initialLocaleState, initialNotificationsState, initialUserState, mergeAll, transformToEuiHttpResponse, xhr } from "@eui/base";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { ApplicationRef, Directive, ElementRef, ErrorHandler, Injectable, InjectionToken, Injector, LOCALE_ID, NgModule, Optional, PLATFORM_ID, Pipe, SkipSelf, inject, input, provideAppInitializer, signal } from "@angular/core";
|
|
4
4
|
import { deepmerge } from "deepmerge-ts";
|
|
@@ -5687,15 +5687,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5687
5687
|
type: EuLoginSessionTimeoutHandlingInterceptor,
|
|
5688
5688
|
decorators: [{ type: Injectable }]
|
|
5689
5689
|
});
|
|
5690
|
-
const
|
|
5691
|
-
var
|
|
5690
|
+
const EUI_ERROR_MAPPING_HANDLER_TOKEN = new InjectionToken("EUI_ERROR_MAPPING_HANDLER");
|
|
5691
|
+
var RequestErrorInterceptor = class RequestErrorInterceptor {
|
|
5692
5692
|
constructor() {
|
|
5693
|
-
this.errorMappingHandler = inject(
|
|
5693
|
+
this.errorMappingHandler = inject(EUI_ERROR_MAPPING_HANDLER_TOKEN);
|
|
5694
5694
|
}
|
|
5695
5695
|
intercept(req, next) {
|
|
5696
5696
|
return next.handle(req).pipe(catchError((err) => {
|
|
5697
5697
|
if (this.errorMappingHandler) {
|
|
5698
|
-
if (err instanceof HttpErrorResponse) err =
|
|
5698
|
+
if (err instanceof HttpErrorResponse) err = transformToEuiHttpResponse(err, this.errorMappingHandler);
|
|
5699
5699
|
}
|
|
5700
5700
|
return of(err);
|
|
5701
5701
|
}));
|
|
@@ -5705,7 +5705,7 @@ var UxRequestErrorModelInterceptor = class UxRequestErrorModelInterceptor {
|
|
|
5705
5705
|
minVersion: "12.0.0",
|
|
5706
5706
|
version: "22.2.4",
|
|
5707
5707
|
ngImport: i0,
|
|
5708
|
-
type:
|
|
5708
|
+
type: RequestErrorInterceptor,
|
|
5709
5709
|
deps: [],
|
|
5710
5710
|
target: i0.ɵɵFactoryTarget.Injectable
|
|
5711
5711
|
});
|
|
@@ -5715,7 +5715,7 @@ var UxRequestErrorModelInterceptor = class UxRequestErrorModelInterceptor {
|
|
|
5715
5715
|
minVersion: "12.0.0",
|
|
5716
5716
|
version: "22.2.4",
|
|
5717
5717
|
ngImport: i0,
|
|
5718
|
-
type:
|
|
5718
|
+
type: RequestErrorInterceptor
|
|
5719
5719
|
});
|
|
5720
5720
|
}
|
|
5721
5721
|
};
|
|
@@ -5723,7 +5723,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5723
5723
|
minVersion: "12.0.0",
|
|
5724
5724
|
version: "22.2.4",
|
|
5725
5725
|
ngImport: i0,
|
|
5726
|
-
type:
|
|
5726
|
+
type: RequestErrorInterceptor,
|
|
5727
5727
|
decorators: [{ type: Injectable }]
|
|
5728
5728
|
});
|
|
5729
5729
|
/* istanbul ignore file */
|
|
@@ -5931,6 +5931,6 @@ var EuiAppShellServiceMock = class {
|
|
|
5931
5931
|
}
|
|
5932
5932
|
consumeEvent() {}
|
|
5933
5933
|
};
|
|
5934
|
-
export { ActivatedRouteAction, AddApiQueueItemAction, AddAppLoadedConfigModulesAction, AddLangParamInterceptor, AlertHttpErrorCallbackFn, ApiQueueService, ApiQueueServiceMock, AsyncStorageService, AsyncStorageServiceMock, BASE_LOGGER_NAME_TOKEN, BASE_NAME_TOKEN, BrowserStorageType, CONFIG_TOKEN, CORE_ROOT_GUARD, CachePreventionInterceptor, ConsoleHttpErrorCallbackFn, CoreAppActionTypes, CoreI18nActionTypes, CoreLocaleActionTypes, CoreModule, CoreNotificationsActionTypes, CoreUserActionTypes, CorsSecurityInterceptor, CsrfPreventionInterceptor, CssUtils, DEFAULT_LANGUAGE, DYNAMIC_COMPONENT_CONFIG, EUI_CONFIG_TOKEN, EUI_COUNTRIES, EUI_TIMEZONES, EmptyApiQueueAction, ErrorSubClass, EuLoginSessionTimeoutHandlingInterceptor, EuiAppShellService, EuiAppShellServiceMock, EuiCoreRootGuardClass, EuiDynamicComponentService, EuiDynamicMenuService, EuiError, EuiGrowlService, EuiLoaderService, EuiPermissionService, EuiTheme, EuiThemeService, EuiTimezoneService, GLOBAL_CONFIG_TOKEN, GlobalErrorHandler, GrowlHttpErrorCallbackFn, HTTP_ERROR_HANDLER_CONFIG_TOKEN, HttpErrorHandlerInterceptor, I18nLoader, I18nResourceImpl, I18nService, InitStoreAction, LANG_PARAM_KEY, LOCALE_ID_MAPPER, LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, LOG_APPENDERS_TOKEN, LOG_LEVEL_TOKEN, LocalForageService, LocalStorageService, LocaleService, LocaleServiceMock, LogHttpErrorCallbackFn, LogModule, LogService, LogServiceMock, MODULE_CONFIG_TOKEN, MODULE_NAME_TOKEN, PLATFORM_BROWSER_ID, ROOT_LOG_CONFIG_TOKEN, RemoveApiQueueItemAction, SHOW_CONNECTION_STATUS_TOKEN, SessionStorageService, Status, StorageService, StorageServiceMock, StoreService, StoreServiceMock, TRANSLATED_STRING, TranslateLoaderMock, TranslateMockDirective, TranslateMockModule, TranslateMockPipe, TranslateServiceMock,
|
|
5934
|
+
export { ActivatedRouteAction, AddApiQueueItemAction, AddAppLoadedConfigModulesAction, AddLangParamInterceptor, AlertHttpErrorCallbackFn, ApiQueueService, ApiQueueServiceMock, AsyncStorageService, AsyncStorageServiceMock, BASE_LOGGER_NAME_TOKEN, BASE_NAME_TOKEN, BrowserStorageType, CONFIG_TOKEN, CORE_ROOT_GUARD, CachePreventionInterceptor, ConsoleHttpErrorCallbackFn, CoreAppActionTypes, CoreI18nActionTypes, CoreLocaleActionTypes, CoreModule, CoreNotificationsActionTypes, CoreUserActionTypes, CorsSecurityInterceptor, CsrfPreventionInterceptor, CssUtils, DEFAULT_LANGUAGE, DYNAMIC_COMPONENT_CONFIG, EUI_CONFIG_TOKEN, EUI_COUNTRIES, EUI_ERROR_MAPPING_HANDLER_TOKEN, EUI_TIMEZONES, EmptyApiQueueAction, ErrorSubClass, EuLoginSessionTimeoutHandlingInterceptor, EuiAppShellService, EuiAppShellServiceMock, EuiCoreRootGuardClass, EuiDynamicComponentService, EuiDynamicMenuService, EuiError, EuiGrowlService, EuiLoaderService, EuiPermissionService, EuiTheme, EuiThemeService, EuiTimezoneService, GLOBAL_CONFIG_TOKEN, GlobalErrorHandler, GrowlHttpErrorCallbackFn, HTTP_ERROR_HANDLER_CONFIG_TOKEN, HttpErrorHandlerInterceptor, I18nLoader, I18nResourceImpl, I18nService, InitStoreAction, LANG_PARAM_KEY, LOCALE_ID_MAPPER, LOCAL_FORAGE_SERVICE_CONFIG_TOKEN, LOG_APPENDERS_TOKEN, LOG_LEVEL_TOKEN, LocalForageService, LocalStorageService, LocaleService, LocaleServiceMock, LogHttpErrorCallbackFn, LogModule, LogService, LogServiceMock, MODULE_CONFIG_TOKEN, MODULE_NAME_TOKEN, PLATFORM_BROWSER_ID, ROOT_LOG_CONFIG_TOKEN, RemoveApiQueueItemAction, RequestErrorInterceptor, SHOW_CONNECTION_STATUS_TOKEN, SessionStorageService, Status, StorageService, StorageServiceMock, StoreService, StoreServiceMock, TRANSLATED_STRING, TranslateLoaderMock, TranslateMockDirective, TranslateMockModule, TranslateMockPipe, TranslateServiceMock, UpdateAppConnectionAction, UpdateAppStatusAction, UpdateAppVersionAction, UpdateCurrentModuleAction, UpdateI18nStateAction, UpdateLocaleStateAction, UpdateNotificationsListAction, UpdateUserDashboardAction, UpdateUserDetailsAction, UpdateUserPreferencesAction, UpdateUserRightsAction, UpdateUserStateAction, UserService, UserServiceMock, closestMatchingParent, consumeEvent, convertLegacyInterpolations, corI18nReducers, coreAppReducers, coreLocaleReducers, coreNotificationsReducers, coreUserReducers, createEuiCoreRootGuard, diffDays, diffDaysFromToday, errorCodes, euiCoreRootGuardClass, formatNumber, getCoreChildProviders, getCoreProviders, getDependencyProviders, getGlobalConfig, getHttpErrorHandlingConfig, getModuleConfig, getRootLogConfig, getShowConnectionStatus, getViewElement, handleError, injectOptional, isDefined, loadEuiDynamicEnvironmentConfig, loadState, localForage, localStorageSync, markControlsTouched, markFormGroupTouched, mergeAppHandlerConfigToAppConfig, mergeAppJsonConfigToAppConfig, offset, parentOffsetEl, position, preInitApp, prepareEuiAppConfigToken, provideEuiInitializer, coreReducers as reducers, sessionStorageSync, transformTranslations, translateConfig, uniqueId, validateEmail };
|
|
5935
5935
|
|
|
5936
5936
|
//# sourceMappingURL=eui-core.mjs.map
|