@acorex/platform 19.2.0 → 19.2.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/fesm2022/acorex-platform-layout-entity.mjs +9 -28
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-theme-palette-preview.page-D7Y93deN.mjs → acorex-platform-themes-default-theme-palette-preview.page-Cet1sYXJ.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-Cet1sYXJ.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +1 -1
- package/layout/entity/lib/entity-middleware.d.ts +3 -4
- package/layout/entity/lib/index.d.ts +1 -0
- package/package.json +11 -11
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-D7Y93deN.mjs.map +0 -1
|
@@ -9,9 +9,9 @@ import * as i0 from '@angular/core';
|
|
|
9
9
|
import { InjectionToken, inject, Injectable, computed, signal, Injector, effect, Component, ChangeDetectionStrategy, HostBinding, DestroyRef, ViewChild, NgModule } from '@angular/core';
|
|
10
10
|
import { AXPLayoutThemeService } from '@acorex/platform/themes/shared';
|
|
11
11
|
import { cloneDeep, set, merge, isNil, get, sortBy } from 'lodash-es';
|
|
12
|
-
import * as i7 from '@acorex/platform/layout/builder';
|
|
13
|
-
import { AXPWidgetsCatalog, AXPWidgetRegistryService, AXPWidgetComponent, AXPLayoutBuilderModule, AXPColumnWidgetComponent, AXP_WIDGETS_EDITOR_GROUP } from '@acorex/platform/layout/builder';
|
|
14
12
|
import { AXPSessionService, AXPAuthGuard } from '@acorex/platform/auth';
|
|
13
|
+
import * as i7 from '@acorex/platform/layout/builder';
|
|
14
|
+
import { AXPWidgetRegistryService, AXPWidgetComponent, AXPLayoutBuilderModule, AXPColumnWidgetComponent, AXP_WIDGETS_EDITOR_GROUP, AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
|
15
15
|
import { Subject, takeUntil } from 'rxjs';
|
|
16
16
|
import * as i8 from '@acorex/core/translation';
|
|
17
17
|
import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
|
|
@@ -289,33 +289,14 @@ class AXPEntityDetailListViewModel {
|
|
|
289
289
|
|
|
290
290
|
class AXPEntityMiddleware {
|
|
291
291
|
}
|
|
292
|
-
class
|
|
292
|
+
class AXPEntityMiddlewareDefault extends AXPEntityMiddleware {
|
|
293
293
|
process(entity) {
|
|
294
294
|
return entity;
|
|
295
295
|
}
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
...entity,
|
|
299
|
-
properties: [
|
|
300
|
-
...entity.properties,
|
|
301
|
-
{
|
|
302
|
-
name: 'customProperty',
|
|
303
|
-
title: 'Custom Property',
|
|
304
|
-
schema: {
|
|
305
|
-
dataType: 'string',
|
|
306
|
-
interface: {
|
|
307
|
-
type: AXPWidgetsCatalog.text,
|
|
308
|
-
},
|
|
309
|
-
},
|
|
310
|
-
},
|
|
311
|
-
],
|
|
312
|
-
};
|
|
313
|
-
return customEntity;
|
|
314
|
-
}
|
|
315
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPEntityMiddlewareImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
316
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPEntityMiddlewareImpl, providedIn: 'root' }); }
|
|
296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPEntityMiddlewareDefault, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
297
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPEntityMiddlewareDefault, providedIn: 'root' }); }
|
|
317
298
|
}
|
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPEntityMiddlewareDefault, decorators: [{
|
|
319
300
|
type: Injectable,
|
|
320
301
|
args: [{ providedIn: 'root' }]
|
|
321
302
|
}] });
|
|
@@ -2813,7 +2794,7 @@ class AXPEntityModule {
|
|
|
2813
2794
|
},
|
|
2814
2795
|
{
|
|
2815
2796
|
provide: AXPEntityMiddleware,
|
|
2816
|
-
useClass:
|
|
2797
|
+
useClass: AXPEntityMiddlewareDefault,
|
|
2817
2798
|
},
|
|
2818
2799
|
], imports: [RouterModule,
|
|
2819
2800
|
AXPWorkflowModule.forChild({
|
|
@@ -2897,7 +2878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
2897
2878
|
},
|
|
2898
2879
|
{
|
|
2899
2880
|
provide: AXPEntityMiddleware,
|
|
2900
|
-
useClass:
|
|
2881
|
+
useClass: AXPEntityMiddlewareDefault,
|
|
2901
2882
|
},
|
|
2902
2883
|
],
|
|
2903
2884
|
}]
|
|
@@ -2922,5 +2903,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
2922
2903
|
* Generated bundle index. Do not edit.
|
|
2923
2904
|
*/
|
|
2924
2905
|
|
|
2925
|
-
export { AXPCreateEntityWorkflow, AXPDeleteEntityWorkflow, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityMasterCreateViewModel, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityResolver, AXPEntityService, AXPModifyEntitySectionWorkflow, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER };
|
|
2906
|
+
export { AXPCreateEntityWorkflow, AXPDeleteEntityWorkflow, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityMasterCreateViewModel, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityMiddlewareDefault, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityResolver, AXPEntityService, AXPModifyEntitySectionWorkflow, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER };
|
|
2926
2907
|
//# sourceMappingURL=acorex-platform-layout-entity.mjs.map
|