@mediusinc/mng-commons 5.0.1 → 5.1.0-rc.0
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/core/descriptors/model.descriptor.d.ts +1 -1
- package/core/error/error-helpers.d.ts +18 -1
- package/core/i18n/i18n-type.d.ts +0 -9
- package/core/services/commons-configuration.service.d.ts +12 -0
- package/esm2022/core/descriptors/model.descriptor.mjs +1 -1
- package/esm2022/core/error/error-helpers.mjs +20 -1
- package/esm2022/core/i18n/i18n-type.mjs +1 -34
- package/esm2022/core/services/commons-configuration.service.mjs +16 -1
- package/esm2022/model/descriptors/model.descriptor.mjs +1 -1
- package/esm2022/model/helpers/i18n.mjs +7 -10
- package/esm2022/table/api/descriptors/table.descriptor.mjs +2 -2
- package/esm2022/tableview/api/editor/models/field-action-context.model.mjs +1 -1
- package/esm2022/tableview/api/editor/models/form-editor.interface.mjs +1 -1
- package/esm2022/tableview/api/editor/models/formly-field.model.mjs +1 -1
- package/esm2022/tableview/api/editor/models/formly-options.model.mjs +2 -0
- package/esm2022/tableview/api/index.mjs +2 -1
- package/esm2022/tableview/editor/components/editor/form-editor.component.mjs +9 -4
- package/esm2022/tableview/editor/components/formly/fields/formly-field-action/formly-field-action.component.mjs +4 -5
- package/esm2022/tableview/editor/components/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +8 -10
- package/esm2022/tableview/editor/components/formly/fields/formly-field-custom/formly-field-custom.component.mjs +4 -4
- package/esm2022/tableview/editor/components/formly/fields/formly-field-datepicker/formly-field-datepicker.component.mjs +5 -5
- package/esm2022/tableview/editor/components/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +8 -9
- package/esm2022/tableview/editor/components/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +5 -5
- package/esm2022/tableview/editor/components/formly/fields/formly-field-input/formly-field-input.component.mjs +5 -4
- package/esm2022/tableview/editor/components/formly/fields/formly-field-label/formly-field-label.component.mjs +4 -5
- package/esm2022/tableview/editor/components/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.mjs +5 -5
- package/esm2022/tableview/editor/components/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +7 -8
- package/esm2022/tableview/editor/components/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +4 -5
- package/esm2022/tableview/editor/components/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +4 -3
- package/esm2022/tableview/editor/components/formly/fields/formly-field-type.abstract.component.mjs +23 -0
- package/fesm2022/mediusinc-mng-commons-core.mjs +96 -95
- package/fesm2022/mediusinc-mng-commons-core.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-model.mjs +7 -10
- package/fesm2022/mediusinc-mng-commons-model.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-table-api.mjs +1 -1
- package/fesm2022/mediusinc-mng-commons-table-api.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview.mjs +59 -46
- package/fesm2022/mediusinc-mng-commons-tableview.mjs.map +1 -1
- package/model/descriptors/model.descriptor.d.ts +3 -3
- package/model/helpers/i18n.d.ts +1 -3
- package/package.json +1 -1
- package/tableview/api/editor/models/field-action-context.model.d.ts +3 -3
- package/tableview/api/editor/models/form-editor.interface.d.ts +1 -8
- package/tableview/api/editor/models/formly-options.model.d.ts +15 -0
- package/tableview/api/index.d.ts +1 -0
- package/tableview/editor/components/editor/form-editor.component.d.ts +3 -11
- package/tableview/editor/components/formly/fields/formly-field-action/formly-field-action.component.d.ts +3 -4
- package/tableview/editor/components/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +3 -7
- package/tableview/editor/components/formly/fields/formly-field-custom/formly-field-custom.component.d.ts +3 -4
- package/tableview/editor/components/formly/fields/formly-field-datepicker/formly-field-datepicker.component.d.ts +3 -4
- package/tableview/editor/components/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +3 -6
- package/tableview/editor/components/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +3 -4
- package/tableview/editor/components/formly/fields/formly-field-input/formly-field-input.component.d.ts +3 -4
- package/tableview/editor/components/formly/fields/formly-field-label/formly-field-label.component.d.ts +5 -6
- package/tableview/editor/components/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.d.ts +3 -4
- package/tableview/editor/components/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +3 -4
- package/tableview/editor/components/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +3 -4
- package/tableview/editor/components/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +2 -3
- package/tableview/editor/components/formly/fields/formly-field-type.abstract.component.d.ts +12 -0
- package/version-info.json +6 -6
|
@@ -19,7 +19,7 @@ import { Title } from '@angular/platform-browser';
|
|
|
19
19
|
import { filter, map, first, catchError } from 'rxjs/operators';
|
|
20
20
|
import { DatePipe } from '@angular/common';
|
|
21
21
|
import { HttpErrorResponse, HttpClient, HttpBackend } from '@angular/common/http';
|
|
22
|
-
import { isObservable, of, mergeMap, combineLatest, Observable, tap, ReplaySubject, Subject, take, throwError } from 'rxjs';
|
|
22
|
+
import { isObservable, of, mergeMap, combineLatest, Observable, tap, ReplaySubject, Subject, take, throwError as throwError$1 } from 'rxjs';
|
|
23
23
|
import 'reflect-metadata';
|
|
24
24
|
|
|
25
25
|
class DialogKeydownHandlerDirective {
|
|
@@ -1927,6 +1927,25 @@ function errorCauseToString(error, opts) {
|
|
|
1927
1927
|
}
|
|
1928
1928
|
return '';
|
|
1929
1929
|
}
|
|
1930
|
+
/**
|
|
1931
|
+
* Throws an error with the provided error message.
|
|
1932
|
+
* The intended usage is for in-line throwing of an error with TS type narrowing.
|
|
1933
|
+
* <br>
|
|
1934
|
+
* <i>Example</i>:
|
|
1935
|
+
* <pre>
|
|
1936
|
+
* const value: string | null = getValue("");
|
|
1937
|
+
* const nonNullValue: string = getValue("") ?? throwError("value missing");
|
|
1938
|
+
* </pre>
|
|
1939
|
+
*
|
|
1940
|
+
* @param {string} errorMessage - The error message to be thrown.
|
|
1941
|
+
* @param {CommonsErrorBaseOptions} [options] - Additional options for the thrown error.
|
|
1942
|
+
* @throws {Error} - The error object with the provided error message.
|
|
1943
|
+
* @returns {never} - This function does not return a value.
|
|
1944
|
+
* @see CommonsErrorBaseOptions
|
|
1945
|
+
*/
|
|
1946
|
+
function throwError(errorMessage, options) {
|
|
1947
|
+
throw new CommonsInternalError(errorMessage, options);
|
|
1948
|
+
}
|
|
1930
1949
|
|
|
1931
1950
|
class CommonsErrorHandler {
|
|
1932
1951
|
constructor() {
|
|
@@ -2108,74 +2127,6 @@ function getI18nErrorParams(error, params = {}) {
|
|
|
2108
2127
|
return paramsRes;
|
|
2109
2128
|
}
|
|
2110
2129
|
|
|
2111
|
-
const reflectTypeNameKey = 'typeName';
|
|
2112
|
-
const reflectEnumNameKey = 'enumName';
|
|
2113
|
-
/**
|
|
2114
|
-
* Defines type name decorator.
|
|
2115
|
-
* @param targetType class.
|
|
2116
|
-
* @param typeName Name of the type.
|
|
2117
|
-
*/
|
|
2118
|
-
function defineReflectTypeName(targetType, typeName) {
|
|
2119
|
-
if (!Reflect.hasOwnMetadata(reflectTypeNameKey, targetType)) {
|
|
2120
|
-
Reflect.defineMetadata(reflectTypeNameKey, typeName, targetType);
|
|
2121
|
-
}
|
|
2122
|
-
}
|
|
2123
|
-
/**
|
|
2124
|
-
* Defines enum name decorator.
|
|
2125
|
-
* @param targetType enum object.
|
|
2126
|
-
* @param enumName Name of the enum.
|
|
2127
|
-
*/
|
|
2128
|
-
function defineReflectEnumName(targetType, enumName) {
|
|
2129
|
-
if (!Reflect.hasOwnMetadata(reflectEnumNameKey, targetType)) {
|
|
2130
|
-
Reflect.defineMetadata(reflectEnumNameKey, enumName, targetType);
|
|
2131
|
-
}
|
|
2132
|
-
}
|
|
2133
|
-
/**
|
|
2134
|
-
* Gets type name from reflect metadata.
|
|
2135
|
-
* @param type Class.
|
|
2136
|
-
*/
|
|
2137
|
-
function findReflectTypeName(type) {
|
|
2138
|
-
if (!type) {
|
|
2139
|
-
return null;
|
|
2140
|
-
}
|
|
2141
|
-
const typeName = Reflect.getMetadata(reflectTypeNameKey, type);
|
|
2142
|
-
if (typeName) {
|
|
2143
|
-
return typeName;
|
|
2144
|
-
}
|
|
2145
|
-
LoggerService.get().debug('WARNING: Reflect metadata could not be found for type, you might experience some issues in production build.', type?.name);
|
|
2146
|
-
return type.name;
|
|
2147
|
-
}
|
|
2148
|
-
/**
|
|
2149
|
-
* Gets type name from either decorator or reflect metadata.
|
|
2150
|
-
* @param type Class.
|
|
2151
|
-
*/
|
|
2152
|
-
function reflectTypeNameExists(type) {
|
|
2153
|
-
return Reflect.hasOwnMetadata(reflectTypeNameKey, type);
|
|
2154
|
-
}
|
|
2155
|
-
/**
|
|
2156
|
-
* Gets enum name from either decorator or reflect metadata.
|
|
2157
|
-
* @param enumType Class.
|
|
2158
|
-
*/
|
|
2159
|
-
function findReflectEnumName(enumType) {
|
|
2160
|
-
const enumName = Reflect.getMetadata(reflectEnumNameKey, enumType);
|
|
2161
|
-
if (enumName) {
|
|
2162
|
-
return enumName;
|
|
2163
|
-
}
|
|
2164
|
-
LoggerService.get().debug(`WARNING: Reflect metadata could not be found for enum ${typeof enumType === 'object' ? Object.keys(enumType) : enumType}`, {
|
|
2165
|
-
name: 'TypeUtilsError',
|
|
2166
|
-
enumType: enumType
|
|
2167
|
-
});
|
|
2168
|
-
return null;
|
|
2169
|
-
}
|
|
2170
|
-
|
|
2171
|
-
function getI18nClassNameAsync(translate, classType, singular) {
|
|
2172
|
-
const typeName = findReflectTypeName(classType);
|
|
2173
|
-
return getI18nTypeNameAsync(translate, typeName ?? '', singular);
|
|
2174
|
-
}
|
|
2175
|
-
function getI18nClassName(translate, classType, singular) {
|
|
2176
|
-
const typeName = findReflectTypeName(classType);
|
|
2177
|
-
return getI18nTypeName(translate, typeName ?? '', singular);
|
|
2178
|
-
}
|
|
2179
2130
|
function getI18nTypeNameAsync(translate, typeName, singular) {
|
|
2180
2131
|
const keys = getI18nTypeNameKeys(typeName, singular);
|
|
2181
2132
|
return getI18nAsync(translate, undefined, ...keys);
|
|
@@ -2184,46 +2135,22 @@ function getI18nTypeName(translate, typeName, singular) {
|
|
|
2184
2135
|
const keys = getI18nTypeNameKeys(typeName, singular);
|
|
2185
2136
|
return getI18n(translate, undefined, ...keys);
|
|
2186
2137
|
}
|
|
2187
|
-
function getI18nClassTabKey(classType, tab) {
|
|
2188
|
-
const typeName = findReflectTypeName(classType);
|
|
2189
|
-
return getI18nTypeTabKey(typeName ?? '', tab);
|
|
2190
|
-
}
|
|
2191
2138
|
function getI18nTypeTabKey(typeName, tab) {
|
|
2192
2139
|
return getI18nTypeKeyBasePath(typeName, 'tabs', tab);
|
|
2193
2140
|
}
|
|
2194
|
-
function getI18nClassGroupKey(classType, group) {
|
|
2195
|
-
const typeName = findReflectTypeName(classType);
|
|
2196
|
-
return getI18nTypeGroupKey(typeName ?? '', group);
|
|
2197
|
-
}
|
|
2198
2141
|
function getI18nTypeGroupKey(typeName, group) {
|
|
2199
2142
|
return getI18nTypeKeyBasePath(typeName, 'groups', group);
|
|
2200
2143
|
}
|
|
2201
|
-
function getI18nClassPropertyKey(classType, property) {
|
|
2202
|
-
const typeName = findReflectTypeName(classType);
|
|
2203
|
-
return getI18nTypePropertyKey(typeName ?? '', property);
|
|
2204
|
-
}
|
|
2205
2144
|
function getI18nTypePropertyKey(typeName, property) {
|
|
2206
2145
|
return getI18nTypeKeyBasePath(typeName, 'properties', property);
|
|
2207
2146
|
}
|
|
2208
|
-
function getI18nClassKeyBasePath(classType, ...path) {
|
|
2209
|
-
const typeName = findReflectTypeName(classType);
|
|
2210
|
-
return getI18nTypeKeyBasePath(typeName ?? '', ...path);
|
|
2211
|
-
}
|
|
2212
2147
|
function getI18nTypeKeyBasePath(typeName, ...path) {
|
|
2213
2148
|
return `${typeName.length ? `${typeName}.` : ''}${path.join('.')}`;
|
|
2214
2149
|
}
|
|
2215
|
-
function getI18nClassParams(translate, classType, item, params = {}) {
|
|
2216
|
-
const typeName = findReflectTypeName(classType);
|
|
2217
|
-
return getI18nTypeParams(translate, typeName ?? undefined, item, params);
|
|
2218
|
-
}
|
|
2219
2150
|
function getI18nTypeParams(translate, typeName, item, params = {}) {
|
|
2220
2151
|
const i18nTypeName = typeName ? getI18nTypeName(translate, typeName, true) : null;
|
|
2221
2152
|
return populateI18nTypeParams(i18nTypeName ?? undefined, item, params);
|
|
2222
2153
|
}
|
|
2223
|
-
function getI18nClassParamsAsync(translate, classType, item, params = {}) {
|
|
2224
|
-
const typeName = findReflectTypeName(classType);
|
|
2225
|
-
return getI18nTypeParamsAsync(translate, typeName ?? undefined, item, params);
|
|
2226
|
-
}
|
|
2227
2154
|
function getI18nTypeParamsAsync(translate, typeName, item, params = {}) {
|
|
2228
2155
|
return (typeName ? getI18nTypeNameAsync(translate, typeName, true) : of(null)).pipe(map(i18nTypeName => populateI18nTypeParams(i18nTypeName ?? undefined, item, params)));
|
|
2229
2156
|
}
|
|
@@ -2328,6 +2255,66 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImpor
|
|
|
2328
2255
|
}]
|
|
2329
2256
|
}] });
|
|
2330
2257
|
|
|
2258
|
+
const reflectTypeNameKey = 'typeName';
|
|
2259
|
+
const reflectEnumNameKey = 'enumName';
|
|
2260
|
+
/**
|
|
2261
|
+
* Defines type name decorator.
|
|
2262
|
+
* @param targetType class.
|
|
2263
|
+
* @param typeName Name of the type.
|
|
2264
|
+
*/
|
|
2265
|
+
function defineReflectTypeName(targetType, typeName) {
|
|
2266
|
+
if (!Reflect.hasOwnMetadata(reflectTypeNameKey, targetType)) {
|
|
2267
|
+
Reflect.defineMetadata(reflectTypeNameKey, typeName, targetType);
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
/**
|
|
2271
|
+
* Defines enum name decorator.
|
|
2272
|
+
* @param targetType enum object.
|
|
2273
|
+
* @param enumName Name of the enum.
|
|
2274
|
+
*/
|
|
2275
|
+
function defineReflectEnumName(targetType, enumName) {
|
|
2276
|
+
if (!Reflect.hasOwnMetadata(reflectEnumNameKey, targetType)) {
|
|
2277
|
+
Reflect.defineMetadata(reflectEnumNameKey, enumName, targetType);
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
/**
|
|
2281
|
+
* Gets type name from reflect metadata.
|
|
2282
|
+
* @param type Class.
|
|
2283
|
+
*/
|
|
2284
|
+
function findReflectTypeName(type) {
|
|
2285
|
+
if (!type) {
|
|
2286
|
+
return null;
|
|
2287
|
+
}
|
|
2288
|
+
const typeName = Reflect.getMetadata(reflectTypeNameKey, type);
|
|
2289
|
+
if (typeName) {
|
|
2290
|
+
return typeName;
|
|
2291
|
+
}
|
|
2292
|
+
LoggerService.get().debug('WARNING: Reflect metadata could not be found for type, you might experience some issues in production build.', type?.name);
|
|
2293
|
+
return type.name;
|
|
2294
|
+
}
|
|
2295
|
+
/**
|
|
2296
|
+
* Gets type name from either decorator or reflect metadata.
|
|
2297
|
+
* @param type Class.
|
|
2298
|
+
*/
|
|
2299
|
+
function reflectTypeNameExists(type) {
|
|
2300
|
+
return Reflect.hasOwnMetadata(reflectTypeNameKey, type);
|
|
2301
|
+
}
|
|
2302
|
+
/**
|
|
2303
|
+
* Gets enum name from either decorator or reflect metadata.
|
|
2304
|
+
* @param enumType Class.
|
|
2305
|
+
*/
|
|
2306
|
+
function findReflectEnumName(enumType) {
|
|
2307
|
+
const enumName = Reflect.getMetadata(reflectEnumNameKey, enumType);
|
|
2308
|
+
if (enumName) {
|
|
2309
|
+
return enumName;
|
|
2310
|
+
}
|
|
2311
|
+
LoggerService.get().debug(`WARNING: Reflect metadata could not be found for enum ${typeof enumType === 'object' ? Object.keys(enumType) : enumType}`, {
|
|
2312
|
+
name: 'TypeUtilsError',
|
|
2313
|
+
enumType: enumType
|
|
2314
|
+
});
|
|
2315
|
+
return null;
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2331
2318
|
class EnumPipe {
|
|
2332
2319
|
transform(value, enumDesc, i18nPath) {
|
|
2333
2320
|
if (!value || (typeof value !== 'number' && typeof value !== 'string')) {
|
|
@@ -3512,6 +3499,20 @@ class CommonsConfigurationService {
|
|
|
3512
3499
|
getConfigValue(key) {
|
|
3513
3500
|
return this.configuration[key] ? this.configuration[key] : null;
|
|
3514
3501
|
}
|
|
3502
|
+
/**
|
|
3503
|
+
* Gets the configuration value for the given key. If the value is not found,
|
|
3504
|
+
* it throws an error with a custom error message.
|
|
3505
|
+
*
|
|
3506
|
+
* @param {string} key - The configuration key.
|
|
3507
|
+
* @param {string} [errorMessage] - Custom error message to be thrown if the value is not found.
|
|
3508
|
+
*
|
|
3509
|
+
* @returns {T} - The configuration value.
|
|
3510
|
+
*
|
|
3511
|
+
* @throws {CommonsInternalError} - If the value is not found or a custom error message is provided.
|
|
3512
|
+
*/
|
|
3513
|
+
getConfigValueOrThrow(key, errorMessage) {
|
|
3514
|
+
return this.getConfigValue(key) ?? throwError(errorMessage ?? `Missing configuration value for '${key}'!`, { name: 'CommonsMissingConfigError' });
|
|
3515
|
+
}
|
|
3515
3516
|
/**
|
|
3516
3517
|
* Has configuration for key.
|
|
3517
3518
|
* @param key Configuration key.
|
|
@@ -3814,7 +3815,7 @@ class CommonsInitService {
|
|
|
3814
3815
|
this.commonsInitServiceEvents.next(CommonsInitEventEnum.CommonsInitError);
|
|
3815
3816
|
this.commonsInitServiceEvents.complete();
|
|
3816
3817
|
this.isInitializedSubject.next(false);
|
|
3817
|
-
return throwError(() => err);
|
|
3818
|
+
return throwError$1(() => err);
|
|
3818
3819
|
}));
|
|
3819
3820
|
}
|
|
3820
3821
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: CommonsInitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
@@ -3948,5 +3949,5 @@ function provideCommons(config, ...features) {
|
|
|
3948
3949
|
* Generated bundle index. Do not edit.
|
|
3949
3950
|
*/
|
|
3950
3951
|
|
|
3951
|
-
export { ACommonsErrorBase, APermissions, BROWSER_STORAGE_IT, BooleanPipe, COMMONS_INITIALIZER_IT, COMMONS_MODULE_CONFIG_IT, ClassMapPipe, CommonsConfigurationService, CommonsErrorHandler, CommonsFeatureTypeEnum, CommonsHttpError, CommonsInitEventEnum, CommonsInitService, CommonsInternalError, CommonsRouterService, CommonsService, ComponentDirective, DataProvider, DataProviderInst, DialogKeydownHandlerDirective, EnumName, EnumPipe, EnumerateAsyncPipe, EnumeratePipe, ErrorPageComponent, FilterMatchMode, GetterPipe, I18nPropertyPipe, JsonPathPipe, LOG_PUBLISHERS, LocalStorageService, LogLevelEnum, LogPublisherConsoleService, LoggerService, NotFoundPageComponent, NotificationWrapperComponent, ParametrizePipe, PermissionService, PermissionTypeEnum, Permissions, RouteBuilder, RoutesBuilder, StyleLevelEnum, StyleSizeEnum, Styles, TemplateDirective, TemplatePipe, TypeName, TypeRegistry, adjustRouteMenuLazyChildrenRouterLinks, angularDateFormatHasSeconds, angularDateFormatHasTime, appendRoutePathToBasePath, boolean$Attribute, commonsActionErrorContextToString, commonsErrorToString, commonsInitializerProvider, copyDataListParams, createLazyChildrenRoute, createLazyRoute, createRoute, createRouteRedirect, createRoutes, dataListParamsFilterToUrlQuery, dataListParamsFilterValueToUrlString, dataListParamsFiltersToUrlQuery, dataListParamsSortToUrlQuery, dataListParamsToUrlQuery, dataProviderBase, dataProviderFromClass, dataProviderWithService, dateToIsoString, defineReflectEnumName, defineReflectTypeName, doesUrlMatchRouterLink, errorCauseToString, errorToString, escapeHtml, escapeHtmlAny, findReflectEnumName, findReflectTypeName, findTemplateByName, flattenObjectKeys, fromAngularDateFormatToPrime, fromEnumConstantsAsValueArray, fromEnumValuesAsValueArray, fromSubscribeError, fromTableLoadToDataListParams, fromUrlQueryToDataListParams, getEnumConstantName, getEnumConstantNameFromObject, getEnumConstantNames, getEnumConstantNamesFromObject, getEnumConstantValuesAsNumber, getEnumConstantValuesAsString, getEnumerationI18nBaseKey, getErrorLogLevel, getErrorName, getHttpErrorResponse, getHttpErrorResponseStatus, getI18n, getI18nAsync,
|
|
3952
|
+
export { ACommonsErrorBase, APermissions, BROWSER_STORAGE_IT, BooleanPipe, COMMONS_INITIALIZER_IT, COMMONS_MODULE_CONFIG_IT, ClassMapPipe, CommonsConfigurationService, CommonsErrorHandler, CommonsFeatureTypeEnum, CommonsHttpError, CommonsInitEventEnum, CommonsInitService, CommonsInternalError, CommonsRouterService, CommonsService, ComponentDirective, DataProvider, DataProviderInst, DialogKeydownHandlerDirective, EnumName, EnumPipe, EnumerateAsyncPipe, EnumeratePipe, ErrorPageComponent, FilterMatchMode, GetterPipe, I18nPropertyPipe, JsonPathPipe, LOG_PUBLISHERS, LocalStorageService, LogLevelEnum, LogPublisherConsoleService, LoggerService, NotFoundPageComponent, NotificationWrapperComponent, ParametrizePipe, PermissionService, PermissionTypeEnum, Permissions, RouteBuilder, RoutesBuilder, StyleLevelEnum, StyleSizeEnum, Styles, TemplateDirective, TemplatePipe, TypeName, TypeRegistry, adjustRouteMenuLazyChildrenRouterLinks, angularDateFormatHasSeconds, angularDateFormatHasTime, appendRoutePathToBasePath, boolean$Attribute, commonsActionErrorContextToString, commonsErrorToString, commonsInitializerProvider, copyDataListParams, createLazyChildrenRoute, createLazyRoute, createRoute, createRouteRedirect, createRoutes, dataListParamsFilterToUrlQuery, dataListParamsFilterValueToUrlString, dataListParamsFiltersToUrlQuery, dataListParamsSortToUrlQuery, dataListParamsToUrlQuery, dataProviderBase, dataProviderFromClass, dataProviderWithService, dateToIsoString, defineReflectEnumName, defineReflectTypeName, doesUrlMatchRouterLink, errorCauseToString, errorToString, escapeHtml, escapeHtmlAny, findReflectEnumName, findReflectTypeName, findTemplateByName, flattenObjectKeys, fromAngularDateFormatToPrime, fromEnumConstantsAsValueArray, fromEnumValuesAsValueArray, fromSubscribeError, fromTableLoadToDataListParams, fromUrlQueryToDataListParams, getEnumConstantName, getEnumConstantNameFromObject, getEnumConstantNames, getEnumConstantNamesFromObject, getEnumConstantValuesAsNumber, getEnumConstantValuesAsString, getEnumerationI18nBaseKey, getErrorLogLevel, getErrorName, getHttpErrorResponse, getHttpErrorResponseStatus, getI18n, getI18nAsync, getI18nErrorParams, getI18nForError, getI18nTypeGroupKey, getI18nTypeKeyBasePath, getI18nTypeName, getI18nTypeNameAsync, getI18nTypeParams, getI18nTypeParamsAsync, getI18nTypePropertyKey, getI18nTypeTabKey, getObjectGetters, getObjectProperties, getObjectPropertyByPath, httpErrorResponseToString, isHttpErrorResponse, isPermitted, isRbacPermitted, itemIdToDefined, itemIdToNumber, itemIdToString, mapToDataList, mergeDataListParamsWithDefaults, number$Attribute, objectDeepCopy, objectDeepMerge, permissionGuard, populateI18nParams, populateI18nTypeParams, provideCommons, reflectEnumNameKey, reflectTypeNameExists, reflectTypeNameKey, removeRouteEmptyPathSegments, selectEnumerationI18n, selectI18n, stringify, throwError, toEnumerationI18nEnumerate, toObservable, toastMessage, valueToDefined };
|
|
3952
3953
|
//# sourceMappingURL=mediusinc-mng-commons-core.mjs.map
|