@mediusinc/mng-commons 0.6.0 → 0.6.1
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/esm2020/lib/api/services/crud-api.abstract.service.mjs +2 -2
- package/esm2020/lib/components/action/editor/action-editor.component.mjs +2 -2
- package/esm2020/lib/components/action/models/action-execution.model.mjs +3 -2
- package/esm2020/lib/data-providers/editor.data-provider.mjs +1 -1
- package/esm2020/lib/descriptors/action.descriptor.mjs +6 -15
- package/esm2020/lib/services/action-executor.service.mjs +3 -3
- package/esm2020/lib/utils/action-data-provider.util.mjs +116 -0
- package/esm2020/lib/utils/editor-formly.util.mjs +2 -42
- package/esm2020/lib/utils/index.mjs +2 -1
- package/fesm2015/mediusinc-mng-commons.mjs +137 -68
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +128 -61
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/api/services/crud-api.abstract.service.d.ts +8 -2
- package/lib/components/action/models/action-execution.model.d.ts +5 -3
- package/lib/data-providers/editor.data-provider.d.ts +4 -4
- package/lib/descriptors/action.descriptor.d.ts +3 -3
- package/lib/utils/action-data-provider.util.d.ts +17 -0
- package/lib/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -72,12 +72,135 @@ import * as i4$3 from 'primeng/toolbar';
|
|
|
72
72
|
import { ToolbarModule } from 'primeng/toolbar';
|
|
73
73
|
import * as i9 from 'primeng/tooltip';
|
|
74
74
|
import { TooltipModule } from 'primeng/tooltip';
|
|
75
|
-
import { throwError, of, Subject, Observable, from, combineLatest, tap, BehaviorSubject, ReplaySubject, distinctUntilChanged, switchMap, mergeMap as mergeMap$1 } from 'rxjs';
|
|
75
|
+
import { isObservable, throwError, of, Subject, Observable, from, combineLatest, tap, BehaviorSubject, ReplaySubject, distinctUntilChanged, switchMap, mergeMap as mergeMap$1 } from 'rxjs';
|
|
76
76
|
import 'reflect-metadata';
|
|
77
77
|
import { map, mergeMap, first, catchError, filter, finalize, startWith } from 'rxjs/operators';
|
|
78
78
|
import * as i4$1 from '@angular/platform-browser';
|
|
79
79
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
80
80
|
|
|
81
|
+
class ActionDataProviderUtil {
|
|
82
|
+
static runFetchOrFail(ctx) {
|
|
83
|
+
const dataProviderExec = ActionDataProviderUtil.runFetchDataProvider(ctx);
|
|
84
|
+
if (isObservable(dataProviderExec)) {
|
|
85
|
+
return dataProviderExec;
|
|
86
|
+
}
|
|
87
|
+
const serviceExec = ActionDataProviderUtil.runGetByIdService(ctx);
|
|
88
|
+
return isObservable(serviceExec)
|
|
89
|
+
? serviceExec
|
|
90
|
+
: throwError(() => { var _a, _b; return new Error(`Data provider and service instance could not extract fetch function to execute in action ${ctx.action.actionName} (${(_a = ctx.action.model) === null || _a === void 0 ? void 0 : _a.typeName}) for item id ${(_b = ctx.data) === null || _b === void 0 ? void 0 : _b.itemId}.`); });
|
|
91
|
+
}
|
|
92
|
+
static runCreateOrFail(ctx) {
|
|
93
|
+
const dataProviderExec = ActionDataProviderUtil.runCreateDataProvider(ctx);
|
|
94
|
+
if (isObservable(dataProviderExec)) {
|
|
95
|
+
return dataProviderExec;
|
|
96
|
+
}
|
|
97
|
+
const serviceExec = ActionDataProviderUtil.runCreateService(ctx);
|
|
98
|
+
return isObservable(serviceExec)
|
|
99
|
+
? serviceExec
|
|
100
|
+
: throwError(() => { var _a, _b; return new Error(`Data provider and service instance could not extract create function to execute in action ${ctx.action.actionName} (${(_a = ctx.action.model) === null || _a === void 0 ? void 0 : _a.typeName}) for item ${(_b = ctx.data) === null || _b === void 0 ? void 0 : _b.item}.`); });
|
|
101
|
+
}
|
|
102
|
+
static runUpdateOrFail(ctx) {
|
|
103
|
+
const dataProviderExec = ActionDataProviderUtil.runUpdateDataProvider(ctx);
|
|
104
|
+
if (isObservable(dataProviderExec)) {
|
|
105
|
+
return dataProviderExec;
|
|
106
|
+
}
|
|
107
|
+
const serviceExec = ActionDataProviderUtil.runUpdateService(ctx);
|
|
108
|
+
return isObservable(serviceExec)
|
|
109
|
+
? serviceExec
|
|
110
|
+
: throwError(() => { var _a, _b; return new Error(`Data provider and service instance could not extract update function to execute in action ${ctx.action.actionName} (${(_a = ctx.action.model) === null || _a === void 0 ? void 0 : _a.typeName}) for item id ${(_b = ctx.data) === null || _b === void 0 ? void 0 : _b.itemId}.`); });
|
|
111
|
+
}
|
|
112
|
+
static runDeleteOrFail(ctx) {
|
|
113
|
+
const dataProviderExec = ActionDataProviderUtil.runDeleteDataProvider(ctx);
|
|
114
|
+
if (isObservable(dataProviderExec)) {
|
|
115
|
+
return dataProviderExec;
|
|
116
|
+
}
|
|
117
|
+
const serviceExec = ActionDataProviderUtil.runDeleteService(ctx);
|
|
118
|
+
return isObservable(serviceExec)
|
|
119
|
+
? serviceExec
|
|
120
|
+
: throwError(() => { var _a, _b; return new Error(`Data provider and service instance could not extract delete function to execute in action ${ctx.action.actionName} (${(_a = ctx.action.model) === null || _a === void 0 ? void 0 : _a.typeName}) for item id ${(_b = ctx.data) === null || _b === void 0 ? void 0 : _b.itemId}.`); });
|
|
121
|
+
}
|
|
122
|
+
static runGetByIdService(ctx) {
|
|
123
|
+
var _a;
|
|
124
|
+
if (typeof ctx.serviceInstance !== 'undefined') {
|
|
125
|
+
const crudServiceInstance = ctx.serviceInstance;
|
|
126
|
+
if (typeof crudServiceInstance.getByIdGet === 'function') {
|
|
127
|
+
return ((_a = ctx.data) === null || _a === void 0 ? void 0 : _a.itemId) ? crudServiceInstance.getByIdGet(ctx.data.itemId) : null;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return null;
|
|
131
|
+
}
|
|
132
|
+
static runCreateService(ctx) {
|
|
133
|
+
var _a;
|
|
134
|
+
if (typeof ctx.serviceInstance !== 'undefined') {
|
|
135
|
+
const crudServiceInstance = ctx.serviceInstance;
|
|
136
|
+
if (typeof crudServiceInstance.createPost === 'function') {
|
|
137
|
+
return ((_a = ctx.data) === null || _a === void 0 ? void 0 : _a.item) ? crudServiceInstance.createPost(ctx.data.item) : null;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
return null;
|
|
141
|
+
}
|
|
142
|
+
static runUpdateService(ctx) {
|
|
143
|
+
var _a;
|
|
144
|
+
if (typeof ctx.serviceInstance !== 'undefined') {
|
|
145
|
+
const crudServiceInstance = ctx.serviceInstance;
|
|
146
|
+
if (typeof crudServiceInstance.updatePut === 'function') {
|
|
147
|
+
return ((_a = ctx.data) === null || _a === void 0 ? void 0 : _a.itemId) && ctx.data.item ? crudServiceInstance.updatePut(ctx.data.itemId, ctx.data.item) : null;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
return null;
|
|
151
|
+
}
|
|
152
|
+
static runDeleteService(ctx) {
|
|
153
|
+
var _a;
|
|
154
|
+
if (typeof ctx.serviceInstance !== 'undefined') {
|
|
155
|
+
const crudServiceInstance = ctx.serviceInstance;
|
|
156
|
+
if (typeof crudServiceInstance.removeDelete === 'function') {
|
|
157
|
+
return ((_a = ctx.data) === null || _a === void 0 ? void 0 : _a.itemId) ? crudServiceInstance.removeDelete(ctx.data.itemId, ctx.data.item) : null;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
static runFetchDataProvider(ctx) {
|
|
163
|
+
var _a;
|
|
164
|
+
if (typeof ctx.dataProvider !== 'undefined') {
|
|
165
|
+
const editorDataProvider = ctx.dataProvider;
|
|
166
|
+
if (typeof editorDataProvider.fetch === 'function') {
|
|
167
|
+
return ((_a = ctx.data) === null || _a === void 0 ? void 0 : _a.itemId) ? editorDataProvider.fetch(ctx.data.itemId, ctx.serviceInstance) : null;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
return null;
|
|
171
|
+
}
|
|
172
|
+
static runCreateDataProvider(ctx) {
|
|
173
|
+
var _a;
|
|
174
|
+
if (typeof ctx.dataProvider !== 'undefined') {
|
|
175
|
+
const editorDataProvider = ctx.dataProvider;
|
|
176
|
+
if (typeof editorDataProvider.create === 'function') {
|
|
177
|
+
return ((_a = ctx.data) === null || _a === void 0 ? void 0 : _a.item) ? editorDataProvider.create(ctx.data.item, ctx.serviceInstance) : null;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
return null;
|
|
181
|
+
}
|
|
182
|
+
static runUpdateDataProvider(ctx) {
|
|
183
|
+
var _a;
|
|
184
|
+
if (typeof ctx.dataProvider !== 'undefined') {
|
|
185
|
+
const editorDataProvider = ctx.dataProvider;
|
|
186
|
+
if (typeof editorDataProvider.update === 'function') {
|
|
187
|
+
return ((_a = ctx.data) === null || _a === void 0 ? void 0 : _a.itemId) ? editorDataProvider.update(ctx.data.itemId, ctx.data.item, ctx.serviceInstance) : null;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
return null;
|
|
191
|
+
}
|
|
192
|
+
static runDeleteDataProvider(ctx) {
|
|
193
|
+
var _a;
|
|
194
|
+
if (typeof ctx.dataProvider !== 'undefined') {
|
|
195
|
+
const editorDataProvider = ctx.dataProvider;
|
|
196
|
+
if (typeof editorDataProvider.delete === 'function') {
|
|
197
|
+
return ((_a = ctx.data) === null || _a === void 0 ? void 0 : _a.itemId) ? editorDataProvider.delete(ctx.data.itemId, ctx.data.item, ctx.serviceInstance) : null;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
return null;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
81
204
|
class DataProvider {
|
|
82
205
|
constructor(modelType, serviceType) {
|
|
83
206
|
this._modelType = modelType;
|
|
@@ -837,7 +960,7 @@ class ActionEditorAddDescriptor extends ActionEditorDescriptor {
|
|
|
837
960
|
super(editorDescriptor, ActionEditorAddDescriptor.ACTION_NAME);
|
|
838
961
|
this.withPosition(ActionPositionEnum.ToolbarLeft);
|
|
839
962
|
this.withRouteTrigger('add');
|
|
840
|
-
this.withSubmitFunction(
|
|
963
|
+
this.withSubmitFunction(ActionDataProviderUtil.runCreateOrFail);
|
|
841
964
|
this.withLevel(ActionLevelEnum.Success);
|
|
842
965
|
this.withIcon('pi pi-plus');
|
|
843
966
|
}
|
|
@@ -863,18 +986,8 @@ class ActionEditorEditDescriptor extends ActionEditorDescriptor {
|
|
|
863
986
|
this.withPosition(ActionPositionEnum.RowInline);
|
|
864
987
|
this.withTitle(null);
|
|
865
988
|
this.withRouteTrigger(':itemId/edit');
|
|
866
|
-
this.withFetchFunction(
|
|
867
|
-
|
|
868
|
-
return ((_a = ctx.dataProvider) === null || _a === void 0 ? void 0 : _a.fetch) && ((_b = ctx.data) === null || _b === void 0 ? void 0 : _b.itemId)
|
|
869
|
-
? ctx.dataProvider.fetch(ctx.data.itemId, ctx.serviceInstance)
|
|
870
|
-
: throwError(new Error(`Data provider fetch function or item id ${(_c = ctx.data) === null || _c === void 0 ? void 0 : _c.itemId} is missing.`));
|
|
871
|
-
});
|
|
872
|
-
this.withSubmitFunction(ctx => {
|
|
873
|
-
var _a, _b, _c, _d;
|
|
874
|
-
return ((_a = ctx.dataProvider) === null || _a === void 0 ? void 0 : _a.update) && ((_b = ctx.data) === null || _b === void 0 ? void 0 : _b.itemId)
|
|
875
|
-
? ctx.dataProvider.update(ctx.data.itemId, (_c = ctx.data) === null || _c === void 0 ? void 0 : _c.item, ctx.serviceInstance)
|
|
876
|
-
: throwError(new Error(`Data provider update function or item id ${(_d = ctx.data) === null || _d === void 0 ? void 0 : _d.itemId} is missing.`));
|
|
877
|
-
});
|
|
989
|
+
this.withFetchFunction(ActionDataProviderUtil.runFetchOrFail);
|
|
990
|
+
this.withSubmitFunction(ActionDataProviderUtil.runUpdateOrFail);
|
|
878
991
|
this.withIcon('pi pi-pencil');
|
|
879
992
|
}
|
|
880
993
|
withServiceType(serviceType) {
|
|
@@ -898,13 +1011,7 @@ class ActionDeleteDescriptor extends ActionDescriptor {
|
|
|
898
1011
|
super(model, ActionDeleteDescriptor.ACTION_NAME);
|
|
899
1012
|
this.withPosition(ActionPositionEnum.RowInline);
|
|
900
1013
|
this.withTitle(null);
|
|
901
|
-
this.withRunFunction(
|
|
902
|
-
var _a, _b;
|
|
903
|
-
const editorDataProvider = ctx.dataProvider;
|
|
904
|
-
return (editorDataProvider === null || editorDataProvider === void 0 ? void 0 : editorDataProvider.delete) && ((_a = ctx.data) === null || _a === void 0 ? void 0 : _a.itemId)
|
|
905
|
-
? editorDataProvider.delete(ctx.data.itemId, ctx.data.item, ctx.serviceInstance)
|
|
906
|
-
: throwError(new Error(`Data provider delete function or item id ${(_b = ctx.data) === null || _b === void 0 ? void 0 : _b.itemId} is missing.`));
|
|
907
|
-
});
|
|
1014
|
+
this.withRunFunction(ActionDataProviderUtil.runDeleteOrFail);
|
|
908
1015
|
this.withLevel(ActionLevelEnum.Danger);
|
|
909
1016
|
this.withIcon('pi pi-trash');
|
|
910
1017
|
this.withRunConfirmation(undefined);
|
|
@@ -2963,49 +3070,12 @@ class EditorFormlyUtil {
|
|
|
2963
3070
|
const validatorRes = validation.validator(control, field, options);
|
|
2964
3071
|
// formly validator only excepts true/false for validation
|
|
2965
3072
|
// map possible angular validator result to true/false
|
|
2966
|
-
|
|
2967
|
-
console.log('mapper', config.key, validatorRes, res);
|
|
2968
|
-
return res;
|
|
3073
|
+
return typeof validatorRes === 'boolean' ? validatorRes : validatorRes === null;
|
|
2969
3074
|
}
|
|
2970
3075
|
};
|
|
2971
3076
|
if (typeof validation.message === 'function') {
|
|
2972
3077
|
config.validators[validation.name].message = validation.message;
|
|
2973
3078
|
}
|
|
2974
|
-
// if (typeof validation.validator === 'function' && typeof validation.message === 'function') {
|
|
2975
|
-
// config.validators[validation.name] = {
|
|
2976
|
-
// expression: (
|
|
2977
|
-
// control: AbstractControl,
|
|
2978
|
-
// field: FormlyFieldConfig,
|
|
2979
|
-
// options?: {
|
|
2980
|
-
// [id: string]: any;
|
|
2981
|
-
// }
|
|
2982
|
-
// ) => {
|
|
2983
|
-
// const validatorRes = validation.validator!(control, field, options);
|
|
2984
|
-
// // formly validator only excepts true/false for validation
|
|
2985
|
-
// // map possible angular validator result to true/false
|
|
2986
|
-
// const res = typeof validatorRes === 'boolean' ? validatorRes : validatorRes === null;
|
|
2987
|
-
// console.log('mapper', config.key, validatorRes, res);
|
|
2988
|
-
// return res;
|
|
2989
|
-
// },
|
|
2990
|
-
// message: validation.message
|
|
2991
|
-
// };
|
|
2992
|
-
// } else if (typeof validation.validator === 'function') {
|
|
2993
|
-
// config.validators[validation.name] = {
|
|
2994
|
-
// expression: (
|
|
2995
|
-
// control: AbstractControl,
|
|
2996
|
-
// field: FormlyFieldConfig,
|
|
2997
|
-
// options?: {
|
|
2998
|
-
// [id: string]: any;
|
|
2999
|
-
// }
|
|
3000
|
-
// ) => {
|
|
3001
|
-
// const validatorRes = validation.validator!(control, field, options);
|
|
3002
|
-
// // formly validator only excepts true/false for validation
|
|
3003
|
-
// // map possible angular validator result to true/false
|
|
3004
|
-
// const res = typeof validatorRes === 'boolean' ? (validatorRes === false ? {[validation.name]: true} : null) : validatorRes;
|
|
3005
|
-
// console.log('mapper', config.key, validatorRes, res);
|
|
3006
|
-
// return res;
|
|
3007
|
-
// }
|
|
3008
|
-
// };
|
|
3009
3079
|
}
|
|
3010
3080
|
else {
|
|
3011
3081
|
if (!Array.isArray(config.validators.validation)) {
|
|
@@ -3014,9 +3084,6 @@ class EditorFormlyUtil {
|
|
|
3014
3084
|
config.validators.validation.push(validation.name);
|
|
3015
3085
|
}
|
|
3016
3086
|
}
|
|
3017
|
-
if (validations.length > 0) {
|
|
3018
|
-
console.log(config.validators);
|
|
3019
|
-
}
|
|
3020
3087
|
}
|
|
3021
3088
|
}
|
|
3022
3089
|
|
|
@@ -3903,7 +3970,8 @@ MediusRestUtil.matchModeMapping = [
|
|
|
3903
3970
|
];
|
|
3904
3971
|
|
|
3905
3972
|
class ActionExecContext {
|
|
3906
|
-
constructor(dataProvider, serviceInstance, data, sourceComponent = null, viewContainer = null) {
|
|
3973
|
+
constructor(action, dataProvider, serviceInstance, data, sourceComponent = null, viewContainer = null) {
|
|
3974
|
+
this.action = action;
|
|
3907
3975
|
this.dataProvider = dataProvider;
|
|
3908
3976
|
this.serviceInstance = serviceInstance;
|
|
3909
3977
|
this.data = data;
|
|
@@ -4222,7 +4290,7 @@ class MngActionExecutorService {
|
|
|
4222
4290
|
prepareActionExecContext(action, itemId, item, dataProvider, viewContainer, sourceComponent, actionData) {
|
|
4223
4291
|
var _a, _b;
|
|
4224
4292
|
const ctxDataProvider = (_a = dataProvider !== null && dataProvider !== void 0 ? dataProvider : action.dataProvider) !== null && _a !== void 0 ? _a : viewContainer === null || viewContainer === void 0 ? void 0 : viewContainer.getDataProvider();
|
|
4225
|
-
return new ActionExecContext(ctxDataProvider, (_b = this.getDataProviderService(ctxDataProvider)) !== null && _b !== void 0 ? _b : undefined, {
|
|
4293
|
+
return new ActionExecContext(action, ctxDataProvider, (_b = this.getDataProviderService(ctxDataProvider)) !== null && _b !== void 0 ? _b : undefined, {
|
|
4226
4294
|
item,
|
|
4227
4295
|
itemId,
|
|
4228
4296
|
actionData
|
|
@@ -4371,7 +4439,7 @@ class MngActionExecutorService {
|
|
|
4371
4439
|
ctxDataProvider = viewContainerDataProvider;
|
|
4372
4440
|
}
|
|
4373
4441
|
}
|
|
4374
|
-
const context = new ActionExecContext(ctxDataProvider, (_a = this.getDataProviderService(ctxDataProvider)) !== null && _a !== void 0 ? _a : undefined, {
|
|
4442
|
+
const context = new ActionExecContext(action, ctxDataProvider, (_a = this.getDataProviderService(ctxDataProvider)) !== null && _a !== void 0 ? _a : undefined, {
|
|
4375
4443
|
item,
|
|
4376
4444
|
itemId,
|
|
4377
4445
|
actionData
|
|
@@ -6138,7 +6206,8 @@ class MngActionEditorComponent {
|
|
|
6138
6206
|
return throwError(() => actionError);
|
|
6139
6207
|
}), finalize(() => this.loadingSubject.next(false)))
|
|
6140
6208
|
.subscribe(res => {
|
|
6141
|
-
|
|
6209
|
+
var _a;
|
|
6210
|
+
this.item = (_a = res === null || res === void 0 ? void 0 : res.result) !== null && _a !== void 0 ? _a : undefined;
|
|
6142
6211
|
if (this.action.hasFetchNotificationSuccess) {
|
|
6143
6212
|
NotificationUtil.actionNotificationSuccess(this.translate, this.action, 'fetch', this.action.fetchNotificationSuccessTitle, this.action.fetchNotificationSuccessMessage, this.viewContainer, this.item);
|
|
6144
6213
|
}
|
|
@@ -8684,7 +8753,7 @@ class AMngCrudApiService extends AMngGetAllApiService {
|
|
|
8684
8753
|
body: item ? this.serialize(item) : undefined,
|
|
8685
8754
|
params: params
|
|
8686
8755
|
})
|
|
8687
|
-
.pipe(map(res => this.deserialize(res)));
|
|
8756
|
+
.pipe(map(res => (res ? this.deserialize(res) : null)));
|
|
8688
8757
|
}
|
|
8689
8758
|
getCreatePostPath(item) {
|
|
8690
8759
|
return '';
|
|
@@ -9164,5 +9233,5 @@ class RouteDataBuilder {
|
|
|
9164
9233
|
* Generated bundle index. Do not edit.
|
|
9165
9234
|
*/
|
|
9166
9235
|
|
|
9167
|
-
export { ACTION_EDITOR_DIALOG_COMPONENT_SETTING, AFieldDescriptor, AFieldGroupDescriptor, AGenericFieldDescriptor, AMngApiService, AMngBaseApiService, AMngCrudApiService, AMngGetAllApiService, AMngTableviewRouteComponent, ActionActivationResult, ActionActivationTriggerEnum, ActionDeleteDescriptor, ActionDescriptor, ActionEditorAddDescriptor, ActionEditorDescriptor, ActionEditorDetailsDescriptor, ActionEditorEditDescriptor, ActionEditorSubmitDescriptor, ActionError, ActionExecContext, ActionLevelEnum, ActionLinkDescriptor, ActionPositionEnum, ActionRunResult, ActionSimpleDescriptor, ActionTriggerResult, ActionTypeEnum, ColumnDescriptor, DataProvider, DefaultMngErrorMapperService, EditorDataProvider, EditorDescriptor, EditorFormlyUtil, EnumName, EnumUtil, FieldDescriptor, FieldGroupDescriptor, FieldInputDescriptor, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor, FieldTabGroupDescriptor, FieldValidationDescriptor, FilterDescriptor, FilterLookupDescriptor, FilterLookupEnumDescriptor, I18nUtils, JsonPathPipe, LookupDataProvider, MNG_AUTOCOMPLETE_VALUE_ACCESSOR, MNG_BROWSER_STORAGE_IT, MNG_COMMONS_INITIALIZER_IT, MNG_DROPDOWN_VALUE_ACCESSOR, MNG_MODULE_CONFIG_IT, MediusFilterMatchType, MediusFilterParam, MediusQueryMode, MediusQueryParam, MediusQueryParamBuilder, MediusQueryResult, MediusRestUtil, MngActionComponent, MngActionEditorComponent, MngActionExecutorService, MngActionRouteComponent, MngAutocompleteComponent, MngBooleanPipe, MngBreadcrumbComponent, MngCommonsModule, MngCommonsService, MngComponentDirective, MngConfigurationService, MngDropdownComponent, MngEnumPipe, MngErrorMapperService, MngFooterComponent, MngFormEditorComponent, MngFormEditorSubmitEvent, MngFormFieldEvent, MngFormFieldEventComponentSubtype, MngFormFieldEventDialogSubtype, MngFormFieldEventTypeEnum, MngFormlyFieldAutocompleteComponent, MngFormlyFieldDropdownComponent, MngFormlyFieldFieldsetComponent, MngFormlyFieldInputComponent, MngFormlyFieldLabelComponent, MngFormlyFieldLookupDialogComponent, MngFormlyFieldTableDialogFormComponent, MngFormlyFieldTableDialogMultiselectComponent, MngFormlyFieldTabsComponent, MngFormlyFieldWrapperComponent, MngFormlyTableWrapperComponent, MngI18nPropertyPipe, MngLinkFormatterPipe, MngMainLayoutComponent, MngMainLayoutComponentService, MngMenuComponent, MngMenuItemComponent, MngNavigationService, MngTableCellClickEvent, MngTableColumnFilterComponent, MngTableColumnValueComponent, MngTableComponent, MngTableLoadEvent, MngTableReloadEvent, MngTableviewComponent, MngTableviewRouteComponent, MngTemplateDirective, MngTopbarComponent, MngViewContainerComponentService, ModelDescriptor, ModelUtil, NotificationUtil, ObjectSerializer, RouteBuilder, RouteDataBuilder, RoutesBuilder, TableDataProvider, TableDescriptor, TableviewDataProvider, TableviewDescriptor, TypeName, TypeUtil, enumNameDecoratorPropertyName, enumsMapBase, formlyTypesConfig, formlyWrappersConfig, getEmailValidationMessage, getFormlyValidationMessages, getMaxLengthValidationMessage, getMinLengthValidationMessage, getRequiredValidationMessage, getTextPatternValidationMessage, mngConfigJsonAppInitializerProvider, mngConfigurationServiceProvider, mngFormlyConfigProvider, primeNgModules, typeMapBase, typeNameDecoratorPropertyName };
|
|
9236
|
+
export { ACTION_EDITOR_DIALOG_COMPONENT_SETTING, AFieldDescriptor, AFieldGroupDescriptor, AGenericFieldDescriptor, AMngApiService, AMngBaseApiService, AMngCrudApiService, AMngGetAllApiService, AMngTableviewRouteComponent, ActionActivationResult, ActionActivationTriggerEnum, ActionDataProviderUtil, ActionDeleteDescriptor, ActionDescriptor, ActionEditorAddDescriptor, ActionEditorDescriptor, ActionEditorDetailsDescriptor, ActionEditorEditDescriptor, ActionEditorSubmitDescriptor, ActionError, ActionExecContext, ActionLevelEnum, ActionLinkDescriptor, ActionPositionEnum, ActionRunResult, ActionSimpleDescriptor, ActionTriggerResult, ActionTypeEnum, ColumnDescriptor, DataProvider, DefaultMngErrorMapperService, EditorDataProvider, EditorDescriptor, EditorFormlyUtil, EnumName, EnumUtil, FieldDescriptor, FieldGroupDescriptor, FieldInputDescriptor, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor, FieldTabGroupDescriptor, FieldValidationDescriptor, FilterDescriptor, FilterLookupDescriptor, FilterLookupEnumDescriptor, I18nUtils, JsonPathPipe, LookupDataProvider, MNG_AUTOCOMPLETE_VALUE_ACCESSOR, MNG_BROWSER_STORAGE_IT, MNG_COMMONS_INITIALIZER_IT, MNG_DROPDOWN_VALUE_ACCESSOR, MNG_MODULE_CONFIG_IT, MediusFilterMatchType, MediusFilterParam, MediusQueryMode, MediusQueryParam, MediusQueryParamBuilder, MediusQueryResult, MediusRestUtil, MngActionComponent, MngActionEditorComponent, MngActionExecutorService, MngActionRouteComponent, MngAutocompleteComponent, MngBooleanPipe, MngBreadcrumbComponent, MngCommonsModule, MngCommonsService, MngComponentDirective, MngConfigurationService, MngDropdownComponent, MngEnumPipe, MngErrorMapperService, MngFooterComponent, MngFormEditorComponent, MngFormEditorSubmitEvent, MngFormFieldEvent, MngFormFieldEventComponentSubtype, MngFormFieldEventDialogSubtype, MngFormFieldEventTypeEnum, MngFormlyFieldAutocompleteComponent, MngFormlyFieldDropdownComponent, MngFormlyFieldFieldsetComponent, MngFormlyFieldInputComponent, MngFormlyFieldLabelComponent, MngFormlyFieldLookupDialogComponent, MngFormlyFieldTableDialogFormComponent, MngFormlyFieldTableDialogMultiselectComponent, MngFormlyFieldTabsComponent, MngFormlyFieldWrapperComponent, MngFormlyTableWrapperComponent, MngI18nPropertyPipe, MngLinkFormatterPipe, MngMainLayoutComponent, MngMainLayoutComponentService, MngMenuComponent, MngMenuItemComponent, MngNavigationService, MngTableCellClickEvent, MngTableColumnFilterComponent, MngTableColumnValueComponent, MngTableComponent, MngTableLoadEvent, MngTableReloadEvent, MngTableviewComponent, MngTableviewRouteComponent, MngTemplateDirective, MngTopbarComponent, MngViewContainerComponentService, ModelDescriptor, ModelUtil, NotificationUtil, ObjectSerializer, RouteBuilder, RouteDataBuilder, RoutesBuilder, TableDataProvider, TableDescriptor, TableviewDataProvider, TableviewDescriptor, TypeName, TypeUtil, enumNameDecoratorPropertyName, enumsMapBase, formlyTypesConfig, formlyWrappersConfig, getEmailValidationMessage, getFormlyValidationMessages, getMaxLengthValidationMessage, getMinLengthValidationMessage, getRequiredValidationMessage, getTextPatternValidationMessage, mngConfigJsonAppInitializerProvider, mngConfigurationServiceProvider, mngFormlyConfigProvider, primeNgModules, typeMapBase, typeNameDecoratorPropertyName };
|
|
9168
9237
|
//# sourceMappingURL=mediusinc-mng-commons.mjs.map
|