@eui/core 22.0.0-alpha.72 → 22.0.0-alpha.74
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 +33 -0
- package/docs/changelog.html +26 -0
- package/docs/classes/EuiAppShellServiceMock.html +2 -2
- package/docs/classes/TranslateServiceMock.html +8 -8
- package/docs/injectables/EuiDynamicMenuService.html +4 -4
- package/docs/injectables/I18nLoader.html +1 -1
- package/docs/interfaces/LoadedResources.html +2 -2
- package/docs/interfaces/Schema-1.html +46 -1
- package/docs/interfaces/Schema.html +1 -46
- package/docs/js/menu-wc.js +6 -12
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +385 -429
- package/docs/llms.txt +26 -37
- package/docs/miscellaneous/functions.html +7 -8
- package/docs/miscellaneous/typealiases.html +48 -0
- package/docs/miscellaneous/variables.html +11 -12
- package/docs/overview.html +1 -1
- package/docs/properties.html +1 -1
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/types/eui-core.d.ts +11 -19
- package/types/eui-core.d.ts.map +1 -1
- package/docs/interfaces/ActionReducer.html +0 -317
- package/docs/interfaces/TranslationKeys.html +0 -272
package/docs/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# eui documentation
|
|
2
2
|
|
|
3
|
-
> Generated by compodoc 2.0.0 at 2026-11-
|
|
3
|
+
> Generated by compodoc 2.0.0 at 2026-11-19T15:38:00.314Z, llm-md export.
|
|
4
4
|
|
|
5
5
|
## Modules
|
|
6
6
|
|
|
@@ -120,10 +120,10 @@ File: `packages/core/src/lib/services/dynamic-menu/dynamic-menu.service.ts`
|
|
|
120
120
|
providedIn: `root`
|
|
121
121
|
|
|
122
122
|
Properties:
|
|
123
|
-
- `menuLinks:
|
|
123
|
+
- `menuLinks: EuiMenuItem[] = []`
|
|
124
124
|
|
|
125
125
|
Methods:
|
|
126
|
-
- `filterEuiMenuItemsWithRights(links:
|
|
126
|
+
- `filterEuiMenuItemsWithRights(links: EuiMenuItem[]): EuiMenuItem[]`
|
|
127
127
|
- `getMenuLinks(): EuiMenuItem[]`
|
|
128
128
|
|
|
129
129
|
### EuiGrowlService
|
|
@@ -220,7 +220,7 @@ File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
|
220
220
|
|
|
221
221
|
Methods:
|
|
222
222
|
- `addResources(config: I18nLoaderConfig): I18nResourceImpl[]` — Adds resources
|
|
223
|
-
- `getFailedResources():
|
|
223
|
+
- `getFailedResources(): LoadedResourcesError[]` — Returns resources that failed
|
|
224
224
|
- `getTranslation(lang: string): Observable<TranslationObject>` — Gets the translations from the server
|
|
225
225
|
- `loadResources(resources: I18nResourceImpl[], lang: string): Observable<{ hasError: boolean; translations: TranslationObject; errors?: LoadedResourcesError[] }>` — Loads an array of resources, by language
|
|
226
226
|
- `removeResources(removedResources: I18nResourceImpl[]): void` — Removes resources from the loader instance
|
|
@@ -585,7 +585,7 @@ File: `packages/core/src/lib/mocks/ux-app-shell-service.mock.ts`
|
|
|
585
585
|
Properties:
|
|
586
586
|
- `appRouter: object = { navigate: (url: string): string => url, }`
|
|
587
587
|
- `breakpoints$: Observable<string> = this.breakpointSubject.asObservable()`
|
|
588
|
-
- `breakpointSubject:
|
|
588
|
+
- `breakpointSubject: unknown = new BehaviorSubject<string>('')`
|
|
589
589
|
- `state$: Observable<any> = of({})`
|
|
590
590
|
|
|
591
591
|
Methods:
|
|
@@ -681,14 +681,14 @@ File: `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
|
681
681
|
Properties:
|
|
682
682
|
- `currentLang: unknown = signal<string | null>(null)`
|
|
683
683
|
- `isLoaded: Observable<boolean> = this.isLoadedSubject.asObservable()`
|
|
684
|
-
- `isLoadedSubject:
|
|
684
|
+
- `isLoadedSubject: unknown = new BehaviorSubject<boolean>(true)`
|
|
685
685
|
- `languages: string[] = [DEFAULT_LANGUAGE]`
|
|
686
686
|
- `onFallbackLangChange: Observable<string> = this.onFallbackLangChangeSubject.asObservable()`
|
|
687
|
-
- `onFallbackLangChangeSubject:
|
|
687
|
+
- `onFallbackLangChangeSubject: unknown = new Subject<string>()`
|
|
688
688
|
- `onLangChange: Observable<LangChangeEvent> = this.onLangChangeSubject.asObservable()`
|
|
689
|
-
- `onLangChangeSubject:
|
|
689
|
+
- `onLangChangeSubject: unknown = new Subject<LangChangeEvent>()`
|
|
690
690
|
- `onTranslationChange: Observable<string> = this.onTranslationChangeSubject.asObservable()`
|
|
691
|
-
- `onTranslationChangeSubject:
|
|
691
|
+
- `onTranslationChangeSubject: unknown = new Subject<string>()`
|
|
692
692
|
|
|
693
693
|
Methods:
|
|
694
694
|
- `addLangs(langs: string[]): void`
|
|
@@ -817,15 +817,6 @@ File: `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
|
817
817
|
Properties:
|
|
818
818
|
- `type: Type`
|
|
819
819
|
|
|
820
|
-
### ActionReducer
|
|
821
|
-
|
|
822
|
-
File: `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
823
|
-
|
|
824
|
-
Description: A function that takes an Action and a State , and returns a State . See createReducer .
|
|
825
|
-
|
|
826
|
-
Properties:
|
|
827
|
-
- `undefined`
|
|
828
|
-
|
|
829
820
|
### Annotation
|
|
830
821
|
|
|
831
822
|
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
@@ -1085,7 +1076,7 @@ Properties:
|
|
|
1085
1076
|
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
1086
1077
|
|
|
1087
1078
|
Properties:
|
|
1088
|
-
- `errors?:
|
|
1079
|
+
- `errors?: LoadedResourcesError[]`
|
|
1089
1080
|
- `hasError: boolean`
|
|
1090
1081
|
- `translations: TranslationObject`
|
|
1091
1082
|
|
|
@@ -1243,20 +1234,20 @@ Properties:
|
|
|
1243
1234
|
|
|
1244
1235
|
### Schema
|
|
1245
1236
|
|
|
1246
|
-
File: `packages/core/schematics/
|
|
1237
|
+
File: `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
1247
1238
|
|
|
1248
1239
|
Properties:
|
|
1249
1240
|
- `dryRun?: boolean`
|
|
1250
1241
|
- `path?: string`
|
|
1251
|
-
- `useClassArray?: boolean`
|
|
1252
1242
|
|
|
1253
1243
|
### Schema
|
|
1254
1244
|
|
|
1255
|
-
File: `packages/core/schematics/
|
|
1245
|
+
File: `packages/core/schematics/add-eui-imports/index.ts`
|
|
1256
1246
|
|
|
1257
1247
|
Properties:
|
|
1258
1248
|
- `dryRun?: boolean`
|
|
1259
1249
|
- `path?: string`
|
|
1250
|
+
- `useClassArray?: boolean`
|
|
1260
1251
|
|
|
1261
1252
|
### Schema
|
|
1262
1253
|
|
|
@@ -1631,10 +1622,6 @@ Properties:
|
|
|
1631
1622
|
- `replacement: string`
|
|
1632
1623
|
- `start: number`
|
|
1633
1624
|
|
|
1634
|
-
### TranslationKeys
|
|
1635
|
-
|
|
1636
|
-
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
1637
|
-
|
|
1638
1625
|
### UIState
|
|
1639
1626
|
|
|
1640
1627
|
File: `packages/core/src/lib/services/eui-app-shell.service.ts`
|
|
@@ -2191,7 +2178,7 @@ Properties:
|
|
|
2191
2178
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
2192
2179
|
- `mergeAppHandlerConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppHandler): EuiAppConfig`
|
|
2193
2180
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2194
|
-
- `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig, merge
|
|
2181
|
+
- `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig, merge, isDeepMerge: boolean): EuiAppConfig`
|
|
2195
2182
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2196
2183
|
- `migrate(options: Schema): Rule`
|
|
2197
2184
|
Defined in `packages/core/schematics/migrate/index.ts`
|
|
@@ -2543,10 +2530,10 @@ Properties:
|
|
|
2543
2530
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
2544
2531
|
- `visitAstForPipes(ast: AST, edits): void`
|
|
2545
2532
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2546
|
-
- `visitDir(dir: DirEntry, callback): void`
|
|
2547
|
-
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
2548
2533
|
- `visitDir(dir: DirEntry, callback): void`
|
|
2549
2534
|
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
2535
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2536
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
2550
2537
|
- `visitDir(dir: DirEntry, callback): void`
|
|
2551
2538
|
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2552
2539
|
- `visitDir(dir: DirEntry, callback): void`
|
|
@@ -2686,6 +2673,7 @@ Properties:
|
|
|
2686
2673
|
|
|
2687
2674
|
## Public type aliases
|
|
2688
2675
|
|
|
2676
|
+
- `type ActionReducer = function` — A function that takes an Action and a State , and returns a State . See createReducer .
|
|
2689
2677
|
- `type ActionReducerMap = unknown`
|
|
2690
2678
|
- `type AdapterKind = "moment" | "luxon" | "native"`
|
|
2691
2679
|
- `type AnyFn = function`
|
|
@@ -2703,6 +2691,7 @@ Properties:
|
|
|
2703
2691
|
- `type Selector = function`
|
|
2704
2692
|
- `type SelectorFactoryConfig = { stateFn: V }`
|
|
2705
2693
|
- `type SelectorWithProps = function`
|
|
2694
|
+
- `type TranslationKeys = Record<string | string>`
|
|
2706
2695
|
|
|
2707
2696
|
## Public enumerations
|
|
2708
2697
|
|
|
@@ -2755,15 +2744,15 @@ Properties:
|
|
|
2755
2744
|
|
|
2756
2745
|
## Public variables
|
|
2757
2746
|
|
|
2758
|
-
- `actionToReducerMap:
|
|
2747
|
+
- `actionToReducerMap: Record<string, AppState> = { [CoreAppActionTypes.UPDATE_APP_VERSION]: updateAppVersion, [CoreAppActionTypes.UPDATE_APP_CONNECTION]: updateAppConnection, [CoreAppActionTypes.UPDATE_APP_STA…`
|
|
2759
2748
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2760
|
-
- `actionToReducerMap:
|
|
2749
|
+
- `actionToReducerMap: Record<string, I18nState> = { [CoreI18nActionTypes.UPDATE_I18N_STATE]: updateI18nState, }` (deprecated: it will be removed in the next major version)
|
|
2761
2750
|
Defined in `packages/core/src/lib/services/store/reducers/i18n.reducers.ts`
|
|
2762
|
-
- `actionToReducerMap:
|
|
2751
|
+
- `actionToReducerMap: Record<string, LocaleState> = { [CoreLocaleActionTypes.UPDATE_LOCALE_STATE]: updateLocaleState, }` (deprecated: it will be removed in the next major version)
|
|
2763
2752
|
Defined in `packages/core/src/lib/services/store/reducers/locale.reducers.ts`
|
|
2764
|
-
- `actionToReducerMap:
|
|
2753
|
+
- `actionToReducerMap: Record<string, NotificationsState> = { [CoreNotificationsActionTypes.UPDATE_NOTIFICATIONS_LIST]: updateNotificationsList, }`
|
|
2765
2754
|
Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
|
|
2766
|
-
- `actionToReducerMap:
|
|
2755
|
+
- `actionToReducerMap: Record<string, UserState> = { [CoreUserActionTypes.UPDATE_USER_DETAILS]: updateUserDetails, [CoreUserActionTypes.UPDATE_USER_PREFERENCES]: updateUserPreferences, [CoreUserActionTypes.UPDAT…`
|
|
2767
2756
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2768
2757
|
- `ADAPTER_PATTERNS: Record<AdapterKind, RegExp> = { moment: /\bprovideMomentDateAdapter\s*\(|\bMomentDateAdapter\b|\bMatMomentDateModule\b/, luxon: /\bprovideLuxonDateAdapter\s*\(|\bLuxonDateAdapter\b|\bMatLuxo…`
|
|
2769
2758
|
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
@@ -2947,7 +2936,7 @@ Properties:
|
|
|
2947
2936
|
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2948
2937
|
- `IS_NO_VISITED: string = 'isNoVisited'`
|
|
2949
2938
|
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2950
|
-
- `isDefined: unknown = <T>(value: T | undefined | null): value is T =>
|
|
2939
|
+
- `isDefined: unknown = <T>(value: T | undefined | null): value is T => value as T !== undefined && value as T !== null` — check if a value is null or undefined. If it's not both returns true otherwise false
|
|
2951
2940
|
Defined in `packages/core/src/lib/helpers/utils.ts`
|
|
2952
2941
|
- `isStaticPositioned: unknown = (nativeEl: Element): boolean => (getStyle(nativeEl, 'position') || 'static') === 'static'` — Checks if a given element is statically positioned
|
|
2953
2942
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
@@ -2979,7 +2968,7 @@ Properties:
|
|
|
2979
2968
|
Defined in `packages/core/src/lib/services/log/log.module.ts`
|
|
2980
2969
|
- `markControlsTouched: unknown = (group: FormGroup | FormArray): void => { Object.keys(group.controls).forEach((key: string) => { const abstractControl = (group.controls as Record<string, Abstr…`
|
|
2981
2970
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2982
|
-
- `markFormGroupTouched: unknown = (FormControls:
|
|
2971
|
+
- `markFormGroupTouched: unknown = (FormControls: Record<string, AbstractControl> | AbstractControl[]): void => { const forOwn = (object: unknown, iteratee: (value: AbstractControl, key: string, …`
|
|
2983
2972
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2984
2973
|
- `messages: Record<string, string | unknown> = { ERR_GENERIC: 'An error occured', }`
|
|
2985
2974
|
Defined in `packages/core/src/lib/services/errors/eui.error.ts`
|
|
@@ -3201,7 +3190,7 @@ Properties:
|
|
|
3201
3190
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
3202
3191
|
- `updateUserRights: unknown = (state: UserState, action: UpdateUserRightsAction): UserState => Object.assign({}, state, { rights: [...action.payload] })`
|
|
3203
3192
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
3204
|
-
- `validateEmail: unknown = (c: FormControl): { validateEmail: { valid: boolean } } | null => { const EMAIL_REGEXP = // eslint-disable-next-line
|
|
3193
|
+
- `validateEmail: unknown = (c: FormControl): { validateEmail: { valid: boolean } } | null => { const EMAIL_REGEXP = // eslint-disable-next-line no-useless-escape /^(([^<>()\[\]\\.,;:\s@"]…`
|
|
3205
3194
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
3206
3195
|
- `VARIANT: string = 'variant'`
|
|
3207
3196
|
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
@@ -1428,10 +1428,10 @@
|
|
|
1428
1428
|
<a href="#visitAstForPipes" title="packages/core/schematics/migrate-eui-table/index.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>visitAstForPipes</b> (packages/.../index.ts)</span></a>
|
|
1429
1429
|
</li>
|
|
1430
1430
|
<li>
|
|
1431
|
-
<a href="#visitDir" title="packages/core/schematics/
|
|
1431
|
+
<a href="#visitDir" title="packages/core/schematics/fix-no-multiple-empty-lines/index.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>visitDir</b> (packages/.../index.ts)</span></a>
|
|
1432
1432
|
</li>
|
|
1433
1433
|
<li>
|
|
1434
|
-
<a href="#visitDir" title="packages/core/schematics/
|
|
1434
|
+
<a href="#visitDir" title="packages/core/schematics/add-eui-imports/index.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>visitDir</b> (packages/.../index.ts)</span></a>
|
|
1435
1435
|
</li>
|
|
1436
1436
|
<li>
|
|
1437
1437
|
<a href="#visitDir" title="packages/core/schematics/migrate-ecl-breadcrumb/index.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>visitDir</b> (packages/.../index.ts)</span></a>
|
|
@@ -34682,7 +34682,7 @@ Does not check only for empty object, because the config can have other (non-lo
|
|
|
34682
34682
|
</tr>
|
|
34683
34683
|
<tr>
|
|
34684
34684
|
<td class="col-md-4">
|
|
34685
|
-
<code>mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig, merge
|
|
34685
|
+
<code>mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig, merge, isDeepMerge: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank">boolean</a>)</code>
|
|
34686
34686
|
</td>
|
|
34687
34687
|
</tr>
|
|
34688
34688
|
|
|
@@ -34730,7 +34730,6 @@ Does not check only for empty object, because the config can have other (non-lo
|
|
|
34730
34730
|
<tr>
|
|
34731
34731
|
<td>merge</td>
|
|
34732
34732
|
<td>
|
|
34733
|
-
<code>Array</code>
|
|
34734
34733
|
</td>
|
|
34735
34734
|
|
|
34736
34735
|
<td>
|
|
@@ -35495,7 +35494,7 @@ It needs to be added in your application main.ts file.</p>
|
|
|
35495
35494
|
</tr>
|
|
35496
35495
|
<tr>
|
|
35497
35496
|
<td class="col-md-4">
|
|
35498
|
-
<code>localStorageSync<S extends CoreState>(reducer: <a href="../
|
|
35497
|
+
<code>localStorageSync<S extends CoreState>(reducer: <a href="../miscellaneous/typealiases.html#ActionReducer" target="_self">ActionReducer</a>)</code>
|
|
35499
35498
|
</td>
|
|
35500
35499
|
</tr>
|
|
35501
35500
|
|
|
@@ -35531,7 +35530,7 @@ It needs to be added in your application main.ts file.</p>
|
|
|
35531
35530
|
<tr>
|
|
35532
35531
|
<td>reducer</td>
|
|
35533
35532
|
<td>
|
|
35534
|
-
<code><a href="../
|
|
35533
|
+
<code><a href="../miscellaneous/typealiases.html#ActionReducer" target="_self" >ActionReducer</a></code>
|
|
35535
35534
|
</td>
|
|
35536
35535
|
|
|
35537
35536
|
<td>
|
|
@@ -35727,7 +35726,7 @@ It needs to be added in your application main.ts file.</p>
|
|
|
35727
35726
|
</tr>
|
|
35728
35727
|
<tr>
|
|
35729
35728
|
<td class="col-md-4">
|
|
35730
|
-
<code>sessionStorageSync<S extends CoreState>(reducer: <a href="../
|
|
35729
|
+
<code>sessionStorageSync<S extends CoreState>(reducer: <a href="../miscellaneous/typealiases.html#ActionReducer" target="_self">ActionReducer</a>)</code>
|
|
35731
35730
|
</td>
|
|
35732
35731
|
</tr>
|
|
35733
35732
|
|
|
@@ -35763,7 +35762,7 @@ It needs to be added in your application main.ts file.</p>
|
|
|
35763
35762
|
<tr>
|
|
35764
35763
|
<td>reducer</td>
|
|
35765
35764
|
<td>
|
|
35766
|
-
<code><a href="../
|
|
35765
|
+
<code><a href="../miscellaneous/typealiases.html#ActionReducer" target="_self" >ActionReducer</a></code>
|
|
35767
35766
|
</td>
|
|
35768
35767
|
|
|
35769
35768
|
<td>
|
|
@@ -137,6 +137,9 @@
|
|
|
137
137
|
<tr>
|
|
138
138
|
<td class="col-md-4">
|
|
139
139
|
<ul class="index-list">
|
|
140
|
+
<li>
|
|
141
|
+
<a href="#ActionReducer" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>ActionReducer</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
142
|
+
</li>
|
|
140
143
|
<li>
|
|
141
144
|
<a href="#ActionReducerMap" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>ActionReducerMap</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
142
145
|
</li>
|
|
@@ -188,6 +191,9 @@
|
|
|
188
191
|
<li>
|
|
189
192
|
<a href="#SelectorWithProps" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>SelectorWithProps</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
190
193
|
</li>
|
|
194
|
+
<li>
|
|
195
|
+
<a href="#TranslationKeys" title="packages/core/src/lib/services/i18n/i18n.loader.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>TranslationKeys</b> (packages/.../i18n.loader.ts)</span></a>
|
|
196
|
+
</li>
|
|
191
197
|
</ul>
|
|
192
198
|
</td>
|
|
193
199
|
</tr>
|
|
@@ -197,6 +203,29 @@
|
|
|
197
203
|
|
|
198
204
|
<h3>packages/core/src/lib/services/store/ngrx_kit.ts</h3>
|
|
199
205
|
<section data-compodoc="block-typealias">
|
|
206
|
+
<table class="table table-sm table-bordered">
|
|
207
|
+
<tbody>
|
|
208
|
+
<tr>
|
|
209
|
+
<td class="col-md-4">
|
|
210
|
+
<a name="ActionReducer"></a>
|
|
211
|
+
<span class="name "><b>ActionReducer</b><a href="#ActionReducer"><span class="icon ion-ios-link"></span></a></span>
|
|
212
|
+
</td>
|
|
213
|
+
</tr>
|
|
214
|
+
<tr>
|
|
215
|
+
<td class="col-md-4">
|
|
216
|
+
<div class="io-description"><p>A function that takes an <code>Action</code> and a <code>State</code>, and returns a <code>State</code>.
|
|
217
|
+
See <code>createReducer</code>.</p>
|
|
218
|
+
</div>
|
|
219
|
+
</td>
|
|
220
|
+
</tr>
|
|
221
|
+
<tr>
|
|
222
|
+
<td class="col-md-4">
|
|
223
|
+
<code> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
|
|
224
|
+
</code>
|
|
225
|
+
</td>
|
|
226
|
+
</tr>
|
|
227
|
+
</tbody>
|
|
228
|
+
</table>
|
|
200
229
|
<table class="table table-sm table-bordered">
|
|
201
230
|
<tbody>
|
|
202
231
|
<tr>
|
|
@@ -519,6 +548,25 @@
|
|
|
519
548
|
</tbody>
|
|
520
549
|
</table>
|
|
521
550
|
</section>
|
|
551
|
+
<h3>packages/core/src/lib/services/i18n/i18n.loader.ts</h3>
|
|
552
|
+
<section data-compodoc="block-typealias">
|
|
553
|
+
<table class="table table-sm table-bordered">
|
|
554
|
+
<tbody>
|
|
555
|
+
<tr>
|
|
556
|
+
<td class="col-md-4">
|
|
557
|
+
<a name="TranslationKeys"></a>
|
|
558
|
+
<span class="name "><b>TranslationKeys</b><a href="#TranslationKeys"><span class="icon ion-ios-link"></span></a></span>
|
|
559
|
+
</td>
|
|
560
|
+
</tr>
|
|
561
|
+
<tr>
|
|
562
|
+
<td class="col-md-4">
|
|
563
|
+
<code> <code>Record<string | string></code>
|
|
564
|
+
</code>
|
|
565
|
+
</td>
|
|
566
|
+
</tr>
|
|
567
|
+
</tbody>
|
|
568
|
+
</table>
|
|
569
|
+
</section>
|
|
522
570
|
|
|
523
571
|
|
|
524
572
|
|
|
@@ -843,7 +843,7 @@
|
|
|
843
843
|
</tr>
|
|
844
844
|
<tr>
|
|
845
845
|
<td class="col-md-4">
|
|
846
|
-
<i>Type : </i> <code>
|
|
846
|
+
<i>Type : </i> <code>Record<string, AppState></code>
|
|
847
847
|
|
|
848
848
|
</td>
|
|
849
849
|
</tr>
|
|
@@ -1122,7 +1122,7 @@
|
|
|
1122
1122
|
</tr>
|
|
1123
1123
|
<tr>
|
|
1124
1124
|
<td class="col-md-4">
|
|
1125
|
-
<i>Type : </i> <code>
|
|
1125
|
+
<i>Type : </i> <code>Record<string, I18nState></code>
|
|
1126
1126
|
|
|
1127
1127
|
</td>
|
|
1128
1128
|
</tr>
|
|
@@ -1228,7 +1228,7 @@
|
|
|
1228
1228
|
</tr>
|
|
1229
1229
|
<tr>
|
|
1230
1230
|
<td class="col-md-4">
|
|
1231
|
-
<i>Type : </i> <code>
|
|
1231
|
+
<i>Type : </i> <code>Record<string, LocaleState></code>
|
|
1232
1232
|
|
|
1233
1233
|
</td>
|
|
1234
1234
|
</tr>
|
|
@@ -1332,7 +1332,7 @@
|
|
|
1332
1332
|
</tr>
|
|
1333
1333
|
<tr>
|
|
1334
1334
|
<td class="col-md-4">
|
|
1335
|
-
<i>Type : </i> <code>
|
|
1335
|
+
<i>Type : </i> <code>Record<string, NotificationsState></code>
|
|
1336
1336
|
|
|
1337
1337
|
</td>
|
|
1338
1338
|
</tr>
|
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
</tr>
|
|
1430
1430
|
<tr>
|
|
1431
1431
|
<td class="col-md-4">
|
|
1432
|
-
<i>Type : </i> <code>
|
|
1432
|
+
<i>Type : </i> <code>Record<string, UserState></code>
|
|
1433
1433
|
|
|
1434
1434
|
</td>
|
|
1435
1435
|
</tr>
|
|
@@ -3932,7 +3932,7 @@
|
|
|
3932
3932
|
</tr>
|
|
3933
3933
|
<tr>
|
|
3934
3934
|
<td class="col-md-4">
|
|
3935
|
-
<i>Type : </i> <code><a href="../
|
|
3935
|
+
<i>Type : </i> <code><a href="../interfaces/Action.html" target="_self" >ActionReducerMap<CoreState, any></a></code>
|
|
3936
3936
|
|
|
3937
3937
|
</td>
|
|
3938
3938
|
</tr>
|
|
@@ -6834,8 +6834,7 @@ Used to resolve</p>
|
|
|
6834
6834
|
thousandsSeparator = inThousandSeparator;
|
|
6835
6835
|
|
|
6836
6836
|
const maxFraction = '0'.repeat(fractionSize);
|
|
6837
|
-
|
|
6838
|
-
// eslint-disable-next-line prefer-const
|
|
6837
|
+
|
|
6839
6838
|
let [integer, fraction = maxFraction] = (value || '0').toString().split('.');
|
|
6840
6839
|
fraction = fractionSize > 0 ? roundUpNumber(fraction + maxFraction, fractionSize) : '';
|
|
6841
6840
|
|
|
@@ -7735,7 +7734,7 @@ Ported from csdr-engine/migrate/index.js replaceIcons.</p>
|
|
|
7735
7734
|
</tr>
|
|
7736
7735
|
<tr>
|
|
7737
7736
|
<td class="col-md-4">
|
|
7738
|
-
<i>Default value : </i><code><T>(value: T | undefined | null): value is T =>
|
|
7737
|
+
<i>Default value : </i><code><T>(value: T | undefined | null): value is T => value as T !== undefined && value as T !== null</code>
|
|
7739
7738
|
</td>
|
|
7740
7739
|
</tr>
|
|
7741
7740
|
|
|
@@ -7976,13 +7975,13 @@ Ported from csdr-engine/migrate/index.js replaceIcons.</p>
|
|
|
7976
7975
|
</tr>
|
|
7977
7976
|
<tr>
|
|
7978
7977
|
<td class="col-md-4">
|
|
7979
|
-
<i>Default value : </i><code>(FormControls:
|
|
7978
|
+
<i>Default value : </i><code>(FormControls: Record<string, AbstractControl> | AbstractControl[]): void => {
|
|
7980
7979
|
const forOwn = (object: unknown, iteratee: (value: AbstractControl, key: string, object: Record<string, AbstractControl>) => void): void => {
|
|
7981
7980
|
const obj = Object(object) as Record<string, AbstractControl>;
|
|
7982
7981
|
Object.keys(obj).forEach((key) => iteratee(obj[key], key, obj));
|
|
7983
7982
|
};
|
|
7984
7983
|
|
|
7985
|
-
const markFormGroupTouchedRecursive = (controls:
|
|
7984
|
+
const markFormGroupTouchedRecursive = (controls: Record<string, AbstractControl> | AbstractControl[]): void => {
|
|
7986
7985
|
forOwn(controls, (c: AbstractControl) => {
|
|
7987
7986
|
if (c instanceof FormGroup || c instanceof FormArray) {
|
|
7988
7987
|
markFormGroupTouchedRecursive(c.controls);
|
|
@@ -8021,7 +8020,7 @@ Ported from csdr-engine/migrate/index.js replaceIcons.</p>
|
|
|
8021
8020
|
<td class="col-md-4">
|
|
8022
8021
|
<i>Default value : </i><code>(c: FormControl): { validateEmail: { valid: boolean } } | null => {
|
|
8023
8022
|
const EMAIL_REGEXP =
|
|
8024
|
-
// eslint-disable-next-line
|
|
8023
|
+
// eslint-disable-next-line no-useless-escape
|
|
8025
8024
|
/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
|
8026
8025
|
|
|
8027
8026
|
const error = {
|
package/docs/overview.html
CHANGED
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
<div class="card text-center">
|
|
162
162
|
<div class="card-block">
|
|
163
163
|
<h4 class="card-title"><span class="icon ion-md-information-circle-outline"></span></h4>
|
|
164
|
-
<p class="card-text">
|
|
164
|
+
<p class="card-text">90 Interfaces</p>
|
|
165
165
|
</div>
|
|
166
166
|
</div>
|
|
167
167
|
</div>
|